/**
 * ============================================================================
 *   SHAIYA MYTHICA — BESPOKE GOTHIC SAPPHIRE, SILVER FILIGREE & MYTHIC GOLD UI
 *   100% Custom MMORPG Design System inspired by Official Mythica Artwork
 *   Zero Shaiya Weedo Layout / Navbar / Styling
 * ============================================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cinzel:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --m-bg-abyss: #02050d;
    --m-bg-deep: #040a18;
    --m-bg-panel: rgba(6, 16, 38, 0.90);
    --m-bg-panel-strong: rgba(5, 13, 31, 0.96);
    --m-sapphire: #1d4ed8;
    --m-sapphire-bright: #2563eb;
    --m-ice: #38bdf8;
    --m-ice-light: #bae6fd;
    --m-cyan: #00d4ff;
    --m-silver: #e2e8f0;
    --m-silver-muted: #94a3b8;
    --m-gold: #fbbf24;
    --m-gold-bright: #fde68a;
    --m-gold-deep: #d97706;
    --m-border-silver: rgba(186, 230, 253, 0.34);
    --m-border-ice: rgba(56, 189, 248, 0.45);
    --m-border-subtle: rgba(148, 163, 184, 0.18);
    --m-font-display: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
    --m-font-heading: 'Cinzel', Georgia, serif;
    --m-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Legacy CSS variable overrides for inner template compatibility */
    --weedo-red: #38bdf8 !important;
    --weedo-red-dark: #1d4ed8 !important;
    --weedo-red-glow: rgba(56, 189, 248, 0.28) !important;
}

*, *::before, *::after {
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}
::-webkit-scrollbar-track {
    background: #02050d;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0284c7, #1e3a8a);
    border-radius: 99px;
    border: 1px solid rgba(186, 230, 253, 0.25);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #38bdf8, #2563eb);
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: var(--m-bg-abyss) !important;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(29, 78, 216, 0.22) 0%, transparent 65%),
        radial-gradient(circle at 12% 35%, rgba(14, 165, 233, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 88% 65%, rgba(37, 99, 235, 0.10) 0%, transparent 45%),
        linear-gradient(180deg, #02050d 0%, #040b1b 50%, #02050d 100%) !important;
    color: #eaf4ff !important;
    font-family: var(--m-font-body) !important;
    overflow-x: hidden;
}

a {
    color: var(--m-ice);
    text-decoration: none;
    transition: all 0.22s ease;
}
a:hover {
    color: var(--m-gold-bright);
}

/* ============================================================================
   1. FALLING ARCANE ICE EMBERS
   ============================================================================ */
#ice-particles-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.ice-particle {
    position: absolute;
    top: -15px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 0%, #38bdf8 55%, transparent 100%);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.75);
    opacity: 0.45;
    animation: mythicaEmberFall linear forwards;
}

.ice-particle.gold {
    background: radial-gradient(circle, #fffbeb 0%, #fbbf24 55%, transparent 100%);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.75);
}

@keyframes mythicaEmberFall {
    0% {
        transform: translateY(-20px) translateX(0) scale(0.8);
        opacity: 0;
    }
    15% {
        opacity: 0.55;
    }
    85% {
        opacity: 0.35;
    }
    100% {
        transform: translateY(105vh) translateX(35px) scale(0.3);
        opacity: 0;
    }
}

.mythica-site-shell {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.mythica-main-stage {
    flex: 1;
}

/* ============================================================================
   2. NEW TOP REALM BAR + FLOATING GOTHIC CRYSTAL NAVBAR (ZERO WEEDO!)
   ============================================================================ */
.mythica-realm-bar {
    background: linear-gradient(90deg, #010308 0%, #06132c 50%, #010308 100%);
    border-bottom: 1px solid rgba(186, 230, 253, 0.16);
    font-size: 11px;
    font-weight: 600;
    color: var(--m-silver-muted);
    padding: 7px 0;
    position: relative;
    z-index: 1040;
}

.mythica-realm-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.mythica-realm-left,
.mythica-realm-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.mythica-realm-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 2px 10px;
    border-radius: 99px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.mythica-realm-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.mythica-realm-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
    font-size: 11px;
    letter-spacing: 0.6px;
}

.mythica-realm-tag i {
    color: var(--m-gold);
    font-size: 11px;
}

.mythica-wallet-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    border-radius: 6px;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.30);
    color: #e0f2fe;
    font-weight: 700;
    font-size: 11px;
}

.mythica-wallet-chip.vip {
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.35);
    color: var(--m-gold-bright);
}

/* Main Floating Gothic Crystal Header */
.mythica-header {
    position: sticky;
    top: 0;
    z-index: 9000 !important;
    overflow: visible !important;
    padding: 12px 18px;
    background: linear-gradient(180deg, rgba(2, 5, 13, 0.88) 0%, rgba(2, 5, 13, 0.45) 75%, transparent 100%);
    backdrop-filter: blur(8px);
}

.mythica-main-stage {
    flex: 1;
    position: relative;
    z-index: 1;
}

.mythica-nav-shell {
    max-width: 1400px;
    margin: 0 auto;
    min-height: 76px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    overflow: visible !important;
    clip-path: none !important;
}

/* Chamfered Gothic Crystal Background Layer (kept on ::after so dropdowns NEVER get clipped!) */
.mythica-nav-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(9, 23, 52, 0.96) 0%, rgba(4, 10, 25, 0.98) 100%);
    border: 1px solid rgba(186, 230, 253, 0.36);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.78),
        0 0 28px rgba(29, 78, 216, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(56, 189, 248, 0.24);
    clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
}

/* Luminous top filigree line */
.mythica-nav-shell::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 2px;
    z-index: 2;
    background: linear-gradient(90deg, transparent, #38bdf8, #e2e8f0, #fbbf24, #e2e8f0, #38bdf8, transparent);
    pointer-events: none;
}

.mythica-brand,
.mythica-mobile-toggle,
.mythica-nav-collapse {
    position: relative;
    z-index: 5;
}

/* Left Brand Crest */
.mythica-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none !important;
    flex-shrink: 0;
}

.mythica-brand-emblem {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, rgba(15, 23, 42, 0.92) 75%);
    border: 1px solid rgba(186, 230, 253, 0.55);
    transform: rotate(45deg);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.40), inset 0 0 10px rgba(56, 189, 248, 0.35);
    flex-shrink: 0;
}

.mythica-brand-emblem i {
    transform: rotate(-45deg);
    font-size: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #7dd3fc 55%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.65));
}

.mythica-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.mythica-brand-top {
    font-family: var(--m-font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 5px;
    color: #cbd5e1;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.mythica-brand-main {
    font-family: var(--m-font-display);
    font-size: 23px;
    font-weight: 900;
    letter-spacing: 2.5px;
    background: linear-gradient(180deg, #ffffff 0%, #bae6fd 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 12px rgba(56, 189, 248, 0.45));
}

/* Center Navigation Links */
.mythica-nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mythica-nav-item {
    position: relative;
}

.mythica-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 15px;
    font-family: var(--m-font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #dbeafe !important;
    border-radius: 6px;
    position: relative;
    transition: all 0.24s ease;
}

.mythica-nav-link:hover,
.mythica-nav-link.active {
    color: #ffffff !important;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.14) 0%, rgba(29, 78, 216, 0.24) 100%);
    text-shadow: 0 0 14px rgba(56, 189, 248, 0.75);
}

.mythica-nav-link.active::after {
    content: "◆";
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    color: var(--m-gold);
    text-shadow: 0 0 8px var(--m-gold);
}

/* Hover + Click Dropdown in Navbar (Zero Clipping & Invisible Hover Bridge!) */
.mythica-dropdown {
    position: relative;
    z-index: 9500;
}

.mythica-dropdown-menu {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    bottom: auto !important;
    left: 0 !important;
    right: auto !important;
    min-width: 245px;
    margin: 0 !important;
    background: linear-gradient(180deg, rgba(8, 21, 48, 0.99) 0%, rgba(3, 9, 22, 0.99) 100%) !important;
    border: 1px solid rgba(125, 211, 252, 0.52) !important;
    border-radius: 10px !important;
    padding: 8px !important;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.92), 0 0 28px rgba(56, 189, 248, 0.28) !important;
    z-index: 9999 !important;
    transform: none !important;
}

/* Invisible hover bridge so moving mouse from button down to menu never loses hover */
.mythica-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
    background: transparent;
}

.mythica-dropdown-menu.dropdown-menu-end {
    right: 0 !important;
    left: auto !important;
}

@media (min-width: 992px) {
    .mythica-dropdown:hover > .mythica-dropdown-menu,
    .mythica-dropdown:focus-within > .mythica-dropdown-menu,
    .mythica-dropdown > .mythica-dropdown-menu.show {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

.mythica-dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 14px !important;
    font-family: var(--m-font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #dbeafe !important;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.mythica-dropdown-item i {
    width: 18px;
    text-align: center;
    color: var(--m-ice);
}

.mythica-dropdown-item:hover {
    background: rgba(56, 189, 248, 0.16) !important;
    color: var(--m-gold-bright) !important;
    transform: translateX(3px);
}

.mythica-dropdown-item:hover i {
    color: var(--m-gold);
}

/* Right Action Crest Buttons */
.mythica-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.mythica-mobile-toggle {
    display: none;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(186, 230, 253, 0.4);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
}

/* ============================================================================
   3. CHAMFERED FANTASY CREST BUTTONS
   ============================================================================ */
.mythica-btn,
.mythica-cta-blue,
.mythica-cta-gold,
.mythica-cta-silver {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 24px;
    font-family: var(--m-font-heading) !important;
    font-size: 12.5px;
    font-weight: 800 !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none !important;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
    border: 1px solid rgba(186, 230, 253, 0.45);
    background: linear-gradient(180deg, rgba(15, 35, 75, 0.9) 0%, rgba(7, 17, 40, 0.95) 100%);
    color: #f0f9ff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.mythica-btn.primary,
.mythica-cta-blue {
    background: linear-gradient(180deg, #0ea5e9 0%, #1d4ed8 55%, #172554 100%) !important;
    border: 1px solid #7dd3fc !important;
    color: #ffffff !important;
    box-shadow: 0 10px 28px rgba(14, 165, 233, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

.mythica-btn.primary:hover,
.mythica-cta-blue:hover {
    background: linear-gradient(180deg, #38bdf8 0%, #2563eb 55%, #1e3a8a 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(56, 189, 248, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
    color: #ffffff !important;
}

.mythica-btn.gold,
.mythica-cta-gold {
    background: linear-gradient(180deg, #fde047 0%, #f59e0b 52%, #b45309 100%) !important;
    border: 1px solid #fef08a !important;
    color: #090d16 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
}

.mythica-btn.gold:hover,
.mythica-cta-gold:hover {
    background: linear-gradient(180deg, #fef08a 0%, #fbbf24 55%, #d97706 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(251, 191, 36, 0.60) !important;
    color: #050811 !important;
}

.mythica-btn:hover,
.mythica-cta-silver:hover {
    border-color: #7dd3fc;
    background: linear-gradient(180deg, rgba(25, 58, 120, 0.95) 0%, rgba(11, 27, 62, 0.98) 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.mythica-btn-sm {
    padding: 9px 16px !important;
    font-size: 11px !important;
}

/* ============================================================================
   4. FULL-BLEED CINEMATIC GOTHIC FANTASY HERO (HOMEPAGE)
   ============================================================================ */
.mythica-cinematic-hero {
    position: relative;
    margin-top: -102px;
    padding: 175px 24px 115px;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(circle at 50% 48%, rgba(3, 8, 22, 0.35) 0%, rgba(2, 5, 13, 0.78) 68%, #02050d 100%),
        linear-gradient(180deg, rgba(2, 5, 13, 0.55) 0%, rgba(2, 5, 13, 0.18) 38%, rgba(2, 5, 13, 0.88) 88%, #02050d 100%),
        url('../images/mythica-hero-bg.jpg') center top / cover no-repeat;
    border-bottom: 1px solid rgba(186, 230, 253, 0.22);
    overflow: hidden;
}

.mythica-cinematic-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #38bdf8, #fbbf24, #38bdf8, transparent);
}

.mythica-hero-centerpiece {
    position: relative;
    z-index: 3;
    max-width: 820px;
    margin: 0 auto;
    padding: 36px 32px;
    background: radial-gradient(ellipse at center, rgba(3, 10, 26, 0.76) 0%, rgba(3, 10, 26, 0.32) 70%, transparent 100%);
    border-radius: 24px;
}

.mythica-crest-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 20px;
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.08), rgba(29, 78, 216, 0.34), rgba(14, 165, 233, 0.08));
    border-top: 1px solid rgba(186, 230, 253, 0.45);
    border-bottom: 1px solid rgba(186, 230, 253, 0.45);
    font-family: var(--m-font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--m-gold-bright);
    text-transform: uppercase;
    margin-bottom: 18px;
}

.mythica-grand-script {
    display: block;
    font-family: var(--m-font-heading);
    font-size: clamp(16px, 2.2vw, 24px);
    font-weight: 700;
    letter-spacing: 11px;
    color: #e2e8f0;
    text-transform: uppercase;
    margin-bottom: 4px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
}

.mythica-grand-title {
    font-family: var(--m-font-display);
    font-size: clamp(46px, 7.2vw, 88px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: 4px;
    margin: 0;
    background: linear-gradient(180deg, #ffffff 0%, #e0f2fe 38%, #38bdf8 74%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 6px 28px rgba(14, 165, 233, 0.55)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.95));
}

.mythica-ornament-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 20px auto;
    max-width: 460px;
}

.mythica-ornament-divider::before,
.mythica-ornament-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(186, 230, 253, 0.7), var(--m-gold));
}
.mythica-ornament-divider::after {
    background: linear-gradient(90deg, var(--m-gold), rgba(186, 230, 253, 0.7), transparent);
}

.mythica-ornament-gem {
    width: 12px;
    height: 12px;
    background: var(--m-ice);
    border: 2px solid #ffffff;
    transform: rotate(45deg);
    box-shadow: 0 0 14px var(--m-ice);
}

.mythica-grand-Lead {
    font-family: var(--m-font-heading);
    font-size: clamp(14px, 1.6vw, 19px);
    font-weight: 700;
    color: var(--m-gold-bright);
    letter-spacing: 1.5px;
    margin: 0 0 10px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}

.mythica-grand-sub {
    max-width: 650px;
    margin: 0 auto 30px;
    font-size: 15px;
    line-height: 1.75;
    color: #dbeafe;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.mythica-hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

/* ============================================================================
   5. OVERLAPPING 4-MEDALLION REALM STRIP
   ============================================================================ */
.mythica-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
}

.mythica-medallion-strip {
    margin-top: -54px;
    position: relative;
    z-index: 6;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 56px;
}

.mythica-medallion {
    background: linear-gradient(165deg, rgba(10, 26, 58, 0.96) 0%, rgba(4, 10, 24, 0.98) 100%);
    border: 1px solid rgba(186, 230, 253, 0.38);
    padding: 22px 20px;
    position: relative;
    clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.20);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s ease;
}

.mythica-medallion:hover {
    transform: translateY(-4px);
    border-color: var(--m-ice);
    box-shadow: 0 22px 48px rgba(14, 165, 233, 0.28);
}

.mythica-medallion-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(15, 23, 42, 0.9) 75%);
    border: 1px solid rgba(186, 230, 253, 0.45);
    border-radius: 12px;
    font-size: 21px;
    color: var(--m-gold);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.25);
}

.mythica-medallion-label {
    font-family: var(--m-font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: #93c5fd;
    text-transform: uppercase;
}

.mythica-medallion-val {
    font-family: var(--m-font-heading);
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    margin: 2px 0;
}

.mythica-medallion-sub {
    font-size: 11.5px;
    color: var(--m-silver-muted);
}

/* ============================================================================
   6. ORNATE SILVER-FILIGREE CARDS & SAPPHIRE TRAPEZOID CREST RIBBONS
      (Exact match to mythica-droplist.jpg & mythica-boss-drops.jpg!)
   ============================================================================ */
.mythica-section-header {
    text-align: center;
    margin: 56px auto 34px;
    max-width: 760px;
}

.mythica-section-eyebrow {
    display: inline-block;
    font-family: var(--m-font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--m-gold);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.mythica-section-heading {
    font-family: var(--m-font-display);
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 900;
    letter-spacing: 2px;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
}

.mythica-section-heading span {
    background: linear-gradient(180deg, #ffffff 0%, #7dd3fc 55%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mythica-section-desc {
    color: var(--m-silver-muted);
    font-size: 14.5px;
    line-height: 1.7;
    margin: 10px auto 0;
}

/* Ornate Filigree Card */
.mythica-ornate-card {
    position: relative;
    background:
        radial-gradient(circle at 50% 0%, rgba(29, 78, 216, 0.26) 0%, transparent 65%),
        linear-gradient(180deg, rgba(8, 21, 49, 0.94) 0%, rgba(3, 8, 20, 0.98) 100%);
    border: 1px solid rgba(186, 230, 253, 0.36);
    border-radius: 12px;
    padding: 0 22px 24px;
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.68),
        inset 0 0 0 1px rgba(56, 189, 248, 0.14);
    transition: all 0.26s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Silver corner filigree accents */
.mythica-ornate-card::before,
.mythica-ornate-card::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    pointer-events: none;
    transition: all 0.26s ease;
}

.mythica-ornate-card::before {
    top: 5px;
    left: 5px;
    border-top: 2px solid rgba(226, 232, 240, 0.72);
    border-left: 2px solid rgba(226, 232, 240, 0.72);
}

.mythica-ornate-card::after {
    bottom: 5px;
    right: 5px;
    border-bottom: 2px solid rgba(226, 232, 240, 0.72);
    border-right: 2px solid rgba(226, 232, 240, 0.72);
}

.mythica-ornate-card:hover {
    transform: translateY(-5px);
    border-color: rgba(125, 211, 252, 0.75);
    box-shadow:
        0 24px 52px rgba(2, 132, 199, 0.25),
        inset 0 0 24px rgba(56, 189, 248, 0.10);
}

.mythica-ornate-card:hover::before,
.mythica-ornate-card:hover::after {
    border-color: var(--m-gold);
    width: 28px;
    height: 28px;
}

/* Top Centered Sapphire Trapezoid Crest Ribbon (just like KI / SERA / DD1 in Boss Drops!) */
.mythica-crest-ribbon {
    margin: 0 auto 20px;
    padding: 8px 28px 9px;
    min-width: 68%;
    max-width: 92%;
    text-align: center;
    background: linear-gradient(180deg, #0284c7 0%, #1d4ed8 60%, #0f172a 100%);
    border-bottom: 2px solid #7dd3fc;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
    font-family: var(--m-font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.35);
}

.mythica-crest-ribbon.gold {
    background: linear-gradient(180deg, #f59e0b 0%, #b45309 65%, #451a03 100%);
    border-bottom-color: #fde68a;
    color: #fffbeb;
}

/* Subpage Hero Banner (for Features, Droplist, Rules, Download, Ranking, etc.) */
.mythica-subpage-hero,
.mythica-hero {
    position: relative;
    margin: 18px auto 38px;
    padding: 52px 44px;
    border: 1px solid rgba(186, 230, 253, 0.38);
    border-radius: 16px;
    background:
        linear-gradient(100deg, rgba(3, 9, 24, 0.95) 0%, rgba(6, 19, 46, 0.84) 55%, rgba(3, 9, 24, 0.72) 100%),
        url('../images/mythica-hero-bg.jpg') center 28% / cover no-repeat !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.20);
    overflow: hidden;
}

.mythica-subpage-hero::before,
.mythica-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #38bdf8, #fbbf24, #38bdf8, transparent);
}

.mythica-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(14, 165, 233, 0.14);
    border: 1px solid rgba(125, 211, 252, 0.40);
    border-radius: 4px;
    font-family: var(--m-font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--m-gold-bright);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.mythica-hero-title {
    font-family: var(--m-font-display);
    font-size: clamp(30px, 4.4vw, 50px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.mythica-hero-title span {
    background: linear-gradient(180deg, #ffffff 0%, #7dd3fc 52%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mythica-hero-copy {
    max-width: 680px;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 24px;
}

.mythica-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ============================================================================
   7. GRIDS: FEATURES, DROPS, ARTWORK SHOWCASE, LEADERBOARD, RULES
   ============================================================================ */
.mythica-home {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.mythica-section-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 48px 0 24px;
}

.mythica-section-title {
    font-family: var(--m-font-heading);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 900;
    letter-spacing: 1.8px;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mythica-section-title span {
    color: var(--m-ice);
}

.mythica-section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(186, 230, 253, 0.45), transparent);
}

.mythica-section-badge {
    padding: 5px 14px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.40);
    font-family: var(--m-font-heading);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1.6px;
    color: var(--m-gold-bright);
    text-transform: uppercase;
}

/* Features Grid */
.mythica-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.mythica-feature-card {
    position: relative;
    background:
        radial-gradient(circle at 50% 0%, rgba(29, 78, 216, 0.24) 0%, transparent 65%),
        linear-gradient(180deg, rgba(8, 21, 49, 0.94) 0%, rgba(3, 8, 20, 0.98) 100%);
    border: 1px solid rgba(186, 230, 253, 0.34);
    border-radius: 12px;
    padding: 26px 24px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.62);
    transition: all 0.25s ease;
}

.mythica-feature-card::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    width: 18px;
    height: 18px;
    border-top: 2px solid rgba(226, 232, 240, 0.65);
    border-left: 2px solid rgba(226, 232, 240, 0.65);
}

.mythica-feature-card::after {
    content: "";
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    border-bottom: 2px solid rgba(226, 232, 240, 0.65);
    border-right: 2px solid rgba(226, 232, 240, 0.65);
}

.mythica-feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--m-ice);
    box-shadow: 0 22px 48px rgba(14, 165, 233, 0.25);
}

.mythica-feature-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mythica-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.24), rgba(29, 78, 216, 0.35));
    border: 1px solid rgba(186, 230, 253, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--m-gold-bright);
}

.mythica-feature-tag {
    font-family: var(--m-font-heading);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--m-ice-light);
    background: rgba(14, 165, 233, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.30);
    padding: 4px 10px;
    border-radius: 4px;
}

.mythica-feature-card h3 {
    font-family: var(--m-font-heading);
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
    letter-spacing: 0.8px;
}

.mythica-feature-card p {
    font-size: 13.5px;
    line-height: 1.7;
    color: #b8c9de;
    margin: 0;
}

.mythica-feature-list {
    list-style: none;
    padding: 12px 0 0;
    margin: 12px 0 0;
    border-top: 1px solid rgba(186, 230, 253, 0.14);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.mythica-feature-list li {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--m-gold-bright);
    display: flex;
    align-items: center;
    gap: 7px;
}

.mythica-feature-list li i {
    color: var(--m-ice);
}

/* Official Drop List & Boss Drops Cards (Styled identically to the two JPGs!) */
.mythica-drop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.mythica-drop-card {
    position: relative;
    background:
        radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.22) 0%, transparent 65%),
        linear-gradient(180deg, rgba(8, 22, 52, 0.95) 0%, rgba(3, 8, 20, 0.98) 100%);
    border: 1px solid rgba(186, 230, 253, 0.40);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.68);
    transition: all 0.25s ease;
}

.mythica-drop-card:hover {
    transform: translateY(-4px);
    border-color: var(--m-ice);
    box-shadow: 0 22px 48px rgba(14, 165, 233, 0.28);
}

.mythica-drop-head {
    padding: 14px 20px;
    background: linear-gradient(90deg, rgba(29, 78, 216, 0.45) 0%, rgba(14, 165, 233, 0.24) 50%, rgba(15, 23, 42, 0.7) 100%);
    border-bottom: 1px solid rgba(186, 230, 253, 0.30);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mythica-drop-head h3 {
    font-family: var(--m-font-heading);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1.4px;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
}

.mythica-drop-badge {
    padding: 4px 10px;
    background: rgba(251, 191, 36, 0.16);
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: var(--m-gold-bright);
    font-family: var(--m-font-heading);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    border-radius: 4px;
}

.mythica-drop-body {
    padding: 16px 20px;
}

.mythica-drop-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px dashed rgba(186, 230, 253, 0.14);
    font-size: 13.5px;
    color: #e2e8f0;
}

.mythica-drop-row:last-child {
    border-bottom: none;
}

.mythica-drop-row strong {
    font-family: var(--m-font-heading);
    color: var(--m-gold);
    font-weight: 800;
    font-size: 13px;
}

/* Official Artwork Showcase Grid */
.mythica-artwork-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 24px 0 40px;
}

.mythica-artwork-card {
    background: linear-gradient(180deg, rgba(8, 22, 52, 0.95) 0%, rgba(3, 9, 22, 0.98) 100%);
    border: 1px solid rgba(186, 230, 253, 0.42);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.72);
    transition: all 0.28s ease;
}

.mythica-artwork-card:hover {
    transform: translateY(-5px);
    border-color: var(--m-gold);
    box-shadow: 0 26px 60px rgba(14, 165, 233, 0.30);
}

.mythica-artwork-img-wrap {
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
}

.mythica-artwork-img-wrap img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.mythica-artwork-card:hover .mythica-artwork-img-wrap img {
    transform: scale(1.03);
}

.mythica-artwork-foot {
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(186, 230, 253, 0.24);
}

.mythica-artwork-foot h4 {
    font-family: var(--m-font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px;
}

.mythica-artwork-foot span {
    font-size: 12px;
    color: var(--m-silver-muted);
}

/* Rules & Policy Cards */
.mythica-rules-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.mythica-rule-card {
    background: linear-gradient(165deg, rgba(8, 22, 52, 0.94) 0%, rgba(3, 9, 22, 0.98) 100%);
    border: 1px solid rgba(186, 230, 253, 0.34);
    border-radius: 12px;
    padding: 26px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    position: relative;
}

.mythica-rule-head {
    margin-bottom: 12px;
}

.mythica-rule-num {
    display: inline-block;
    font-family: var(--m-font-heading);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--m-gold);
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.mythica-rule-head h3 {
    font-family: var(--m-font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.mythica-rule-card p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.75;
    margin: 0;
}

/* Homepage Split Bento (Features + Hall of Legends Leaderboard) */
.mythica-bento-split {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 26px;
    align-items: start;
    margin-bottom: 56px;
}

.mythica-mini-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mythica-hall-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    margin-bottom: 10px;
    background: rgba(15, 32, 68, 0.55);
    border: 1px solid rgba(186, 230, 253, 0.20);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.mythica-hall-row:hover {
    border-color: var(--m-ice);
    background: rgba(29, 78, 216, 0.28);
}

.mythica-hall-rank {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--m-font-heading);
    font-weight: 900;
    font-size: 13px;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.40);
    color: var(--m-ice-light);
}

.mythica-hall-rank.top-1 {
    background: linear-gradient(135deg, #fde047, #d97706);
    border-color: #fef08a;
    color: #090d16;
}

.mythica-faction-bar {
    height: 12px;
    border-radius: 99px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(186, 230, 253, 0.25);
    overflow: hidden;
    display: flex;
}

.mythica-faction-light {
    background: linear-gradient(90deg, #0284c7, #38bdf8);
    height: 100%;
}

.mythica-faction-fury {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    height: 100%;
}

/* 3-Step Quickstart Strip */
.mythica-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 28px 0 48px;
}

/* ============================================================================
   8. SPRITES (FACTION & JOB ICONS FOR RANKINGS) & INNER PAGE NORMALIZATION
   ============================================================================ */
.margin-auto {
    margin: 0 auto !important;
}

.job-icon {
    display: block;
    position: relative;
    margin: 0 auto;
    width: 24px;
    height: 24px;
}
.job-icon.small { width: 16px; height: 16px; }
.job-0 { background: url('../images/job-0.png') no-repeat center / contain; }
.job-1 { background: url('../images/job-1.png') no-repeat center / contain; }
.job-2 { background: url('../images/job-2.png') no-repeat center / contain; }
.job-3 { background: url('../images/job-3.png') no-repeat center / contain; }
.job-4 { background: url('../images/job-4.png') no-repeat center / contain; }
.job-5 { background: url('../images/job-5.png') no-repeat center / contain; }

.faction-icon {
    width: 24px;
    height: 24px;
    margin: 0 auto;
    display: block;
}
.faction-icon.small { width: 16px; height: 16px; }
.faction-0 { background: url('../images/faction-light.png') no-repeat center / cover; }
.faction-1 { background: url('../images/faction-dark.png') no-repeat center / cover; }

.rank-icon {
    margin: 0 auto;
    width: 28px;
    height: 16px;
    display: block;
}
div.i0  { background: none; }
div.i1  { background: url('../images/ranks.png') no-repeat 0px   0px; }
div.i2  { background: url('../images/ranks.png') no-repeat 0px  -32px; }
div.i3  { background: url('../images/ranks.png') no-repeat 0px  -64px; }
div.i4  { background: url('../images/ranks.png') no-repeat 0px  -96px; }
div.i5  { background: url('../images/ranks.png') no-repeat 0px -128px; }
div.i6  { background: url('../images/ranks.png') no-repeat 0px -160px; }
div.i7  { background: url('../images/ranks.png') no-repeat 0px -192px; }
div.i8  { background: url('../images/ranks.png') no-repeat 0px -224px; }
div.i9  { background: url('../images/ranks.png') no-repeat 0px -256px; }
div.i10 { background: url('../images/ranks.png') no-repeat 0px -288px; }
div.i11 { background: url('../images/ranks.png') no-repeat 0px -320px; }
div.i12 { background: url('../images/ranks.png') no-repeat 0px -352px; }
div.i13 { background: url('../images/ranks.png') no-repeat 0px -384px; }
div.i14 { background: url('../images/ranks.png') no-repeat 0px -416px; }
div.i15 { background: url('../images/ranks.png') no-repeat 0px -448px; }
div.i16 { background: url('../images/ranks.png') no-repeat 0px -480px; }
div.i17 { background: url('../images/ranks.png') no-repeat -32px   0px; }
div.i18 { background: url('../images/ranks.png') no-repeat -32px -32px; }
div.i19 { background: url('../images/ranks.png') no-repeat -32px -64px; }
div.i20 { background: url('../images/ranks.png') no-repeat -32px -96px; }
div.i21 { background: url('../images/ranks.png') no-repeat -32px -128px; }
div.i22 { background: url('../images/ranks.png') no-repeat -32px -160px; }
div.i23 { background: url('../images/ranks.png') no-repeat -32px -192px; }
div.i24 { background: url('../images/ranks.png') no-repeat -32px -224px; }
div.i25 { background: url('../images/ranks.png') no-repeat -32px -256px; }
div.i26 { background: url('../images/ranks.png') no-repeat -32px -288px; }
div.i27 { background: url('../images/ranks.png') no-repeat -32px -320px; }
div.i28 { background: url('../images/ranks.png') no-repeat -32px -352px; }
div.i29 { background: url('../images/ranks.png') no-repeat -32px -384px; }
div.i30 { background: url('../images/ranks.png') no-repeat -32px -416px; }
div.i31 { background: url('../images/ranks.png') no-repeat -32px -448px; }
div.i32 { background: url('../images/ranks.png') no-repeat -32px -480px; }

/* Player & Staff Panel Gothic Sapphire Containers */
.home-wrap {
    display: flex;
    margin: 32px auto 64px;
    padding: 0 20px;
}

.onyx-box-header {
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.22) 0%, rgba(29, 78, 216, 0.35) 50%, rgba(14, 165, 233, 0.14) 100%) !important;
    border-bottom: 1px solid rgba(186, 230, 253, 0.30) !important;
    padding: 14px 20px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    color: #ffffff !important;
}

.onyx-box-content {
    padding: 24px;
}

.table {
    color: #e2e8f0 !important;
    --bs-table-bg: transparent !important;
    --bs-table-color: #e2e8f0 !important;
    --bs-table-border-color: rgba(186, 230, 253, 0.14) !important;
}
.table thead th {
    font-family: var(--m-font-heading);
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--m-gold-bright) !important;
    background: rgba(14, 165, 233, 0.12) !important;
    border-bottom: 1px solid rgba(186, 230, 253, 0.28) !important;
}

/* Inner Pages Unified Gothic Sapphire Theme */
.login-page, .register-page, .shop-page, .donate-page,
.weedo-download-page, .weedo-ranking-page, .bossrecords-page,
.vote-page, .pvp-page, .legacy-tiered {
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 32px 24px 84px !important;
}

.onyx-box, .login-panel, .register-panel, .shop-panel, .download-panel,
.weedo-ranking-list, .weedo-rank-card, .bossrecord-card,
.premium-portal-sidebar, .premium-portal-content, .step-panel,
.donate-notice, .vote-card, .pvp-table-wrap, .legacy-reward, .legacy-detail {
    background: linear-gradient(170deg, rgba(8, 22, 52, 0.94) 0%, rgba(3, 9, 22, 0.98) 100%) !important;
    border: 1px solid rgba(186, 230, 253, 0.34) !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.68) !important;
}

.download-hero, .weedo-ranking-hero, .bossrecords-header, .shop-hero, .pvp-hero, .vote-header, .legacy-hero {
    background:
        linear-gradient(100deg, rgba(3, 9, 24, 0.95) 0%, rgba(8, 25, 60, 0.85) 100%),
        url('../images/mythica-hero-bg.jpg') center 30% / cover no-repeat !important;
    border: 1px solid rgba(186, 230, 253, 0.38) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65) !important;
}

.download-title, .weedo-ranking-title, .bossrecords-title-wrap h1,
.login-panel-header, .register-panel-header, .onyx-box-header {
    font-family: var(--m-font-heading) !important;
    letter-spacing: 2px !important;
}

.login-input, .register-input, .premium-input, .form-control, .form-select, textarea {
    background: rgba(3, 9, 23, 0.90) !important;
    border: 1px solid rgba(186, 230, 253, 0.32) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
}

.login-input:focus, .register-input:focus, .form-control:focus, .form-select:focus, textarea:focus {
    border-color: var(--m-ice) !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.20) !important;
}

.btn-premium-login, .btn-premium-register, .download-action, .form-submit-mall {
    font-family: var(--m-font-heading) !important;
    background: linear-gradient(180deg, #fde047 0%, #f59e0b 55%, #b45309 100%) !important;
    border: 1px solid #fef08a !important;
    color: #090d16 !important;
    font-weight: 800 !important;
    letter-spacing: 1.4px !important;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}

.text-danger {
    color: var(--m-ice) !important;
}

.btn-danger {
    background: linear-gradient(180deg, #0ea5e9 0%, #1d4ed8 100%) !important;
    border: 1px solid #7dd3fc !important;
    color: #ffffff !important;
}

/* ============================================================================
   9. GOTHIC CATHEDRAL FOOTER & FULLSCREEN LIGHTBOX
   ============================================================================ */
.mythica-footer {
    background: linear-gradient(180deg, #030917 0%, #010308 100%);
    border-top: 1px solid rgba(186, 230, 253, 0.28);
    padding: 56px 24px 30px;
    position: relative;
    z-index: 5;
}

.mythica-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #38bdf8, #fbbf24, #38bdf8, transparent);
}

.mythica-footer-grid {
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(186, 230, 253, 0.12);
}

.mythica-footer-col h5 {
    font-family: var(--m-font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--m-gold-bright);
    text-transform: uppercase;
    margin: 0 0 16px;
}

.mythica-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mythica-footer-col ul li {
    margin-bottom: 9px;
}

.mythica-footer-col ul li a {
    color: var(--m-silver-muted);
    font-size: 13px;
    font-weight: 500;
}

.mythica-footer-col ul li a:hover {
    color: var(--m-ice-light);
    padding-left: 4px;
}

.mythica-footer-bottom {
    max-width: 1360px;
    margin: 22px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
    color: #64748b;
}

/* Lightbox */
.mythica-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(1, 4, 12, 0.94);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    cursor: zoom-out;
}
.mythica-lightbox.active {
    display: flex;
}
.mythica-lightbox img {
    max-width: 96vw;
    max-height: 92vh;
    border-radius: 12px;
    border: 2px solid #7dd3fc;
    box-shadow: 0 0 65px rgba(56, 189, 248, 0.40);
}

/* ============================================================================
   10. MYTHICA SANCTUM COMMAND HUB (PLAYER PANEL, WEBMALL, MILESTONES & RANKINGS)
   100% Bespoke Gothic Sapphire, Silver-Filigree & Mythic Gold — Zero Weedo!
   ============================================================================ */
.mythica-sanctum-wrap {
    max-width: 1380px;
    margin: 0 auto;
    padding: 18px 24px 84px;
}

.mythica-sanctum-banner {
    position: relative;
    padding: 32px 36px;
    margin-bottom: 26px;
    border-radius: 16px;
    border: 1px solid rgba(186, 230, 253, 0.42);
    background:
        linear-gradient(105deg, rgba(3, 9, 24, 0.96) 0%, rgba(8, 24, 58, 0.88) 55%, rgba(4, 12, 30, 0.92) 100%),
        url('../images/mythica-hero-bg.jpg') center 28% / cover no-repeat;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    overflow: hidden;
}

.mythica-sanctum-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #38bdf8, #fbbf24, #38bdf8, transparent);
}

.mythica-sanctum-identity {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mythica-sanctum-crest {
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.30) 0%, rgba(7, 17, 40, 0.96) 76%);
    border: 2px solid rgba(186, 230, 253, 0.65);
    transform: rotate(45deg);
    box-shadow: 0 0 26px rgba(56, 189, 248, 0.42), inset 0 0 12px rgba(56, 189, 248, 0.30);
    flex-shrink: 0;
}

.mythica-sanctum-crest i {
    transform: rotate(-45deg);
    font-size: 26px;
    color: var(--m-gold-bright);
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.6));
}

.mythica-sanctum-role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    background: rgba(251, 191, 36, 0.14);
    border: 1px solid rgba(251, 191, 36, 0.45);
    border-radius: 4px;
    font-family: var(--m-font-heading);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--m-gold-bright);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.mythica-sanctum-user {
    font-family: var(--m-font-display);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1.1;
}

.mythica-sanctum-vaults {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.mythica-vault-pill {
    padding: 12px 20px;
    background: linear-gradient(165deg, rgba(8, 23, 54, 0.94), rgba(3, 9, 23, 0.98));
    border: 1px solid rgba(125, 211, 252, 0.42);
    border-radius: 10px;
    min-width: 150px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.mythica-vault-pill.vip {
    border-color: rgba(251, 191, 36, 0.50);
    background: linear-gradient(165deg, rgba(45, 28, 6, 0.78), rgba(8, 13, 28, 0.96));
}

.mythica-vault-label {
    font-family: var(--m-font-heading);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #93c5fd;
    display: block;
}

.mythica-vault-pill.vip .mythica-vault-label {
    color: var(--m-gold-bright);
}

.mythica-vault-val {
    font-family: var(--m-font-heading);
    font-size: 21px;
    font-weight: 900;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

/* Sanctum 2-Column Command Grid */
.mythica-sanctum-grid {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.mythica-sanctum-nav-group {
    font-family: var(--m-font-heading);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.2px;
    color: var(--m-gold);
    text-transform: uppercase;
    padding: 14px 12px 6px;
    margin-top: 6px;
    border-top: 1px solid rgba(186, 230, 253, 0.12);
}

.mythica-sanctum-nav-group:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 4px;
}

.mythica-sanctum-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    margin-bottom: 5px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-family: var(--m-font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.1px;
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: all 0.22s ease;
}

.mythica-sanctum-link .nav-ico {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(186, 230, 253, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--m-ice);
    margin-right: 10px;
    transition: all 0.22s ease;
}

.mythica-sanctum-link:hover {
    background: rgba(29, 78, 216, 0.24);
    border-color: rgba(125, 211, 252, 0.35);
    color: #ffffff !important;
    transform: translateX(3px);
}

.mythica-sanctum-link.active {
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.28) 0%, rgba(29, 78, 216, 0.36) 100%);
    border-color: rgba(125, 211, 252, 0.65);
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(14, 165, 233, 0.22);
}

.mythica-sanctum-link.active .nav-ico {
    background: linear-gradient(135deg, #fde047, #d97706);
    border-color: #fef08a;
    color: #090d16;
}

.mythica-sanctum-link.staff .nav-ico {
    color: var(--m-gold);
    border-color: rgba(251, 191, 36, 0.35);
    background: rgba(251, 191, 36, 0.10);
}

/* Sanctum Character Roster Cards */
.mythica-char-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mythica-char-card {
    background: linear-gradient(165deg, rgba(10, 26, 60, 0.88), rgba(4, 10, 24, 0.96));
    border: 1px solid rgba(186, 230, 253, 0.32);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.24s ease;
}

.mythica-char-card:hover {
    border-color: var(--m-ice);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(14, 165, 233, 0.22);
}

/* Royal VIP WebMall Emporium */
.mythica-mall-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(186, 230, 253, 0.16);
}

.mythica-mall-cat {
    padding: 9px 18px;
    font-family: var(--m-font-heading);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #cbd5e1 !important;
    background: rgba(8, 21, 48, 0.85);
    border: 1px solid rgba(186, 230, 253, 0.28);
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
    transition: all 0.22s ease;
}

.mythica-mall-cat:hover {
    border-color: var(--m-ice);
    color: #ffffff !important;
}

.mythica-mall-cat.active {
    background: linear-gradient(180deg, #fde047 0%, #f59e0b 55%, #b45309 100%);
    border-color: #fef08a;
    color: #090d16 !important;
}

.mythica-mall-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Sanctum Form Inputs & Staff Citadel Harmonization */
.mythica-sanctum-wrap .form-control,
.mythica-sanctum-wrap .form-select {
    background: rgba(3, 10, 26, 0.88) !important;
    border: 1px solid rgba(125, 211, 252, 0.32) !important;
    border-radius: 8px !important;
    color: #f8fafc !important;
    font-family: var(--m-font-body);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mythica-sanctum-wrap .form-control:focus,
.mythica-sanctum-wrap .form-select:focus {
    border-color: var(--m-ice) !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.20) !important;
    outline: none;
}

.mythica-sanctum-wrap .text-danger {
    color: var(--m-gold-bright) !important;
}

.mythica-sanctum-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(186, 230, 253, 0.18);
}

.mythica-sanctum-title {
    font-family: var(--m-font-display);
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 900;
    letter-spacing: 1.8px;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
}

.mythica-sanctum-title span {
    background: linear-gradient(180deg, #ffffff 0%, #bae6fd 45%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mythica-sanctum-sub {
    font-family: var(--m-font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: #93c5fd;
    text-transform: uppercase;
    margin: 5px 0 0;
}

.mythica-alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-family: var(--m-font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mythica-alert.error {
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(248, 113, 113, 0.48);
    color: #fecaca;
}

.mythica-alert.success {
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(52, 211, 153, 0.48);
    color: #a7f3d0;
}

.mythica-alert.info {
    background: rgba(14, 165, 233, 0.14);
    border: 1px solid rgba(125, 211, 252, 0.42);
    color: #e0f2fe;
}

.mythica-mall-card {
    position: relative;
    background:
        radial-gradient(circle at 50% 0%, rgba(29, 78, 216, 0.26) 0%, transparent 65%),
        linear-gradient(180deg, rgba(9, 23, 54, 0.95) 0%, rgba(3, 9, 22, 0.98) 100%);
    border: 1px solid rgba(186, 230, 253, 0.36);
    border-radius: 12px;
    padding: 20px 18px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.65);
    transition: all 0.25s ease;
}

.mythica-mall-card:hover {
    transform: translateY(-5px);
    border-color: var(--m-gold);
    box-shadow: 0 22px 48px rgba(14, 165, 233, 0.28);
}

.mythica-mall-icon-frame {
    width: 68px;
    height: 68px;
    margin: 6px auto 14px;
    border-radius: 12px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(2, 6, 17, 0.95) 78%);
    border: 1px solid rgba(186, 230, 253, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 14px rgba(56, 189, 248, 0.25);
}

.mythica-mall-icon-frame img {
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
}

.mythica-mall-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 9px;
    font-family: var(--m-font-heading);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    background: rgba(251, 191, 36, 0.18);
    border: 1px solid rgba(251, 191, 36, 0.55);
    color: var(--m-gold-bright);
}

.mythica-qty-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 7, 19, 0.9);
    border: 1px solid rgba(186, 230, 253, 0.28);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.mythica-qty-btn {
    background: rgba(14, 165, 233, 0.14);
    border: none;
    color: #fff;
    width: 34px;
    height: 32px;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.2s;
}
.mythica-qty-btn:hover {
    background: rgba(56, 189, 248, 0.35);
}

.mythica-qty-input {
    width: 46px;
    height: 32px;
    border: none;
    background: transparent;
    color: #ffffff;
    text-align: center;
    font-family: var(--m-font-heading);
    font-weight: 800;
    font-size: 13px;
}

/* Gothic Sapphire Modal Overlay (WebMall, PvP Spoils, Tiered Milestones) */
.mythica-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(1, 5, 15, 0.88);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mythica-modal-card {
    width: 100%;
    max-width: 460px;
    background:
        radial-gradient(circle at 50% 0%, rgba(29, 78, 216, 0.32) 0%, transparent 65%),
        linear-gradient(180deg, rgba(8, 22, 52, 0.98) 0%, rgba(3, 8, 20, 0.99) 100%);
    border: 1px solid rgba(125, 211, 252, 0.55);
    border-radius: 14px;
    padding: 0 28px 28px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.92), 0 0 36px rgba(56, 189, 248, 0.25);
    text-align: center;
    position: relative;
}

/* Tiered Spender Milestone Selector & Progress */
.mythica-tier-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.mythica-tier-pill {
    background: linear-gradient(180deg, rgba(8, 21, 49, 0.92), rgba(3, 9, 22, 0.98));
    border: 1px solid rgba(186, 230, 253, 0.28);
    border-radius: 10px;
    padding: 14px 12px;
    text-align: center;
    cursor: pointer;
    color: #e2e8f0;
    transition: all 0.22s ease;
}

.mythica-tier-pill:hover {
    border-color: var(--m-ice);
    transform: translateY(-2px);
}

.mythica-tier-pill.active {
    border-color: var(--m-gold);
    background: linear-gradient(180deg, rgba(29, 78, 216, 0.38), rgba(8, 20, 46, 0.98));
    box-shadow: 0 10px 26px rgba(251, 191, 36, 0.20);
}

.mythica-progress-bar {
    height: 14px;
    background: rgba(2, 6, 18, 0.9);
    border: 1px solid rgba(186, 230, 253, 0.30);
    border-radius: 99px;
    overflow: hidden;
    margin: 16px 0;
}

.mythica-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0284c7, #38bdf8, #fbbf24);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.65);
    transition: width 0.4s ease;
}

/* Hall of Legends Podium & Gothic Table */
.mythica-podium-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 32px;
    align-items: end;
}

.mythica-gothic-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.mythica-gothic-table thead th {
    font-family: var(--m-font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--m-gold-bright);
    padding: 10px 16px;
    border: none;
}

.mythica-gothic-table tbody tr {
    background: rgba(8, 22, 52, 0.78);
    transition: all 0.2s ease;
}

.mythica-gothic-table tbody tr:hover {
    background: rgba(29, 78, 216, 0.32);
}

.mythica-gothic-table tbody td {
    padding: 14px 16px;
    border-top: 1px solid rgba(186, 230, 253, 0.20);
    border-bottom: 1px solid rgba(186, 230, 253, 0.20);
    color: #e2e8f0;
    font-size: 13.5px;
    vertical-align: middle;
}

.mythica-gothic-table tbody td:first-child {
    border-left: 1px solid rgba(186, 230, 253, 0.20);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.mythica-gothic-table tbody td:last-child {
    border-right: 1px solid rgba(186, 230, 253, 0.20);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* ============================================================================
   10.5. ROYAL STAFF CITADEL — ADMIN COMMAND DECK COMPONENTS
   ============================================================================ */
.mythica-citadel-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.mythica-citadel-kpi {
    position: relative;
    padding: 18px 20px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(8, 22, 54, 0.90) 0%, rgba(4, 11, 28, 0.95) 100%);
    border: 1px solid rgba(186, 230, 253, 0.28);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
}

.mythica-citadel-kpi.gold {
    border-color: rgba(251, 191, 36, 0.45);
    background: linear-gradient(145deg, rgba(42, 28, 8, 0.65) 0%, rgba(6, 15, 36, 0.95) 100%);
}

.mythica-citadel-kpi-ico {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    background: rgba(14, 165, 233, 0.14);
    border: 1px solid rgba(125, 211, 252, 0.38);
    color: #7dd3fc;
    flex-shrink: 0;
}

.mythica-citadel-kpi.gold .mythica-citadel-kpi-ico {
    background: rgba(245, 158, 11, 0.16);
    border-color: rgba(251, 191, 36, 0.50);
    color: #fde047;
}

.mythica-citadel-kpi-label {
    font-family: var(--m-font-heading);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 3px;
}

.mythica-citadel-kpi-val {
    font-family: var(--m-font-display);
    font-size: 21px;
    font-weight: 900;
    color: #f8fafc;
    line-height: 1.15;
}

.mythica-citadel-subcard {
    background: linear-gradient(180deg, rgba(7, 19, 46, 0.78) 0%, rgba(3, 9, 24, 0.88) 100%);
    border: 1px solid rgba(186, 230, 253, 0.22);
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.mythica-citadel-subcard.gold-trim {
    border-color: rgba(251, 191, 36, 0.36);
}

.mythica-citadel-subcard.crimson-trim {
    border-color: rgba(248, 113, 113, 0.38);
    background: linear-gradient(180deg, rgba(45, 10, 20, 0.55) 0%, rgba(6, 12, 28, 0.90) 100%);
}

.mythica-citadel-subhead {
    font-family: var(--m-font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #fde047;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.mythica-citadel-label {
    display: block;
    font-family: var(--m-font-heading);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #bae6fd;
    margin-bottom: 6px;
}

.mythica-citadel-input,
.mythica-citadel-select {
    width: 100%;
    background: rgba(3, 9, 23, 0.88) !important;
    border: 1px solid rgba(186, 230, 253, 0.30) !important;
    border-radius: 8px !important;
    color: #f8fafc !important;
    padding: 10px 13px !important;
    font-size: 13.5px !important;
    transition: all 0.2s ease;
}

.mythica-citadel-input:focus,
.mythica-citadel-select:focus {
    outline: none !important;
    border-color: #fbbf24 !important;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18) !important;
}

.mythica-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    font-family: var(--m-font-heading);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.mythica-pill-badge.gold {
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(251, 191, 36, 0.55);
    color: #fde047;
}

.mythica-pill-badge.ice {
    background: rgba(14, 165, 233, 0.18);
    border: 1px solid rgba(125, 211, 252, 0.50);
    color: #7dd3fc;
}

.mythica-pill-badge.emerald {
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(52, 211, 153, 0.50);
    color: #6ee7b7;
}

.mythica-pill-badge.crimson {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(248, 113, 113, 0.55);
    color: #fca5a5;
}

.mythica-pill-badge.silver {
    background: rgba(148, 163, 184, 0.14);
    border: 1px solid rgba(203, 213, 225, 0.30);
    color: #cbd5e1;
}

.mythica-radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
    gap: 8px;
}

.mythica-radio-chip input[type="radio"] {
    display: none;
}

.mythica-radio-chip span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 8px;
    border-radius: 8px;
    border: 1px solid rgba(186, 230, 253, 0.24);
    background: rgba(4, 12, 30, 0.85);
    color: #cbd5e1;
    font-family: var(--m-font-heading);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.18s ease;
    text-align: center;
}

.mythica-radio-chip input[type="radio"]:checked + span {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.28) 0%, rgba(180, 83, 9, 0.38) 100%);
    border-color: #fbbf24;
    color: #fef08a;
    box-shadow: 0 0 14px rgba(251, 191, 36, 0.25);
}

.mythica-cta-crimson {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    font-family: var(--m-font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #fff1f2 !important;
    text-decoration: none !important;
    background: linear-gradient(180deg, #ef4444 0%, #b91c1c 60%, #7f1d1d 100%);
    border: 1px solid #fca5a5;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
    box-shadow: 0 8px 22px rgba(185, 28, 28, 0.35);
    cursor: pointer;
    transition: all 0.22s ease;
}

.mythica-cta-crimson:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    color: #ffffff !important;
}

.mythica-autocomplete-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 230px;
    overflow-y: auto;
    background: rgba(4, 12, 31, 0.98);
    border: 1px solid rgba(251, 191, 36, 0.55);
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none;
}

.mythica-autocomplete-item {
    padding: 9px 13px;
    border-bottom: 1px solid rgba(186, 230, 253, 0.10);
    font-size: 12.5px;
    color: #e2e8f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s ease;
}

.mythica-autocomplete-item:hover {
    background: rgba(245, 158, 11, 0.18);
    color: #fef08a;
}

/* ============================================================================
   11. RESPONSIVE BREAKPOINTS
   ============================================================================ */
@media (max-width: 1120px) {
    .mythica-medallion-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .mythica-bento-split,
    .mythica-sanctum-grid {
        grid-template-columns: 1fr;
    }
    .mythica-feature-grid,
    .mythica-drop-grid,
    .mythica-mall-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mythica-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .mythica-mobile-toggle {
        display: inline-flex;
    }
    .mythica-nav-collapse {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        background: rgba(4, 11, 27, 0.98);
        border: 1px solid rgba(186, 230, 253, 0.35);
        border-radius: 12px;
        padding: 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        z-index: 1050;
    }
    .mythica-nav-collapse.open {
        display: flex;
    }
    .mythica-nav-shell {
        clip-path: none;
        border-radius: 12px;
        overflow: visible;
    }
    .mythica-nav-menu {
        flex-direction: column;
        align-items: stretch;
    }
    .mythica-nav-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 680px) {
    .mythica-realm-bar {
        display: none;
    }
    .mythica-cinematic-hero {
        margin-top: -92px;
        padding: 135px 16px 85px;
        min-height: 580px;
    }
    .mythica-medallion-strip,
    .mythica-feature-grid,
    .mythica-drop-grid,
    .mythica-artwork-grid,
    .mythica-rules-grid,
    .mythica-mini-features,
    .mythica-steps-grid,
    .mythica-footer-grid,
    .mythica-char-grid,
    .mythica-mall-grid,
    .mythica-podium-grid {
        grid-template-columns: 1fr;
    }
}
