/* Mobile-First Experimental Homepage Styles */

:root {
    --dark-soil: #243d24;
    --night-forest: #3a5c3a;
    --deep-moss: #4d7d4d;
    --forest-shadow: #5e9a5e;
    --living-green: #72b872;
    --growth-green: #8dd68d;
    --new-leaf: #b8f0b8;
    --golden-spore: #ffd740;
    --bark-brown: #8b6f47;
    --mist: #f5fff5;
    --phosphor-glow: #d4ffc4;
}

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

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Space Mono', monospace;
    background: var(--dark-soil);
    color: var(--mist);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Living Background */
.living-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

.growth-particle {
    position: absolute;
    width: 3px;
    height: 80px;
    background: linear-gradient(180deg, transparent, var(--growth-green), transparent);
    left: var(--x);
    top: -80px;
    animation: particleRain var(--duration) var(--delay) infinite linear;
}

@keyframes particleRain {
    to {
        transform: translateY(calc(100vh + 80px));
    }
}

/* Mobile Navigation Seed */
.nav-seed {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, var(--forest-shadow), var(--night-forest));
    border: 2px solid var(--growth-green);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-seed:active {
    transform: scale(0.95);
}

.seed-core {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.seed-dot {
    width: 4px;
    height: 4px;
    background: var(--golden-spore);
    border-radius: 50%;
    transition: all 0.3s;
}

.nav-seed.active .seed-dot:nth-child(1) {
    transform: translateY(8px) rotate(45deg) scaleX(5);
}

.nav-seed.active .seed-dot:nth-child(2) {
    opacity: 0;
}

.nav-seed.active .seed-dot:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) scaleX(5);
}

.seed-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--growth-green);
    border-radius: 50%;
    animation: seedPulse 2s infinite;
}

@keyframes seedPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

/* Organic Navigation Menu */
.nav-growth {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, var(--night-forest), var(--dark-soil));
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.nav-growth.active {
    right: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}

.nav-trunk {
    position: absolute;
    left: 20px;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--forest-shadow), var(--growth-green));
    opacity: 0.3;
}

.nav-branches {
    padding: 80px 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-branch {
    position: relative;
    padding: 18px 25px;
    text-decoration: none;
    color: var(--mist);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    overflow: hidden;
}

.nav-branch::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--golden-spore);
    transition: width 0.3s;
}

.nav-branch:active {
    background: rgba(111, 160, 88, 0.1);
}

.nav-branch:active::before {
    width: 100%;
}

.branch-leaf {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--growth-green);
    border-radius: 0 100% 0 100%;
    opacity: 0;
    transition: all 0.3s;
}

.nav-branch:active .branch-leaf {
    opacity: 1;
    transform: translateY(-50%) rotate(45deg);
}

/* Terrain Sections */
.terrain {
    position: relative;
    padding: 60px 20px;
    z-index: 2;
}

.terrain-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(32px, 8vw, 48px);
    text-align: center;
    margin-bottom: 40px;
    color: var(--golden-spore);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

/* Hero Section - Compact Mobile-First */
.terrain-hero {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #243d24;
    background-image: url('assets/images/plantde.jpg');
    background-size: cover !important;
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    transition: background-size 0.3s ease-out;
}

@media (min-width: 768px) {
    .terrain-hero {
        min-height: 600px;
        padding: 80px 40px;
        background-size: cover;
        background-attachment: fixed;
    }
}

@media (min-width: 1024px) {
    .terrain-hero {
        min-height: 70vh;
        padding: 100px 60px;
    }
}

.terrain-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(36, 61, 36, 0.7) 0%,
        rgba(36, 61, 36, 0.85) 50%,
        rgba(45, 74, 45, 0.95) 100%);
    z-index: 1;
    pointer-events: none;
}

.terrain-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(45, 74, 45, 0.5) 30%,
        var(--night-forest) 100%);
    z-index: 2;
    pointer-events: none;
}

.terrain-hero > * {
    position: relative;
    z-index: 3;
}

.hero-canopy {
    margin-bottom: 30px;
}

.hero-growth {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(42px, 10vw, 72px);
    line-height: 1;
    margin-bottom: 15px;
}

.growth-word {
    display: block;
    background: linear-gradient(135deg, var(--golden-spore), var(--phosphor-glow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1; /* Changed from 0 to 1 */
    transform: translateY(0); /* Changed from 30px to 0 */
    animation: wordGrow 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: calc(var(--sprout) * 0.2s);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 0 20px rgba(255, 215, 64, 0.3));
}

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

.hero-undergrowth {
    font-family: 'Literata', serif;
    font-size: clamp(14px, 3vw, 20px);
    font-style: italic;
    color: var(--phosphor-glow);
    opacity: 1; /* Changed from 0 to 1 */
    animation: fadeInUp 1s 0.6s forwards;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    font-weight: 600;
    margin-bottom: 10px;
}

.under-text {
    display: inline-block;
    padding: 0 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    backdrop-filter: blur(3px);
}

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

.hero-ecosystem {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.eco-ring {
    position: relative;
    width: 95px;
    height: 95px;
    border: 2px solid var(--forest-shadow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    animation: orbitFloat 3s ease-in-out infinite;
    animation-delay: calc(var(--orbit) * 0.5s);
}

@keyframes orbitFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.orbit-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--growth-green);
    text-align: center;
    line-height: 1.2;
}

/* Orwell Quote */
.orwell-quote {
    margin: 20px auto;
    max-width: 500px;
    text-align: center;
    padding: 15px 20px;
    border-left: 2px solid var(--golden-spore);
    border-right: 2px solid var(--golden-spore);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 10px;
}

.orwell-quote p {
    font-size: 13px;
    font-style: italic;
    color: var(--golden-spore);
    margin-bottom: 5px;
    line-height: 1.4;
}

.orwell-quote cite {
    font-size: 11px;
    color: var(--new-leaf);
    font-style: normal;
}

.explore-seed {
    padding: 12px 25px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--golden-spore);
    border-radius: 30px;
    color: var(--golden-spore);
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    display: block;
    text-align: center;
}

.explore-seed:active {
    transform: scale(0.95);
    background: rgba(212, 175, 55, 0.1);
}

.explore-roots {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--golden-spore);
    transition: width 0.3s;
}

.explore-seed:hover .explore-roots {
    width: 100%;
}

/* Curve Transition */
.curve-transition {
    position: relative;
    height: 120px;
    margin-top: -120px;
    z-index: 9;
    overflow: hidden;
}

.curve-transition svg {
    width: 100%;
    height: 100%;
}

.curve-transition path {
    fill: var(--night-forest);
}

/* Book Store Section - Mobile First */
.terrain-books-store {
    background-image: url('assets/images/tropical.jpg');
    background-size: 120%;
    background-position: top center;
    background-attachment: scroll;
    background-repeat: repeat;
    padding: 40px 20px 40px;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    transition: background-size 0.3s ease-out;
}

@media (min-width: 768px) {
    .terrain-books-store {
        background-size: cover;
    }
}

.terrain-books-store::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(45, 74, 45, 0.55) 0%,
        rgba(61, 102, 66, 0.6) 50%,
        rgba(77, 125, 77, 0.65) 100%);
    z-index: -1;
}

.terrain-books-store::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--golden-spore) 20%,
        var(--growth-green) 50%,
        var(--golden-spore) 80%,
        transparent 100%);
    opacity: 0.6;
}

.book-category {
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.category-title {
    font-size: 24px;
    color: var(--golden-spore);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--growth-green);
}

.book-store-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.book-product {
    background: rgba(20, 40, 20, 0.85);
    border: 1px solid rgba(111, 160, 88, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.book-product:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(20, 40, 20, 0.95);
}

.book-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.book-cover {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--forest-shadow), var(--deep-moss));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 30px 20px;
}

/* Format badge positioned over book cover */
.format-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(212, 175, 55, 0.9);
    color: var(--dark-soil);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    z-index: 2;
    transition: all 0.3s ease;
}

.book-product:hover .format-badge {
    background: rgba(212, 175, 55, 1);
    transform: scale(1.05);
}

/* Black Salve - Keep green gradient */
.book-cover-black-salve {
    background: radial-gradient(circle at center, #1a3a1a, #3d6b3d, #5a8a5a);
}

/* Living on the Precipice - Blue gradient */
.book-cover-living {
    background: radial-gradient(circle at center, #1a2a4a, #2d4d7d, #4a7bb0);
}

/* Joys of Psychopathocracy - Light red gradient */
.book-cover-joys {
    background: radial-gradient(circle at center, #4a1a1a, #7d2d2d, #b04a4a);
}

/* Gospel of 2012 - Purple gradient */
.book-cover-gospel {
    background: radial-gradient(circle at center, #2a1a4a, #4d2d7d, #7a4ab0);
}

.book-cover img {
    max-height: 320px;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
}

.book-product:hover .book-cover img {
    transform: scale(1.05);
}

.book-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--golden-spore);
    color: var(--dark-soil);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.book-badge.paperback {
    background: var(--growth-green);
    color: var(--dark-soil);
}

.book-details {
    padding: 25px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.book-header {
    margin-bottom: 20px;
}

.book-details .book-title {
    font-size: 20px;
    color: var(--golden-spore);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.book-subtitle {
    font-size: 14px;
    color: rgba(183, 240, 145, 0.85);
    line-height: 1.5;
    flex-grow: 1;
    margin: 0 0 20px 0;
    opacity: 0.95;
    min-height: 50px;
}

.book-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(111, 160, 88, 0.15);
}

/* New CTA Button Style */
.book-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--golden-spore), var(--growth-green));
    color: var(--dark-soil);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    width: 100%;
    justify-content: center;
}

.book-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.book-cta::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;
}

.book-cta:hover::before {
    left: 100%;
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.book-cta:hover .cta-arrow {
    transform: translateX(5px);
}

.book-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 15px;
    width: 100%;
}

.learn-more-button {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--growth-green);
    border-radius: 6px;
    color: var(--growth-green);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
    display: block;
    text-align: center;
}

.learn-more-button:hover {
    background: var(--growth-green);
    color: var(--dark-soil);
}

.book-pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    max-width: 200px;
    min-height: 50px;
    background: rgba(0, 0, 0, 0.35);
    padding: 12px;
    border-radius: 8px;
    backdrop-filter: blur(6px);
    margin-bottom: 20px;
}

.price {
    font-size: 14px;
    color: var(--mist);
}

.price.digital {
    color: var(--growth-green);
}

.price.paper {
    color: var(--new-leaf);
}

.buy-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--golden-spore), var(--growth-green));
    border: none;
    border-radius: 8px;
    color: var(--dark-soil);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 64, 0.3);
}

.store-cta {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.store-cta p {
    color: var(--new-leaf);
    margin-bottom: 20px;
    font-size: 14px;
}

.store-main-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid var(--golden-spore);
    border-radius: 30px;
    color: var(--golden-spore);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.store-main-button:hover {
    background: var(--golden-spore);
    color: var(--dark-soil);
}

.store-main-button .arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.store-main-button:hover .arrow {
    transform: translateX(5px);
}

/* Memorial Section */
.terrain-memorial {
    background-image: url('assets/images/grass.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    position: relative;
    padding: 60px 20px;
}

.terrain-memorial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 58, 26, 0.75);
    z-index: 1;
}

.memorial-canopy {
    position: relative;
    z-index: 2;
}

.memorial-text {
    max-width: 800px;
    margin: 0 auto 30px;
}

.memorial-text p {
    padding: 25px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, rgba(26, 58, 26, 0.7), rgba(61, 107, 61, 0.5), rgba(90, 138, 90, 0.3));
    background-size: 200% 200%;
    border: 2px solid;
    border-radius: 15px;
    animation: gradientRoll 7s ease infinite;
    box-shadow: 0 0 20px rgba(111, 160, 88, 0.3);
    border-image: linear-gradient(135deg, #1a3a1a, #3d6b3d, #5a8a5a, #3d6b3d, #1a3a1a) 1;
    font-family: 'Literata', serif;
    font-size: 18px;
    line-height: 1.9;
}

.memorial-portrait {
    text-align: center;
    margin: 30px auto;
    padding: 15px;
    background: linear-gradient(135deg, rgba(26, 58, 26, 0.8), rgba(61, 107, 61, 0.6), rgba(90, 138, 90, 0.4));
    background-size: 200% 200%;
    border: 3px solid;
    border-radius: 20px;
    animation: gradientRoll 8s ease infinite;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    border-image: linear-gradient(135deg, #d4af37, #8dd68d, #5a8a5a, #8dd68d, #d4af37) 1;
    max-width: 400px;
}

.memorial-portrait img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    filter: brightness(1.05) contrast(1.1);
}

/* Jungle Background Wrapper - Shared across sections */
.jungle-background-wrapper {
    background-image: url('assets/images/junglepond.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.jungle-background-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 58, 26, 0.80);
    z-index: 1;
    pointer-events: none;
}

.terrain-story,
.terrain-digital,
.terrain-watch {
    position: relative;
    background: transparent;
}

.terrain-story > *,
.terrain-digital > *,
.terrain-watch > * {
    position: relative;
    z-index: 2;
}

.bio-growth {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.growth-ring {
    padding: 25px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(111, 160, 88, 0.3);
    border-radius: 15px;
    position: relative;
    animation: ringReveal 0.6s forwards;
    animation-delay: calc(var(--year) * 0.2s);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transform: translateX(0);
    opacity: 1;
}

@keyframes ringReveal {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.ring-text {
    font-family: 'Literata', serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--mist);
    opacity: 0.9;
}

.tendril-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 12px 25px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--golden-spore);
    border-radius: 25px;
    color: var(--golden-spore);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.tendril-grow {
    width: 20px;
    height: 2px;
    background: var(--golden-spore);
    transition: width 0.3s;
}

.tendril-link:active {
    background: rgba(212, 175, 55, 0.2);
}

/* Books Section */
.book-forest {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.book-tree {
    background: rgba(42, 71, 49, 0.2);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.book-tree:active {
    transform: scale(0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tree-crown {
    margin-bottom: 20px;
}

.book-bark {
    width: 100%;
    max-width: 150px;
    height: 220px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.book-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    color: var(--golden-spore);
    margin-bottom: 5px;
}

.book-season {
    font-size: 12px;
    color: var(--new-leaf);
    opacity: 0.8;
}

.forest-path {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid var(--growth-green);
    border-radius: 30px;
    color: var(--growth-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.path-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.forest-path:active {
    background: rgba(111, 160, 88, 0.1);
}

.forest-path:active .path-arrow {
    transform: translateX(5px);
}

/* Digital Roots */
.root-network {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.root-node {
    padding: 25px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(111, 160, 88, 0.3);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s;
    animation: nodePulse 3s ease-in-out infinite;
    animation-delay: calc(var(--pulse) * 0.5s);
}

@keyframes nodePulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.root-node:active {
    transform: scale(0.95);
    border-color: var(--growth-green);
}

.node-core {
    display: flex;
    align-items: center;
    gap: 15px;
}

.node-icon {
    font-size: 28px;
}

.node-label {
    color: var(--mist);
    font-size: 14px;
    font-weight: 600;
}

/* Video Pods */
/* Featured Video */
.featured-video-container {
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
}

.featured-video {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--golden-spore);
}

.featured-video .video-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.video-thumbnail {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--forest-shadow), var(--night-forest));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.video-thumbnail > * {
    position: relative;
    z-index: 2;
}

.featured-thumbnail {
    height: 250px;
    background: radial-gradient(circle at center, rgba(244, 196, 48, 0.1), var(--deep-moss));
}

.play-button {
    position: relative;
    width: 80px;
    height: 80px;
    background: rgba(244, 196, 48, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
    cursor: pointer;
}

.play-button svg {
    color: var(--deep-moss);
    margin-left: 4px;
}

.featured-video:hover .play-button {
    transform: scale(1.1);
    background: var(--golden-spore);
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 20px;
    color: var(--golden-spore);
    margin-bottom: 8px;
    font-weight: 600;
}

.video-description {
    color: var(--new-leaf);
    font-size: 14px;
    line-height: 1.6;
}

/* Video Grid - Simplified */
.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.video-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.video-thumbnail {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, var(--forest-shadow), var(--night-forest));
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-overlay {
    font-size: 40px;
    color: rgba(244, 196, 48, 0.8);
    transition: all 0.3s;
}

.video-card:hover .play-overlay {
    transform: scale(1.2);
    color: var(--golden-spore);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.video-details {
    padding: 15px;
}

.video-details h4 {
    color: var(--new-leaf);
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.video-meta {
    color: var(--growth-green);
    font-size: 13px;
    opacity: 0.8;
}

/* Special Archive Icon */
.video-thumbnail.special {
    background: radial-gradient(circle at center, rgba(244, 196, 48, 0.1), var(--forest-shadow));
}

.archive-icon {
    font-size: 48px;
    opacity: 0.7;
}

/* Video Actions */
.video-actions {
    text-align: center;
    margin-top: 30px;
}

.watch-more {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 12px 25px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--golden-spore);
    border-radius: 25px;
    color: var(--golden-spore);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

/* Press Echoes */
.press-echoes {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.echo {
    padding: 25px;
    background: linear-gradient(135deg, rgba(26, 58, 26, 0.7), rgba(61, 107, 61, 0.5), rgba(90, 138, 90, 0.3));
    background-size: 200% 200%;
    border: 2px solid;
    border-radius: 15px;
    animation: gradientRoll 8s ease infinite, echoWave 4s ease-in-out infinite;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
    border-image: linear-gradient(135deg, #d4af37, #8dd68d, #5a8a5a, #8dd68d, #d4af37) 1;
    animation-delay: calc(var(--reverb) * 1s);
}

@keyframes echoWave {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}

.echo p {
    font-family: 'Literata', serif;
    font-size: 18px;
    font-style: italic;
    color: var(--mist);
    margin-bottom: 10px;
}

.echo cite {
    font-size: 14px;
    color: var(--golden-spore);
}

/* Shop Portal */
.shop-portal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.portal-ring {
    text-align: center;
    padding: 20px 10px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
    border-radius: 15px;
}

.ring-count {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    color: var(--golden-spore);
    margin-bottom: 5px;
}

.ring-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--new-leaf);
    opacity: 0.8;
}

.enter-grove {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--golden-spore), var(--growth-green));
    border: none;
    border-radius: 30px;
    color: var(--dark-soil);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.grove-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.5s;
}

.enter-grove:active .grove-glow {
    width: 200%;
    height: 200%;
}

/* Websites Collection */
.websites-collection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.website-card {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(111, 160, 88, 0.2);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.website-card:hover {
    border-color: rgba(111, 160, 88, 0.5);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
}

.website-header {
    margin-bottom: 20px;
}

.website-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    color: var(--golden-spore);
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.website-tagline {
    font-size: 13px;
    color: var(--growth-green);
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}

.website-content {
    flex: 1;
    margin-bottom: 20px;
}

.website-content p {
    font-family: 'Literata', serif;
    font-size: 14px;
    line-height: 1.8;
    color: var(--mist);
    margin: 0;
}

.website-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(111, 160, 88, 0.2));
    border: 1px solid var(--growth-green);
    border-radius: 25px;
    color: var(--growth-green);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.website-link:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(111, 160, 88, 0.3));
    color: var(--golden-spore);
    border-color: var(--golden-spore);
    transform: translateX(5px);
}

.link-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    transition: all 0.5s;
}

.website-link:active .link-glow {
    width: 300%;
    height: 300%;
}

.website-link.disabled,
.website-link[disabled] {
    cursor: not-allowed;
    opacity: 0.6;
    background: linear-gradient(135deg, rgba(111, 160, 88, 0.1), rgba(111, 160, 88, 0.1));
    border-color: rgba(111, 160, 88, 0.3);
    color: rgba(111, 160, 88, 0.6);
}

.website-link.disabled:hover,
.website-link[disabled]:hover {
    transform: none;
    background: linear-gradient(135deg, rgba(111, 160, 88, 0.1), rgba(111, 160, 88, 0.1));
    border-color: rgba(111, 160, 88, 0.3);
    color: rgba(111, 160, 88, 0.6);
    box-shadow: none;
}

/* Store Links (old style for compatibility) */
.store-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Blog Sprouts */
.thought-sprouts {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.sprout {
    padding: 20px;
    background: rgba(74, 115, 85, 0.1);
    border-radius: 15px;
    border-left: 3px solid var(--new-leaf);
    position: relative;
}

.sprout-date {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--golden-spore);
    letter-spacing: 1px;
}

.sprout-title {
    font-family: 'Literata', serif;
    font-size: 18px;
    color: var(--mist);
    margin: 10px 0;
}

.sprout-link {
    color: var(--growth-green);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.all-thoughts {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid var(--growth-green);
    border-radius: 25px;
    color: var(--growth-green);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

/* News Spores */
.news-spores {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spore {
    padding: 20px;
    background: rgba(158, 255, 169, 0.05);
    border: 1px solid var(--growth-green);
    border-radius: 25px;
    animation: sporeFloat 6s ease-in-out infinite;
    animation-delay: calc(var(--drift) * 1.5s);
    flex: 1;
    min-width: 0;
}

@keyframes sporeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.spore-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--golden-spore);
    color: var(--dark-soil);
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.spore p {
    font-size: 14px;
    color: var(--mist);
}

/* Contact Form */
.signal-form {
    margin-bottom: 40px;
}

.signal-field {
    position: relative;
    margin-bottom: 30px;
}

.signal-field input,
.signal-field textarea {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--forest-shadow);
    color: var(--mist);
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    transition: border-color 0.3s;
}

.signal-field input:focus,
.signal-field textarea:focus {
    outline: none;
    border-bottom-color: var(--growth-green);
}

.signal-field label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--new-leaf);
    font-size: 14px;
    pointer-events: none;
    transition: all 0.3s;
}

.signal-field input:focus + label,
.signal-field input:valid + label,
.signal-field textarea:focus + label,
.signal-field textarea:valid + label {
    top: -20px;
    left: 0;
    font-size: 11px;
    color: var(--golden-spore);
}

.field-undergrowth {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--growth-green);
    transition: width 0.3s;
}

.signal-field input:focus ~ .field-undergrowth,
.signal-field textarea:focus ~ .field-undergrowth {
    width: 100%;
}

.send-signal {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--growth-green), var(--golden-spore));
    border: none;
    border-radius: 30px;
    color: var(--dark-soil);
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.signal-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.send-signal:active .signal-pulse {
    animation: pulseSend 0.6s ease-out;
}

@keyframes pulseSend {
    to {
        width: 300%;
        height: 300%;
        opacity: 0;
    }
}

.social-spores {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.spore-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(111, 160, 88, 0.1);
    border: 1px solid var(--growth-green);
    border-radius: 50%;
    color: var(--growth-green);
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s;
}

.spore-link:active {
    transform: scale(0.9);
    background: var(--growth-green);
    color: var(--dark-soil);
}

/* Section Dividers */
.section-divider {
    position: relative;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(141, 214, 141, 0.05), rgba(212, 175, 55, 0.05));
    background-size: 200% 200%;
    animation: dividerGradient 8s ease infinite;
    overflow: hidden;
}

.divider-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0.7;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--growth-green), transparent);
    animation: lineGradient 6s ease infinite;
}

.divider-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--golden-spore);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    animation: dividerPulse 3s ease-in-out infinite;
}

@keyframes dividerGradient {
    0% {
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(141, 214, 141, 0.05), rgba(212, 175, 55, 0.05));
    }
    50% {
        background: linear-gradient(315deg, rgba(141, 214, 141, 0.1), rgba(212, 175, 55, 0.1), rgba(141, 214, 141, 0.1));
    }
    100% {
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(141, 214, 141, 0.05), rgba(212, 175, 55, 0.05));
    }
}

@keyframes lineGradient {
    0% {
        background: linear-gradient(to right, transparent, var(--growth-green), transparent);
        opacity: 0.6;
    }
    50% {
        background: linear-gradient(to right, transparent, var(--golden-spore), transparent);
        opacity: 1;
    }
    100% {
        background: linear-gradient(to right, transparent, var(--growth-green), transparent);
        opacity: 0.6;
    }
}

@keyframes dividerPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
    }
}

/* Footer */
.forest-floor {
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(180deg, var(--night-forest), var(--dark-soil));
}

.floor-text {
    font-size: 12px;
    opacity: 0.6;
    letter-spacing: 1px;
}

/* Tablet Adjustments */
@media (min-width: 768px) {
    .nav-growth {
        width: 400px;
        max-width: none;
    }

    .terrain {
        padding: 80px 40px;
    }

    .hero-ecosystem {
        gap: 50px;
    }

    .book-store-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

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

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

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

    .featured-video {
        display: block;  /* Keep block layout for proper structure */
    }

    .featured-video .video-link {
        display: flex;
        align-items: center;
        width: 100%;
    }

    .featured-thumbnail {
        width: 50%;
        height: 300px;
        flex-shrink: 0;  /* Prevent thumbnail from shrinking */
    }

    .video-info {
        width: 50%;
        padding: 30px;
        flex-grow: 1;  /* Allow info section to grow */
    }

    .press-echoes {
        flex-direction: row;
    }

    .thought-sprouts {
        flex-direction: row;
    }

    .news-spores {
        flex-direction: row;
    }
}

/* Desktop Adjustments */
@media (min-width: 1024px) {
    .terrain {
        padding: 100px 15%;
    }

    /* Remove body padding - let sections handle their own margins */
    /* Background wrappers should span full width */
    .jungle-background-wrapper,
    .andes-background-wrapper,
    .waterfall-background-wrapper,
    .terrain-memorial,
    .terrain-hero,
    .terrain-books-store {
        margin-left: 0;
        margin-right: 0;
    }

    .book-store-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Video section for desktop */
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .video-title {
        font-size: 24px;
    }

    .featured-thumbnail {
        height: 350px;
    }

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

    .shop-portal {
        max-width: 600px;
        margin: 0 auto 40px;
    }

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

    .signal-form {
        max-width: 600px;
        margin: 0 auto 40px;
    }
}

/* Additional responsive breakpoints for book cards */
@media (min-width: 900px) and (max-width: 1199px) {
    .book-store-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (min-width: 1200px) {
    .book-store-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        max-width: 1000px;
    }
}

/* Extra large screens - tighter layout */
@media (min-width: 1600px) {
    .book-store-grid {
        max-width: 1100px;
    }
}

/* Andes Mountains Background Wrapper - Press, Shop, Thoughts sections */
.andes-background-wrapper {
    background-image: url('assets/images/andesmountains.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.andes-background-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 58, 26, 0.80);
    z-index: 1;
    pointer-events: none;
}

.terrain-press,
.terrain-shop,
.terrain-thoughts {
    position: relative;
    background: transparent;
}

.terrain-press > *,
.terrain-shop > *,
.terrain-thoughts > * {
    position: relative;
    z-index: 2;
}

/* Blue Lotus Background Wrapper - Support & Connect sections */
.waterfall-background-wrapper {
    background-image: url('assets/images/bluelotus.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.waterfall-background-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 58, 26, 0.80);
    z-index: 1;
    pointer-events: none;
}

.terrain-updates,
.terrain-support,
.terrain-connect {
    position: relative;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.terrain-updates > *,
.terrain-support > *,
.terrain-connect > * {
    position: relative;
    z-index: 2;
    width: 100%;
}

.news-spores,
.support-message,
.signal-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Testimonials Carousel - Mobile First */
.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.testimonial-container {
    position: relative;
    height: 500px;
    padding: 20px;
    margin-bottom: 20px;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(111, 160, 88, 0.3);
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-text {
    font-family: 'Literata', serif;
    font-size: 18px;
    line-height: 1.9;
    color: var(--mist);
    margin-bottom: 20px;
    font-style: normal;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(111, 160, 88, 0.3);
}

.author-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--golden-spore);
    margin-bottom: 5px;
}

.author-title {
    font-size: 14px;
    color: var(--growth-green);
    opacity: 0.9;
}

/* Navigation dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--growth-green);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background: var(--golden-spore);
    border-color: var(--golden-spore);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--growth-green);
    border-color: var(--growth-green);
}

/* Navigation arrows */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(111, 160, 88, 0.3);
    color: var(--growth-green);
    font-size: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-prev {
    left: -20px;
}

.carousel-next {
    right: -20px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(111, 160, 88, 0.3);
    color: var(--golden-spore);
    transform: translateY(-50%) scale(1.1);
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .testimonial {
        padding: 25px 20px;
    }

    .testimonial-text {
        font-size: 17px;
    }

    .testimonial-container {
        height: 550px;
    }
}

/* Tablet and up */
@media (min-width: 768px) {
    .testimonial-container {
        height: 450px;
    }

    .testimonial {
        padding: 40px 45px;
    }

    .testimonial-text {
        font-size: 20px;
        line-height: 2;
    }

    .testimonial-container {
        padding: 30px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .testimonial-container {
        height: 400px;
    }
}

/* Gradient Roll Animation */
@keyframes gradientRoll {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Accessibility & Performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}