* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0e1a12;
    font-family: 'Times New Roman', Times, serif;
    color: #ece3cf;
    line-height: 1.4;
}

.grove-roots {
    background-image: url('../lunar-assets/images/bg-pattern.webp');
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.grove-canopy {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 20, 8, 0.92);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    z-index: 1000;
    border-bottom: 1px solid #cdb38c;
}

.canopy-logo a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-moss {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #d4b87a;
    transition: transform 0.3s ease;
}
.canopy-logo a:hover .logo-moss {
    transform: rotate(5deg) scale(1.05);
}

.grove-title {
    font-size: 1.3rem;
    letter-spacing: 3px;
    color: #ecd9b4;
    transition: color 0.3s ease;
}
.canopy-logo a:hover .grove-title {
    color: #fad974;
}

.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 36px;
    height: 28px;
    cursor: pointer;
    padding: 6px 4px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    transition: 0.2s;
}
.burger-menu:hover {
    background: rgba(205,179,140,0.3);
    transform: scale(1.02);
}
.burger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background: #ecd9b4;
    border-radius: 2px;
    transition: 0.2s;
}
.burger-menu:active span:nth-child(1) {
    transform: translateY(2px);
}
.burger-menu:active span:nth-child(3) {
    transform: translateY(-2px);
}

.veiled-navigation {
    position: fixed;
    top: 70px;
    right: -260px;
    width: 240px;
    background: #1a2a1ae0;
    backdrop-filter: blur(12px);
    border-radius: 30px 0 0 30px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: right 0.3s ease;
    z-index: 999;
}
.veiled-navigation.open {
    right: 0;
}
.nav-glyph {
    color: #ecd9b4;
    text-decoration: none;
    font-size: 1.3rem;
    padding: 0.5rem 0;
    border-bottom: 1px dotted #cdb38c;
    transition: all 0.2s ease;
}
.nav-glyph:hover, .active-rune {
    color: #f5c87b;
    border-bottom-color: #f5c87b;
    padding-left: 8px;
    transform: translateX(-3px);
}

.grove-floor {
    margin-top: 85px;
    flex: 1;
    padding: 2rem 1.5rem;
}

.realm-hero-new {
    min-height: 60vh;
    display: flex;
    align-items: center;
    margin: 2rem 0 4rem;
    position: relative;
    background: transparent;
}
.hero-split {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.hero-image-side {
    flex: 1.2;
    min-width: 280px;
    text-align: center;
    animation: slideInLeft 0.8s ease;
}
.giant-hexagon {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%);
    background: #2f4028;
    padding: 8px;
    box-shadow: 0 20px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}
.giant-hexagon:hover {
    transform: scale(1.02);
}
.giant-hexagon img {
    width: 100%;
    height: auto;
    display: block;
    clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%);
}
.hero-captions {
    margin-top: 1.8rem;
    background: rgba(30,45,25,0.85);
    backdrop-filter: blur(8px);
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 60px;
    border-left: 4px solid #f3b33d;
    border-right: 4px solid #f3b33d;
    animation: fadeInUp 0.6s ease 0.2s both;
}
.site-caption {
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #fad974;
}
.games-caption {
    font-size: 0.85rem;
    color: #ecd9b4;
}
.hero-text-side {
    flex: 1;
    min-width: 260px;
    text-align: center;
}
.realm-title {
    font-size: clamp(1.8rem, 6vw, 3rem);
    color: #f5e2b0;
    animation: fadeInUp 0.8s ease;
}
.realm-whisper {
    font-size: 1.1rem;
    margin: 1rem 0;
    animation: fadeInUp 0.8s ease 0.1s both;
}
.realm-choices {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.2s both;
}
.choice-totem {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: #5f7a4d;
    border-radius: 50px;
    text-decoration: none;
    color: #f9efd9;
    transition: all 0.2s ease;
}
.choice-totem.ghost {
    background: transparent;
    border: 1px solid #5f7a4d;
}
.choice-totem:hover {
    background: #7c9f64;
    transform: translateY(-4px) scale(1.02);
}
.choice-totem:active {
    transform: translateY(0px) scale(0.98);
}

.totem-ring {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}
.totem {
    background: rgba(30,45,25,0.8);
    backdrop-filter: blur(6px);
    padding: 1.5rem;
    width: 100%;
    max-width: 600px;
    transition: all 0.3s ease;
    border-radius: 30px 60px 30px 60px;
    display: flex;
    flex-direction: column;
    animation: float 4s ease-in-out infinite;
}
.totem:hover {
    transform: translateY(-10px) rotate(1deg);
    background: #2c4123dd;
    box-shadow: 0 20px 30px rgba(0,0,0,0.4);
}
.unified-frame img {
    width: 100%;
    border-radius: 40px 20px 40px 20px;
    transition: transform 0.3s ease;
}
.totem:hover .unified-frame img {
    transform: scale(1.02);
}
.totem h2 {
    font-size: 1.6rem;
    margin: 0.8rem 0 0.3rem;
}
.totem p {
    font-size: 1rem;
    margin-bottom: 1rem;
}
.totem-button-wrap {
    margin-top: auto;
    text-align: center;
}
.totem-call {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: #b8944c;
    color: #0e1a12;
    border-radius: 60px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
}
.totem-call:hover {
    background: #dbb05c;
    transform: scale(1.05);
}
.totem-call:active {
    transform: scale(0.98);
}

.portal-grove {
    max-width: 1200px;
    margin: 0 auto;
}
.portal-header {
    text-align: center;
    margin-bottom: 2rem;
}
.portal-header h1 {
    animation: glowPulse 2s infinite;
}
.portals {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.enlarged-card {
    width: 100%;
    max-width: 520px;
    background: #1f2e1be0;
    border-radius: 40px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    animation: zoomFadeIn 0.5s ease forwards;
    opacity: 0;
    cursor: pointer;
}
.enlarged-card:first-child {
    animation-delay: 0.1s;
}
.enlarged-card:last-child {
    animation-delay: 0.2s;
}
.enlarged-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 30px rgba(0,0,0,0.5);
    background: #2c4123dd;
}
.enlarged-card:active {
    transform: scale(0.99);
}
.enlarged-membrane {
    width: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: #2f4028;
    padding: 12px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}
.enlarged-card:hover .enlarged-membrane {
    transform: scale(1.02);
}
.enlarged-membrane img {
    width: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.enlarged-card h2 {
    font-size: 1.5rem;
    margin: 0.8rem 0;
}
.portal-key {
    display: inline-block;
    background: #5f7a4d;
    padding: 0.5rem 1rem;
    border-radius: 60px;
    text-decoration: none;
    color: #f9efd9;
    transition: all 0.2s ease;
}
.portal-key:hover {
    background: #7c9f64;
    transform: translateY(-3px);
}
.portal-key:active {
    transform: translateY(1px);
}

.scroll-shrine {
    text-align: center;
    margin-bottom: 2rem;
}
.scrolls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.enlarged-scroll-item {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: rgba(30,45,25,0.85);
    backdrop-filter: blur(4px);
    padding: 1.5rem;
    border-radius: 40px 80px 40px 80px;
    width: 100%;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideUpFade 0.7s ease forwards;
}
.enlarged-scroll-item:first-child {
    animation-delay: 0.1s;
}
.enlarged-scroll-item:last-child {
    animation-delay: 0.3s;
}
.enlarged-scroll-item:hover {
    transform: translateY(-8px) rotate(1deg);
    background: #2c4123dd;
    box-shadow: 0 15px 25px rgba(0,0,0,0.3);
}
.enlarged-cover {
    flex: 1;
    min-width: 200px;
}
.enlarged-cover img {
    width: 100%;
    border-radius: 30px 60px 30px 60px;
    transition: transform 0.3s ease;
}
.enlarged-scroll-item:hover .enlarged-cover img {
    transform: scale(1.02);
}
.enlarged-text {
    flex: 2;
}
.enlarged-text h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}
.enlarged-text p {
    font-size: 1rem;
}
.rune-list {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    list-style: none;
    margin: 1rem 0;
}
.rune-list li {
    background: #2f4028;
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
    font-size: 0.85rem;
    transition: transform 0.2s;
}
.rune-list li:hover {
    transform: scale(1.05);
    background: #4a6a3a;
}
.scroll-unfurl {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.5rem 1.2rem;
    background: #b8944c;
    color: #0e1a12;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.scroll-unfurl:hover {
    background: #dbb05c;
    transform: translateX(5px);
}
.scroll-unfurl:active {
    transform: translateX(2px);
}

.whisper-grove {
    max-width: 700px;
    margin: 0 auto;
}
.whisper-parchment {
    background: #1f2e1be0;
    border-radius: 64px;
    padding: 1.5rem;
    animation: fadeInUp 0.6s ease;
}
.raven-form .form-twigs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.twig {
    flex: 1;
    margin-bottom: 1rem;
}
.full-twig {
    flex: 1 1 100%;
}
.twig label {
    display: block;
    margin-bottom: 0.3rem;
}
.twig input, .twig textarea {
    width: 100%;
    padding: 0.6rem;
    background: #2a3b22;
    border: 1px solid #b8944c;
    border-radius: 24px;
    color: #f9efd9;
    transition: all 0.2s;
}
.twig input:focus, .twig textarea:focus {
    border-color: #fad974;
    outline: none;
    box-shadow: 0 0 8px rgba(250,217,116,0.3);
    transform: scale(1.01);
}
.consent-twig {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}
.consent-twig input {
    width: auto;
    transition: transform 0.1s;
}
.consent-twig input:active {
    transform: scale(1.1);
}
.raven-submit {
    background: #5f7a4d;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 60px;
    color: #f9efd9;
    cursor: pointer;
    transition: all 0.2s;
}
.raven-submit:hover {
    background: #7c9f64;
    transform: translateY(-3px);
}
.raven-submit:active {
    transform: translateY(1px);
}

.spirit-den {
    max-width: 1400px;
    margin: 0 auto;
}
.den-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.den-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.home-return {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(95, 122, 77, 0.9);
    color: #f9efd9;
    text-decoration: none;
    border-radius: 60px;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: 1px solid #cdb38c;
}
.home-return:hover {
    background: #7c9f64;
    transform: translateX(-3px);
}
.home-return:active {
    transform: translateX(0px);
}
.fullscreen-btn {
    background: rgba(95, 122, 77, 0.9);
    border: 1px solid #cdb38c;
    color: #f9efd9;
    font-size: 1.2rem;
    padding: 0.3rem 0.8rem;
    border-radius: 60px;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s;
}
.fullscreen-btn:hover {
    background: #7c9f64;
    transform: scale(1.05);
}
.fullscreen-btn:active {
    transform: scale(0.98);
}
.den-portal-full {
    position: relative;
    width: 100%;
    height: 75vh;
    margin: 1rem 0;
    border-radius: 28px;
    overflow: hidden;
    border: 2px solid #b8944c;
    transition: box-shadow 0.3s;
}
.den-portal-full:hover {
    box-shadow: 0 0 20px rgba(184,148,76,0.5);
}
.den-portal-full iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.den-echo {
    text-align: center;
    margin: 1rem 0;
    font-size: 0.85rem;
}

.legal-hermitage {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
    animation: fadeInUp 0.5s ease;
}
.legal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}
.legal-echo {
    margin-bottom: 1rem;
}
.legal-hermitage h2 {
    margin: 1rem 0 0.3rem;
}
.hermit-back {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.4rem 1rem;
    background: #5f7a4d;
    color: #f9efd9;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.2s;
}
.hermit-back:hover {
    background: #7c9f64;
    transform: translateX(-3px);
}

.grove-duff {
    background: #061205d9;
    padding: 1rem;
    text-align: center;
    font-size: 0.75rem;
    margin-top: 2rem;
}
.duff-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}
.duff-links a, .duff-warning a {
    color: #cdb38c;
    text-decoration: none;
    transition: color 0.2s;
}
.duff-links a:hover, .duff-warning a:hover {
    color: #fad974;
    text-decoration: underline;
}
.duff-warning {
    max-width: 800px;
    margin: 0 auto 0.6rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
@keyframes zoomFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes glowPulse {
    0% { text-shadow: 0 0 0px #fad974; }
    50% { text-shadow: 0 0 10px #fad974; }
    100% { text-shadow: 0 0 0px #fad974; }
}

@media (max-width: 800px) {
    .burger-menu {
        display: flex !important;
    }
    .veiled-navigation {
        position: fixed;
        top: 65px;
        right: -250px;
        width: 220px;
        padding: 1.2rem;
    }
    .grove-canopy {
        padding: 0.5rem 1rem;
    }
    .grove-title {
        font-size: 1rem;
    }
    .logo-moss {
        width: 36px;
        height: 36px;
    }
    .grove-floor {
        padding: 1rem;
        margin-top: 70px;
    }
    .hero-split {
        flex-direction: column;
        gap: 1rem;
    }
    .giant-hexagon {
        max-width: 240px;
    }
    .hero-captions {
        padding: 0.4rem 1rem;
    }
    .site-caption {
        font-size: 1rem;
    }
    .games-caption {
        font-size: 0.7rem;
    }
    .realm-whisper {
        font-size: 0.95rem;
    }
    .choice-totem {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
    .totem {
        max-width: 100%;
        padding: 1rem;
    }
    .totem h2 {
        font-size: 1.3rem;
    }
    .totem p {
        font-size: 0.9rem;
    }
    .enlarged-card {
        max-width: 100%;
        padding: 1rem;
    }
    .enlarged-card h2 {
        font-size: 1.3rem;
    }
    .enlarged-scroll-item {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    .enlarged-cover {
        min-width: auto;
    }
    .enlarged-text h2 {
        font-size: 1.4rem;
    }
    .enlarged-text p {
        font-size: 0.9rem;
    }
    .rune-list li {
        font-size: 0.8rem;
    }
    .scroll-unfurl {
        font-size: 0.85rem;
        display: block;
        text-align: center;
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
    }
    .den-portal-full {
        height: 50vh;
    }
    .den-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .den-actions {
        width: 100%;
        justify-content: center;
    }
    .legal-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .right-return {
        margin-left: 0;
    }
}

@media (max-width: 360px) {
    .hero-image-side {
        min-width: auto;
        width: 100%;
    }
    .giant-hexagon {
        max-width: 200px;
    }
    .site-caption {
        font-size: 0.9rem;
    }
    .games-caption {
        font-size: 0.65rem;
    }
    .hero-text-side {
        min-width: auto;
    }
    .realm-title {
        font-size: 1.6rem;
    }
    .totem h2 {
        font-size: 1.2rem;
    }
    .enlarged-card h2 {
        font-size: 1.2rem;
    }
    .portal-key, .totem-call, .scroll-unfurl, .raven-submit {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    .enlarged-text h2 {
        font-size: 1.2rem;
    }
    .den-portal-full {
        height: 45vh;
    }
    .home-return, .fullscreen-btn {
        font-size: 0.8rem;
        padding: 0.3rem 0.7rem;
    }
    .consent-twig {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* ----- СТАНДАРТНЫЙ ХЕДЕР (десктоп) ----- */
.desktop-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-link {
    color: #ecd9b4;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
    border-bottom-color: #f3b33d;
    color: #fad974;
    transform: translateY(-2px);
}
.burger-menu, .mobile-nav {
    display: none;
}

/* ----- МОБИЛЬНАЯ ВЕРСИЯ (адаптив) ----- */
@media (max-width: 800px) {
    .desktop-nav {
        display: none;
    }
    .burger-menu {
        display: flex !important;
        z-index: 1100;
    }
    .mobile-nav {
        display: flex;
        position: fixed;
        top: 70px;
        right: -260px;
        width: 240px;
        background: #1a2a1ae0;
        backdrop-filter: blur(12px);
        border-radius: 30px 0 0 30px;
        padding: 2rem 1.5rem;
        flex-direction: column;
        gap: 1.2rem;
        transition: right 0.3s ease;
        z-index: 1050;
    }
    .mobile-nav.open {
        right: 0;
    }
    .nav-glyph {
        color: #ecd9b4;
        text-decoration: none;
        font-size: 1.3rem;
        padding: 0.5rem 0;
        border-bottom: 1px dotted #cdb38c;
        transition: all 0.2s;
    }
    .nav-glyph:hover, .active-rune {
        color: #f5c87b;
        padding-left: 8px;
        border-bottom-color: #f5c87b;
    }
}

.legal-hermitage {
    background: rgba(15, 25, 12, 0.88);
    backdrop-filter: blur(3px);
    border-radius: 48px;
    padding: 2rem;
    max-width: 900px;
    margin: 2rem auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(205, 179, 140, 0.3);
    transition: all 0.3s ease;
}
.legal-hermitage h1,
.legal-hermitage h2,
.legal-hermitage p,
.legal-hermitage ul,
.legal-hermitage li {
    color: #f5efdf;
}
.legal-hermitage a {
    color: #fad974;
    text-decoration: none;
    border-bottom: 1px dotted #fad974;
}
.legal-hermitage a:hover {
    color: #ffefb0;
    border-bottom-style: solid;
}
/* ----- ФИКСИРОВАННЫЙ ХЕДЕР (исправленный) ----- */
.grove-canopy {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 20, 8, 0.95);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    z-index: 1000;
    border-bottom: 1px solid #cdb38c;
    box-sizing: border-box;
}
.canopy-logo a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}
.logo-moss {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #d4b87a;
    transition: transform 0.3s ease;
}
.canopy-logo a:hover .logo-moss {
    transform: rotate(5deg) scale(1.05);
}
.grove-title {
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: #ecd9b4;
    font-family: 'Times New Roman', Times, serif;
    transition: color 0.3s;
}
.canopy-logo a:hover .grove-title {
    color: #fad974;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-link {
    color: #ecd9b4;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    font-family: 'Times New Roman', Times, serif;
}
.nav-link:hover, .nav-link.active {
    border-bottom-color: #f3b33d;
    color: #fad974;
    transform: translateY(-2px);
}

.burger-menu, .mobile-nav {
    display: none;
}

@media (max-width: 800px) {
    .desktop-nav {
        display: none;
    }
    .burger-menu {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 36px;
        height: 28px;
        cursor: pointer;
        padding: 6px 4px;
        background: rgba(0,0,0,0.2);
        border-radius: 8px;
        transition: 0.2s;
    }
    .burger-menu span {
        display: block;
        height: 3px;
        width: 100%;
        background: #ecd9b4;
        border-radius: 2px;
    }
    .mobile-nav {
        display: flex;
        position: fixed;
        top: 70px;
        right: -260px;
        width: 240px;
        background: #1a2a1ae0;
        backdrop-filter: blur(12px);
        border-radius: 30px 0 0 30px;
        padding: 2rem 1.5rem;
        flex-direction: column;
        gap: 1.2rem;
        transition: right 0.3s ease;
        z-index: 1050;
    }
    .mobile-nav.open {
        right: 0;
    }
    .nav-glyph {
        color: #ecd9b4;
        text-decoration: none;
        font-size: 1.3rem;
        padding: 0.5rem 0;
        border-bottom: 1px dotted #cdb38c;
        transition: all 0.2s;
    }
    .nav-glyph:hover, .active-rune {
        color: #f5c87b;
        padding-left: 8px;
        border-bottom-color: #f5c87b;
    }
}