/* Global Styles */
:root {
    --primary-glow: rgba(255, 193, 7, 0.4);
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --accent-color: #ffc107;
    --mm-blue: #2f7dff;
    --mm-red: #ff3b2f;
    --mm-gold: #ffd66e;
    --mm-warm-a: #ff9a00;
    --mm-warm-b: #ffd400;
    --mm-warm-ink: rgba(25, 14, 2, 0.98);
    --mm-warm-border: rgba(255, 193, 7, 0.78);
    --mm-warm-shadow: rgba(255, 193, 7, 0.38);
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

.epic-hero {
    position: relative;
    width: 100%;
    height: clamp(800px, 92vh, 1000px);
    overflow: hidden;
    display: grid;
    align-items: center;
    padding-top: 150px;
    background: #050507;
    --epic-parallax-bg-x: 0px;
    --epic-parallax-bg-y: 0px;
    --epic-parallax-ch-l-x: 0px;
    --epic-parallax-ch-l-y: 0px;
    --epic-parallax-ch-r-x: 0px;
    --epic-parallax-ch-r-y: 0px;
    --epic-parallax-ch-r2-x: 0px;
    --epic-parallax-ch-r2-y: 0px;
}

.epic-hero__video {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.28;
    pointer-events: none;
}

.epic-hero__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.05);
}

.epic-hero__particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    opacity: 1;
}

.epic-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        radial-gradient(100% 140% at 60% 0%, rgba(255,255,255,0.10), rgba(0,0,0,0) 55%),
        linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.92)),
        var(--epic-bg);
    background-size: cover;
    background-position: center;
    filter: saturate(1.08) contrast(1.08);
    transform: translate3d(var(--epic-parallax-bg-x), var(--epic-parallax-bg-y), 0) scale(1.03);
}

.epic-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(80% 110% at 50% 40%, rgba(0,0,0,0.00), rgba(0,0,0,0.72) 70%),
        linear-gradient(90deg, rgba(0,0,0,0.60), rgba(0,0,0,0.10) 35%, rgba(0,0,0,0.10) 65%, rgba(0,0,0,0.60));
    opacity: 1;
}

.epic-hero__clouds {
    position: absolute;
    inset: -25% -20%;
    z-index: 2;
    opacity: 0.45;
    filter: blur(10px);
    background:
        radial-gradient(circle at 15% 30%, rgba(255,255,255,0.16), rgba(0,0,0,0) 38%),
        radial-gradient(circle at 35% 55%, rgba(255,255,255,0.10), rgba(0,0,0,0) 42%),
        radial-gradient(circle at 65% 35%, rgba(255,255,255,0.14), rgba(0,0,0,0) 40%),
        radial-gradient(circle at 85% 60%, rgba(255,255,255,0.10), rgba(0,0,0,0) 45%);
    animation: epic-clouds 36s linear infinite;
    transform: translate3d(-3%, 0, 0);
}

@keyframes epic-clouds {
    0% { transform: translate3d(-3%, 0, 0); }
    100% { transform: translate3d(3%, 0, 0); }
}

.epic-hero__light {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        radial-gradient(60% 70% at 50% 30%, rgba(255, 193, 7, 0.16), rgba(0,0,0,0) 60%),
        radial-gradient(40% 55% at 20% 35%, rgba(47, 125, 255, 0.10), rgba(0,0,0,0) 60%),
        radial-gradient(40% 55% at 80% 35%, rgba(255, 59, 47, 0.08), rgba(0,0,0,0) 60%);
    mix-blend-mode: screen;
    opacity: 0.6;
    animation: epic-light 4.8s ease-in-out infinite;
}

@keyframes epic-light {
    0%, 100% { opacity: 0.52; filter: blur(0px); }
    50% { opacity: 0.72; filter: blur(0.4px); }
}

.epic-hero__fog {
    position: absolute;
    left: -20%;
    right: -20%;
    height: 52%;
    z-index: 6;
    pointer-events: none;
    background:
        radial-gradient(45% 70% at 15% 70%, rgba(255,255,255,0.12), rgba(0,0,0,0) 70%),
        radial-gradient(45% 70% at 50% 75%, rgba(255,255,255,0.10), rgba(0,0,0,0) 72%),
        radial-gradient(45% 70% at 85% 70%, rgba(255,255,255,0.12), rgba(0,0,0,0) 70%);
    filter: blur(16px);
    opacity: 0.55;
    transform: translate3d(0, 0, 0);
    animation: epic-enter-fog 900ms ease both;
}

.epic-hero__fog--top {
    top: 6%;
    height: 42%;
    opacity: 0.42;
    animation: epic-fog-top 26s linear infinite;
}

.epic-hero__fog--base {
    bottom: -10%;
    height: 60%;
    opacity: 0.60;
    animation: epic-fog-base 22s linear infinite;
}

@keyframes epic-enter-fog {
    0% { opacity: 0; transform: translate3d(0, 10px, 0); }
    100% { opacity: 0.55; transform: translate3d(0, 0, 0); }
}

@keyframes epic-fog-top {
    0% { transform: translate3d(-2%, 0, 0); }
    50% { transform: translate3d(2%, -2px, 0); }
    100% { transform: translate3d(-2%, 0, 0); }
}

@keyframes epic-fog-base {
    0% { transform: translate3d(2%, 6px, 0); }
    50% { transform: translate3d(-2%, 0, 0); }
    100% { transform: translate3d(2%, 6px, 0); }
}

.epic-hero__chars {
    position: absolute;
    inset: 0;
    z-index: 7;
    pointer-events: none;
}

.epic-hero__char-wrap {
    position: absolute;
    bottom: 0;
    width: min(34vw, 520px);
    max-height: 92%;
    opacity: 0.92;
    transform: translate3d(0, 0, 0) scale(1.02);
    filter: drop-shadow(0 30px 80px rgba(0,0,0,0.75)) drop-shadow(0 0 20px rgba(255,193,7,0.10));
    animation: epic-enter-side 900ms cubic-bezier(.2,.9,.2,1) both, epic-idle 5.2s ease-in-out infinite 1100ms;
}

.epic-hero__char {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate3d(0, 0, 0);
    transition: transform 120ms ease;
}

.epic-hero__char-wrap--left .epic-hero__char {
    transform: translate3d(var(--epic-parallax-ch-l-x), var(--epic-parallax-ch-l-y), 0);
}

.epic-hero__char-wrap--right .epic-hero__char {
    transform: translate3d(var(--epic-parallax-ch-r-x), var(--epic-parallax-ch-r-y), 0);
}

.epic-hero__char-wrap--right-back .epic-hero__char {
    transform: translate3d(var(--epic-parallax-ch-r2-x), var(--epic-parallax-ch-r2-y), 0);
}

@keyframes epic-idle {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1.02); }
    50% { transform: translate3d(0, -6px, 0) scale(1.02); }
}

.epic-hero__char-wrap--left {
    left: -4%;
    transform-origin: 20% 60%;
    animation-delay: 320ms, 1100ms;
}

.epic-hero__char-wrap--right {
    right: -4%;
    transform-origin: 80% 60%;
    animation-delay: 420ms, 1100ms;
}

.epic-hero__char-wrap--right-back {
    right: 16%;
    width: min(28vw, 420px);
    opacity: 0.68;
    filter: drop-shadow(0 26px 70px rgba(0,0,0,0.72)) drop-shadow(0 0 18px rgba(47,125,255,0.10));
    mix-blend-mode: normal;
    animation-delay: 360ms, 1100ms;
}

@keyframes epic-enter-side {
    0% { opacity: 0; transform: translate3d(0, 24px, 0) scale(1.02); }
    100% { opacity: 0.92; transform: translate3d(0, 0, 0) scale(1.02); }
}

.epic-hero__content {
    position: relative;
    z-index: 10;
    display: grid;
    justify-items: center;
    text-align: center;
}

.epic-hero__center {
    width: min(880px, 100%);
    padding: 28px 18px 22px;
    border-radius: 24px;
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    animation: epic-enter-center 900ms cubic-bezier(.2,.9,.2,1) both 520ms;
}

@keyframes epic-enter-center {
    0% { opacity: 0; transform: translate3d(0, 16px, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

.epic-hero__logo-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
}

.epic-hero__logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(0,0,0,0.65)) drop-shadow(0 0 26px rgba(255,193,7,0.22));
}

.epic-hero__logo-glow {
    position: absolute;
    inset: -24px;
    background:
        radial-gradient(circle at 50% 55%, rgba(255,193,7,0.28), rgba(0,0,0,0) 62%),
        radial-gradient(circle at 55% 40%, rgba(47,125,255,0.18), rgba(0,0,0,0) 62%),
        radial-gradient(circle at 45% 65%, rgba(255,59,47,0.14), rgba(0,0,0,0) 62%);
    filter: blur(10px);
    opacity: 1;
    animation: epic-logo-glow 2.6s ease-in-out infinite 800ms;
}

.epic-hero__title {
    margin: 0 0 8px;
    font-size: clamp(2.2rem, 3.8vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: 1.6px;
    color: transparent;
    background: linear-gradient(135deg, #fff6cf 0%, #ffd76b 22%, #ffb100 46%, #ffe7aa 72%, #fff6cf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 3px 0 rgba(0,0,0,0.55), 0 0 40px rgba(0,0,0,0.55);
}

.epic-hero__subtitle {
    margin: 0 auto 18px;
    width: min(680px, 100%);
    font-size: 1.06rem;
    color: rgba(255,255,255,0.84);
    text-shadow: 0 2px 18px rgba(0,0,0,0.75);
}

.epic-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.epic-hero__actions .epic-btn {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    animation: epic-enter-btn 700ms cubic-bezier(.2,.9,.2,1) both;
}

.epic-hero__actions .epic-btn:nth-child(1) { animation-delay: 760ms; }
.epic-hero__actions .epic-btn:nth-child(2) { animation-delay: 880ms; }
.epic-hero__actions .epic-btn:nth-child(3) { animation-delay: 1000ms; }

@keyframes epic-enter-btn {
    0% { opacity: 0; transform: translate3d(0, 10px, 0) scale(0.98); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.epic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 22px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.14);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    font-weight: 900;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.96);
    background:
        radial-gradient(120% 220% at 15% 0%, rgba(255,255,255,0.12), rgba(0,0,0,0) 62%),
        linear-gradient(180deg, rgba(18, 18, 24, 0.92), rgba(8, 8, 12, 0.70));
    box-shadow: 0 18px 50px rgba(0,0,0,0.60), 0 0 0 1px rgba(255,255,255,0.06);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 220ms ease, filter 220ms ease;
    cursor: pointer;
    appearance: none;
}

.epic-btn:hover {
    transform: translateY(-1px) scale(1.03);
    border-color: rgba(255,255,255,0.22);
    box-shadow: 0 22px 64px rgba(0,0,0,0.68), 0 0 30px rgba(255,193,7,0.20);
    filter: brightness(1.04) saturate(1.06);
    color: #fff;
}

.epic-btn--primary {
    border-color: rgba(255, 193, 7, 0.78);
    background:
        radial-gradient(120% 220% at 20% 0%, rgba(255,255,255,0.24), rgba(0,0,0,0) 58%),
        linear-gradient(135deg, var(--mm-warm-a), var(--mm-warm-b));
    color: var(--mm-warm-ink);
    box-shadow: 0 22px 64px rgba(0,0,0,0.62), 0 0 32px rgba(255,193,7,0.32);
}

.epic-btn--secondary {
    border-color: rgba(255,255,255,0.20);
}

.epic-btn--tertiary {
    border-color: rgba(255,255,255,0.18);
    background:
        radial-gradient(120% 220% at 15% 0%, rgba(255,255,255,0.10), rgba(0,0,0,0) 62%),
        linear-gradient(180deg, rgba(10, 10, 16, 0.92), rgba(0, 0, 0, 0.70));
}

@keyframes epic-logo-glow {
    0%, 100% { transform: scale(0.98); filter: blur(10px); opacity: 0.85; }
    50% { transform: scale(1.02); filter: blur(12px); opacity: 1; }
}

@media (max-width: 991.98px) {
    .epic-hero {
        height: 720px;
        padding-top: 136px;
    }
    .epic-hero__char-wrap {
        width: min(46vw, 420px);
        opacity: 0;
    }
}

@media (max-width: 767.98px) {
    .epic-hero {
        height: 640px;
        padding-top: 126px;
    }
    .epic-hero__chars {
        display: none;
    }
    .epic-hero__center {
        padding: 22px 14px 18px;
    }
    .epic-hero__logo-wrap,
    .epic-hero__logo {
        width: 92px;
        height: 92px;
    }
    .epic-btn {
        width: min(520px, 100%);
        height: 54px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .epic-hero__clouds,
    .epic-hero__light,
    .epic-hero__fog--top,
    .epic-hero__fog--base,
    .epic-hero__char {
        animation: none !important;
    }
    .epic-hero__particles {
        display: none;
    }
    .epic-hero__fog,
    .epic-hero__center,
    .epic-hero__logo-glow,
    .epic-hero__actions .epic-btn,
    .epic-hero__char-wrap {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.cinzel {
    font-family: 'Cinzel', serif;
}

.bg-darker {
    background-color: var(--darker-bg);
}

.mm-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 14px 0;
    background: rgba(8, 8, 10, 0.46);
    backdrop-filter: blur(10px);
    transition: background 260ms ease, backdrop-filter 260ms ease, padding 260ms ease, border-color 260ms ease, box-shadow 260ms ease, opacity 600ms cubic-bezier(.2,.9,.2,1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 14px 55px rgba(0, 0, 0, 0.35);
    opacity: 1;
    will-change: opacity;
}

.mm-nav.mm-nav--ready .mm-nav__inner,
.mm-nav.mm-nav--ready .mm-hud {
    animation: mm-nav-enter 650ms cubic-bezier(.2,.9,.2,1) both;
}

@keyframes mm-nav-enter {
    from { transform: translate3d(0, -10px, 0); opacity: 0.01; }
    to { transform: translate3d(0, 0, 0); opacity: 1; }
}

.mm-nav[data-realm="armia"] {
    --mm-realm: var(--mm-blue);
    --mm-realm-soft: rgba(47, 125, 255, 0.32);
    --mm-realm-line: rgba(47, 125, 255, 0.55);
}

.mm-nav[data-realm="erion"] {
    --mm-realm: var(--mm-red);
    --mm-realm-soft: rgba(255, 59, 47, 0.32);
    --mm-realm-line: rgba(255, 59, 47, 0.55);
}

.mm-nav[data-realm="azran"] {
    --mm-realm: var(--mm-gold);
    --mm-realm-soft: rgba(255, 214, 110, 0.28);
    --mm-realm-line: rgba(255, 214, 110, 0.55);
}

.mm-nav.mm-nav--sticky {
    padding: 10px 0;
    background: rgba(8, 8, 10, 0.72);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.mm-nav__particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.75;
}

.mm-nav__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 66px;
}

.mm-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    min-width: 220px;
    padding: 8px 10px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(0,0,0,0.28), rgba(0,0,0,0.10));
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.35);
    transition: transform 160ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.mm-nav__brand:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.12);
    background: linear-gradient(180deg, rgba(0,0,0,0.34), rgba(0,0,0,0.14));
    box-shadow: 0 22px 58px rgba(0,0,0,0.45);
}

.mm-nav__logo-wrap {
    position: relative;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    transition: width 260ms ease, height 260ms ease, transform 260ms ease;
}

.mm-nav__logo {
    width: 62px;
    height: 62px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 12px var(--mm-realm-soft));
    transition: width 260ms ease, height 260ms ease, filter 260ms ease, transform 260ms ease;
}

.mm-nav__logo-glow {
    position: absolute;
    inset: -14px;
    background:
        radial-gradient(circle at 50% 55%, var(--mm-realm-soft), rgba(0,0,0,0) 62%),
        radial-gradient(circle at 55% 40%, rgba(255,255,255,0.08), rgba(0,0,0,0) 55%);
    filter: blur(7px);
    opacity: 1;
}

.mm-nav__brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.mm-nav__title {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: transparent;
    background: linear-gradient(135deg, #fff6cf 0%, #ffd76b 22%, #ffb100 46%, #ffe7aa 72%, #fff6cf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 2px 0 rgba(0,0,0,0.55), 0 0 26px rgba(0,0,0,0.55);
    font-size: 1.18rem;
    transition: font-size 260ms ease, letter-spacing 260ms ease, transform 260ms ease;
}

.mm-nav__subtitle {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    transition: opacity 200ms ease, transform 200ms ease;
}

.mm-nav.mm-nav--sticky .mm-nav__inner {
    min-height: 56px;
}

.mm-nav.mm-nav--sticky .mm-nav__logo-wrap {
    width: 44px;
    height: 44px;
    transform: translateY(0);
}

.mm-nav.mm-nav--sticky .mm-nav__logo {
    width: 44px;
    height: 44px;
    transform: translateY(0);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 10px var(--mm-realm-soft));
}

.mm-nav.mm-nav--sticky .mm-nav__title {
    font-size: 1.05rem;
    letter-spacing: 0.4px;
}

.mm-nav.mm-nav--sticky .mm-nav__subtitle {
    opacity: 0.85;
}

.mm-nav__links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 10px;
}

.mm-nav__link {
    cursor: pointer;
    appearance: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        radial-gradient(120% 220% at 15% 0%, rgba(255,255,255,0.10), rgba(0,0,0,0) 62%),
        linear-gradient(180deg, rgba(18, 18, 24, 0.92), rgba(8, 8, 12, 0.70));
    background-size: 140% 140%;
    background-position: 50% 0%;
    color: rgba(255, 255, 255, 0.96);
    text-decoration: none;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    font-size: 0.78rem;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 220ms ease, background 220ms ease, color 160ms ease, filter 220ms ease;
    transform: translateZ(0);
    text-shadow: 0 1px 0 rgba(0,0,0,0.55), 0 0 18px rgba(0,0,0,0.45);
}

.mm-nav__link::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 13px;
    background:
        radial-gradient(120% 200% at 50% 0%, rgba(255,255,255,0.08), rgba(0,0,0,0) 60%),
        linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.32));
    pointer-events: none;
    opacity: 0.85;
}

.mm-nav__link::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    background: linear-gradient(120deg, rgba(0,0,0,0) 0%, var(--mm-realm-soft) 45%, rgba(0,0,0,0) 80%);
    opacity: 0.0;
    filter: blur(10px);
    pointer-events: none;
    transition: opacity 220ms ease;
}

.mm-nav__link-text {
    position: relative;
    z-index: 2;
}

.mm-nav__link-orn {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 40%, rgba(255,255,255,0.10) 50%, rgba(0,0,0,0) 60%, rgba(0,0,0,0) 100%);
    opacity: 0;
    transform: translateX(-22%);
    transition: opacity 200ms ease, transform 360ms ease;
}

.mm-nav__link:hover {
    transform: translateY(-1px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
    background-position: 50% 100%;
    box-shadow: 0 14px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06), 0 0 26px var(--mm-realm-soft);
    filter: brightness(1.05);
}

.mm-nav__link:hover::after {
    opacity: 0.55;
}

.mm-nav__link:hover .mm-nav__link-orn {
    opacity: 0.9;
    transform: translateX(22%);
}

.mm-nav__link.is-active {
    border-color: rgba(255,255,255,0.18);
    box-shadow: 0 12px 40px rgba(0,0,0,0.55), 0 0 26px var(--mm-realm-soft);
    color: #fff;
}

.mm-nav__link.is-active::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05), var(--mm-realm-line), rgba(255,255,255,0.05));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.95;
}

.mm-nav__link--cta {
    border-color: rgba(255,255,255,0.20);
    background:
        radial-gradient(120% 220% at 20% 0%, rgba(255,255,255,0.14), rgba(0,0,0,0) 58%),
        linear-gradient(180deg, rgba(16, 16, 22, 0.94), rgba(8, 8, 12, 0.70)),
        linear-gradient(90deg, rgba(0,0,0,0), var(--mm-realm-soft), rgba(0,0,0,0));
    background-size: 140% 140%, 140% 140%, 240% 240%;
    background-position: 50% 0%, 50% 0%, 0% 50%;
}

.mm-nav__link--cta::after {
    content: "";
    position: absolute;
    inset: -20px;
    border-radius: 22px;
    background: radial-gradient(circle at 50% 50%, var(--mm-realm-soft), rgba(0,0,0,0) 62%);
    opacity: 0.25;
    filter: blur(10px);
    pointer-events: none;
}

.mm-nav__right {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 240px;
}

.mm-nav__note {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

.mm-nav__user {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 16px;
    border: 1px solid var(--mm-warm-border);
    background:
        radial-gradient(120% 220% at 20% 0%, rgba(255,255,255,0.24), rgba(0,0,0,0) 58%),
        linear-gradient(135deg, var(--mm-warm-a), var(--mm-warm-b));
    text-decoration: none;
    color: var(--mm-warm-ink);
    box-shadow: 0 16px 42px rgba(0,0,0,0.55), 0 0 26px var(--mm-warm-shadow);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.mm-nav__user:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 213, 79, 0.92);
    box-shadow: 0 18px 48px rgba(0,0,0,0.60), 0 0 34px var(--mm-warm-shadow);
    filter: brightness(1.03) saturate(1.05);
    color: rgba(25, 14, 2, 1);
}

.mm-nav__avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background:
        radial-gradient(120% 220% at 20% 0%, rgba(255,255,255,0.26), rgba(0,0,0,0) 58%),
        linear-gradient(135deg, var(--mm-warm-a), var(--mm-warm-b));
    border: 1px solid rgba(255, 193, 7, 0.86);
    box-shadow: 0 0 18px rgba(255, 193, 7, 0.38);
    font-weight: 900;
    color: rgba(25, 14, 2, 1);
    text-shadow: 0 1px 0 rgba(255,255,255,0.25), 0 0 10px rgba(0,0,0,0.25);
}

.mm-nav__user-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.mm-nav__user-name {
    font-weight: 800;
    font-size: 0.92rem;
}

.mm-nav__user-sub {
    font-size: 0.74rem;
    color: rgba(25, 14, 2, 0.68);
}

.mm-nav__login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid var(--mm-warm-border);
    background:
        radial-gradient(120% 220% at 20% 0%, rgba(255,255,255,0.24), rgba(0,0,0,0) 58%),
        linear-gradient(135deg, var(--mm-warm-a), var(--mm-warm-b));
    color: var(--mm-warm-ink);
    box-shadow: 0 16px 42px rgba(0,0,0,0.55), 0 0 26px var(--mm-warm-shadow);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.mm-nav__login:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 213, 79, 0.92);
    box-shadow: 0 18px 48px rgba(0,0,0,0.60), 0 0 34px rgba(255, 193, 7, 0.42);
    filter: brightness(1.03) saturate(1.05);
    color: rgba(25, 14, 2, 1);
}

.mm-nav__burger {
    width: 46px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    display: none;
    place-items: center;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 220ms ease;
}

.mm-nav__burger:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 14px 40px rgba(0,0,0,0.45), 0 0 18px var(--mm-realm-soft);
}

.mm-nav__burger-lines {
    width: 20px;
    height: 14px;
    display: grid;
    gap: 4px;
}

.mm-nav__burger-lines span {
    display: block;
    height: 2px;
    background: rgba(255,255,255,0.92);
    border-radius: 2px;
    box-shadow: 0 0 12px var(--mm-realm-soft);
    transition: transform 240ms cubic-bezier(.2,.9,.2,1), opacity 200ms ease;
}

.mm-nav.mm-nav--open .mm-nav__burger-lines span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.mm-nav.mm-nav--open .mm-nav__burger-lines span:nth-child(2) {
    opacity: 0;
}
.mm-nav.mm-nav--open .mm-nav__burger-lines span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mm-nav__underline {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, rgba(0,0,0,0), var(--mm-realm-line), rgba(0,0,0,0));
    opacity: 0.8;
    filter: drop-shadow(0 0 14px var(--mm-realm-soft));
    pointer-events: none;
}

.mm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.68);
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms ease;
    backdrop-filter: blur(2px);
    z-index: 1035;
}

.mm-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: min(360px, 92vw);
    background: rgba(10, 10, 12, 0.94);
    border-left: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(14px);
    transform: translate3d(100%, 0, 0);
    transition: transform 300ms cubic-bezier(.2,.9,.2,1);
    z-index: 1040;
    display: flex;
    flex-direction: column;
    box-shadow: -18px 0 70px rgba(0,0,0,0.65);
}

.mm-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mm-drawer__title {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    letter-spacing: 0.6px;
    color: #f4d47c;
    margin: 0;
}

.mm-drawer__close {
    width: 44px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.92);
    display: grid;
    place-items: center;
}

.mm-drawer__body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: auto;
}

.mm-drawer__link {
    cursor: pointer;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.02rem;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 220ms ease, background 220ms ease;
}

.mm-drawer__link:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 14px 40px rgba(0,0,0,0.45), 0 0 22px var(--mm-realm-soft);
    color: #fff;
}

.mm-drawer__link.is-active {
    border-color: rgba(255,255,255,0.18);
    box-shadow: 0 14px 40px rgba(0,0,0,0.45), 0 0 22px var(--mm-realm-soft);
    color: #fff;
}

.mm-drawer__link--cta {
    background:
        radial-gradient(90% 130% at 50% 0%, rgba(255,255,255,0.12), rgba(0,0,0,0)),
        rgba(255,255,255,0.04);
}

.mm-nav.mm-nav--open .mm-overlay {
    opacity: 1;
    pointer-events: auto;
}

.mm-nav.mm-nav--open .mm-drawer {
    transform: translate3d(0, 0, 0);
}

@media (max-width: 991.98px) {
    .mm-nav__links {
        display: none;
    }
    .mm-nav__burger {
        display: grid;
    }
    .mm-nav__right {
        min-width: auto;
    }
    .mm-nav__brand {
        min-width: auto;
    }
    .mm-drawer {
        width: 100vw;
        border-left: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mm-nav,
    .mm-nav__link,
    .mm-nav__user,
    .mm-nav__login,
    .mm-nav__burger,
    .mm-drawer,
    .mm-overlay {
        transition: none !important;
        animation: none !important;
    }
}

/* Navbar Customization */
.main-nav {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.logo-img {
    height: 50px;
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.nav-link {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 15px;
    letter-spacing: 1px;
}

.nav-link.active {
    color: var(--accent-color) !important;
}

/* Glow Buttons */
.btn-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.1);
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -70%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: rotate(20deg);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-glow:hover::before {
    opacity: 1;
    animation: btn-shine 0.9s ease;
}

.btn-glow:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25), 0 0 28px var(--primary-glow);
}

.btn {
    border-radius: 14px;
    letter-spacing: 0.5px;
    transition: transform 0.12s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn:active {
    transform: scale(0.98);
}

.btn-lg {
    border-radius: 16px;
}

.btn-sm {
    border-radius: 12px;
}

.btn-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 1), rgba(255, 142, 0, 0.95)) !important;
    border-color: rgba(255, 193, 7, 0.75) !important;
    color: #111 !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.35), 0 0 14px rgba(255, 193, 7, 0.15);
}

.btn-warning:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.45), 0 0 24px var(--primary-glow);
    transform: translateY(-3px);
}

.btn-warning:active {
    box-shadow: 0 8px 16px rgba(0,0,0,0.45), 0 0 10px rgba(255, 193, 7, 0.25);
}

.btn-outline-warning {
    border-width: 2px;
    border-color: rgba(255, 193, 7, 0.55) !important;
    color: var(--accent-color) !important;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.06), rgba(255, 193, 7, 0.01)) !important;
}

.btn-outline-warning:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.18), rgba(255, 193, 7, 0.05)) !important;
    border-color: rgba(255, 193, 7, 0.9) !important;
    box-shadow: 0 0 24px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-width: 2px;
    border-color: rgba(255,255,255,0.35) !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)) !important;
}

.btn-outline-light:hover {
    border-color: rgba(255,255,255,0.85) !important;
    box-shadow: 0 0 18px rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.btn-dark {
    border-radius: 14px;
    border-color: rgba(255,255,255,0.1);
}

.btn-dark:hover {
    box-shadow: 0 0 18px rgba(0,0,0,0.35);
    transform: translateY(-1px);
}

@keyframes btn-shine {
    0% { transform: translateX(0) rotate(20deg); }
    100% { transform: translateX(320%) rotate(20deg); }
}

/* Banner Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('https://i.imgur.com/8Q9m3Z0.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    border-bottom: 3px solid var(--accent-color);
}

.hero-title {
    font-size: 6rem;
    font-weight: 900;
    text-shadow: 0 0 30px var(--primary-glow);
    margin-bottom: 20px;
    letter-spacing: 5px;
    color: #fff;
}

.hero-subtitle {
    font-family: 'Cinzel', serif;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Server Stats */
.stats-section {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 193, 7, 0.3);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    display: block;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: #888;
}

/* News Section Enhancement */
.news-card {
    background: #111;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.news-img {
    height: 250px;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.news-card:hover .news-img {
    filter: grayscale(0%);
}

.news-card-mini,
.tutorial-card-mini {
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 14px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.news-card-mini__thumb,
.tutorial-card-mini__thumb {
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.news-card-mini__img,
.tutorial-card-mini__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: grayscale(25%);
    transition: filter 0.25s ease, transform 0.25s ease;
}

.news-card-mini:hover,
.tutorial-card-mini:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.news-card-mini:hover .news-card-mini__img,
.tutorial-card-mini:hover .tutorial-card-mini__img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.news-card-mini__cat,
.tutorial-card-mini__cat {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #aaa;
    font-weight: 700;
}

.news-card-mini__title,
.tutorial-card-mini__title {
    font-size: 1.05rem;
    line-height: 1.25;
}

.content-card {
    background: #111;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.35s ease;
    position: relative;
}

.content-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.content-card-img {
    height: 240px;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
    filter: grayscale(25%);
}

.content-card:hover .content-card-img {
    transform: scale(1.04);
    filter: grayscale(0%);
}

.content-card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.content-grid-img {
    transition: transform 0.25s ease, filter 0.25s ease;
    filter: brightness(0.95);
}

.content-zoom:hover .content-grid-img {
    transform: scale(1.04);
    filter: brightness(1);
}

.content-html img {
    max-width: 100%;
    height: auto;
}

.pb-anim-glow {
    box-shadow: 0 0 0 rgba(0,0,0,0);
    animation: pbGlow 1.8s ease-in-out infinite;
}

.pb-anim-bounce {
    animation: pbBounce 1.2s ease-in-out infinite;
}

@keyframes pbGlow {
    0% { box-shadow: 0 0 0 rgba(255, 193, 7, 0.0); }
    50% { box-shadow: 0 0 28px rgba(255, 193, 7, 0.25); }
    100% { box-shadow: 0 0 0 rgba(255, 193, 7, 0.0); }
}

@keyframes pbBounce {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

.news-title {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* Footer Styles */
.footer-socials a {
    color: #888;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--accent-color);
}

.footer-links a {
    color: #888;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

/* Modal Styling */
.modal-content {
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.3);
}

.nav-tabs .nav-link {
    border: none;
    color: #888;
}

.nav-tabs .nav-link.active {
    background: none;
    border-bottom: 2px solid var(--accent-color);
    color: var(--accent-color) !important;
}

/* Page Headers */
.page-header {
    padding: 180px 0 100px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)), url('https://i.imgur.com/GzYfQGv.jpg') center/cover no-repeat;
    text-align: center;
    border-bottom: 2px solid var(--accent-color);
}

/* Rankings */
.rank-table {
    background: #111;
    border-radius: 10px;
    overflow: hidden;
}

.rank-table th {
    background: #1a1a1a;
    color: var(--accent-color);
    text-transform: uppercase;
}

.mm-nav__link-ic {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    font-size: 0.95rem;
    opacity: 0.92;
    filter: drop-shadow(0 0 10px var(--mm-realm-soft));
    transition: transform 160ms ease, opacity 160ms ease, filter 220ms ease;
}

.mm-nav__link:hover .mm-nav__link-ic {
    transform: translateY(-1px) scale(1.06);
    opacity: 1;
    filter: drop-shadow(0 0 14px var(--mm-realm-soft));
}

.mm-nav__brand {
    position: relative;
    overflow: hidden;
}

.mm-nav__brand::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 1px;
    background: conic-gradient(from 0deg, rgba(255,255,255,0.08), var(--mm-realm-line), rgba(255,255,255,0.08), rgba(0,0,0,0));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.55;
    animation: mm-energy-spin 4.2s linear infinite;
    pointer-events: none;
}

@keyframes mm-energy-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mm-nav__link:hover,
.mm-nav__link.is-active {
    animation: mm-link-pulse 2.2s ease-in-out infinite;
}

@keyframes mm-link-pulse {
    0%, 100% { box-shadow: 0 14px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06), 0 0 18px var(--mm-realm-soft); }
    50% { box-shadow: 0 14px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06), 0 0 30px var(--mm-realm-soft); }
}

.mm-hud {
    position: relative;
    padding-bottom: 10px;
}

.mm-hud__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.mm-hud__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.10);
    background: linear-gradient(180deg, rgba(10,10,14,0.62), rgba(0,0,0,0.34));
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 55px rgba(0,0,0,0.40);
    overflow: hidden;
}

.mm-hud__item::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    background: radial-gradient(circle at 15% 0%, rgba(255,255,255,0.10), rgba(0,0,0,0) 60%);
    opacity: 0.8;
    pointer-events: none;
}

.mm-hud__ic {
    position: relative;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.10);
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(0,0,0,0.25));
    box-shadow: 0 0 18px rgba(47,125,255,0.18);
    color: rgba(255,255,255,0.92);
}

.mm-hud__meta {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}

.mm-hud__label {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: 0.70rem;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.62);
}

.mm-hud__value {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 0.98rem;
    color: rgba(255,255,255,0.96);
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.mm-hud__event-title {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mm-hud__event-time {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.78);
}

.mm-hud__status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(255, 59, 47, 0.35);
    background: rgba(255, 59, 47, 0.9);
}

.mm-hud__status.is-on {
    background: rgba(55, 255, 146, 0.92);
    box-shadow: 0 0 18px rgba(55, 255, 146, 0.35);
}

.mm-hud__status.is-off {
    background: rgba(255, 59, 47, 0.92);
    box-shadow: 0 0 18px rgba(255, 59, 47, 0.35);
}

@media (max-width: 991.98px) {
    .mm-hud__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mm-hud__event-title {
        max-width: 240px;
    }
}

@media (max-width: 575.98px) {
    .mm-hud__grid {
        grid-template-columns: 1fr;
    }
    .mm-hud__item {
        min-height: 52px;
    }
}

.mm-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.mm-bg__canvas {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.85;
    mix-blend-mode: screen;
}

.mm-bg__fog {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 40% 30%, rgba(120, 70, 255, 0.10), rgba(0,0,0,0) 55%), radial-gradient(circle at 60% 60%, rgba(47, 125, 255, 0.08), rgba(0,0,0,0) 60%), radial-gradient(circle at 40% 70%, rgba(255, 214, 110, 0.06), rgba(0,0,0,0) 55%);
    filter: blur(26px);
    opacity: 0.55;
    animation: mm-fog-drift 20s ease-in-out infinite;
}

.mm-bg__fog--b {
    opacity: 0.35;
    animation-duration: 28s;
    animation-direction: reverse;
}

@keyframes mm-fog-drift {
    0% { transform: translate3d(-2%, -1%, 0) scale(1.02); }
    50% { transform: translate3d(2%, 1%, 0) scale(1.06); }
    100% { transform: translate3d(-2%, -1%, 0) scale(1.02); }
}

.mm-social {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1045;
}

.mm-social__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(180deg, rgba(12, 12, 18, 0.72), rgba(0,0,0,0.35));
    backdrop-filter: blur(10px);
    text-decoration: none;
    color: rgba(255,255,255,0.92);
    overflow: hidden;
    transition: width 220ms ease, transform 160ms ease, border-color 160ms ease, box-shadow 220ms ease, background 220ms ease;
}

.mm-social__item::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 999px;
    padding: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(47,125,255,0.40), rgba(255,214,110,0.25), rgba(255,255,255,0.06));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

.mm-social__item:hover {
    width: 170px;
    transform: translateX(-6px);
    border-color: rgba(255,255,255,0.18);
    box-shadow: 0 18px 55px rgba(0,0,0,0.55), 0 0 26px rgba(47,125,255,0.22);
}

.mm-social__item:hover::before {
    opacity: 0.95;
    animation: mm-energy-scan 2.6s linear infinite;
}

@keyframes mm-energy-scan {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.mm-social__ic {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 14px rgba(47,125,255,0.22));
}

.mm-social__tip {
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 180ms ease, transform 180ms ease;
    white-space: nowrap;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: rgba(255,255,255,0.92);
}

.mm-social__item:hover .mm-social__tip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 991.98px) {
    .mm-social {
        right: 12px;
    }
    .mm-social__item:hover {
        width: 52px;
        transform: none;
    }
    .mm-social__tip {
        display: none;
    }
}

.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from 0deg, rgba(255,255,255,0.05), rgba(47,125,255,0.32), rgba(144, 70, 255, 0.25), rgba(255,214,110,0.22), rgba(255,255,255,0.05));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
    animation: mm-energy-spin 4.2s linear infinite;
}

.btn:hover::after,
.btn:focus-visible::after {
    opacity: 0.95;
}

.mm-ripple {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0.0;
    background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, rgba(47,125,255,0.22) 35%, rgba(0,0,0,0) 68%);
    animation: mm-ripple 620ms ease-out forwards;
    mix-blend-mode: screen;
}

@keyframes mm-ripple {
    0% { opacity: 0.0; transform: translate(-50%, -50%) scale(0.15); }
    15% { opacity: 0.9; }
    100% { opacity: 0.0; transform: translate(-50%, -50%) scale(1.6); }
}

@media (prefers-reduced-motion: reduce) {
    .mm-bg__fog,
    .mm-nav__brand::after,
    .btn::after,
    .mm-social__item:hover::before,
    .mm-nav__link:hover,
    .mm-nav__link.is-active {
        animation: none !important;
    }
}

.epic-hero__banners {
    position: absolute;
    inset: 0;
    z-index: 9;
    pointer-events: none;
}

.epic-banner {
    position: absolute;
    top: 18%;
    width: min(340px, 36vw);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.14);
    background: linear-gradient(180deg, rgba(0,0,0,0.38), rgba(0,0,0,0.18));
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 70px rgba(0,0,0,0.55);
    overflow: hidden;
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    transition: opacity 700ms cubic-bezier(.2,.9,.2,1), transform 700ms cubic-bezier(.2,.9,.2,1);
}

.epic-hero.epic-hero--ready .epic-banner {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.epic-banner::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: radial-gradient(circle at 20% 0%, rgba(255,255,255,0.12), rgba(0,0,0,0) 60%);
    opacity: 0.9;
    pointer-events: none;
}

.epic-banner::after {
    content: "";
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at 50% 50%, var(--epic-banner-glow, rgba(47,125,255,0.24)), rgba(0,0,0,0) 62%);
    opacity: 0.35;
    filter: blur(10px);
    pointer-events: none;
}

.epic-banner__inner {
    position: relative;
    z-index: 2;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.epic-banner__sigil {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(0,0,0,0.18));
    box-shadow: 0 0 18px var(--epic-banner-glow, rgba(47,125,255,0.22));
}

.epic-banner__sigil svg {
    width: 26px;
    height: 26px;
    display: block;
}

.epic-banner__meta {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.epic-banner__name {
    font-family: 'Cinzel Decorative','Cinzel',serif;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-size: 0.92rem;
}

.epic-banner__motto {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.74);
}

.epic-banner--armia {
    left: 5%;
    --epic-banner-glow: rgba(47,125,255,0.30);
    border-color: rgba(47,125,255,0.30);
    transition-delay: 620ms;
}

.epic-banner--azran {
    right: 5%;
    --epic-banner-glow: rgba(255,59,47,0.24);
    border-color: rgba(255,59,47,0.28);
    transition-delay: 720ms;
}

.mm-section {
    position: relative;
    padding: 80px 0;
    z-index: 1;
}

.mm-section__head {
    text-align: center;
    margin-bottom: 26px;
}

.mm-title {
    margin: 0 0 10px;
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    letter-spacing: 0.8px;
    color: transparent;
    background: linear-gradient(135deg, #fff6cf 0%, #ffd76b 22%, #ffb100 46%, #ffe7aa 72%, #fff6cf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 3px 0 rgba(0,0,0,0.55);
}

.mm-subtitle {
    margin: 0 auto;
    width: min(760px, 100%);
    color: rgba(255,255,255,0.72);
}

.mm-map {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 18px;
    align-items: start;
}

.mm-map__frame {
    position: relative;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.10);
    overflow: hidden;
    background:
        radial-gradient(120% 120% at 20% 0%, rgba(255,255,255,0.10), rgba(0,0,0,0) 62%),
        linear-gradient(180deg, rgba(18, 18, 24, 0.86), rgba(0,0,0,0.60));
    box-shadow: 0 28px 90px rgba(0,0,0,0.65);
}

.mm-map__frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(70% 80% at 50% 40%, rgba(255,214,110,0.10), rgba(0,0,0,0) 62%),
        radial-gradient(55% 75% at 30% 55%, rgba(47,125,255,0.07), rgba(0,0,0,0) 64%),
        radial-gradient(55% 75% at 70% 55%, rgba(255,59,47,0.06), rgba(0,0,0,0) 64%);
    opacity: 0.9;
    pointer-events: none;
}

.mm-map__svg {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    min-height: 340px;
}

.mm-map__land {
    cursor: pointer;
    transform-origin: 50% 50%;
    transition: filter 220ms ease, transform 220ms ease, opacity 220ms ease;
    opacity: 0.92;
    filter: drop-shadow(0 18px 40px rgba(0,0,0,0.55));
}

.mm-map__land:focus-visible {
    outline: none;
}

.mm-map__land--armia {
    fill: rgba(47,125,255,0.30);
    stroke: rgba(47,125,255,0.70);
    stroke-width: 2;
}

.mm-map__land--azran {
    fill: rgba(255,59,47,0.22);
    stroke: rgba(255,59,47,0.65);
    stroke-width: 2;
}

.mm-map__land.is-active,
.mm-map__land:hover {
    transform: translate3d(0, -2px, 0) scale(1.01);
    opacity: 1;
    filter: drop-shadow(0 22px 55px rgba(0,0,0,0.70)) drop-shadow(0 0 22px rgba(255,214,110,0.20));
}

.mm-map__markers circle {
    animation: mm-pulse 1.8s ease-in-out infinite;
}

@keyframes mm-pulse {
    0%, 100% { transform: scale(0.92); opacity: 0.7; }
    50% { transform: scale(1.08); opacity: 1; }
}

.mm-map__tip {
    position: absolute;
    left: 18px;
    top: 18px;
    width: min(320px, calc(100% - 36px));
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(8, 8, 12, 0.76);
    backdrop-filter: blur(12px);
    box-shadow: 0 22px 70px rgba(0,0,0,0.60);
    padding: 14px 14px 12px;
    opacity: 0;
    transform: translate3d(0, 8px, 0);
    transition: opacity 160ms ease, transform 160ms ease;
    pointer-events: none;
}

.mm-map__tip.is-show {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.mm-map__tip-title {
    font-family: 'Cinzel Decorative','Cinzel',serif;
    font-weight: 900;
    letter-spacing: 0.7px;
    margin: 0 0 6px;
}

.mm-map__tip-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.86);
    margin-top: 6px;
}

.mm-map__tip-row span:first-child {
    color: rgba(255,255,255,0.62);
    font-size: 0.82rem;
    letter-spacing: 0.4px;
}

.mm-map__side {
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.10);
    background: linear-gradient(180deg, rgba(10,10,14,0.62), rgba(0,0,0,0.34));
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 80px rgba(0,0,0,0.55);
    padding: 16px;
}

.mm-map__legend {
    display: grid;
    gap: 12px;
}

.mm-map__legend-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    padding: 12px 12px;
}

.mm-map__legend-name {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    letter-spacing: 0.6px;
}

.mm-map__legend-chip {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.76);
}

.mm-rank3d {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.mm-rank-card {
    position: relative;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.12);
    background:
        radial-gradient(120% 220% at 15% 0%, rgba(255,255,255,0.10), rgba(0,0,0,0) 62%),
        linear-gradient(180deg, rgba(18, 18, 24, 0.86), rgba(0,0,0,0.60));
    box-shadow: 0 28px 90px rgba(0,0,0,0.62);
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.mm-rank-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    background: radial-gradient(circle at 50% 30%, rgba(255,214,110,0.18), rgba(0,0,0,0) 62%);
    opacity: 0.35;
    pointer-events: none;
    transform: translateZ(1px);
}

.mm-rank-card.is-top1 {
    border-color: rgba(255,193,7,0.55);
    box-shadow: 0 34px 120px rgba(0,0,0,0.70), 0 0 40px rgba(255,193,7,0.18);
}

.mm-rank-card__inner {
    position: relative;
    z-index: 2;
    padding: 18px 16px 16px;
    transform: translateZ(12px);
    display: grid;
    gap: 10px;
}

.mm-rank-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.82);
}

.mm-rank-card__name {
    font-family: 'Cinzel Decorative','Cinzel',serif;
    font-weight: 900;
    letter-spacing: 0.6px;
    font-size: 1.08rem;
    margin: 0;
}

.mm-rank-card__meta {
    display: grid;
    gap: 6px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.80);
}

.mm-rank-card__meta div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.mm-rank-card__meta span:first-child {
    color: rgba(255,255,255,0.62);
    font-size: 0.82rem;
}

.mm-rank-card__avatar {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(0,0,0,0.16));
    display: grid;
    place-items: center;
    box-shadow: 0 0 22px rgba(47,125,255,0.16);
}

.mm-rank-card__avatar img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.mm-events {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mm-event-card {
    position: relative;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.12);
    background:
        radial-gradient(120% 220% at 15% 0%, rgba(255,255,255,0.10), rgba(0,0,0,0) 62%),
        linear-gradient(180deg, rgba(18, 18, 24, 0.86), rgba(0,0,0,0.60));
    box-shadow: 0 28px 90px rgba(0,0,0,0.58);
    overflow: hidden;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 220ms ease;
}

.mm-event-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.18);
    box-shadow: 0 34px 110px rgba(0,0,0,0.70), 0 0 34px rgba(255,193,7,0.14);
}

.mm-event-card__inner {
    padding: 18px 16px 16px;
    display: grid;
    gap: 10px;
}

.mm-event-card__title {
    font-family: 'Cinzel Decorative','Cinzel',serif;
    font-weight: 900;
    letter-spacing: 0.6px;
    margin: 0;
}

.mm-event-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.80);
}

.mm-event-card__tag .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.9);
    box-shadow: 0 0 18px rgba(255, 193, 7, 0.35);
}

.mm-event-card.is-active .mm-event-card__tag .dot {
    background: rgba(55, 255, 146, 0.92);
    box-shadow: 0 0 18px rgba(55, 255, 146, 0.35);
}

.mm-event-card__rows {
    display: grid;
    gap: 6px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.80);
}

.mm-event-card__rows div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.mm-event-card__rows span:first-child {
    color: rgba(255,255,255,0.62);
    font-size: 0.82rem;
}

.mm-event-card__countdown {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    letter-spacing: 0.4px;
}

@media (max-width: 1199.98px) {
    .mm-map {
        grid-template-columns: 1fr;
    }
    .mm-map__side {
        order: 2;
    }
    .mm-rank3d {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .epic-banner {
        display: none;
    }
    .mm-events {
        grid-template-columns: 1fr;
    }
    .mm-section {
        padding: 64px 0;
    }
    .mm-rank3d {
        grid-template-columns: 1fr;
    }
}

.roadmap-hero {
    position: relative;
    min-height: 460px;
    padding: 140px 0 90px;
    overflow: hidden;
    background:
        radial-gradient(120% 120% at 50% 0%, rgba(255, 193, 7, 0.16), rgba(0,0,0,0) 55%),
        linear-gradient(180deg, rgba(0,0,0,0.62), rgba(0,0,0,0.95)),
        var(--roadmap-bg);
    background-size: cover;
    background-position: center;
}

.roadmap-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(70% 100% at 25% 30%, rgba(47, 125, 255, 0.12), rgba(0,0,0,0) 60%),
        radial-gradient(70% 100% at 75% 30%, rgba(255, 59, 47, 0.10), rgba(0,0,0,0) 60%),
        radial-gradient(60% 80% at 50% 50%, rgba(255,255,255,0.08), rgba(0,0,0,0) 62%);
    opacity: 0.85;
    pointer-events: none;
}

.roadmap-hero__content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 26px 22px;
    border-radius: 22px;
    background: rgba(10, 10, 14, 0.56);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    box-shadow: 0 28px 110px rgba(0,0,0,0.70), 0 0 38px rgba(255,193,7,0.12);
}

.roadmap-hero__fx {
    position: absolute;
    inset: -40% -30%;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 55%, rgba(255,255,255,0.12), rgba(0,0,0,0) 42%),
        radial-gradient(circle at 55% 45%, rgba(255,255,255,0.10), rgba(0,0,0,0) 45%),
        radial-gradient(circle at 85% 55%, rgba(255,255,255,0.12), rgba(0,0,0,0) 42%);
    filter: blur(14px);
    opacity: 0.55;
    animation: roadmap-fx 24s linear infinite;
}

@keyframes roadmap-fx {
    0% { transform: translate3d(-2%, 0, 0); }
    50% { transform: translate3d(2%, -1%, 0); }
    100% { transform: translate3d(-2%, 0, 0); }
}

.roadmap-wrap {
    position: relative;
    background:
        radial-gradient(90% 120% at 50% 0%, rgba(255, 193, 7, 0.10), rgba(0,0,0,0) 55%),
        radial-gradient(90% 120% at 0% 10%, rgba(47, 125, 255, 0.08), rgba(0,0,0,0) 55%),
        radial-gradient(90% 120% at 100% 10%, rgba(255, 59, 47, 0.06), rgba(0,0,0,0) 55%);
}

.roadmap-progress {
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.12);
    background:
        radial-gradient(130% 220% at 15% 0%, rgba(255,255,255,0.10), rgba(0,0,0,0) 62%),
        linear-gradient(180deg, rgba(18, 18, 24, 0.86), rgba(0,0,0,0.60));
    box-shadow: 0 28px 90px rgba(0,0,0,0.58);
    padding: 18px 16px 16px;
    margin-bottom: 18px;
}

.roadmap-progress__track {
    position: relative;
    height: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    overflow: hidden;
}

.roadmap-progress__fill {
    position: absolute;
    inset: 0;
    width: var(--roadmap-pct, 0%);
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.85), rgba(255, 154, 0, 0.95));
    box-shadow: 0 0 22px rgba(255, 193, 7, 0.28);
    border-radius: 999px;
    transform-origin: left center;
    animation: roadmap-fill 1100ms cubic-bezier(.2,.9,.2,1) both;
}

.roadmap-progress__glow {
    position: absolute;
    inset: -120% -40%;
    background: radial-gradient(circle at 30% 50%, rgba(255,193,7,0.18), rgba(0,0,0,0) 55%);
    filter: blur(10px);
    opacity: 0.65;
    animation: roadmap-glow 3.6s ease-in-out infinite;
}

@keyframes roadmap-fill {
    from { transform: scaleX(0.02); }
    to { transform: scaleX(1); }
}

@keyframes roadmap-glow {
    0%, 100% { transform: translate3d(-2%, 0, 0); opacity: 0.55; }
    50% { transform: translate3d(2%, 0, 0); opacity: 0.80; }
}

.roadmap-timeline {
    position: relative;
    display: grid;
    gap: 14px;
    padding-top: 6px;
}

.roadmap-timeline::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 28px;
    width: 2px;
    background: linear-gradient(180deg, rgba(255,193,7,0.25), rgba(255,255,255,0.06), rgba(255,193,7,0.18));
    opacity: 0.9;
}

.roadmap-item {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    align-items: flex-start;
}

.roadmap-item__node {
    position: relative;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    z-index: 2;
}

.roadmap-item__ring {
    position: absolute;
    inset: 6px;
    border-radius: 18px;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 0 0 1px rgba(255,193,7,0.10), 0 16px 40px rgba(0,0,0,0.65);
}

.roadmap-item__node i {
    position: relative;
    font-size: 18px;
    color: rgba(255,255,255,0.88);
}

.roadmap-item__pulse {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(circle at 50% 50%, rgba(255,193,7,0.30), rgba(0,0,0,0) 60%);
    opacity: 0.0;
    animation: roadmap-pulse 2.8s ease-in-out infinite;
}

@keyframes roadmap-pulse {
    0%, 100% { transform: scale(0.95); opacity: 0.0; }
    40% { transform: scale(1.10); opacity: 0.65; }
}

.roadmap-item__card {
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.12);
    background:
        radial-gradient(120% 220% at 15% 0%, rgba(255,255,255,0.10), rgba(0,0,0,0) 62%),
        linear-gradient(180deg, rgba(18, 18, 24, 0.86), rgba(0,0,0,0.60));
    box-shadow: 0 28px 90px rgba(0,0,0,0.58);
    padding: 16px 16px 14px;
    overflow: hidden;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 220ms ease;
}

.roadmap-item:hover .roadmap-item__card {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.18);
    box-shadow: 0 34px 110px rgba(0,0,0,0.70), 0 0 34px rgba(255,193,7,0.14);
}

.roadmap-item__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.roadmap-item__title {
    font-weight: 900;
    letter-spacing: 0.4px;
    color: rgba(255,255,255,0.92);
}

.roadmap-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(255,255,255,0.72);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.roadmap-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(47,125,255,0.10);
    border: 1px solid rgba(47,125,255,0.25);
    color: rgba(210, 232, 255, 0.92);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.roadmap-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
}

.roadmap-item__desc {
    color: rgba(255,255,255,0.76);
    line-height: 1.55;
    font-size: 0.96rem;
}

.roadmap-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-size: 0.72rem;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(0,0,0,0.30);
    color: rgba(255,255,255,0.84);
}

.roadmap-badge--done { background: rgba(55, 255, 146, 0.10); border-color: rgba(55, 255, 146, 0.25); color: rgba(180, 255, 220, 0.92); }
.roadmap-badge--dev { background: rgba(255, 193, 7, 0.10); border-color: rgba(255, 193, 7, 0.28); color: rgba(255, 236, 190, 0.95); }
.roadmap-badge--planned { background: rgba(47, 125, 255, 0.10); border-color: rgba(47, 125, 255, 0.25); color: rgba(210, 232, 255, 0.92); }
.roadmap-badge--late { background: rgba(255, 59, 47, 0.10); border-color: rgba(255, 59, 47, 0.25); color: rgba(255, 200, 195, 0.92); }

.roadmap-item--done .roadmap-item__ring { box-shadow: 0 0 0 1px rgba(55,255,146,0.14), 0 16px 40px rgba(0,0,0,0.65); }
.roadmap-item--dev .roadmap-item__ring { box-shadow: 0 0 0 1px rgba(255,193,7,0.14), 0 16px 40px rgba(0,0,0,0.65); }
.roadmap-item--planned .roadmap-item__ring { box-shadow: 0 0 0 1px rgba(47,125,255,0.14), 0 16px 40px rgba(0,0,0,0.65); }
.roadmap-item--late .roadmap-item__ring { box-shadow: 0 0 0 1px rgba(255,59,47,0.14), 0 16px 40px rgba(0,0,0,0.65); }

.roadmap-empty {
    padding: 36px 0 18px;
}

.roadmap-empty__card {
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(10, 10, 14, 0.60);
    backdrop-filter: blur(10px);
    padding: 22px 18px;
    text-align: center;
    box-shadow: 0 26px 90px rgba(0,0,0,0.60);
}

.mm-roadmap-widget {
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.12);
    background:
        radial-gradient(120% 220% at 15% 0%, rgba(255,255,255,0.10), rgba(0,0,0,0) 62%),
        linear-gradient(180deg, rgba(18, 18, 24, 0.86), rgba(0,0,0,0.60));
    box-shadow: 0 28px 90px rgba(0,0,0,0.58);
    padding: 16px;
}

.mm-roadmap-widget__progress {
    margin-bottom: 12px;
}

.mm-roadmap-widget__progress-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.82);
}

.mm-roadmap-widget__progress-title {
    font-weight: 900;
    letter-spacing: 0.6px;
    color: rgba(255, 193, 7, 0.95);
}

.mm-roadmap-widget__progress-meta {
    font-size: 0.86rem;
    color: rgba(255,255,255,0.64);
}

.mm-roadmap-widget__bar {
    position: relative;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    overflow: hidden;
}

.mm-roadmap-widget__bar-fill {
    position: absolute;
    inset: 0;
    width: var(--mm-roadmap-pct, 0%);
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.85), rgba(255, 154, 0, 0.95));
    border-radius: 999px;
    transform-origin: left center;
    animation: roadmap-fill 1100ms cubic-bezier(.2,.9,.2,1) both;
}

.mm-roadmap-widget__progress-foot {
    margin-top: 6px;
    font-size: 0.86rem;
    color: rgba(255,255,255,0.68);
}

.mm-roadmap-widget__list {
    display: grid;
    gap: 10px;
}

.mm-roadmap-widget__item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px;
    align-items: center;
    padding: 12px 12px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.24);
}

.mm-roadmap-widget__icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255,193,7,0.08);
    border: 1px solid rgba(255,193,7,0.22);
    box-shadow: 0 0 22px rgba(255,193,7,0.14);
    color: rgba(255, 230, 170, 0.92);
}

.mm-roadmap-widget__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.mm-roadmap-widget__item-title {
    font-weight: 800;
    color: rgba(255,255,255,0.90);
    line-height: 1.25;
}

.mm-roadmap-widget__meta {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    color: rgba(255,255,255,0.68);
    font-size: 0.86rem;
}

.mm-roadmap-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(47,125,255,0.10);
    border: 1px solid rgba(47,125,255,0.22);
    color: rgba(210, 232, 255, 0.92);
    font-size: 0.76rem;
    font-weight: 700;
}

.mm-roadmap-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mm-roadmap-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-size: 0.70rem;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(0,0,0,0.30);
    color: rgba(255,255,255,0.84);
    white-space: nowrap;
}

.mm-roadmap-badge--done { background: rgba(55, 255, 146, 0.10); border-color: rgba(55, 255, 146, 0.25); color: rgba(180, 255, 220, 0.92); }
.mm-roadmap-badge--dev { background: rgba(255, 193, 7, 0.10); border-color: rgba(255, 193, 7, 0.28); color: rgba(255, 236, 190, 0.95); }
.mm-roadmap-badge--planned { background: rgba(47, 125, 255, 0.10); border-color: rgba(47, 125, 255, 0.25); color: rgba(210, 232, 255, 0.92); }
.mm-roadmap-badge--late { background: rgba(255, 59, 47, 0.10); border-color: rgba(255, 59, 47, 0.25); color: rgba(255, 200, 195, 0.92); }

.mm-roadmap-widget__empty {
    color: rgba(255,255,255,0.66);
    text-align: center;
    padding: 14px 8px;
}

.mm-roadmap-widget__cta {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .roadmap-hero {
        padding: 120px 0 70px;
        min-height: 420px;
    }
    .roadmap-hero__content {
        padding: 22px 18px;
    }
    .roadmap-item {
        grid-template-columns: 50px 1fr;
    }
    .roadmap-timeline::before {
        left: 24px;
    }
}
