:root {
  --bg-color: #050505;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent-1: #c6ca34; /* Logo's bright olive green */
  --accent-2: #246131; /* Logo's dark green */
  --accent-3: #8aa434; /* Logo's mid light green */
  --glass-bg: rgba(20, 20, 20, 0.4);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  min-height: 100%;
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  overflow-x: hidden;
}

#ambient-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

.content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  max-width: 680px;
  width: 100%;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.glass-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.2);
}

.logo-container {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.brand-logo {
  width: clamp(240px, 50vw, 380px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 15px rgba(198, 202, 52, 0.15));
  animation: logoFloat 4s ease-in-out infinite alternate;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  will-change: transform, filter;
}

.brand-logo:hover {
  animation-play-state: paused;
  transform: scale(1.06) translateY(-6px);
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 28px rgba(198, 202, 52, 0.45));
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(198, 202, 52, 0.1);
  color: var(--accent-1);
  border: 1px solid rgba(198, 202, 52, 0.2);
  margin-bottom: 1.75rem;
}

.description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

/* Progress bar animation */
.progress-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, transparent, var(--accent-1), transparent);
  animation: loading 2s infinite linear;
}

@keyframes loading {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

/* Entry Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating and Glow Animation for Logo */
@keyframes logoFloat {
  0% {
    transform: translateY(0px) scale(1);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 10px rgba(198, 202, 52, 0.12));
  }
  50% {
    transform: translateY(-8px) scale(1.015);
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 22px rgba(198, 202, 52, 0.3));
  }
  100% {
    transform: translateY(-14px) scale(1);
    filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 26px rgba(138, 164, 52, 0.22));
  }
}

@media (max-width: 768px) {
  .content-wrapper {
    padding: 1.5rem 1rem;
  }

  .glass-panel {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
  }

  .brand-logo {
    width: clamp(200px, 75vw, 320px);
  }

  .description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .badge {
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 480px) {
  .glass-panel {
    padding: 2rem 1.25rem;
  }

  .brand-logo {
    width: clamp(180px, 85vw, 280px);
  }

  .description {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}
