/* Crusher Hotels — Fullscreen Hero Canvas Sequence & Design Tokens */
:root {
  --primary-navy: #070b12;
  --surface-navy: #0f172a;
  --card-navy: #172033;
  --gold: #d97706;
  --gold-hover: #f59e0b;
  --gold-glow: rgba(217, 119, 6, 0.25);
  --accent-pink: #c2185b;
  --teal: #14b8a6;
  --bg-cream: #070b12;
  --bg-surface: #0f172a;
  --bg-card: #141c2e;
  --text-dark: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #f8fafc;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(217, 119, 6, 0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 20px 40px -10px rgba(217, 119, 6, 0.35);
  --font-heading: 'Marcellus', serif;
  --font-body: 'Poppins', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-cream: #070b12;
  --bg-surface: #0f172a;
  --bg-card: #141c2e;
  --text-dark: #f8fafc;
  --text-muted: #94a3b8;
  --border-light: rgba(255, 255, 255, 0.08);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 20px 40px -10px rgba(217, 119, 6, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-cream);
  color: var(--text-dark);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.4s ease, color 0.4s ease;
}

#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.section {
  padding: 5rem 0;
}

/* Sticky Glassmorphism Header Nav */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-light);
}

.brand-logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--accent-pink));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
  box-shadow: 0 0 15px var(--gold-glow);
  transition: transform 0.4s ease;
}

.brand:hover .brand-logo { transform: rotate(15deg) scale(1.08); }
.brand-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--gold); line-height: 1.1; }
.brand-subtitle { font-size: 0.7rem; color: #94a3b8; letter-spacing: 2px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2rem; }

.nav-link {
  text-decoration: none;
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.icon-btn, .mobile-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}

.icon-btn:hover { background: var(--gold); color: #0f172a; transform: translateY(-2px) rotate(10deg); }
.mobile-toggle { display: none; }

/* GSAP Pinned Hero Section with Fullscreen Canvas Background */
.hero-scroll-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #090e17;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-sequence {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(1.08) contrast(1.06) saturate(1.12);
  image-rendering: -webkit-optimize-contrast;
  will-change: transform;
}

.hero-dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.55) 0%,
    rgba(15, 23, 42, 0.05) 25%,
    rgba(15, 23, 42, 0.05) 75%,
    rgba(15, 23, 42, 0.7) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-scroll-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6.5rem 1.5rem 2rem;
  pointer-events: none;
}

.hero-content-box {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  will-change: transform, opacity;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-end-caption {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-end-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.65rem 1.5rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-hover);
  margin-bottom: 0.85rem;
  padding: 0.4rem 1.25rem;
  background: rgba(217, 119, 6, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-title .highlight {
  color: var(--gold-hover);
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #e2e8f0;
  margin-bottom: 1.85rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-weight: 400;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
}

.stat-number { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--gold-hover); display: block; }
.stat-label { font-size: 0.78rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; }

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  animation: bounce 2s infinite;
  margin-top: auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

.loading-progress-wrapper {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-gold);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  z-index: 10;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: opacity 0.5s ease;
}

.loading-text { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.75rem; color: var(--gold); }
.loading-track { height: 4px; width: 100%; background: rgba(255, 255, 255, 0.1); border-radius: 2px; overflow: hidden; }
.loading-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold), var(--accent-pink)); transition: width 0.2s ease; }

/* Buttons System */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn-lg { padding: 0.85rem 1.85rem; font-size: 1rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #b47012);
  color: #0f172a;
  border: none;
  box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--gold-hover), var(--gold));
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.4);
}

.btn-primary:disabled { background: #475569; color: #94a3b8; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-outline { background: transparent; color: var(--gold); border: 1.5px solid var(--border-gold); }
.btn-outline:hover { background: rgba(217, 119, 6, 0.1); transform: translateY(-3px); }
.btn-block { width: 100%; }

.ripple-span {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
  background-color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* Comprehensive Mobile Responsiveness Media Queries */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .controls-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .hero-scroll-container {
    height: 100dvh;
    min-height: -webkit-fill-available;
  }

  .hero-scroll-overlay {
    padding: 5.5rem 1rem 1.5rem;
  }

  .hero-content-box {
    padding: 1.5rem 1.1rem;
    max-width: 95%;
    border-radius: var(--radius-md);
  }

  .hero-title {
    font-size: clamp(1.7rem, 6.5vw, 2.5rem);
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(9, 14, 23, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: flex;
  }

  .about-features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .tier-tabs, .ac-toggle {
    width: 100%;
    justify-content: center;
  }

  .tier-tab, .ac-btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 580px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.7rem 1.25rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    padding-top: 1rem;
  }

  .stat-number {
    font-size: 1.1rem;
  }

  .stat-label {
    font-size: 0.65rem;
    letter-spacing: 0px;
  }

  .scroll-indicator span {
    font-size: 0.68rem;
  }

  .experience-badge {
    bottom: -15px;
    right: 10px;
    padding: 0.85rem;
  }

  .exp-num {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 1rem;
  }
}

/* Category Header Card Styles */
.category-header-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 900px) {
  .category-header-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.category-title-wrapper { max-width: 650px; }
.category-heading { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--text-dark); margin: 0.35rem 0; }
.category-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }
.tier-badge { display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--teal); background: rgba(20, 184, 166, 0.12); padding: 0.25rem 0.75rem; border-radius: 20px; border: 1px solid rgba(20, 184, 166, 0.3); }
.tier-badge.gold { color: var(--gold); background: rgba(217, 119, 6, 0.12); border-color: var(--border-gold); }
.tier-badge.crown { color: var(--gold-hover); background: rgba(245, 158, 11, 0.15); border-color: var(--gold); }
  .section {
    padding: 3.5rem 0;
  }
}
