/**
 * FanCraft - fancraft.eu
 * All rights reserved. Unauthorized reproduction prohibited.
 * Developed by Stellarr Studio - https://stellarrstudio.com
 */

html { scroll-behavior: smooth; }
::selection { background: rgba(245,166,35,0.2); }
img { max-width: 100%; height: auto; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F3F1ED; }
::-webkit-scrollbar-thumb { background: #D4D0C8; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #F5A623; }
.dark ::-webkit-scrollbar-track { background: #0c0c18; }
.dark ::-webkit-scrollbar-thumb { background: #2a2a4a; }

.site-loader {
    position: fixed; inset: 0; z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, #7EC8E3 0%, #A8DCF0 40%, #C8E8F5 70%, #e8f4e8 100%);
    overflow: hidden;
    transition: opacity 0.8s cubic-bezier(0.4,0,0,1), transform 0.8s cubic-bezier(0.4,0,0,1);
}
.dark .site-loader {
    background: linear-gradient(180deg, #020210 0%, #060628 40%, #0a0a22 70%, #0f0f1e 100%);
}
.site-loader.loaded {
    opacity: 0; transform: scale(1.08);
    pointer-events: none;
}

.site-loader__sky {
    position: absolute; inset: 0; pointer-events: none;
}

.site-loader__ground {
    position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
    background:
        linear-gradient(transparent, rgba(93,140,62,0.2) 40%, rgba(93,140,62,0.35) 50%, rgba(155,118,83,0.25) 55%, rgba(155,118,83,0.15));
}
.dark .site-loader__ground {
    background:
        linear-gradient(transparent, rgba(8,8,32,0.4) 40%, rgba(8,8,32,0.6) 55%, rgba(6,6,24,0.5));
}

.site-loader__center {
    position: relative; z-index: 10;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.site-loader__logo {
    height: 120px; width: auto;
    filter: drop-shadow(0 12px 40px rgba(245,166,35,0.35));
    animation: loaderFloat 2s ease-in-out infinite;
}
@media (min-width: 640px) { .site-loader__logo { height: 160px; } }
@media (min-width: 1024px) { .site-loader__logo { height: 200px; } }
.site-loader__wordmark {
    height: 28px; width: auto; opacity: 0;
    animation: loaderWordmark 0.6s ease 0.4s forwards;
}
@media (min-width: 640px) { .site-loader__wordmark { height: 36px; } }
@keyframes loaderWordmark { to { opacity: 1; transform: translateY(0); } from { opacity: 0; transform: translateY(8px); } }

@keyframes loaderFloat {
    0%,100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(-1deg); }
    75% { transform: translateY(-4px) rotate(1deg); }
    50% { transform: translateY(-14px) rotate(0deg); }
}

.site-loader__bar {
    width: 200px; height: 8px; margin-top: 8px;
    background: rgba(0,0,0,0.08); border-radius: 4px; overflow: hidden;
    border: 2px solid rgba(0,0,0,0.06);
}
.dark .site-loader__bar { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.04); }
.site-loader__fill {
    height: 100%; width: 0;
    background: linear-gradient(90deg, #F5A623, #E8751A, #F5A623);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: loaderFill 2s cubic-bezier(0.4,0,0.2,1) forwards, loaderShine 1s linear infinite;
}
@keyframes loaderFill { to { width: 100%; } }
@keyframes loaderShine { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.site-loader__tip {
    font-size: 9px; letter-spacing: 0.15em; margin-top: 4px;
    color: rgba(0,0,0,0.25);
    animation: loaderBlink 1.2s ease infinite;
}
.dark .site-loader__tip { color: rgba(255,255,255,0.2); }
@keyframes loaderBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.site-loader__particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.loader-particle {
    position: absolute; border-radius: 50%;
    opacity: 0; animation: loaderParticle linear infinite;
}
@keyframes loaderParticle {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    10% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 0; transform: translateY(-300px) scale(0.2); }
}

.loader-cloud {
    position: absolute; background: rgba(255,255,255,0.6); border-radius: 4px;
    animation: cloudFloat 20s linear infinite;
}
.loader-cloud::before { content:''; position: absolute; background: inherit; border-radius: inherit; width: 60%; height: 80%; top: -60%; left: 20%; }
.dark .loader-cloud { background: transparent; }

.loader-star {
    position: absolute; background: #fff; border-radius: 50%;
    opacity: 0;
}
.dark .loader-star { opacity: 1; animation: twinkle ease infinite; }

.parallax-section {
    position: relative; overflow: hidden;
}
.parallax-bg {
    position: absolute; inset: -40px; z-index: 0;
    background-size: cover; background-position: center;
    will-change: transform;
}

.mc-dirt-border {
    position: relative;
}
.mc-dirt-border::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
    background: repeating-linear-gradient(90deg, #7CB342 0 8px, #5D8C3E 8px 16px, #6B9B3A 16px 24px);
    opacity: 0.3;
}
.dark .mc-dirt-border::after { opacity: 0.15; }

.mc-grid-bg {
    background-image:
        linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 16px 16px;
}
.dark .mc-grid-bg {
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
}

.mc-ore-dots {
    position: relative;
}
.mc-ore-dots::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(245,166,35,0.08) 1px, transparent 1px),
        radial-gradient(circle, rgba(124,58,237,0.06) 1px, transparent 1px),
        radial-gradient(circle, rgba(93,140,62,0.06) 1px, transparent 1px);
    background-size: 80px 80px, 120px 120px, 100px 100px;
    background-position: 10px 10px, 50px 30px, 30px 60px;
}

.mc-stone-bg {
    background-color: #f5f3ef;
    background-image:
        linear-gradient(90deg, transparent 0 14px, rgba(0,0,0,0.015) 14px 16px),
        linear-gradient(transparent 0 14px, rgba(0,0,0,0.015) 14px 16px);
    background-size: 16px 16px;
}
.dark .mc-stone-bg {
    background-color: #12122a;
    background-image:
        linear-gradient(90deg, transparent 0 14px, rgba(255,255,255,0.02) 14px 16px),
        linear-gradient(transparent 0 14px, rgba(255,255,255,0.02) 14px 16px);
}

.mc-corners { position: relative; }
.mc-corners::before, .mc-corners::after {
    content: ''; position: absolute; width: 8px; height: 8px; opacity: 0.15;
}
.mc-corners::before { top: 8px; left: 8px; background: #F5A623; }
.mc-corners::after { bottom: 8px; right: 8px; background: #E8751A; }

.topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 51;
    background: #2D2A26; color: rgba(255,255,255,0.6);
    transition: transform 0.3s ease;
}
.dark .topbar { background: #08081a; }
.topbar.hidden-up { transform: translateY(-100%); }
.topbar-label { color: rgba(255,255,255,0.5); }
.topbar-value { color: #F5A623; font-weight: 600; }
.topbar-sep { color: rgba(255,255,255,0.15); }
.topbar-ip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 2px 10px; font-size: 11px; font-weight: 600; font-family: monospace;
    color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 6px;
    transition: all 0.2s ease;
}
.topbar-ip:hover { color: #F5A623; border-color: rgba(245,166,35,0.3); background: rgba(245,166,35,0.08); }

#navbar {
    position: fixed; top: 32px; left: 0; right: 0; z-index: 50;
    background: transparent;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}
@media (max-width: 639px) { #navbar { top: 0; } }
#navbar.scrolled {
    background: rgba(250,250,248,0.92);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-bottom-color: rgba(232,229,223,0.5);
}
.dark #navbar.scrolled {
    background: rgba(10,10,24,0.92);
    border-bottom-color: rgba(30,30,58,0.4);
}

.nav-brand { display: flex; align-items: center; gap: 8px; transition: opacity 0.2s; }
.nav-brand:hover { opacity: 0.8; }

.nav-link {
    position: relative; padding: 8px 14px; font-size: 13px; font-weight: 500;
    color: #8A8580; border-radius: 8px;
    transition: color 0.15s ease;
    z-index: 1;
}
.nav-link:hover { color: #2D2A26; }
.nav-link.active { color: #E8751A; }

.nav-highlight {
    position: absolute; height: 32px;
    background: rgba(0,0,0,0.04); border-radius: 8px;
    transition: left 0.25s cubic-bezier(0.16,1,0.3,1), width 0.25s cubic-bezier(0.16,1,0.3,1), opacity 0.2s ease;
    opacity: 0; pointer-events: none; z-index: 0;
}
.nav-highlight.visible { opacity: 1; }
.dark .nav-highlight { background: rgba(255,255,255,0.05); }
.nav-link--boutique { color: #7C3AED; }
.nav-link--boutique:hover { color: #6D28D9; background: rgba(124,58,237,0.05); }
.nav-link--boutique.active { color: #7C3AED; background: rgba(124,58,237,0.08); }

.dark .nav-link { color: #8280a0; }
.dark .nav-link:hover { color: #d4d0c8; }
.dark .nav-link.active { color: #F5A623; }
.dark .nav-link--boutique { color: #A78BFA; }
.dark .nav-link--boutique:hover { color: #C4B5FD; background: rgba(167,139,250,0.06); }
.dark .nav-link--boutique.active { color: #A78BFA; background: rgba(167,139,250,0.1); }

/* Nav dropdowns */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown {
    position: absolute; top: calc(100% + 4px); left: 50%;
    transform: translateX(-50%) translateY(4px) scale(0.97);
    width: 240px; padding: 6px;
    background: #fff; border: 1px solid #E8E5DF; border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    opacity: 0; visibility: hidden;
    transition: opacity 0.2s cubic-bezier(0.16,1,0.3,1), transform 0.2s cubic-bezier(0.16,1,0.3,1), visibility 0.2s;
    transform-origin: top center;
    pointer-events: none; z-index: 100;
}
.dark .nav-dropdown { background: #141428; border-color: #1e1e3a; box-shadow: 0 12px 40px rgba(0,0,0,0.5); }
.nav-dropdown-wrap:hover .nav-dropdown {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}
.nav-dropdown__item {
    display: block; padding: 8px 12px; border-radius: 10px;
    transition: background 0.15s ease, transform 0.15s ease;
}
.nav-dropdown__item:hover { background: #F3F1ED; }
.nav-dropdown__item:active { transform: scale(0.98); }
.dark .nav-dropdown__item:hover { background: rgba(255,255,255,0.04); }
.nav-dropdown__title { display: block; font-size: 13px; font-weight: 600; color: #2D2A26; }
.dark .nav-dropdown__title { color: #d4d0c8; }
.nav-dropdown__desc { display: block; font-size: 11px; color: #8A8580; margin-top: 1px; }
.dark .nav-dropdown__desc { color: #8280a0; }

.mobile-menu-bg { background: #fff; border-top: 1px solid #E8E5DF; }
.dark .mobile-menu-bg { background: #141428; border-top-color: #1e1e3a; }

.mobile-nav-link { display: block; padding: 10px 14px; font-size: 14px; font-weight: 500; color: #8A8580; border-radius: 8px; transition: all 0.2s ease; }
.mobile-nav-link:hover, .mobile-nav-link.active { color: #E8751A; background: rgba(232,117,26,0.05); }
.mobile-nav-link--boutique { color: #7C3AED !important; }
.dark .mobile-nav-link { color: #8280a0; }
.dark .mobile-nav-link:hover, .dark .mobile-nav-link.active { color: #F5A623; }

.hamburger-icon { width: 18px; height: 14px; position: relative; }
.hamburger-icon span { display: block; position: absolute; left: 0; width: 100%; height: 2px; background: #8A8580; border-radius: 1px; transition: all 0.3s cubic-bezier(0.16,1,0.3,1); }
.dark .hamburger-icon span { background: #5a5878; }
.hamburger-icon span:nth-child(1) { top: 0; }
.hamburger-icon span:nth-child(2) { top: 6px; }
.hamburger-icon span:nth-child(3) { top: 12px; }
.hamburger-icon.open span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.hamburger-icon.open span:nth-child(2) { opacity: 0; }
.hamburger-icon.open span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.mc-daylight-toggle { display: flex; align-items: center; background: none; border: none; }
.mc-daylight-track { position: relative; width: 40px; height: 22px; background: linear-gradient(135deg, #87CEEB, #5BAED6); border: 2px solid #4A9BC4; border-radius: 11px; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.dark .mc-daylight-track { background: linear-gradient(135deg, #0a0a22, #121236); border-color: #1e1e3a; }
.mc-daylight-thumb { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #F5C542; box-shadow: 0 0 6px rgba(245,197,66,0.5); transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.dark .mc-daylight-thumb { left: 20px; background: #E8DCC0; box-shadow: 0 0 8px rgba(232,220,192,0.3); }
.mc-daylight-track::before { content:''; position: absolute; width: 5px; height: 3px; background: rgba(255,255,255,0.5); border-radius: 2px; top: 5px; right: 6px; transition: opacity 0.3s; }
.dark .mc-daylight-track::before { opacity: 0; }
.mc-daylight-track::after { content:''; position: absolute; width: 2px; height: 2px; background: #fff; border-radius: 50%; top: 6px; left: 7px; opacity: 0; transition: opacity 0.3s; }
.dark .mc-daylight-track::after { opacity: 0.6; }

.mc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; font-size: 13px; font-weight: 600; border-radius: 10px; border: 2px solid transparent; transition: all 0.15s ease; }
.mc-btn--lg { padding: 12px 24px; font-size: 14px; border-radius: 12px; }
.mc-btn--gold { background: linear-gradient(135deg,#F5A623,#E8751A); color: #fff; border-color: #D06A16; box-shadow: 0 2px 0 0 #B85A10; }
.mc-btn--gold:hover { transform: translateY(-1px); box-shadow: 0 3px 0 0 #B85A10, 0 6px 16px rgba(232,117,26,0.2); }
.mc-btn--gold:active { transform: translateY(1px); box-shadow: 0 1px 0 0 #B85A10; }
.mc-btn--outline { background: #fff; color: #2D2A26; border-color: #E8E5DF; box-shadow: 0 2px 0 0 #D4D0C8; }
.mc-btn--outline:hover { border-color: #D4D0C8; transform: translateY(-1px); }
.dark .mc-btn--outline { background: #1a1e35; color: #d4d0c8; border-color: #2a2a4a; box-shadow: 0 2px 0 0 #12122a; }
.mc-btn--shop { background: linear-gradient(135deg,#7C3AED,#6D28D9); color: #fff; border-color: #5B21B6; box-shadow: 0 2px 0 0 #4C1D95; }
.mc-btn--shop:hover { transform: translateY(-1px); box-shadow: 0 3px 0 0 #4C1D95, 0 6px 16px rgba(124,58,237,0.2); }

.cart-btn {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px; border: 2px solid #E8E5DF;
    background: #fff; color: #8A8580;
    box-shadow: 0 2px 0 0 #D4D0C8;
    transition: all 0.15s ease;
}
.cart-btn:hover { color: #7C3AED; border-color: #7C3AED; transform: translateY(-1px); box-shadow: 0 3px 0 0 #D4D0C8; }
.cart-btn:active { transform: translateY(1px); box-shadow: 0 1px 0 0 #D4D0C8; }
.dark .cart-btn { background: #1a1e35; border-color: #2a2a4a; color: #8280a0; box-shadow: 0 2px 0 0 #12122a; }
.dark .cart-btn:hover { color: #A78BFA; border-color: #7C3AED; }

.cart-badge {
    position: absolute; top: -4px; right: -4px;
    min-width: 16px; height: 16px; padding: 0 4px;
    background: #7C3AED; color: #fff;
    font-size: 9px; font-weight: 700; line-height: 16px; text-align: center;
    border-radius: 8px;
}

.cart-dropdown {
    position: absolute; top: 100%; right: 0; z-index: 100;
    width: 100%; max-width: 360px;
    padding: 8px;
    animation: cartOpen 0.2s ease;
}
@keyframes cartOpen { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.cart-dropdown__inner {
    background: #fff; border: 1px solid #E8E5DF; border-radius: 16px;
    padding: 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.dark .cart-dropdown__inner { background: #141428; border-color: #1e1e3a; box-shadow: 0 12px 40px rgba(0,0,0,0.4); }

.cart-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px; background: #F3F1ED; border-radius: 10px;
}
.dark .cart-item { background: #1a1a32; }
.cart-item__img { width: 40px; height: 40px; border-radius: 8px; object-fit: contain; }
.cart-item__remove {
    width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
    border-radius: 6px; color: #8A8580; cursor: pointer; transition: all 0.15s;
    font-size: 14px; background: none; border: none;
}
.cart-item__remove:hover { color: #ef4444; background: rgba(239,68,68,0.1); }

.hero-float { animation: heroFloat 5s ease-in-out infinite; }
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-fade { background: linear-gradient(to top, #FAFAF8, transparent); }
.dark .hero-fade { background: linear-gradient(to top, #0f0f1e, transparent) !important; }
.hero-sky { background: linear-gradient(180deg, #7EC8E3 0%, #A8DCF0 40%, #C8E8F5 70%, #FAFAF8 100%); transition: background 0.5s; }
.dark .hero-sky { background: linear-gradient(180deg, #040414 0%, #08082a 30%, #0c0c28 60%, #0f0f1e 100%); }
.hero-sky-mini { background: linear-gradient(180deg, #dff0f8 0%, #FAFAF8 100%); transition: background 0.5s; }
.dark .hero-sky-mini { background: linear-gradient(180deg, #0a0a20 0%, #0f0f1e 100%); }

.hero-landscape { position: absolute; bottom: 0; left: 0; right: 0; height: 140px; z-index: 2; overflow: hidden; pointer-events: none; }
.hero-landscape__strip { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; animation: landscapeScroll 50s linear infinite; background-repeat: repeat-x; background-position: bottom left; background-size: 1920px 140px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1920' height='140' fill='none'%3E%3Crect y='108' width='1920' height='8' fill='%237CB342' opacity='0.3'/%3E%3Crect y='116' width='1920' height='24' fill='%239B7653' opacity='0.22'/%3E%3Crect x='112' y='58' width='8' height='50' fill='%238B5E3C' opacity='0.25'/%3E%3Crect x='96' y='34' width='40' height='32' fill='%234A7A2E' opacity='0.3'/%3E%3Crect x='104' y='26' width='24' height='16' fill='%235D8C3E' opacity='0.28'/%3E%3Crect x='228' y='62' width='6' height='46' fill='%23D4C8A0' opacity='0.2'/%3E%3Crect x='216' y='40' width='30' height='28' fill='%235D8C3E' opacity='0.22'/%3E%3Crect x='340' y='68' width='48' height='40' fill='%239B7653' opacity='0.22'/%3E%3Crect x='338' y='58' width='52' height='14' fill='%23AA3333' opacity='0.2'/%3E%3Crect x='352' y='80' width='10' height='12' fill='%23654321' opacity='0.2'/%3E%3Crect x='370' y='76' width='8' height='8' fill='%2387CEEB' opacity='0.15'/%3E%3Crect x='490' y='50' width='8' height='58' fill='%238B5E3C' opacity='0.22'/%3E%3Crect x='474' y='64' width='40' height='10' fill='%232D5A1E' opacity='0.2'/%3E%3Crect x='478' y='56' width='32' height='10' fill='%23396B22' opacity='0.22'/%3E%3Crect x='486' y='28' width='16' height='32' fill='%232D5A1E' opacity='0.2'/%3E%3Crect x='612' y='70' width='6' height='38' fill='%238B5E3C' opacity='0.2'/%3E%3Crect x='600' y='52' width='30' height='24' fill='%235D8C3E' opacity='0.22'/%3E%3Crect x='720' y='60' width='60' height='48' fill='%23B8A080' opacity='0.2'/%3E%3Crect x='718' y='48' width='64' height='16' fill='%23654321' opacity='0.18'/%3E%3Crect x='758' y='70' width='10' height='10' fill='%2387CEEB' opacity='0.15'/%3E%3Crect x='732' y='70' width='10' height='10' fill='%2387CEEB' opacity='0.12'/%3E%3Crect x='932' y='54' width='8' height='54' fill='%238B5E3C' opacity='0.25'/%3E%3Crect x='916' y='30' width='40' height='32' fill='%234A7A2E' opacity='0.28'/%3E%3Crect x='1088' y='38' width='24' height='70' fill='%23999' opacity='0.18'/%3E%3Crect x='1084' y='30' width='32' height='12' fill='%23888' opacity='0.15'/%3E%3Crect x='1098' y='14' width='4' height='18' fill='%23777' opacity='0.12'/%3E%3Crect x='1094' y='50' width='12' height='14' fill='%2387CEEB' opacity='0.12'/%3E%3Crect x='1230' y='65' width='6' height='43' fill='%23D4C8A0' opacity='0.18'/%3E%3Crect x='1218' y='44' width='30' height='26' fill='%235D8C3E' opacity='0.2'/%3E%3Crect x='1340' y='76' width='36' height='32' fill='%239B7653' opacity='0.2'/%3E%3Crect x='1338' y='68' width='40' height='12' fill='%23AA3333' opacity='0.18'/%3E%3Crect x='1362' y='82' width='6' height='6' fill='%2387CEEB' opacity='0.12'/%3E%3Crect x='1492' y='52' width='8' height='56' fill='%238B5E3C' opacity='0.2'/%3E%3Crect x='1476' y='66' width='40' height='10' fill='%232D5A1E' opacity='0.18'/%3E%3Crect x='1480' y='58' width='32' height='10' fill='%23396B22' opacity='0.2'/%3E%3Crect x='1488' y='30' width='16' height='30' fill='%232D5A1E' opacity='0.18'/%3E%3Crect x='1772' y='64' width='8' height='44' fill='%238B5E3C' opacity='0.22'/%3E%3Crect x='1758' y='42' width='36' height='28' fill='%234A7A2E' opacity='0.25'/%3E%3Crect x='310' y='90' width='3' height='18' fill='%23333' opacity='0.1'/%3E%3Crect x='308' y='86' width='7' height='6' fill='%23F5A623' opacity='0.15'/%3E%3Crect x='890' y='90' width='3' height='18' fill='%23333' opacity='0.1'/%3E%3Crect x='888' y='86' width='7' height='6' fill='%23F5A623' opacity='0.15'/%3E%3Crect x='1560' y='90' width='3' height='18' fill='%23333' opacity='0.1'/%3E%3Crect x='1558' y='86' width='7' height='6' fill='%23F5A623' opacity='0.15'/%3E%3C/svg%3E");
}
.dark .hero-landscape__strip {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1920' height='140' fill='none'%3E%3Crect y='108' width='1920' height='8' fill='%23060618' opacity='0.5'/%3E%3Crect y='116' width='1920' height='24' fill='%23040412' opacity='0.4'/%3E%3Crect x='112' y='58' width='8' height='50' fill='%23060618' opacity='0.5'/%3E%3Crect x='96' y='34' width='40' height='32' fill='%23080820' opacity='0.5'/%3E%3Crect x='104' y='26' width='24' height='16' fill='%23080820' opacity='0.45'/%3E%3Crect x='228' y='62' width='6' height='46' fill='%23060618' opacity='0.4'/%3E%3Crect x='216' y='40' width='30' height='28' fill='%23080820' opacity='0.45'/%3E%3Crect x='340' y='68' width='48' height='40' fill='%23080820' opacity='0.45'/%3E%3Crect x='338' y='58' width='52' height='14' fill='%23080820' opacity='0.5'/%3E%3Crect x='370' y='76' width='8' height='8' fill='%23F5C542' opacity='0.5'/%3E%3Crect x='490' y='50' width='8' height='58' fill='%23060618' opacity='0.45'/%3E%3Crect x='474' y='64' width='40' height='10' fill='%23080820' opacity='0.45'/%3E%3Crect x='478' y='56' width='32' height='10' fill='%23080820' opacity='0.5'/%3E%3Crect x='486' y='28' width='16' height='32' fill='%23080820' opacity='0.45'/%3E%3Crect x='612' y='70' width='6' height='38' fill='%23060618' opacity='0.4'/%3E%3Crect x='600' y='52' width='30' height='24' fill='%23080820' opacity='0.42'/%3E%3Crect x='720' y='60' width='60' height='48' fill='%23080820' opacity='0.45'/%3E%3Crect x='718' y='48' width='64' height='16' fill='%23080820' opacity='0.5'/%3E%3Crect x='758' y='70' width='10' height='10' fill='%23F5C542' opacity='0.55'/%3E%3Crect x='732' y='70' width='10' height='10' fill='%23F5C542' opacity='0.45'/%3E%3Crect x='932' y='54' width='8' height='54' fill='%23060618' opacity='0.5'/%3E%3Crect x='916' y='30' width='40' height='32' fill='%23080820' opacity='0.5'/%3E%3Crect x='1088' y='38' width='24' height='70' fill='%23080820' opacity='0.45'/%3E%3Crect x='1084' y='30' width='32' height='12' fill='%23080820' opacity='0.4'/%3E%3Crect x='1098' y='14' width='4' height='18' fill='%23080820' opacity='0.35'/%3E%3Crect x='1094' y='50' width='12' height='14' fill='%23F5C542' opacity='0.4'/%3E%3Crect x='1230' y='65' width='6' height='43' fill='%23060618' opacity='0.35'/%3E%3Crect x='1218' y='44' width='30' height='26' fill='%23080820' opacity='0.4'/%3E%3Crect x='1340' y='76' width='36' height='32' fill='%23080820' opacity='0.42'/%3E%3Crect x='1338' y='68' width='40' height='12' fill='%23080820' opacity='0.48'/%3E%3Crect x='1362' y='82' width='6' height='6' fill='%23F5C542' opacity='0.5'/%3E%3Crect x='1492' y='52' width='8' height='56' fill='%23060618' opacity='0.42'/%3E%3Crect x='1476' y='66' width='40' height='10' fill='%23080820' opacity='0.4'/%3E%3Crect x='1480' y='58' width='32' height='10' fill='%23080820' opacity='0.45'/%3E%3Crect x='1488' y='30' width='16' height='30' fill='%23080820' opacity='0.42'/%3E%3Crect x='1772' y='64' width='8' height='44' fill='%23060618' opacity='0.45'/%3E%3Crect x='1758' y='42' width='36' height='28' fill='%23080820' opacity='0.48'/%3E%3Crect x='310' y='90' width='3' height='18' fill='%23060618' opacity='0.3'/%3E%3Crect x='308' y='86' width='7' height='6' fill='%23F5A623' opacity='0.6'/%3E%3Crect x='890' y='90' width='3' height='18' fill='%23060618' opacity='0.3'/%3E%3Crect x='888' y='86' width='7' height='6' fill='%23F5A623' opacity='0.6'/%3E%3Crect x='1560' y='90' width='3' height='18' fill='%23060618' opacity='0.3'/%3E%3Crect x='1558' y='86' width='7' height='6' fill='%23F5A623' opacity='0.6'/%3E%3C/svg%3E");
}
@keyframes landscapeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.mc-card { padding: 28px; background: #fff; border: 1px solid #E8E5DF; border-radius: 16px; transition: all 0.25s ease; }
.mc-card:hover { border-color: #D4D0C8; box-shadow: 0 12px 40px -8px rgba(0,0,0,0.08); transform: translateY(-3px); }
.mc-card__icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; transition: transform 0.3s ease; }
.mc-card:hover .mc-card__icon { transform: scale(1.1); }
.stat-card { text-align: center; padding: 16px 12px; background: #fff; border: 1px solid #E8E5DF; border-radius: 12px; transition: all 0.25s ease; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px -4px rgba(0,0,0,0.06); }
.stat-card__value { display: block; font-family: 'Press Start 2P', monospace; font-size: 16px; line-height: 1; }
.stat-card__label { display: block; margin-top: 6px; font-size: 11px; font-weight: 600; }
.stat-card__sub { display: block; margin-top: 2px; font-size: 10px; color: #8A8580; }
.mc-step { display: flex; gap: 20px; padding: 24px; background: #fff; border: 1px solid #E8E5DF; border-radius: 16px; transition: all 0.25s ease; }
.mc-step:hover { border-color: #F5A623; }
.mc-step__number { flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; box-shadow: 0 2px 0 0 rgba(0,0,0,0.15); }
.mc-faq { background: #fff; border: 1px solid #E8E5DF; border-radius: 12px; cursor: pointer; transition: all 0.2s; }
.mc-faq.open { border-color: #F5A623; }
.mc-faq.open .faq-chevron { transform: rotate(180deg); }
.mc-faq.open .faq-body { max-height: 200px; }

.filter-chip {
    padding: 6px 14px; font-size: 12px; font-weight: 600;
    color: #8A8580; background: transparent;
    border: none; border-radius: 6px;
    cursor: pointer; transition: all 0.15s; white-space: nowrap; shrink: 0;
}
.filter-chip:hover { color: #2D2A26; background: rgba(0,0,0,0.04); }
.filter-chip--active { color: #fff !important; background: #E8751A !important; box-shadow: 0 1px 0 0 #B85A10; }
.filter-chip--period.filter-chip--active { background: #F5A623 !important; box-shadow: 0 1px 0 0 #D09020; }
.dark .filter-chip { color: #8280a0; }
.dark .filter-chip:hover { color: #d4d0c8; background: rgba(255,255,255,0.05); }

.game-tab, .period-tab { padding: 6px 14px; font-size: 12px; font-weight: 600; color: #8A8580; background: transparent; border: none; border-radius: 6px; transition: all 0.15s; cursor: pointer; }
.game-tab:hover, .period-tab:hover { color: #2D2A26; background: rgba(0,0,0,0.04); }
.game-tab.active { background: #E8751A; color: #fff; box-shadow: 0 1px 0 0 #B85A10; }
.period-tab.active { background: #F5A623; color: #fff; box-shadow: 0 1px 0 0 #D09020; }
.dark .game-tab, .dark .period-tab { color: #8280a0; }
.dark .game-tab:hover, .dark .period-tab:hover { color: #d4d0c8; background: rgba(255,255,255,0.05); }
.ranking-table { border-collapse: separate; border-spacing: 0; }
.ranking-table th { padding: 10px 12px; font-size: 11px; font-weight: 600; color: #8A8580; text-align: center; text-transform: uppercase; border-bottom: 2px solid #E8E5DF; background: #FAFAF8; }
.ranking-table td { padding: 10px 12px; font-size: 13px; text-align: center; border-bottom: 1px solid #F3F1ED; transition: background 0.1s; }
.ranking-table tbody tr:hover td { background: #FAFAF8; }
.rank-badge { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; font-size: 11px; font-weight: 700; border-radius: 6px; color: #8A8580; background: #F3F1ED; }
.rank-badge--1 { background: #F5A623; color: #fff; }
.rank-badge--2 { background: #B0B0B0; color: #fff; }
.rank-badge--3 { background: #CD7F32; color: #fff; }
.profile-tab { display: inline-flex; align-items: center; gap: 6px; padding: 12px 16px; font-size: 13px; font-weight: 500; color: #8A8580; border-bottom: 2px solid transparent; transition: all 0.2s; cursor: pointer; background: none; border-top: none; border-left: none; border-right: none; }
.profile-tab:hover { color: #2D2A26; }
.profile-tab.active { color: #E8751A; border-bottom-color: #E8751A; }
.loading-placeholder { display: inline-block; background: linear-gradient(90deg,#F3F1ED 25%,#E8E5DF 50%,#F3F1ED 75%); background-size: 200% 100%; animation: shimmer 1.5s ease infinite; border-radius: 4px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.sky-element { position: absolute; pointer-events: none; overflow: hidden; inset: 0; }
.cloud { position: absolute; background: rgba(255,255,255,0.8); border-radius: 4px; transition: opacity 0.5s; }
.dark .cloud { opacity: 0 !important; }
.cloud::before, .cloud::after { content:''; position: absolute; background: inherit; border-radius: inherit; }
.cloud--1 { width: 80px; height: 24px; top: 15%; left: 10%; animation: cloudFloat 25s linear infinite; }
.cloud--1::before { width: 40px; height: 20px; top: -14px; left: 12px; }
.cloud--1::after { width: 28px; height: 16px; top: -10px; left: 40px; }
.cloud--2 { width: 60px; height: 18px; top: 28%; right: 15%; animation: cloudFloat 35s linear infinite; animation-delay: -10s; opacity: 0.6; }
.cloud--2::before { width: 30px; height: 14px; top: -10px; left: 8px; }
.cloud--2::after { width: 20px; height: 12px; top: -8px; left: 28px; }
.cloud--3 { width: 100px; height: 28px; top: 10%; left: 50%; animation: cloudFloat 40s linear infinite; animation-delay: -20s; opacity: 0.5; }
.cloud--3::before { width: 50px; height: 22px; top: -16px; left: 16px; }
.cloud--3::after { width: 34px; height: 18px; top: -12px; left: 52px; }
@keyframes cloudFloat { from { transform: translateX(-150px); } to { transform: translateX(calc(100vw + 150px)); } }
.star { position: absolute; background: #fff; border-radius: 50%; opacity: 0; transition: opacity 0.5s; }
.dark .star { opacity: 1; animation: twinkle ease infinite; }
@keyframes twinkle { 0%,100% { opacity: 0.2; } 50% { opacity: 1; } }
.mc-moon { position: absolute; top: 10%; right: 12%; width: 50px; height: 50px; border-radius: 50%; background: #F5E6B8; box-shadow: 0 0 20px 8px rgba(245,230,184,0.15), inset -6px -3px 0 0 #D4C494; opacity: 0; transition: opacity 0.5s; }
.dark .mc-moon { opacity: 1; }
.mc-moon::before { content:''; position: absolute; width: 10px; height: 10px; background: rgba(0,0,0,0.06); border-radius: 50%; top: 12px; left: 16px; }
.mc-moon::after { content:''; position: absolute; width: 6px; height: 6px; background: rgba(0,0,0,0.04); border-radius: 50%; top: 28px; left: 30px; }

#main-content { transition: opacity 0.2s ease, transform 0.2s ease; }
#main-content.page-leaving { opacity: 0; transform: translateY(6px); }
#main-content.page-entering { opacity: 0; transform: translateY(-6px); }
#main-content.page-enter { animation: pageEnter 0.3s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes pageEnter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.06s; }
.reveal-delay-2 { transition-delay: 0.12s; }
.reveal-delay-3 { transition-delay: 0.18s; }
.reveal-delay-4 { transition-delay: 0.24s; }
.toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(80px); padding: 10px 20px; background: #2D2A26; color: #fff; font-weight: 600; font-size: 13px; border-radius: 10px; box-shadow: 0 8px 30px rgba(0,0,0,0.15); z-index: 10000; opacity: 0; transition: all 0.4s cubic-bezier(0.16,1,0.3,1); pointer-events: none; white-space: nowrap; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.dark .toast { background: #F5A623; color: #0f0f1e; }

.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998; padding: 0 16px 16px; animation: cookieUp 0.5s cubic-bezier(0.16,1,0.3,1) forwards; transition: opacity 0.3s, transform 0.3s; }
@keyframes cookieUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-banner__inner { max-width: 600px; margin: 0 auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; background: #fff; border: 1px solid #E8E5DF; border-radius: 14px; box-shadow: 0 -4px 30px rgba(0,0,0,0.08); }
.dark .cookie-banner__inner { background: #141428; border-color: #1e1e3a; }
.cookie-banner__icon { font-size: 24px; line-height: 1; }
.cookie-banner__text { flex: 1; min-width: 180px; }
.cookie-banner__actions { display: flex; gap: 4px; align-items: center; }

.legal-nav-link {
    display: block; width: 100%; text-align: left;
    padding: 8px 12px; font-size: 12px; font-weight: 500;
    color: #8A8580; border-radius: 8px; border: none; background: none;
    cursor: pointer; transition: all 0.15s;
}
.legal-nav-link:hover { color: #2D2A26; background: #F3F1ED; }
.legal-nav-link.active { color: #E8751A; background: rgba(232,117,26,0.06); font-weight: 600; }
.dark .legal-nav-link { color: #8280a0; }
.dark .legal-nav-link:hover { color: #d4d0c8; background: rgba(255,255,255,0.04); }
.dark .legal-nav-link.active { color: #F5A623; background: rgba(245,166,35,0.08); }

.legal-card {
    background: #fff; border: 1px solid #E8E5DF; border-radius: 16px; overflow: hidden;
}
.dark .legal-card { background: #141428; border-color: #1e1e3a; }
.legal-card__header {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 24px; border-bottom: 1px solid #E8E5DF;
}
.dark .legal-card__header { border-bottom-color: #1e1e3a; }
.legal-card__header h2 { font-size: 18px; font-weight: 800; margin: 0; }
.legal-card__badge {
    padding: 3px 10px; font-size: 10px; font-weight: 700; font-family: 'Press Start 2P', monospace;
    color: #E8751A; background: rgba(232,117,26,0.08); border-radius: 6px;
    letter-spacing: 0.05em; white-space: nowrap;
}
.legal-card__body { padding: 24px; }

.legal-info-box {
    padding: 16px; background: rgba(245,166,35,0.04); border: 1px solid rgba(245,166,35,0.12);
    border-radius: 12px; margin-bottom: 16px;
}
.legal-info-box h4 { font-size: 13px; font-weight: 700; margin: 0 0 6px; }

.legal-table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.legal-table td { padding: 8px 12px; font-size: 12px; color: #8A8580; border-bottom: 1px solid #F3F1ED; vertical-align: top; }
.legal-table td:first-child { width: 140px; white-space: nowrap; }
.legal-table td strong { color: #2D2A26; }
.dark .legal-table td { border-bottom-color: #1e1e3a; color: #8280a0; }
.dark .legal-table td strong { color: #d4d0c8; }

.prose-legal h3 { font-size: 14px; font-weight: 700; margin: 24px 0 8px; color: #E8751A; }
.prose-legal h3:first-child { margin-top: 0; }
.prose-legal p { font-size: 13px; color: #8A8580; line-height: 1.75; margin: 8px 0; }
.prose-legal ul { margin: 8px 0; padding-left: 20px; }
.prose-legal li { font-size: 13px; color: #8A8580; line-height: 1.75; margin: 4px 0; }
.prose-legal strong { color: #2D2A26; }
.dark .prose-legal h3 { color: #F5A623; }
.dark .prose-legal p, .dark .prose-legal li { color: #8280a0; }
.dark .prose-legal strong { color: #d4d0c8; }

.dark body { background-color: #0f0f1e; color: #d4d0c8; }
.dark .bg-white { background-color: #141428 !important; }
.dark .bg-mc-bg { background-color: #0f0f1e !important; }
.dark .bg-mc-light { background-color: #1a1a32 !important; }
.dark .bg-mc-bg\/50 { background-color: rgba(15,15,30,0.5) !important; }
.dark .bg-white\/80 { background-color: rgba(20,20,40,0.8) !important; }
.dark .bg-white\/95 { background-color: rgba(20,20,40,0.95) !important; }
#ranking-controls {
    background: rgba(250,250,248,0.95);
    top: var(--nav-height, 56px);
}
.dark #ranking-controls { background: rgba(15,15,30,0.95) !important; }

.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }
.dark .border-mc-border { border-color: #1e1e3a !important; }
.dark .border-mc-border\/50 { border-color: rgba(30,30,58,0.5) !important; }
.dark .divide-mc-border\/50 > * + * { border-color: rgba(30,30,58,0.5) !important; }
.dark .text-mc-text { color: #d4d0c8 !important; }
.dark .text-mc-muted { color: #8280a0 !important; }
.dark .text-mc-muted\/50 { color: rgba(130,128,160,0.6) !important; }
.dark .text-mc-text\/60 { color: rgba(212,208,200,0.6) !important; }
.dark .text-mc-border { color: #1e1e3a !important; }
.dark input, .dark select, .dark textarea { background-color: #1a1a32 !important; border-color: #1e1e3a !important; color: #d4d0c8 !important; }
.dark input:focus, .dark select:focus, .dark textarea:focus { border-color: #F5A623 !important; }
.dark input::placeholder, .dark textarea::placeholder { color: rgba(130,128,160,0.6) !important; }
.dark .mc-card, .dark .stat-card, .dark .mc-step, .dark .mc-faq { background: #141428; border-color: #1e1e3a; }
.dark .mc-card:hover { border-color: #2a2a4a; box-shadow: 0 12px 40px -8px rgba(0,0,0,0.4); }
.dark .game-tab, .dark .period-tab { background: #141428; border-color: #1e1e3a; color: #8280a0; }
.dark .ranking-table th { background: #0f0f1e; border-bottom-color: #1e1e3a; color: #8280a0; }
.dark .ranking-table td { border-bottom-color: #1a1a32; }
.dark .ranking-table tbody tr:hover td { background: #1a1a32; }
.dark .profile-tab { color: #8280a0; }
.dark .profile-tab:hover { color: #d4d0c8; }
.dark .loading-placeholder { background: linear-gradient(90deg,#1a1a32 25%,#2a2a4a 50%,#1a1a32 75%); background-size: 200% 100%; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
