/* Modern Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #050B14; /* Deep midnight dark background */
  --bg-secondary: #0D1625; /* Dark navy secondary */
  --text-primary: #FFFFFF; /* White for readability */
  --text-secondary: rgba(255, 255, 255, 0.7); /* Muted white */
  --brand-navy: #0B132B;
  --brand-gold: #FFBC11; /* Radiant gold representing the beacon light */
  --brand-gold-glow: rgba(255, 188, 17, 0.2);
}

html, body {
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: fixed; /* Prevents scroll and bounce on mobile */
  background-color: var(--bg-primary);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  color: var(--text-primary);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

/* Background Glow & Particles */
.bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 188, 17, 0.08) 0%, rgba(13, 22, 37, 0.05) 50%, rgba(5, 11, 20, 0) 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(50px);
  animation: glowPulse 8s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: floatUp linear infinite;
}

.particle-gold {
  background: var(--brand-gold);
  box-shadow: 0 0 8px rgba(255, 188, 17, 0.6);
}

.particle-white {
  background: #FFFFFF;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

@keyframes floatUp {
  0% {
    transform: translateY(105vh) scale(0);
    opacity: 0;
  }
  15% {
    opacity: 0.6;
  }
  85% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}



/* Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Brand Header & Logo Fallback */
.brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.5rem;
  animation: fadeInDown 1.2s ease-out;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #FFFFFF 50%, var(--brand-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Content */
.hero-content {
  text-align: center;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 1.2s ease-out;
}

.title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand-gold) 0%, #FFAE00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  padding-bottom: 0.18em;
}

.gradient-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
}

.subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 600px;
}

/* Footer Section */
.footer {
  position: fixed;
  bottom: 1rem;
  text-align: center;
  width: 100%;
  z-index: 10;
}

.copyright {
  font-size: 0.8rem;
  color: #FFFFFF;
  opacity: 0.6;
  letter-spacing: 0.5px;
  padding: 0 1.5rem;
}

/* Entrance Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  .container {
    padding: 1.5rem 1rem;
  }

  .logo-image {
    max-width: 200px;
  }

  .logo-text {
    font-size: 1.8rem;
  }

  .logo-subtext {
    font-size: 0.7rem;
    letter-spacing: 6px;
  }

  .title {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
  }
  
  .subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  .footer {
    bottom: 0.8rem;
  }

  .beacon-beam {
    width: 800px;
    height: 180px;
    transform-origin: 0 90px;
    transform: translate(0, -90px) rotate(0deg);
  }

  @keyframes rotateBeam {
    0% { transform: translate(0, -90px) rotate(0deg); }
    100% { transform: translate(0, -90px) rotate(360deg); }
  }
}
