/* Main Layout */
.page-wrapper {
  background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
  width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.page-wrapper::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(255, 0, 0, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  overflow: hidden;
  gap: var(--space-xl);
  border-bottom: 1px solid rgba(245, 242, 232, 0.1);
  box-shadow: 0 1px 0 0 rgba(255, 0, 0, 0.15);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(245, 242, 232, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 232, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
  pointer-events: none;
}

/* Animated Background Orbs */
.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.4) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation-duration: 25s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.3) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
  animation-duration: 30s;
  animation-delay: -5s;
}

.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(245, 242, 232, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 35s;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* Brand Header */
.brand-header {
  text-align: center;
  z-index: 10;
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(245, 242, 232, 0.1);
  border-radius: 28px;
  padding: var(--space-md) var(--space-lg);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(245, 242, 232, 0.05) inset,
    0 4px 60px rgba(255, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.brand-header:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(245, 242, 232, 0.08) inset,
    0 6px 80px rgba(255, 0, 0, 0.12);
}

.logo-container {
  margin-bottom: 8px;
  padding: 8px 0;
}

.logo-image {
  height: 45px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.brand-title {
  font-size: 18px;
  color: var(--white-primary);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: var(--space-sm) 0 var(--space-xs) 0;
}

.brand-tagline {
  font-size: var(--text-small);
  color: var(--cream-text);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: var(--space-xs) 0 4px 0;
  opacity: 0.7;
}

.brand-description {
  font-size: var(--text-small);
  color: var(--cream-text);
  margin: 0;
  opacity: 0.6;
}

/* Hero Content */
.hero-content {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  z-index: 2;
}

.hero-headline {
  color: var(--white-primary);
  text-align: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  text-shadow: 0 2px 40px rgba(255, 0, 0, 0.2);
  letter-spacing: -0.01em;
  position: relative;
}

.hero-headline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
  opacity: 0.5;
}

.hero-subheadline {
  color: var(--cream-text);
  text-align: center;
  margin-bottom: var(--space-lg);
  opacity: 0.85;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
  color: var(--white-primary);
  font-size: 18px;
  font-weight: 600;
  padding: 18px 48px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow:
    0 4px 20px rgba(255, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FF1a1a 0%, #E60000 100%);
  transform: translateY(-3px);
  box-shadow:
    0 8px 30px rgba(255, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow:
    0 4px 15px rgba(255, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* Hero Background Grid - Simple and Clean */
.hero-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: none;
}

/* ==================== FOOTER ==================== */
#footer {
  background: var(--black-primary);
  padding: var(--space-xl) var(--space-md);
  border-top: 1px solid var(--gray-border);
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  margin-bottom: var(--space-md);
}

.footer-logo-image {
  height: 40px;
  width: auto;
  margin: 0 auto;
  display: block;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-logo-image:hover {
  opacity: 1;
}

.footer-copyright {
  font-size: var(--text-small);
  color: var(--gray-text);
  margin-bottom: var(--space-sm);
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer-link {
  font-size: var(--text-small);
  color: var(--white-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--red-primary);
}

.footer-separator {
  color: var(--gray-text);
}

.footer-referral {
  font-size: var(--text-small);
  color: var(--gray-text);
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== RESPONSIVE: MOBILE ==================== */
@media (max-width: 767px) {
  .hero-section {
    padding: 24px;
    gap: var(--space-lg);
  }

  .logo-image {
    height: 38px;
  }

  .brand-title {
    font-size: 14px;
  }

  .footer-logo-image {
    height: 32px;
  }

  .brand-tagline {
    font-size: 11px;
  }

  .brand-description {
    font-size: 10px;
  }

  .btn-primary {
    width: 100%;
    padding: 16px 24px;
  }

  .footer-nav {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .footer-separator {
    display: none;
  }

  .footer-content {
    font-size: 13px;
  }
}

/* ==================== RESPONSIVE: TABLET ==================== */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-section {
    padding: 0 var(--space-lg);
  }
}
