﻿/* ========================================
   LA BOCCA DELL'INFERNO - CLEAN & PROFESSIONAL
   ======================================== */

:root {
   /* Deep Forest Color Palette */
   --bg-dark: #0d1b0f;
   --bg-light: #1a2f1e;
   --forest-green: #2d5f3f;
   --forest-dark: #1b3a28;
   --moss-green: #4a7c59;
   --leaf-green: #6fbb8a;
   --earth-brown: #5c4033;
   --bark-brown: #3e2723;
   --golden-light: #f4e4c1;
   --amber-glow: #ffb84d;
   --misty-white: #e8f4ea;
   --text-primary: #e8f4ea;
   --text-secondary: #b8d4bc;
   --accent: #8b6f47;

   /* Forest Gradients */
   --grad-forest-1: linear-gradient(135deg, #2d5f3f 0%, #4a7c59 50%, #6fbb8a 100%);
   --grad-forest-2: linear-gradient(90deg, #1b3a28, #2d5f3f, #4a7c59);
   --grad-forest-mist: radial-gradient(60% 100% at 100% 0%, rgba(111, 187, 138, 0.3), rgba(0, 0, 0, 0) 70%),
      radial-gradient(80% 140% at 0% 100%, rgba(74, 124, 89, 0.25), rgba(0, 0, 0, 0) 70%);
   --grad-leaf: linear-gradient(90deg, #6fbb8a 0%, #9fd9b3 50%, #c5e8d3 100%);
   --grad-earth: linear-gradient(135deg, #5c4033, #8b6f47, #a68a64);
   --grad-cta: linear-gradient(90deg, #6fbb8a 0%, #4a7c59 100%);
}

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

body {
   font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
   background: var(--bg-dark);
   color: var(--text-primary);
   line-height: 1.6;
   overflow-x: hidden;
}

/* NAVIGATION - Hidden in favor of unified navbar */
.summary-nav {
   display: none;
}

.audio-toggle {
   background: transparent;
   border: none;
   color: var(--text-secondary);
   cursor: pointer;
   font-size: 1.2rem;
   padding: 0.5rem;
   transition: all 0.3s ease;
}

.audio-toggle:hover,
.audio-toggle.active {
   color: var(--forest-green);
}

/* HERO SECTION */
.hero {
   position: relative;
   min-height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;
   background: linear-gradient(rgba(10, 26, 18, 0.7), rgba(10, 26, 18, 0.7)), url('img/introduzione.jpg') center/cover no-repeat;
   overflow: hidden;
   padding-top: 5rem;
}

.hero-overlay {
   position: absolute;
   inset: 0;
   background: radial-gradient(circle at center, transparent 0%, rgba(10, 26, 18, 0.6) 100%);
   pointer-events: none;
}

/* Mystical Forest Fog */
.fog {
   position: absolute;
   filter: blur(60px);
   opacity: 0.4;
   mix-blend-mode: lighten;
   animation: driftFog 20s ease-in-out infinite;
}

.fog-1 {
   width: 70vmax;
   height: 40vmax;
   background: radial-gradient(ellipse, rgba(232, 244, 234, 0.6), rgba(184, 212, 188, 0.3), transparent);
   top: 10%;
   left: -20%;
   animation-delay: 0s;
}

.fog-2 {
   width: 60vmax;
   height: 35vmax;
   background: radial-gradient(ellipse, rgba(184, 212, 188, 0.5), rgba(111, 187, 138, 0.2), transparent);
   bottom: 20%;
   right: -15%;
   animation-delay: 7s;
}

.fog-3 {
   width: 50vmax;
   height: 30vmax;
   background: radial-gradient(ellipse, rgba(159, 217, 179, 0.4), transparent);
   top: 50%;
   left: 30%;
   animation-delay: 13s;
}

@keyframes driftFog {

   0%,
   100% {
      transform: translate3d(0, 0, 0) scale(1);
      opacity: 0.4;
   }

   33% {
      transform: translate3d(5vw, -3vh, 0) scale(1.1);
      opacity: 0.5;
   }

   66% {
      transform: translate3d(-3vw, 2vh, 0) scale(0.95);
      opacity: 0.3;
   }
}

/* Forest Light Rays */
.light-rays {
   position: absolute;
   inset: 0;
   overflow: hidden;
   pointer-events: none;
}

.light-ray {
   position: absolute;
   top: -10%;
   width: 2px;
   height: 50%;
   background: linear-gradient(180deg,
         rgba(244, 228, 193, 0.4),
         rgba(244, 228, 193, 0.2) 30%,
         transparent);
   filter: blur(1px);
   animation: shimmerRay 8s ease-in-out infinite;
}

.ray-1 {
   left: 25%;
   transform: rotate(8deg);
   animation-delay: 0s;
}

.ray-2 {
   left: 55%;
   transform: rotate(-5deg);
   animation-delay: 3s;
}

.ray-3 {
   left: 75%;
   transform: rotate(12deg);
   animation-delay: 6s;
}

@keyframes shimmerRay {

   0%,
   100% {
      opacity: 0.3;
      height: 50%;
   }

   50% {
      opacity: 0.6;
      height: 60%;
   }
}

/* Parallax abstract layers */
.parallax {
   position: absolute;
   inset: 0;
   pointer-events: none;
}

.parallax-layer {
   position: absolute;
   inset: auto 0 0 0;
   height: 45vh;
   will-change: transform;
}

.layer-back {
   background: linear-gradient(180deg, rgba(13, 27, 15, 0) 0%, rgba(13, 27, 15, 0.6) 30%, rgba(13, 27, 15, 1) 100%),
      var(--grad-forest-mist);
   opacity: 0.7;
}

.layer-mid {
   background: linear-gradient(0deg, rgba(74, 124, 89, 0.08), rgba(0, 0, 0, 0)),
      repeating-linear-gradient(120deg, rgba(111, 187, 138, 0.06) 0 8px, rgba(0, 0, 0, 0) 8px 16px);
   transform: translateY(10px);
}

.layer-front {
   height: 30vh;
   background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(13, 27, 15, 0.7) 60%, rgba(13, 27, 15, 1)),
      radial-gradient(80% 60% at 50% 100%, rgba(111, 187, 138, 0.2), rgba(0, 0, 0, 0) 70%);
}

/* Embers (rising sparks) */
.embers {
   position: absolute;
   inset: 0;
   overflow: hidden;
   pointer-events: none;
}

.embers .ember {
   position: absolute;
   bottom: -10px;
   width: 3px;
   height: 3px;
   background: radial-gradient(circle, #ffd166 0%, #ff006e 60%, transparent 70%);
   border-radius: 50%;
   filter: drop-shadow(0 0 6px #ff7a59);
   animation: rise 6s linear infinite, flicker 1.6s ease-in-out infinite;
   opacity: 0.8;
}

@keyframes rise {
   to {
      transform: translateY(-110vh) translateX(var(--drift, 0px)) scale(var(--scale, 1));
      opacity: 0;
   }
}

@keyframes flicker {

   0%,
   100% {
      filter: drop-shadow(0 0 6px #ff7a59);
   }

   50% {
      filter: drop-shadow(0 0 12px #ffd166);
   }
}

/* Scroll cue */
.scroll-cue {
   position: absolute;
   bottom: 2rem;
   left: 50%;
   transform: translateX(-50%);
   width: 28px;
   height: 48px;
   border: 2px solid rgba(111, 187, 138, 0.6);
   border-radius: 20px;
   display: grid;
   place-items: center;
   text-decoration: none;
   opacity: 0.8;
   transition: opacity .2s;
   z-index: 2;
}

.scroll-cue.forest-themed {
   border-color: rgba(111, 187, 138, 0.7);
   box-shadow: 0 0 15px rgba(111, 187, 138, 0.3);
}

.scroll-cue:hover {
   opacity: 1;
   box-shadow: 0 0 25px rgba(111, 187, 138, 0.5);
}

.scroll-cue-dot {
   width: 6px;
   height: 6px;
   border-radius: 50%;
   background: var(--leaf-green);
   box-shadow: 0 0 8px rgba(111, 187, 138, 0.6);
   animation: cue 1.2s ease-in-out infinite;
}

@keyframes cue {
   0% {
      transform: translateY(-8px);
      opacity: .7;
   }

   50% {
      transform: translateY(8px);
      opacity: 1;
   }

   100% {
      transform: translateY(-8px);
      opacity: .7;
   }
}

/* Floating Leaves */
.leaves-container {
   position: absolute;
   inset: 0;
   overflow: hidden;
   pointer-events: none;
}

.leaf {
   position: absolute;
   width: 20px;
   height: 20px;
   background: var(--leaf-green);
   clip-path: polygon(50% 0%, 100% 100%, 50% 80%, 0% 100%);
   opacity: 0.6;
   animation: fallLeaf 12s linear infinite;
   filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes fallLeaf {
   0% {
      transform: translateY(-10vh) translateX(0) rotate(0deg);
      opacity: 0;
   }

   10% {
      opacity: 0.6;
   }

   90% {
      opacity: 0.4;
   }

   100% {
      transform: translateY(110vh) translateX(var(--drift, 50px)) rotate(var(--rotate, 360deg));
      opacity: 0;
   }
}

/* Fireflies */
.fireflies {
   position: absolute;
   inset: 0;
   overflow: hidden;
   pointer-events: none;
}

.firefly {
   position: absolute;
   width: 4px;
   height: 4px;
   background: var(--amber-glow);
   border-radius: 50%;
   box-shadow: 0 0 12px var(--amber-glow), 0 0 20px rgba(255, 184, 77, 0.5);
   animation: firefly-float 10s ease-in-out infinite;
   opacity: 0;
}

@keyframes firefly-float {

   0%,
   100% {
      transform: translate(0, 0);
      opacity: 0;
   }

   10% {
      opacity: 1;
   }

   90% {
      opacity: 1;
   }

   50% {
      transform: translate(var(--fx, 40px), var(--fy, -30px));
      opacity: 0.8;
   }
}

.hero-content {
   position: relative;
   z-index: 2;
   text-align: center;
   max-width: 900px;
   padding: 2rem;
   animation: fadeInUp 1s ease-out;
}

.forest-icon {
   font-size: 4rem;
   color: var(--leaf-green);
   margin-bottom: 1rem;
   animation: pulse 2s ease-in-out infinite, rotate-subtle 6s ease-in-out infinite;
   display: inline-block;
   filter: drop-shadow(0 0 20px rgba(111, 187, 138, 0.5));
}

@keyframes rotate-subtle {

   0%,
   100% {
      transform: rotate(0deg) scale(1);
   }

   50% {
      transform: rotate(5deg) scale(1.05);
   }
}

.hero-title {
   font-family: 'Orbitron', sans-serif;
   font-size: clamp(2.5rem, 6vw, 4.5rem);
   font-weight: 700;
   color: var(--text-primary);
   margin-bottom: 1rem;
   letter-spacing: 2px;
   text-transform: uppercase;
}

/* Gradient text for hero */
.gradient-text {
   background: linear-gradient(90deg, #d0fff5, #ffd6a5, #caffbf, #a0c4ff);
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;
   text-shadow: none;
}

.forest-gradient {
   background: linear-gradient(90deg, var(--misty-white), var(--leaf-green), var(--moss-green), var(--golden-light));
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;
   text-shadow: none;
   animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

   0%,
   100% {
      filter: brightness(1);
   }

   50% {
      filter: brightness(1.2);
   }
}

.hero-subtitle {
   font-size: 1.1rem;
   color: var(--moss-green);
   font-weight: 600;
   margin-bottom: 1.5rem;
   letter-spacing: 1px;
   text-shadow: 0 0 10px rgba(74, 124, 89, 0.5);
}

.hero-description {
   font-size: 1.25rem;
   color: var(--text-secondary);
   max-width: 700px;
   margin: 0 auto;
   line-height: 1.8;
}

/* STORY CONTAINER */
.story-container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 6rem 2rem 4rem;
}

.story-section {
   width: 100%;
   margin-bottom: 6rem;
   opacity: 0;
   transform: translateY(30px);
   transition: opacity 1.2s ease, transform 1.2s ease;
}

.story-section.visible {
   opacity: 1;
   transform: translateY(0);
}

.section-content {
   background: rgba(26, 47, 34, 0.6);
   padding: 3rem;
   border-radius: 12px;
   border-left: 4px solid var(--forest-green);
   backdrop-filter: blur(10px);
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.section-icon {
   font-size: 2.5rem;
   color: var(--leaf-green);
   margin-bottom: 1rem;
   display: inline-block;
   animation: bounce-in 0.8s ease-out;
   filter: drop-shadow(0 0 15px rgba(111, 187, 138, 0.4));
}

@keyframes bounce-in {
   0% {
      transform: scale(0) rotate(-180deg);
      opacity: 0;
   }

   50% {
      transform: scale(1.1) rotate(10deg);
   }

   100% {
      transform: scale(1) rotate(0deg);
      opacity: 1;
   }
}

.section-content h2 {
   font-family: 'Orbitron', sans-serif;
   font-size: 2.2rem;
   color: var(--leaf-green);
   margin-bottom: 1.5rem;
   letter-spacing: 1px;
   text-shadow: 0 0 20px rgba(111, 187, 138, 0.3);
}

.section-content p {
   font-size: 1.15rem;
   line-height: 1.9;
   color: var(--text-primary);
   text-align: justify;
}

/* ANIMATIONS */
@keyframes fadeInUp {
   from {
      opacity: 0;
      transform: translateY(30px);
   }

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

.fade-in {
   opacity: 0;
   transform: translateY(30px);
   transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in.visible {
   opacity: 1;
   transform: translateY(0);
}

/* Modern cards and layout */
.card {
   position: relative;
   border: 1px solid transparent;
   background: linear-gradient(180deg, rgba(26, 47, 34, 0.75), rgba(26, 47, 34, 0.5)) padding-box, var(--grad-1) border-box;
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
   border-radius: 16px;
}

.forest-card {
   background: linear-gradient(180deg, rgba(27, 58, 40, 0.85), rgba(27, 58, 40, 0.6)) padding-box,
      var(--grad-forest-1) border-box;
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(111, 187, 138, 0.1);
}

.glass {
   backdrop-filter: blur(14px) saturate(120%);
}

.tilt {
   will-change: transform;
   transform-style: preserve-3d;
   transition: transform 0.2s ease;
}

.section-grid {
   display: grid;
   grid-template-columns: 1.1fr 0.9fr;
   gap: 2rem;
   align-items: stretch;
}

/* Trail Path */
.trail-path {
   position: fixed;
   right: 3rem;
   top: 50%;
   transform: translateY(-50%);
   display: flex;
   flex-direction: column;
   gap: 2rem;
   z-index: 90;
}

.trail-marker {
   width: 16px;
   height: 16px;
   border-radius: 50%;
   background: rgba(74, 124, 89, 0.4);
   border: 2px solid var(--moss-green);
   cursor: pointer;
   transition: all 0.3s ease;
   position: relative;
}

.trail-marker::before {
   content: '';
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 6px;
   height: 6px;
   border-radius: 50%;
   background: var(--leaf-green);
   opacity: 0;
   transition: opacity 0.3s ease;
}

.trail-marker.active,
.trail-marker:hover {
   background: rgba(111, 187, 138, 0.6);
   border-color: var(--leaf-green);
   box-shadow: 0 0 15px rgba(111, 187, 138, 0.5);
   transform: scale(1.3);
}

.trail-marker.active::before,
.trail-marker:hover::before {
   opacity: 1;
}

.chips {
   display: flex;
   flex-wrap: wrap;
   gap: 0.5rem;
   margin-top: 1.25rem;
}

.chip {
   padding: 0.45rem 0.75rem;
   font-weight: 600;
   font-size: 0.85rem;
   color: #0a1a12;
   background: linear-gradient(90deg, #ffd166, #caffbf);
   border-radius: 999px;
   box-shadow: 0 4px 14px rgba(255, 209, 102, 0.25);
}

.forest-chip {
   display: inline-flex;
   align-items: center;
   gap: 0.4rem;
   color: var(--bg-dark);
   background: var(--grad-leaf);
   box-shadow: 0 4px 14px rgba(111, 187, 138, 0.3);
   transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.forest-chip:hover {
   transform: translateY(-2px);
   box-shadow: 0 6px 20px rgba(111, 187, 138, 0.4);
}

.forest-chip i {
   font-size: 1rem;
}

.badges {
   display: flex;
   gap: .75rem;
   margin-top: 1.25rem;
   flex-wrap: wrap;
}

.badge {
   padding: 0.5rem 0.8rem;
   border-radius: 10px;
   background: linear-gradient(135deg, rgba(255, 122, 24, .2), rgba(49, 145, 151, .2));
   color: var(--text-primary);
   border: 1px solid rgba(255, 255, 255, 0.15);
}

.forest-badge {
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   background: linear-gradient(135deg, rgba(74, 124, 89, 0.3), rgba(45, 95, 63, 0.3));
   border: 1px solid rgba(111, 187, 138, 0.3);
   transition: all 0.2s ease;
}

.forest-badge:hover {
   background: linear-gradient(135deg, rgba(74, 124, 89, 0.5), rgba(45, 95, 63, 0.5));
   border-color: var(--leaf-green);
   box-shadow: 0 0 15px rgba(111, 187, 138, 0.3);
}

.forest-badge i {
   font-size: 1.1rem;
   color: var(--leaf-green);
}

/* Instruction text for hover reveal */
.reveal-instruction {
   font-size: 0.95rem;
   color: var(--amber-glow);
   opacity: 0.9;
   font-style: italic;
   text-shadow: 0 0 10px rgba(255, 184, 77, 0.5);
   animation: pulse 2s ease-in-out infinite;
   margin-bottom: 1rem;
   display: flex;
   align-items: center;
   gap: 0.5rem;
}

/* Dark text with hover reveal - Radial Gradient Spotlight */
.dark-text {
   position: relative;
   color: rgba(0, 0, 0, 1);
   background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(5, 5, 5, 1));
   padding: 1.5rem;
   border-radius: 8px;
   cursor: crosshair;
}

.reveal-on-hover {
   background-image:
      radial-gradient(circle 150px at var(--mouse-x, 50%) var(--mouse-y, 50%),
         rgba(232, 244, 234, 1) 0%,
         rgba(232, 244, 234, 0.8) 25%,
         rgba(232, 244, 234, 0.4) 60%,
         rgba(0, 0, 0, 1) 100%),
      linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(5, 5, 5, 1));
   background-blend-mode: normal;
   transition: background-image 0.05s ease-out;
}

/* Story Choice Buttons */
.story-choice {
   margin-top: 2rem;
   padding: 2rem;
   background: linear-gradient(135deg, rgba(27, 58, 40, 0.4), rgba(13, 27, 15, 0.4));
   border-radius: 12px;
   border: 1px solid rgba(111, 187, 138, 0.2);
}

.choice-prompt {
   font-size: 1.1rem;
   color: var(--leaf-green);
   margin-bottom: 1.5rem;
   display: flex;
   align-items: center;
   gap: 0.5rem;
   font-weight: 600;
}

.choice-prompt i {
   font-size: 1.3rem;
   animation: pulse 2s ease-in-out infinite;
}

.choice-buttons {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 1.5rem;
}

.choice-btn {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 0.5rem;
   padding: 1.5rem 1rem;
   background: linear-gradient(135deg, rgba(45, 95, 63, 0.3), rgba(27, 58, 40, 0.3));
   border: 3px solid;
   border-image: linear-gradient(45deg,
         var(--leaf-green),
         var(--moss-green),
         var(--amber-glow),
         var(--leaf-green)) 1;
   border-radius: 12px;
   cursor: pointer;
   transition: all 0.3s ease;
   color: var(--text-primary);
   font-family: inherit;
   position: relative;
   overflow: hidden;
   animation: borderShift 3s linear infinite;
}

@keyframes borderShift {
   0% {
      border-image-source: linear-gradient(45deg,
            var(--leaf-green),
            var(--moss-green),
            var(--amber-glow),
            var(--leaf-green));
   }

   25% {
      border-image-source: linear-gradient(135deg,
            var(--moss-green),
            var(--amber-glow),
            var(--leaf-green),
            var(--moss-green));
   }

   50% {
      border-image-source: linear-gradient(225deg,
            var(--amber-glow),
            var(--leaf-green),
            var(--moss-green),
            var(--amber-glow));
   }

   75% {
      border-image-source: linear-gradient(315deg,
            var(--leaf-green),
            var(--moss-green),
            var(--amber-glow),
            var(--leaf-green));
   }

   100% {
      border-image-source: linear-gradient(45deg,
            var(--leaf-green),
            var(--moss-green),
            var(--amber-glow),
            var(--leaf-green));
   }
}

.choice-btn::before {
   content: '';
   position: absolute;
   inset: 0;
   background: linear-gradient(135deg, rgba(111, 187, 138, 0.2), transparent);
   opacity: 0;
   transition: opacity 0.3s ease;
}

.choice-btn:hover::before {
   opacity: 1;
}

.choice-btn:hover {
   border-color: var(--leaf-green);
   transform: translateY(-4px);
   box-shadow: 0 8px 25px rgba(111, 187, 138, 0.3);
}

.choice-btn i {
   font-size: 2.5rem;
   color: var(--leaf-green);
}

.choice-btn span {
   font-size: 1.1rem;
   font-weight: 700;
}

.choice-btn small {
   font-size: 0.9rem;
   color: var(--text-secondary);
   font-style: italic;
}

.choice-btn.selected {
   background: linear-gradient(135deg, rgba(74, 124, 89, 0.5), rgba(45, 95, 63, 0.5));
   border-image: linear-gradient(45deg,
         var(--amber-glow),
         var(--leaf-green),
         var(--amber-glow)) 1;
   box-shadow: 0 0 30px rgba(111, 187, 138, 0.4), 0 0 50px rgba(255, 184, 77, 0.3);
   animation: selectedGlow 2s ease-in-out infinite, borderShift 2s linear infinite;
}

@keyframes selectedGlow {

   0%,
   100% {
      box-shadow: 0 0 30px rgba(111, 187, 138, 0.4), 0 0 50px rgba(255, 184, 77, 0.3);
   }

   50% {
      box-shadow: 0 0 40px rgba(111, 187, 138, 0.6), 0 0 70px rgba(255, 184, 77, 0.5);
   }
}

.choice-result {
   margin-top: 1.5rem;
   padding: 1.5rem;
   background: rgba(27, 58, 40, 0.5);
   border-left: 4px solid var(--amber-glow);
   border-radius: 8px;
   animation: slideIn 0.5s ease-out;
}

.choice-result h4 {
   color: var(--amber-glow);
   margin-bottom: 0.75rem;
   display: flex;
   align-items: center;
   gap: 0.5rem;
}

.choice-result p {
   color: var(--text-primary);
   line-height: 1.8;
}

@keyframes slideIn {
   from {
      opacity: 0;
      transform: translateY(-10px);
   }

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

/* Voragine visual card */
.voragine-card {
   position: relative;
   border-radius: 16px;
   background: radial-gradient(120% 120% at 50% 100%, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0));
   border: 1px solid rgba(255, 255, 255, 0.1);
   overflow: hidden;
   backdrop-filter: blur(6px);
   box-shadow: inset 0 -60px 120px rgba(0, 0, 0, 0.4), 0 10px 40px rgba(0, 0, 0, 0.35);
   display: grid;
   place-items: center;
   cursor: pointer;
   transition: transform 0.3s ease;
}

.forest-voragine {
   background: radial-gradient(120% 120% at 50% 100%, rgba(27, 58, 40, 0.9), rgba(13, 27, 15, 0.4) 60%, rgba(0, 0, 0, 0));
   border: 1px solid rgba(111, 187, 138, 0.2);
   box-shadow: inset 0 -60px 120px rgba(0, 0, 0, 0.6), 0 10px 40px rgba(0, 0, 0, 0.4);
}

.voragine-card .hole {
   width: 180px;
   height: 180px;
   border-radius: 50%;
   background: radial-gradient(circle at 50% 50%, #000 0 45%, #2b2b2b 46% 55%, rgba(0, 0, 0, 0) 60%);
   box-shadow: 0 0 40px rgba(0, 0, 0, 0.9) inset, 0 0 80px rgba(255, 100, 50, 0.15);
   animation: pulse 4s ease-in-out infinite;
   z-index: 2;
   transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.forest-voragine .hole {
   background: radial-gradient(circle at 50% 50%, #000 0 40%, var(--earth-brown) 42% 50%, rgba(0, 0, 0, 0) 60%);
   box-shadow: 0 0 40px rgba(0, 0, 0, 1) inset, 0 0 60px rgba(74, 124, 89, 0.2);
}

.voragine-card .ripple {
   position: absolute;
   width: 240px;
   height: 240px;
   border: 1px solid rgba(255, 255, 255, 0.15);
   border-radius: 50%;
   opacity: 0;
}

.forest-voragine .ripple {
   border-color: rgba(111, 187, 138, 0.2);
}

.voragine-card .ripple-1 {
   animation: ripple 6s ease-out infinite;
}

.voragine-card .ripple-2 {
   animation: ripple 6s ease-out 2s infinite;
}

.voragine-card .ripple-3 {
   animation: ripple 6s ease-out 4s infinite;
}

.vortex-ring {
   position: absolute;
   border-radius: 50%;
   border: 2px solid transparent;
   border-top-color: rgba(74, 124, 89, 0.4);
   border-right-color: rgba(74, 124, 89, 0.3);
   animation: spin 4s linear infinite;
}

.ring-1 {
   width: 140px;
   height: 140px;
   animation-duration: 3s;
}

.ring-2 {
   width: 200px;
   height: 200px;
   animation-duration: 5s;
   animation-direction: reverse;
}

.ring-3 {
   width: 260px;
   height: 260px;
   animation-duration: 7s;
}

@keyframes spin {
   to {
      transform: rotate(360deg);
   }
}

@keyframes pulse {

   0%,
   100% {
      transform: scale(1);
   }

   50% {
      transform: scale(1.05);
   }
}

@keyframes ripple {
   0% {
      transform: scale(0.6);
      opacity: 0.25;
   }

   70% {
      opacity: 0.05;
   }

   100% {
      transform: scale(1.4);
      opacity: 0;
   }
}

.cta-row {
   margin-top: 1.75rem;
   display: flex;
   justify-content: flex-end;
}

.cta {
   display: inline-flex;
   align-items: center;
   gap: .5rem;
   padding: 0.85rem 1.2rem;
   text-decoration: none;
   color: #0a1a12;
   font-weight: 800;
   letter-spacing: .5px;
   border-radius: 12px;
   background: var(--grad-cta);
   box-shadow: 0 8px 22px rgba(255, 122, 89, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.1);
   transition: transform .15s ease, box-shadow .2s ease;
}

.forest-cta {
   background: var(--grad-forest-1);
   color: var(--bg-dark);
   box-shadow: 0 8px 22px rgba(111, 187, 138, 0.4), inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

.cta:hover {
   transform: translateY(-2px);
   box-shadow: 0 12px 30px rgba(255, 122, 89, 0.4);
}

.forest-cta:hover {
   box-shadow: 0 12px 30px rgba(111, 187, 138, 0.6);
}

.cta i {
   font-size: 1.2rem;
}

/* Responsive additions */
@media (max-width: 1024px) {
   .section-grid {
      grid-template-columns: 1fr;
   }

   .voragine-card {
      min-height: 260px;
   }

   .trail-path {
      right: 1rem;
   }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
   .summary-nav {
      padding: 0.6rem 1rem;
      gap: 0.5rem;
      width: 90%;
      flex-wrap: wrap;
      justify-content: center;
   }

   .summary-nav a {
      font-size: 0.85rem;
      padding: 0.4rem 0.8rem;
   }

   .hero {
      min-height: 80vh;
   }

   .hero-content {
      padding: 1.5rem;
   }

   .hero-title {
      font-size: 2rem;
   }

   .hero-subtitle {
      font-size: 0.95rem;
   }

   .hero-description {
      font-size: 1.05rem;
   }

   .forest-icon {
      font-size: 3rem;
   }

   .story-container {
      padding: 3rem 1.5rem;
   }

   .section-content {
      padding: 2rem 1.5rem;
   }

   .section-content h2 {
      font-size: 1.6rem;
      margin-bottom: 1rem;
   }

   .section-content p {
      font-size: 1rem;
      line-height: 1.7;
   }

   .section-icon {
      font-size: 2rem;
   }

   .reveal-instruction {
      font-size: 0.85rem;
      margin-bottom: 0.75rem;
   }

   .trail-path {
      display: none;
   }

   .choice-buttons {
      grid-template-columns: 1fr;
      gap: 1rem;
   }

   .choice-btn {
      padding: 1.2rem 1rem;
   }

   .choice-btn i {
      font-size: 2rem;
   }

   .choice-btn span {
      font-size: 1rem;
   }

   .voragine-card .hole {
      width: 140px;
      height: 140px;
   }

   .vortex-ring.ring-1 {
      width: 100px;
      height: 100px;
   }

   .vortex-ring.ring-2 {
      width: 160px;
      height: 160px;
   }

   .vortex-ring.ring-3 {
      width: 220px;
      height: 220px;
   }
}

@media (max-width: 480px) {
   .summary-nav {
      top: 1rem;
      padding: 0.5rem 0.8rem;
   }

   .summary-nav a {
      font-size: 0.8rem;
      padding: 0.3rem 0.6rem;
   }

   .hero {
      min-height: 70vh;
   }

   .hero-title {
      font-size: 1.6rem;
      letter-spacing: 1px;
   }

   .hero-subtitle {
      font-size: 0.85rem;
   }

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

   .forest-icon {
      font-size: 2.5rem;
   }

   .story-container {
      padding: 2rem 1rem;
   }

   .section-content {
      padding: 1.5rem 1rem;
   }

   .section-content h2 {
      font-size: 1.4rem;
      margin-bottom: 0.75rem;
   }

   .section-content p {
      font-size: 0.95rem;
      line-height: 1.65;
   }

   .section-icon {
      font-size: 1.8rem;
      margin-bottom: 0.75rem;
   }

   .reveal-instruction {
      font-size: 0.8rem;
      margin-bottom: 0.5rem;
   }

   .dark-text {
      padding: 1.2rem;
   }

   .chips {
      gap: 0.4rem;
      margin-top: 1rem;
   }

   .chip,
   .forest-chip {
      padding: 0.4rem 0.65rem;
      font-size: 0.8rem;
   }

   .badges {
      gap: 0.5rem;
      margin-top: 1rem;
   }

   .badge,
   .forest-badge {
      padding: 0.4rem 0.65rem;
      font-size: 0.85rem;
   }

   .story-choice {
      padding: 1.5rem;
   }

   .choice-prompt {
      font-size: 0.95rem;
      margin-bottom: 1rem;
   }

   .choice-btn {
      padding: 1rem 0.75rem;
   }

   .choice-btn i {
      font-size: 1.8rem;
   }

   .choice-btn span {
      font-size: 0.95rem;
   }

   .choice-btn small {
      font-size: 0.8rem;
   }

   .choice-result {
      padding: 1.2rem;
   }

   .choice-result h4 {
      font-size: 0.95rem;
   }

   .choice-result p {
      font-size: 0.9rem;
   }

   .voragine-card {
      min-height: 220px;
   }

   .voragine-card .hole {
      width: 120px;
      height: 120px;
   }

   .vortex-ring.ring-1 {
      width: 80px;
      height: 80px;
   }

   .vortex-ring.ring-2 {
      width: 140px;
      height: 140px;
   }

   .vortex-ring.ring-3 {
      width: 200px;
      height: 200px;
   }

   .scroll-cue {
      width: 24px;
      height: 40px;
      bottom: 1.5rem;
   }

   .scroll-cue-dot {
      width: 5px;
      height: 5px;
   }

   .cta {
      padding: 0.75rem 1rem;
      font-size: 0.9rem;
   }
}

@media (max-width: 360px) {
   .hero-title {
      font-size: 1.4rem;
   }

   .hero-description {
      font-size: 0.9rem;
   }

   .section-content h2 {
      font-size: 1.25rem;
   }

   .section-content p {
      font-size: 0.9rem;
   }

   .story-container {
      padding: 1.5rem 0.75rem;
   }

   .section-content {
      padding: 1.2rem 0.85rem;
   }
}