/* ===========================
   Lucky Nest - Forest Retreat Social Platform
   New Zealand Eco Retreat Theme
   =========================== */

/* --- CSS Variables --- */
:root {
  --forest-green: #2d5016;
  --forest-green-light: #3a6b1e;
  --cedar-brown: #7a4a2a;
  --cedar-brown-light: #9e6b42;
  --mountain-gray: #4a5568;
  --mountain-gray-light: #718096;
  --sunrise-orange: #d4682a;
  --sunrise-orange-light: #e8853f;
  --moss-green: #6b8f4a;
  --moss-green-light: #8ab362;
  --cream-beige: #f5f0e8;
  --cream-beige-dark: #e8e0d4;
  --wood-dark: #3d2b1f;
  --wood-medium: #5c3d2e;
  --campfire-glow: #ff9d3d;
  --campfire-glow-soft: rgba(255, 157, 61, 0.3);
  --fog-white: rgba(255, 255, 255, 0.6);
  --shadow-forest: rgba(0, 0, 0, 0.3);
  --font-heading: 'Georgia', serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream-beige);
  color: var(--wood-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--forest-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--sunrise-orange);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* --- Floating Leaves Animation --- */
.leaf-particle {
  position: fixed;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.7;
  animation: leafFall linear infinite;
}

@keyframes leafFall {
  0% {
    transform: translateY(-10vh) rotate(0deg) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(110vh) rotate(720deg) translateX(100px);
    opacity: 0;
  }
}

/* --- Fog Overlay --- */
.fog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.fog-layer {
  position: absolute;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--fog-white) 25%, transparent 50%, var(--fog-white) 75%, transparent 100%);
  opacity: 0.15;
  animation: fogMove 30s linear infinite;
}

.fog-layer:nth-child(2) {
  animation-duration: 45s;
  animation-direction: reverse;
  opacity: 0.1;
  top: 30%;
}

@keyframes fogMove {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

/* --- Header / Nature Trail --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--wood-dark) 0%, var(--wood-medium) 100%);
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px var(--shadow-forest);
  border-bottom: 3px solid var(--cedar-brown);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo svg {
  width: 40px;
  height: 40px;
}

.header-logo h1 {
  font-family: var(--font-heading);
  color: var(--cream-beige);
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-nav a {
  color: var(--cream-beige-dark);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.header-nav a:hover {
  color: var(--campfire-glow);
  background: rgba(255, 157, 61, 0.1);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sunrise-orange);
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--campfire-glow);
}

.mobile-menu-btn {
  display: none;
  background: none;
  color: var(--cream-beige);
  font-size: 1.5rem;
  padding: 0.5rem;
}

/* --- Hero Section / Mountain Forest --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a3a0a 0%, #2d5016 30%, #1a3a0a 60%, #0f2608 100%);
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-mountain-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  opacity: 0.3;
}

.hero-trees {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 800px;
}

.hero-content h2 {
  font-family: var(--font-heading);
  color: var(--cream-beige);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  line-height: 1.2;
}

.hero-content p {
  color: var(--moss-green-light);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--sunrise-orange), var(--sunrise-orange-light));
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(212, 104, 42, 0.4);
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 104, 42, 0.6);
  color: white;
}

.hero-mist {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, var(--cream-beige), transparent);
  z-index: 4;
}

/* --- Trail Divider --- */
.trail-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  position: relative;
}

.trail-divider::before,
.trail-divider::after {
  content: '';
  flex: 1;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cedar-brown-light), transparent);
  max-width: 200px;
}

.trail-divider svg {
  margin: 0 1rem;
  color: var(--cedar-brown);
}

/* --- Card Cabin Game Lounge --- */
.game-section {
  position: relative;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, var(--cream-beige) 0%, var(--cream-beige-dark) 50%, var(--cream-beige) 100%);
}

.game-cabin {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(145deg, #4a3222, #3d2b1f);
  border-radius: 20px;
  padding: 3rem;
  border: 4px solid var(--cedar-brown);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.game-cabin::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--cedar-brown) 0px, var(--cedar-brown) 20px, var(--cedar-brown-light) 20px, var(--cedar-brown-light) 22px);
}

.game-cabin-title {
  font-family: var(--font-heading);
  color: var(--cream-beige);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.game-cabin-subtitle {
  color: var(--moss-green-light);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* Game Area */
.game-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cards-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.game-card {
  width: 140px;
  height: 200px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.game-card-front {
  background: linear-gradient(135deg, #fff, #f8f4ef);
  border: 3px solid var(--cedar-brown-light);
  color: var(--wood-dark);
}

.game-card-front.red {
  color: #c0392b;
}

.game-card-front.black {
  color: #2c3e50;
}

.game-card-back {
  background: linear-gradient(135deg, var(--forest-green), var(--forest-green-light));
  border: 3px solid var(--moss-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-card-back::after {
  content: '';
  width: 80%;
  height: 80%;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  background: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(255,255,255,0.05) 5px, rgba(255,255,255,0.05) 10px);
}

.card-label {
  position: absolute;
  top: 8px;
  left: 12px;
  font-size: 1rem;
  font-weight: 600;
}

.card-label-bottom {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 1rem;
  font-weight: 600;
  transform: rotate(180deg);
}

.card-suit-center {
  font-size: 3rem;
}

.vs-badge {
  font-family: var(--font-heading);
  color: var(--campfire-glow);
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 0 10px var(--campfire-glow-soft);
}

/* Game Controls */
.game-controls {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-higher, .btn-lower {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-higher {
  background: linear-gradient(135deg, var(--forest-green), var(--moss-green));
  color: white;
  box-shadow: 0 4px 15px rgba(45, 80, 22, 0.4);
}

.btn-higher:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 80, 22, 0.6);
}

.btn-lower {
  background: linear-gradient(135deg, var(--sunrise-orange), var(--sunrise-orange-light));
  color: white;
  box-shadow: 0 4px 15px rgba(212, 104, 42, 0.4);
}

.btn-lower:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 104, 42, 0.6);
}

/* Game Score */
.game-score-panel {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.score-item {
  text-align: center;
  padding: 0.75rem 1.5rem;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.score-item label {
  display: block;
  color: var(--moss-green-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.score-item span {
  display: block;
  color: var(--campfire-glow);
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

/* Combo Meter */
.combo-meter {
  width: 100%;
  max-width: 400px;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.combo-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--moss-green), var(--campfire-glow));
  border-radius: 4px;
  transition: width 0.5s ease;
  width: 0%;
}

/* Game History */
.game-history {
  width: 100%;
  max-width: 600px;
}

.game-history h4 {
  color: var(--cream-beige);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.history-cards {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.history-card {
  width: 45px;
  height: 60px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  border: 2px solid;
}

.history-card.win {
  background: rgba(107, 143, 74, 0.2);
  border-color: var(--moss-green);
  color: var(--moss-green-light);
}

.history-card.loss {
  background: rgba(212, 104, 42, 0.2);
  border-color: var(--sunrise-orange);
  color: var(--sunrise-orange-light);
}

/* Game Over */
.game-over-panel {
  text-align: center;
  padding: 2rem;
  display: none;
}

.game-over-panel.active {
  display: block;
}

.game-over-panel h3 {
  color: var(--campfire-glow);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.game-over-panel p {
  color: var(--cream-beige-dark);
  margin-bottom: 1.5rem;
}

.btn-play-again {
  background: linear-gradient(135deg, var(--forest-green), var(--moss-green));
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-play-again:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 80, 22, 0.5);
}

/* Nature Progress Tracker */
.progress-tracker {
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}

.progress-tracker .milestone {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid var(--mountain-gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--mountain-gray-light);
  transition: all 0.3s ease;
}

.progress-tracker .milestone.reached {
  background: var(--moss-green);
  border-color: var(--moss-green-light);
  color: white;
}

.progress-tracker .trail-line {
  flex: 1;
  height: 3px;
  background: var(--mountain-gray);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.progress-tracker .trail-line .fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--moss-green);
  transition: width 0.5s ease;
}

/* --- Campfire Statistics Section --- */
.stats-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--cream-beige-dark) 0%, var(--cream-beige) 100%);
}

.stats-container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  color: var(--forest-green);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--mountain-gray);
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: linear-gradient(145deg, #fff, #faf8f5);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 2px solid var(--cream-beige-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--forest-green), var(--moss-green));
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.stat-card .stat-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--forest-green), var(--moss-green));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card .stat-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.stat-card .stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--wood-dark);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.stat-card .stat-label {
  color: var(--mountain-gray);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Explorer Path Timeline --- */
.timeline-section {
  padding: 5rem 2rem;
  background: var(--cream-beige);
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-path {
  position: relative;
  padding: 2rem 0;
}

.timeline-path::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--forest-green), var(--moss-green), var(--sunrise-orange));
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-step {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-step:nth-child(odd) {
  flex-direction: row;
}

.timeline-step:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-step .step-content {
  flex: 1;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  border: 2px solid var(--cream-beige-dark);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  max-width: calc(50% - 40px);
}

.timeline-step .step-content h4 {
  font-family: var(--font-heading);
  color: var(--forest-green);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.timeline-step .step-content p {
  color: var(--mountain-gray);
  font-size: 0.9rem;
}

.timeline-step .step-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--forest-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  border: 4px solid var(--cream-beige);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  z-index: 2;
}

/* --- Retreat Experience Section --- */
.experience-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--cream-beige) 0%, var(--cream-beige-dark) 100%);
}

.experience-container {
  max-width: 1100px;
  margin: 0 auto;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.experience-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  border: 2px solid var(--cream-beige-dark);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.experience-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cedar-brown), var(--sunrise-orange));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.experience-card:hover::after {
  opacity: 1;
}

.experience-card .card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--cream-beige), var(--cream-beige-dark));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.experience-card .card-icon svg {
  width: 30px;
  height: 30px;
  color: var(--forest-green);
}

.experience-card h4 {
  font-family: var(--font-heading);
  color: var(--wood-dark);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.experience-card p {
  color: var(--mountain-gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Live Forest Activity Feed --- */
.activity-section {
  padding: 5rem 2rem;
  background: var(--cream-beige);
}

.activity-container {
  max-width: 800px;
  margin: 0 auto;
}

.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--cream-beige-dark);
  transition: all 0.3s ease;
  animation: slideIn 0.5s ease forwards;
  opacity: 0;
  transform: translateX(-20px);
}

.activity-item:nth-child(1) { animation-delay: 0s; }
.activity-item:nth-child(2) { animation-delay: 0.1s; }
.activity-item:nth-child(3) { animation-delay: 0.2s; }
.activity-item:nth-child(4) { animation-delay: 0.3s; }
.activity-item:nth-child(5) { animation-delay: 0.4s; }

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.activity-item .activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-item .activity-icon.win {
  background: rgba(107, 143, 74, 0.15);
  color: var(--moss-green);
}

.activity-item .activity-icon.streak {
  background: rgba(255, 157, 61, 0.15);
  color: var(--campfire-glow);
}

.activity-item .activity-icon.result {
  background: rgba(74, 85, 104, 0.1);
  color: var(--mountain-gray);
}

.activity-item .activity-text {
  flex: 1;
}

.activity-item .activity-text strong {
  color: var(--wood-dark);
}

.activity-item .activity-text span {
  color: var(--mountain-gray);
  font-size: 0.85rem;
}

.activity-item .activity-time {
  color: var(--mountain-gray-light);
  font-size: 0.8rem;
  white-space: nowrap;
}

/* --- FAQ / Ranger Station --- */
.faq-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--cream-beige) 0%, var(--cream-beige-dark) 100%);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: 12px;
  border: 2px solid var(--cream-beige-dark);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: var(--forest-green);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--wood-dark);
  text-align: left;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--forest-green);
}

.faq-question .faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  background: var(--forest-green);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  color: var(--mountain-gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Adventure Club Banner --- */
.banner-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--forest-green) 0%, var(--wood-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.02) 20px, rgba(255,255,255,0.02) 40px);
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.banner-content h3 {
  font-family: var(--font-heading);
  color: var(--cream-beige);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.banner-content p {
  color: var(--moss-green-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--campfire-glow);
  color: var(--wood-dark);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.banner-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 157, 61, 0.4);
  color: var(--wood-dark);
}

/* --- Footer --- */
.site-footer {
  background: var(--wood-dark);
  padding: 4rem 2rem 2rem;
  color: var(--cream-beige-dark);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--cream-beige);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: var(--mountain-gray-light);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--campfire-glow);
}

.footer-col p {
  color: var(--mountain-gray-light);
  font-size: 0.85rem;
  line-height: 1.7;
}

.responsible-gaming-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.responsible-gaming-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--moss-green-light);
  font-size: 0.9rem;
  padding: 0.5rem 0;
}

.responsible-gaming-links a:hover {
  color: var(--campfire-glow);
}

.footer-bottom {
  text-align: center;
}

.footer-disclaimer {
  color: var(--mountain-gray-light);
  font-size: 0.8rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.footer-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-copyright {
  color: var(--mountain-gray);
  font-size: 0.8rem;
}

/* --- Page Content (for sub-pages) --- */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  min-height: 80vh;
}

.page-content h2 {
  font-family: var(--font-heading);
  color: var(--forest-green);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.page-content h3 {
  font-family: var(--font-heading);
  color: var(--wood-dark);
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content p {
  color: var(--mountain-gray);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.page-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content ul li {
  color: var(--mountain-gray);
  margin-bottom: 0.5rem;
  list-style: disc;
  line-height: 1.7;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .site-header {
    padding: 0.6rem 1rem;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--wood-dark);
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .header-nav.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-content h2 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .cards-display {
    gap: 1.5rem;
  }

  .game-card {
    width: 110px;
    height: 160px;
    font-size: 2rem;
  }

  .game-cabin {
    padding: 1.5rem;
  }

  .game-score-panel {
    gap: 1rem;
  }

  .score-item span {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-path::before {
    left: 20px;
  }

  .timeline-step {
    flex-direction: row !important;
    padding-left: 60px;
  }

  .timeline-step .step-content {
    max-width: 100%;
  }

  .timeline-step .step-marker {
    left: 20px;
    transform: translateX(-50%);
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .banner-content h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 1.8rem;
  }

  .game-card {
    width: 90px;
    height: 130px;
    font-size: 1.5rem;
  }

  .card-suit-center {
    font-size: 2rem;
  }

  .btn-higher, .btn-lower {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}
