/* BASE & VARIABLES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Sora:wght@400;700;800&family=Space+Mono:wght@700&display=swap');

:root {
    --canopy-night: #0E1B14;
    --leaf-depth: #183424;
    --jungle-bark: #2A3D2B;
    --sunlit-palm: #D9D3A3;
    --warm-sandleaf: #BFAE72;
    --banana-pulse: #E7C547;
    --tropic-lime: #8CBF4F;
    --mango-pop: #E8783A;
    --waterfall-blue: #3C9FA8;
    --hibiscus-red: #C94D45;
    
    --primary-light-text: #F4F1D8;
    --secondary-light-text: #C9D5BC;
    --primary-dark-text: #172015;
    --muted-text: #87967E;
    
    --dark-border: #3E563E;
    --light-border: #9B925C;

    --font-display: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-micro: 'Space Mono', monospace;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--canopy-night);
    color: var(--primary-light-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; transition: var(--transition); }

/* TYPOGRAPHY UTILS */
.micro { font-family: var(--font-micro); text-transform: uppercase; letter-spacing: 1px; font-size: 0.75rem; }
.heading-l { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.1; }
.heading-m { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; }
.heading-s { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.text-dark { color: var(--primary-dark-text); }
.text-light { color: var(--primary-light-text); }
.text-muted { color: var(--muted-text); }

/* LAYOUT UTILS */
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

/* 0. DISCLAIMER BANNER */
.top-disclaimer {
    background-color: var(--canopy-night);
    color: var(--secondary-light-text);
    text-align: center;
    padding: 0.5rem 1rem;
    font-family: var(--font-micro);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--dark-border);
    position: relative;
    z-index: 1000;
}

/* 1. JUNGLE SIGNAL ROPE */
.signal-rope {
    background-color: var(--banana-pulse);
    color: var(--primary-dark-text);
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    font-family: var(--font-micro);
    font-size: 0.7rem;
    font-weight: 700;
}
.signal-rope span { display: block; }
@media (max-width: 768px) {
    .signal-rope { justify-content: center; gap: 1rem; }
    .signal-rope span:not(:first-child) { display: none; }
}

/* 2. CANOPY SPLIT HEADER */
.canopy-header {
    display: flex;
    width: 100%;
    position: relative;
    z-index: 100;
}
.beam-1, .beam-2, .beam-3 {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
}
.beam-1 {
    width: 36%;
    background-color: var(--canopy-night);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}
.brand-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.brand-title {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    background: linear-gradient(90deg, #00F0FF, #8A2BE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}
.brand-subtitle {
    font-family: var(--font-micro);
    font-size: 0.65rem;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}
.beam-2 {
    width: 44%;
    background-color: var(--sunlit-palm);
    color: var(--primary-dark-text);
}
.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    font-family: var(--font-micro);
    font-size: 0.8rem;
    font-weight: 700;
}
.nav-links a:hover { color: var(--mango-pop); }
.beam-3 {
    width: 20%;
    background-color: var(--mango-pop);
    justify-content: center;
}
.btn-enter {
    background: transparent;
    color: var(--primary-dark-text);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
}
.btn-enter:hover { transform: scale(1.05); }
.mobile-menu-btn { display: none; background: transparent; font-size: 1.5rem; color: var(--primary-dark-text); }

@media (max-width: 1024px) {
    .canopy-header { flex-direction: column; }
    .beam-1, .beam-2, .beam-3 { width: 100%; }
    .beam-1 { flex-direction: row; justify-content: space-between; align-items: center; }
    .mobile-menu-btn { display: block; color: var(--primary-light-text); }
    .beam-2, .beam-3 { display: none; }
    .canopy-header.active .beam-2 { display: flex; flex-direction: column; align-items: flex-start; padding: 1rem 2rem; }
    .canopy-header.active .beam-3 { display: flex; padding: 1rem 2rem; justify-content: flex-start; }
    .nav-links { flex-direction: column; gap: 1rem; width: 100%; }
}

/* 3. SWING-IN HERO */
.hero-section {
    width: 100%;
    background-color: var(--leaf-depth);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 35% 65%;
    grid-template-rows: auto auto;
    min-height: 80vh;
}
.hero-upper-left {
    background-color: var(--hibiscus-red);
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-upper-left .label { margin-bottom: 2rem; color: var(--primary-light-text); }
.hero-image-block {
    background-color: var(--canopy-night);
    position: relative;
}
.hero-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-lower-left {
    background-color: var(--sunlit-palm);
    color: var(--primary-dark-text);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}
.hero-lower-right {
    background-color: var(--waterfall-blue);
    color: var(--primary-dark-text);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
}
.btn-primary {
    display: inline-block;
    background-color: var(--canopy-night);
    color: var(--primary-light-text);
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    width: fit-content;
}
.btn-primary:hover { background-color: var(--leaf-depth); color: var(--sunlit-palm); }
.text-link {
    font-family: var(--font-micro);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    margin-top: 1rem;
}
.text-link:hover { color: var(--hibiscus-red); }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 100%; grid-template-rows: auto auto auto auto; min-height: auto; }
    .hero-image-block img { clip-path: none; min-height: 400px; }
    .hero-lower-right { align-items: flex-start; text-align: left; }
}

/* 4. TREETOP ROUTE */
.route-section {
    padding: 6rem 0;
    background-color: var(--canopy-night);
    overflow: hidden;
}
.route-path {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 4rem 0;
}
/* Vine connection */
.route-path::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--tropic-lime) 50%, transparent 50%);
    background-size: 20px 100%;
    transform: translateY(-50%) rotate(5deg);
    z-index: 1;
    opacity: 0.3;
}
.route-stop {
    position: relative;
    z-index: 2;
    background-color: var(--jungle-bark);
    padding: 2rem 1.5rem;
    width: 18%;
    border-top: 4px solid var(--tropic-lime);
    box-shadow: 10px 10px 0 rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}
.route-stop:nth-child(even) { transform: translateY(40px); border-top-color: var(--mango-pop); }
.route-stop:hover { transform: translateY(-10px); }
.route-stop:nth-child(even):hover { transform: translateY(30px); }
.stop-num { color: var(--tropic-lime); margin-bottom: 0.5rem; display: block; }
.route-stop h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--primary-light-text); }
.route-stop p { font-size: 0.85rem; color: var(--secondary-light-text); }

@media (max-width: 1024px) {
    .route-path { flex-direction: column; gap: 2rem; padding: 2rem; }
    .route-path::before { display: none; }
    .route-stop { width: 100%; transform: none !important; border-left: 4px solid var(--tropic-lime); border-top: none; }
}

/* 5. CRAZY MONKEY CANOPY GAME DECK */
.game-section {
    background-color: var(--leaf-depth);
    padding: 6rem 0;
}
.deck-sign {
    background-color: var(--mango-pop);
    color: var(--primary-dark-text);
    padding: 1rem 2rem;
    text-align: center;
    font-family: var(--font-micro);
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto;
}
.game-frame-wrapper {
    background-color: var(--jungle-bark);
    border: 2px solid var(--dark-border);
    border-radius: 10px 10px 0 0;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
    position: relative;
}
.game-aspect {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background: #000;
}
.game-aspect iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: none;
}
.control-plank {
    background-color: var(--sunlit-palm);
    color: var(--primary-dark-text);
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 0 0 10px 10px;
    font-family: var(--font-micro);
    font-weight: 700;
}
.control-plank .center-controls { display: flex; gap: 1.5rem; }
.control-plank button, .control-plank a {
    background: transparent;
    color: var(--primary-dark-text);
    font-family: var(--font-micro);
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 2px solid transparent;
}
.control-plank button:hover, .control-plank a:hover { border-bottom: 2px solid var(--mango-pop); }
@media (max-width: 768px) {
    .control-plank { flex-direction: column; gap: 1rem; text-align: center; }
}

/* 6. WILD PLATFORMS */
.platforms-section {
    padding: 8rem 0;
    background-color: var(--canopy-night);
}
.platform-grid {
    display: grid;
    grid-template-columns: 2fr 0.5fr 2fr 1.5fr;
    grid-template-rows: auto auto auto;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.zone-a { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.zone-a img { width: 100%; height: 100%; object-fit: cover; }
.zone-b { grid-column: 3; grid-row: 1; background-color: var(--mango-pop); writing-mode: vertical-rl; text-align: center; padding: 2rem 1rem; color: var(--primary-dark-text); display: flex; align-items: center; justify-content: center;}
.zone-c { grid-column: 4; grid-row: 1; background-color: var(--jungle-bark); padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.zone-d { grid-column: 3 / span 2; grid-row: 2 / span 2; }
.zone-d img { width: 100%; height: 100%; object-fit: cover; }
.zone-e { grid-column: 1; grid-row: 3; background-color: var(--warm-sandleaf); color: var(--primary-dark-text); padding: 2rem; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;}
.zone-e .large-num { font-size: 5rem; font-family: var(--font-display); font-weight: 800; line-height: 1; }
.zone-f { grid-column: 2; grid-row: 3; background-color: var(--waterfall-blue); padding: 2rem; display: flex; flex-direction: column; justify-content: center; color: var(--primary-dark-text);}
.zone-g { grid-column: 1 / span 4; grid-row: 4; text-align: right; padding-top: 2rem; }
.zone-g a { color: var(--tropic-lime); }

@media (max-width: 900px) {
    .platform-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .zone-a, .zone-b, .zone-c, .zone-d, .zone-e, .zone-f, .zone-g { grid-column: 1; grid-row: auto; }
    .zone-b { writing-mode: horizontal-tb; padding: 1rem; }
}

/* 7. JUNGLE PLAY RULES */
.rules-section {
    background-color: var(--leaf-depth);
    padding: 6rem 0;
}
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.leaf-board {
    background-color: var(--jungle-bark);
    border: 1px solid var(--dark-border);
    padding: 2rem;
    border-radius: 20px 0 20px 0;
    transition: background-color 0.3s;
}
.leaf-board:hover { background-color: var(--canopy-night); border-color: var(--tropic-lime); }
.leaf-board h3 { font-family: var(--font-display); color: var(--sunlit-palm); margin-bottom: 1rem; font-size: 1.5rem; }

/* 8. RANGER HUT */
.hut-section { padding: 0; background-color: var(--canopy-night); }
.hut-container { display: flex; width: 100%; min-height: 500px; }
.hut-block-1 {
    width: 25%;
    background-color: var(--waterfall-blue);
    padding: 4rem 2rem;
    color: var(--primary-dark-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hut-block-2 {
    width: 50%;
    background-color: var(--sunlit-palm);
    padding: 4rem;
    color: var(--primary-dark-text);
}
.hut-block-3 {
    width: 25%;
    background-color: var(--tropic-lime);
    padding: 4rem 2rem;
    color: var(--primary-dark-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--light-border);
    font-family: var(--font-body);
    color: var(--primary-dark-text);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--canopy-night); }
.btn-submit {
    background-color: var(--canopy-night);
    color: var(--primary-light-text);
    padding: 1rem;
    text-transform: uppercase;
    font-family: var(--font-display);
    font-weight: 700;
}
.hut-block-3 ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.hut-block-3 a { font-weight: 600; text-decoration: underline; text-decoration-color: transparent; }
.hut-block-3 a:hover { text-decoration-color: var(--primary-dark-text); }

@media (max-width: 900px) {
    .hut-container { flex-direction: column; }
    .hut-block-1, .hut-block-2, .hut-block-3 { width: 100%; padding: 2rem; }
}

/* 9. CANOPY FOOTER */
.canopy-footer { width: 100%; }
.footer-layer-1 {
    background-color: var(--canopy-night);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--dark-border);
}
.footer-layer-1 h2 { font-family: var(--font-display); font-weight: 800; font-size: 2rem; text-transform: uppercase; color: var(--primary-light-text); }
.footer-layer-1 p { color: var(--tropic-lime); font-family: var(--font-micro); margin: 0.5rem 0 1rem; }
.footer-layer-2 {
    background-color: var(--sunlit-palm);
    padding: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--primary-dark-text);
    font-family: var(--font-micro);
    font-weight: 700;
}
.footer-layer-2 a:hover { color: var(--hibiscus-red); }
.footer-layer-3 {
    background-color: var(--leaf-depth);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.legal-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; font-size: 0.85rem; color: var(--secondary-light-text); }
.legal-links a:hover { color: var(--primary-light-text); }
.footer-base { text-align: center; font-size: 0.75rem; color: var(--muted-text); margin-top: 1rem; }

/* COOKIE CONSENT */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 360px;
    background-color: var(--sunlit-palm);
    color: var(--primary-dark-text);
    padding: 1.5rem;
    border-left: 8px solid var(--mango-pop);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
    font-family: var(--font-body);
}
.cookie-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.cookie-title { font-family: var(--font-display); font-weight: 700; }
.cookie-marker { background: var(--waterfall-blue); font-family: var(--font-micro); padding: 2px 6px; font-size: 0.6rem; }
.cookie-text { font-size: 0.85rem; margin-bottom: 1rem; }
.cookie-buttons { display: flex; gap: 1rem; }
.cookie-btn { flex: 1; padding: 0.5rem; font-family: var(--font-micro); font-weight: 700; text-transform: uppercase; }
.btn-accept { background-color: var(--canopy-night); color: var(--primary-light-text); }
.btn-reject { background-color: transparent; border: 1px solid var(--primary-dark-text); }

@media (max-width: 400px) {
    .cookie-notice { width: calc(100% - 40px); bottom: 10px; right: 10px; left: 10px; }
}

/* INTERNAL PAGES BASE */
.internal-header {
    background-color: var(--leaf-depth);
    padding: 6rem 2rem 4rem;
    text-align: center;
    border-bottom: 4px solid var(--tropic-lime);
}
.internal-content {
    background-color: var(--canopy-night);
    padding: 4rem 2rem;
    min-height: 50vh;
}
.content-wrapper { max-width: 800px; margin: 0 auto; }
.content-wrapper h2 { font-family: var(--font-display); font-size: 2rem; margin: 2rem 0 1rem; color: var(--sunlit-palm); }
.content-wrapper p, .content-wrapper ul { margin-bottom: 1.5rem; color: var(--secondary-light-text); }
.content-wrapper ul { padding-left: 1.5rem; }
.content-wrapper li { margin-bottom: 0.5rem; }
.btn-return { display: inline-block; margin-top: 2rem; padding: 1rem 2rem; background: var(--jungle-bark); color: var(--primary-light-text); font-family: var(--font-micro); font-weight: 700; text-transform: uppercase; border: 1px solid var(--dark-border); }
.btn-return:hover { background: var(--tropic-lime); color: var(--primary-dark-text); }