/* Premium CSS for Devaluator */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;600;800&display=swap');

:root {
  --bg-primary: #0a0b10;
  --bg-secondary: #14161f;
  --text-primary: #f8f9fa;
  --text-secondary: #a0a5b5;
  --accent-color: #00f0ff;
  --accent-violet: #7000ff;
  --accent-gradient: linear-gradient(135deg, #00f0ff 0%, #7000ff 100%);
  --glass-bg: rgba(20, 22, 31, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  margin-bottom: 80px;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(112, 0, 255, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(0, 240, 255, 0.08), transparent 25%);
  background-attachment: fixed;
}

/* Glassmorphism Navbar */
.navbar.glass-nav {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border) !important;
}

.navbar-brand.brand-accent {
  font-weight: 800;
  letter-spacing: 1px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.3s ease;
  margin: 0 2rem 0 0;
  padding: 0;
  line-height: 1.5;
}

.navbar-nav .nav-link {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0;
  line-height: 1.5;
  color: var(--text-secondary) !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--text-primary) !important;
}

.navbar-brand.brand-accent:hover {
  opacity: 0.8;
}

/* Overrides for Dark Mode */
.text-dark {
  color: var(--text-primary) !important;
}

.text-muted {
  color: var(--text-secondary) !important;
}

/* Animations */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typography Enhancements */
.display-4.gradient-text {
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.lead.premium-text {
  color: var(--text-secondary);
  font-weight: 200;
  line-height: 1.6;
}

.premium-text {
  font-weight: 300;
  line-height: 1.6;
}

.text-justify {
  text-align: justify;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.content-constrained {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.brand-logo-main {
  width: 120px;
  opacity: 0.9;
  filter: drop-shadow(0 0 15px rgba(123, 44, 191, 0.4));
}

/* Footer */
.footer {
  background: var(--bg-secondary) !important;
  border-top: 1px solid var(--glass-border) !important;
  color: rgba(255, 255, 255, 0.3) !important;
  padding: 20px 0;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.footer a {
  color: rgba(255, 255, 255, 0.3) !important;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #f8f9fa !important;
}

.version-text {
  font-family: monospace; 
  opacity: 0.5; 
  font-size: 0.85rem;
}

/* Glass Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(112, 0, 255, 0.7);
}

/* WOW Effect: Ambient Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.4;
  animation: float 20s infinite ease-in-out alternate;
}
.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-violet);
  top: 10%;
  left: 20%;
}
.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--accent-color);
  bottom: 20%;
  right: 15%;
  animation-duration: 25s;
  animation-direction: alternate-reverse;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 50px) scale(1.1); }
  100% { transform: translate(-20px, 20px) scale(0.9); }
}

/* WOW Effect: Typewriter Cursor */
.typewrite > .wrap {
  border-right: 0.08em solid var(--text-primary);
  animation: blink 0.8s infinite;
}
@keyframes blink {
  50% { border-color: transparent; }
}

/* WOW Effect: Premium CTA Buttons */
.btn-wow {
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-glow {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
}
.btn-glow:hover {
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
  transform: translateY(-2px);
  color: #fff;
}

.btn-glass {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: #fff;
}