
:root {
    --forest-dark: #1a3d1a;
    --forest-green: #2d5a27;
    --moss-green: #4a7c45;
    --fern-green: #8fbc8f;
    --light-moss: #a8d5a2;
    --bark-brown: #5d4037;
    --earth-brown: #795548;
    --cream: #f5f5dc;
    --ivory: #fffff0;
    --shadow-dark: #0d260d;
}

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

body {
    font-family: 'B612', sans-serif;
    background: linear-gradient(180deg, #1a3d1a 0%, #2d5a27 50%, #4a7c45 100%);
    color: var(--ivory);
    min-height: 100vh;
}

.emerald-canopy {
    background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest-green) 100%);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.fern-frond {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.leaf_mark {
    width: 40px;
    height: 40px;
    background: url('images/icon.png') center/contain no-repeat;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.vine_text {
    font-family: 'Tienne', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-moss);
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.twig_links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.bark_link {
    color: var(--cream);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.bark_link:hover {
    color: var(--fern-green);
}

.bark_link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--fern-green);
    transition: width 0.3s ease;
}

.bark_link:hover::after {
    width: 100%;
}

.mossy_button {
    background: linear-gradient(135deg, var(--moss-green) 0%, var(--fern-green) 100%);
    color: var(--ivory);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mossy_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.forest_menu_toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.forest_menu_toggle span {
    width: 25px;
    height: 3px;
    background: var(--light-moss);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.forest_menu_toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.forest_menu_toggle.active span:nth-child(2) {
    opacity: 0;
}

.forest_menu_toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.forest_mobile_menu {
    position: fixed;
    left: -100%;
    width: 100%;
    background: linear-gradient(180deg, var(--forest-dark) 0%, var(--forest-green) 100%);
    padding: 2rem;
    transition: left 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.forest_mobile_menu.active {
    left: 0;
}

.canopy_links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.root_link {
    color: var(--cream);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 400;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.root_link:hover {
    color: var(--fern-green);
}

.fern_button {
    background: linear-gradient(135deg, var(--moss-green) 0%, var(--fern-green) 100%);
    color: var(--ivory);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    display: block;
    margin-top: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fern_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.ancient_realm {
    background: url('images/hero-img.png') center/cover no-repeat;
    padding: 8rem 2rem;
    min-height: 80vh;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ancient_realm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(26, 61, 26, 0.7) 0%, rgba(45, 90, 39, 0.5) 100%);
    z-index: 0;
}

.ancient_realm > * {
    position: relative;
    z-index: 1;
}

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

.druid_title {
    font-family: 'Tienne', serif;
    font-size: 3rem;
    color: var(--ivory);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.shaman_subtitle {
    font-size: 1.3rem;
    color: var(--light-moss);
}

.wild_blessings {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--forest-green) 0%, var(--forest-dark) 100%);
}

.nature_grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.elder_gift {
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.8) 0%, rgba(74, 124, 69, 0.8) 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--moss-green);
}

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

.totem_icon {
    font-family: 'Tienne', serif;
    font-size: 3rem;
    color: var(--fern-green);
    margin-bottom: 1rem;
}

.elder_gift h3 {
    font-family: 'Tienne', serif;
    color: var(--light-moss);
    margin-bottom: 0.5rem;
}

.elder_gift p {
    color: var(--cream);
}

.sacred_grove {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--forest-dark) 0%, var(--forest-green) 100%);
}

.oak_knowledge {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.rune_header {
    font-family: 'Tienne', serif;
    font-size: 2.5rem;
    color: var(--ivory);
    margin-bottom: 2rem;
    text-align: center;
}

.lore_text {
    color: var(--cream);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.jungle_haven {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--forest-green) 0%, var(--moss-green) 100%);
}

.wild_header {
    font-family: 'Tienne', serif;
    font-size: 2.5rem;
    color: var(--ivory);
    margin-bottom: 2rem;
    text-align: center;
}

.thicket_collection {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.beast_card {
    background: linear-gradient(135deg, rgba(26, 61, 26, 0.9) 0%, rgba(45, 90, 39, 0.9) 100%);
    max-width: 450px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--moss-green);
}

.beast_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.creature_visual {
    height: 200px;
    width: 390px;
    background: url('images/mightykong-img.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.predator_name {
    font-family: 'Tienne', serif;
    color: var(--ivory);
    padding: 1rem;
    text-align: center;
}

.tropical_trigger {
    display: block;
    background: linear-gradient(135deg, var(--moss-green) 0%, var(--fern-green) 100%);
    color: var(--ivory);
    text-align: center;
    padding: 1rem;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.tropical_trigger:hover {
    background: linear-gradient(135deg, var(--fern-green) 0%, var(--light-moss) 100%);
}

.mystic_queries {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--moss-green) 0%, var(--forest-green) 100%);
}

.oracle_title {
    font-family: 'Tienne', serif;
    font-size: 2.5rem;
    color: var(--ivory);
    margin-bottom: 2rem;
    text-align: center;
}

.prophecy_list {
    max-width: 900px;
    margin: 0 auto;
}

.riddle_item {
    background: linear-gradient(135deg, rgba(26, 61, 26, 0.7) 0%, rgba(45, 90, 39, 0.7) 100%);
    margin-bottom: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--fern-green);
    overflow: hidden;
}

.enigma_question {
    font-family: 'Tienne', serif;
    color: var(--light-moss);
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.3s ease;
}

.enigma_question:hover {
    background: rgba(74, 124, 69, 0.3);
}

.enigma_question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--fern-green);
    transition: transform 0.3s ease;
}

.riddle_item.active .enigma_question::after {
    transform: rotate(45deg);
}

.answer_revelation {
    color: var(--cream);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    opacity: 0;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
}

.riddle_item.active .answer_revelation {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
    opacity: 1;
}

.hunter_camp {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--forest-green) 0%, var(--forest-dark) 100%);
}

.tracker_header {
    font-family: 'Tienne', serif;
    font-size: 2.5rem;
    color: var(--ivory);
    margin-bottom: 2rem;
    text-align: center;
}

.wilderness_contact {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.tribe_info h3 {
    font-family: 'Tienne', serif;
    color: var(--light-moss);
    margin-bottom: 0.5rem;
}

.path_detail {
    color: var(--cream);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.message_cairn {
    background: linear-gradient(135deg, rgba(26, 61, 26, 0.5) 0%, rgba(45, 90, 39, 0.5) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--moss-green);
}

.runes_header {
    font-family: 'Tienne', serif;
    color: var(--ivory);
    margin-bottom: 1.5rem;
}

.wild_input,
.wild_textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 240, 0.1);
    border: 1px solid var(--moss-green);
    border-radius: 8px;
    color: var(--ivory);
    font-family: 'B612', sans-serif;
    font-size: 1rem;
}

.wild_input::placeholder,
.wild_textarea::placeholder {
    color: var(--light-moss);
}

.wild_input:focus,
.wild_textarea:focus {
    outline: none;
    border-color: var(--fern-green);
    background: rgba(255, 255, 240, 0.15);
}

.shaman_submit {
    background: linear-gradient(135deg, var(--moss-green) 0%, var(--fern-green) 100%);
    color: var(--ivory);
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shaman_submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.tribe_voices {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--forest-dark) 0%, var(--forest-green) 100%);
}

.gatherer_header {
    font-family: 'Tienne', serif;
    font-size: 2.5rem;
    color: var(--ivory);
    margin-bottom: 2rem;
    text-align: center;
}

.clan_stories {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.warrior_tale {
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.7) 0%, rgba(74, 124, 69, 0.7) 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--fern-green);
}

.speech_mark {
    color: var(--cream);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.fighter_name {
    color: var(--light-moss);
    font-weight: 600;
}

.ancient_news {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--forest-green) 0%, var(--moss-green) 100%);
    text-align: center;
}

.herald_title {
    font-family: 'Tienne', serif;
    font-size: 2.5rem;
    color: var(--ivory);
    margin-bottom: 1rem;
}

.chronicle_text {
    color: var(--cream);
    margin-bottom: 2rem;
}

.scribe_scroll {
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(26, 61, 26, 0.5) 0%, rgba(45, 90, 39, 0.5) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--moss-green);
}

.scribe_scroll h3 {
    font-family: 'Tienne', serif;
    color: var(--light-moss);
    margin-bottom: 1.5rem;
}

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

.scroll_input {
    padding: 1rem;
    background: rgba(255, 255, 240, 0.1);
    border: 1px solid var(--moss-green);
    border-radius: 8px;
    color: var(--ivory);
}

.scroll_input::placeholder {
    color: var(--light-moss);
}

.quill_submit {
    background: linear-gradient(135deg, var(--moss-green) 0%, var(--fern-green) 100%);
    color: var(--ivory);
    padding: 1rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quill_submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.earth_footer {
    background: linear-gradient(180deg, var(--forest-dark) 0%, var(--shadow-dark) 100%);
    padding: 3rem 2rem;
    margin-top: 3rem;
    border-top: 4px solid #ff6b6b;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.stone_warning {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(45, 90, 39, 0.3) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 107, 107, 0.3);
}

.mature_notice {
    color: #ff6b6b;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tribe_notice,
.spirit_notice,
.nature_notice {
    color: var(--cream);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.petal_banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest-green) 100%);
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    transition: bottom 0.5s ease;
    z-index: 1001;
}

.petal_banner.show {
    bottom: 0;
}

.pollen_content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.bloom_text {
    color: var(--cream);
    flex: 1;
    line-height: 1.6;
}

.nectar_accept {
    background: linear-gradient(135deg, var(--moss-green) 0%, var(--fern-green) 100%);
    color: var(--ivory);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.nectar_accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.scroll_main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(26, 61, 26, 0.5) 0%, rgba(45, 90, 39, 0.5) 100%);
    border-radius: 15px;
    border: 2px solid var(--moss-green);
}

.elder_title {
    font-family: 'Tienne', serif;
    font-size: 2.5rem;
    color: var(--ivory);
    margin-bottom: 2rem;
    text-align: center;
}

.ancient_scroll h2 {
    font-family: 'Tienne', serif;
    color: var(--light-moss);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.ancient_scroll p {
    color: var(--cream);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.ancient_scroll ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.ancient_scroll li {
    color: var(--cream);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.cavern_realm {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.torch_glow {
    text-align: center;
    margin-bottom: 2rem;
}

.forest_return {
    display: inline-block;
    color: var(--light-moss);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.forest_return:hover {
    color: var(--fern-green);
}

.beast_title {
    font-family: 'Tienne', serif;
    font-size: 2.5rem;
    color: var(--ivory);
    margin-bottom: 0.5rem;
}

.legend_subtitle {
    color: var(--cream);
    font-size: 1.2rem;
}

.wild_iframe_container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--moss-green);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.primeval_frame {
    width: 100%;
    height: 600px;
    display: block;
}

.wilderness_main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(26, 61, 26, 0.5) 0%, rgba(45, 90, 39, 0.5) 100%);
    border-radius: 15px;
    border: 2px solid var(--moss-green);
}

.tracker_title {
    font-family: 'Tienne', serif;
    font-size: 2.5rem;
    color: var(--ivory);
    margin-bottom: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .branch_navigation {
        display: none;
    }

    .forest_menu_toggle {
        display: flex;
    }

    .druid_title {
        font-size: 2rem;
    }

    .shaman_subtitle {
        font-size: 1.1rem;
    }

    .pollen_content {
        flex-direction: column;
        text-align: center;
    }

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

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

    .creature_visual {
        width: 300px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .emerald-canopy {
        padding: 1rem;
    }

    .vine_text {
        font-size: 1.2rem;
    }

    .druid_title {
        font-size: 1.5rem;
    }

    .ancient_scroll,
    .scroll_main {
        padding: 1rem;
    }

    .creature_visual {
        width: 300px;
        height: 160px;
    }
}
