/* MapleCore ModernHomepage — static clone (approx. 1:1 layout / spacing / hierarchy) */

html.mc-home {
    scroll-behavior: smooth;
}

#features,
#news-data,
#rankings,
#download {
    scroll-margin-top: 5.5rem;
}

body.mc-home-body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #f1f5f9;
    background: transparent;
}

body.mc-home-body::before,
body.mc-home-body::after {
    display: none;
}

#bg-video,
body.mc-home-body .video-overlay {
    display: none !important;
}

.mc-hide {
    display: none !important;
}

.mc-sr-focus:focus {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}

/* --------- Loading overlay (approx. MapleStoryLoadingScreen pause) --------- */
.mc-loading {
    position: fixed;
    inset: 0;
    z-index: 100002;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mc-loading.mc-loading-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mc-loading-brand {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.mc-loading-brand span {
    background: linear-gradient(90deg, #60a5fa, #c084fc, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mc-loading-bar {
    width: min(320px, 80vw);
    height: 6px;
    border-radius: 999px;
    background: #334155;
    overflow: hidden;
}

.mc-loading-bar > i {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    border-radius: 999px;
    transition: width 0.15s ease;
}

.mc-loading-msg {
    margin-top: 1rem;
    font-size: 14px;
    color: #94a3b8;
}

/* --------- Page shell & background (matches ModernHomepage outer + grid) --------- */
.mc-page {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background: linear-gradient(to bottom right, #0f172a, #1e293b, #0f172a);
}

.mc-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.mc-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(59, 130, 246, 0.19) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(59, 130, 246, 0.19) 1px, transparent 1px);
    background-size: 80px 80px;
}

.mc-bg-blob {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    filter: blur(64px);
}

.mc-bg-blob-a {
    top: 5rem;
    left: 5rem;
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.2));
}

.mc-bg-blob-b {
    bottom: 5rem;
    right: 5rem;
    background: linear-gradient(to bottom right, rgba(6, 182, 212, 0.2), rgba(236, 72, 153, 0.2));
}

.mc-z-main {
    position: relative;
    z-index: 10;
}

/* --------- Sticky header --------- */
.mc-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.mc-header-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4rem;
}

@media (min-width: 640px) {
    .mc-header-inner {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .mc-header-inner {
        padding: 0 2rem;
    }
}

.mc-header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.mc-logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mc-logo-img {
    height: 2.75rem;
    width: auto;
    object-fit: contain;
    display: none;
}

.mc-logo-img[src]:not([src=""]) {
    display: block;
}

.mc-logo-text {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: #f8fafc;
    line-height: 1;
}

.mc-logo-text span {
    background: linear-gradient(90deg, #60a5fa, #c084fc, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mc-nav-desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .mc-nav-desktop {
        display: flex;
    }
}

.mc-nav-desktop a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s ease;
}

.mc-nav-desktop a:hover {
    color: #60a5fa;
}

.mc-header-actions {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .mc-header-actions {
        display: flex;
    }
}

@media (max-width: 767px) {
    html.mc-user-logged-in .mc-header-actions {
        display: flex !important;
    }
}

.mc-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.mc-btn-signin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #cbd5e1;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.15s ease;
}

.mc-btn-signin:hover {
    color: #60a5fa;
}

.mc-btn-getstarted {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to right, #2563eb, #0891b2);
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.22);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mc-btn-getstarted:hover {
    filter: brightness(1.06);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.35);
}

html.mc-user-logged-in .mc-guest-only {
    display: none !important;
}

.mc-user-only {
    display: none !important;
    align-items: center;
    gap: 0.5rem;
}

html.mc-user-logged-in .mc-user-only {
    display: flex !important;
}

#mc-account-slot {
    align-items: center;
    gap: 0.5rem;
}

.mc-account-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    max-width: 22rem;
}

.mc-account-inner .mc-chip-user {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #e2e8f0;
    padding: 0.35rem 0.65rem;
    background: rgba(51, 65, 85, 0.6);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.mc-account-inner .mc-mini-link {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    font-weight: 600;
}

.mc-mini-dash {
    background: linear-gradient(to right, #2563eb, #0891b2);
    color: #fff;
}

.mc-mini-out {
    background: #334155;
    color: #e2e8f0;
}

.mc-mobile-toggle {
    display: flex;
    padding: 0.5rem;
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    border-radius: 0.5rem;
}

.mc-mobile-toggle:hover {
    color: #60a5fa;
}

@media (min-width: 768px) {
    .mc-mobile-toggle {
        display: none;
    }
}

/* --------- Login modal --------- */
.mc-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 1rem;
}

.mc-modal-backdrop.mc-open {
    display: flex;
}

.mc-modal-panel {
    width: 100%;
    max-width: 28rem;
    padding: 2rem;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 1.5rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.mc-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mc-modal-head h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.mc-modal-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 0;
}

.mc-modal-close:hover {
    color: #e2e8f0;
}

.mc-form-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mc-form-grid label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 0.35rem;
}

.mc-form-grid input[type="text"],
.mc-form-grid input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #0f172a;
    border: 1px solid #475569;
    border-radius: 0.75rem;
    color: #fff;
    font-size: 0.9375rem;
    font-family: inherit;
    box-sizing: border-box;
}

.mc-form-grid input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.mc-form-grid .error-message {
    display: none;
    padding: 0.75rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
    color: #b91c1c;
    font-size: 0.875rem;
}

.mc-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #cbd5e1;
}

.mc-btn-submit-login {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to right, #2563eb, #0891b2);
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
}

.mc-btn-submit-login:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.mc-modal-foot {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #94a3b8;
}

.mc-modal-foot a {
    color: #60a5fa;
    font-weight: 600;
    text-decoration: none;
}

.mc-modal-foot a:hover {
    color: #93c5fd;
}

/* --------- Mobile drawer --------- */
.mc-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: none;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.mc-drawer-overlay.mc-open {
    display: block;
}

.mc-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 99995;
    width: 20rem;
    background: #0f172a;
    border-left: 1px solid #334155;
    box-shadow: -24px 0 48px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mc-drawer.mc-open {
    transform: translateX(0);
}

.mc-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #334155;
}

.mc-drawer-head h2 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
}

.mc-drawer-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mc-drawer-body a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    color: #cbd5e1;
    text-decoration: none;
}

.mc-drawer-body a:hover {
    background: #1e293b;
}

.mc-drawer-divider {
    border-top: 1px solid #334155;
    margin: 1rem 0 0;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mc-drawer-actions {
    padding: 0 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* --------- Hero --------- */
.mc-hero {
    position: relative;
    padding: 5rem 1rem;
}

@media (min-width: 640px) {
    .mc-hero {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .mc-hero {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.mc-hero-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .mc-hero-inner {
        grid-template-columns: 1fr 1fr;
    }
}

.mc-hero-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mc-pill-online {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: rgba(239, 246, 255, 0.95);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1d4ed8;
}

.mc-h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.03em;
}

.mc-h1 .mc-h1-accent {
    display: block;
    margin-top: 0.35rem;
    background: linear-gradient(to right, #60a5fa, #c084fc, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mc-lead {
    font-size: 1.25rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin: 0;
    max-width: 36rem;
}

.mc-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.mc-btn-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to right, #2563eb, #0891b2);
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    box-shadow: 0 14px 40px rgba(37, 99, 235, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mc-btn-primary-lg:hover {
    transform: scale(1.03);
    box-shadow: 0 18px 48px rgba(37, 99, 235, 0.42);
}

.mc-btn-outline-lg {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #cbd5e1;
    background: #1e293b;
    border: 2px solid #475569;
    border-radius: 1rem;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.mc-btn-outline-lg:hover {
    border-color: #3b82f6;
    color: #60a5fa;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.mc-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 0.25rem;
}

.mc-stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mc-stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mc-stat-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #fff;
}

.mc-g-blue {
    background: linear-gradient(to bottom right, #3b82f6, #06b6d4);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.mc-g-purple {
    background: linear-gradient(to bottom right, #a855f7, #ec4899);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.25);
}

.mc-stat-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.mc-stat-lbl {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Hero visual */
.mc-hero-visual {
    position: relative;
}

.mc-orbit-wrap {
    position: relative;
    aspect-ratio: 1;
    max-width: 32rem;
    margin: 0 auto;
}

.mc-orbit-ping {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-orbit-ping::before,
.mc-orbit-ping::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(191, 219, 254, 0.35);
    animation: mc-ping 3s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.mc-orbit-ping::after {
    width: 80%;
    height: 80%;
    animation-delay: 0.5s;
    animation-duration: 2s;
}

.mc-orbit-ping::before {
    width: 100%;
    height: 100%;
}

@keyframes mc-ping {
    0% {
        transform: scale(0.92);
        opacity: 0.7;
    }
    70%, 100% {
        transform: scale(1.05);
        opacity: 0;
    }
}

.mc-logo-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-logo-stack {
    position: relative;
    text-align: center;
}

.mc-logo-glow-behind {
    position: absolute;
    inset: -2rem;
    background: linear-gradient(to right, #2563eb, #9333ea, #db2777);
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.22;
    z-index: 0;
}

.mc-logo-stack-inner {
    position: relative;
    z-index: 1;
    transition: transform 0.35s ease;
}

.mc-logo-stack:hover .mc-logo-stack-inner {
    transform: scale(1.06);
}

.mc-logo-big {
    width: 14rem;
    height: 14rem;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

.mc-logo-big.mc-logo-big-fallback {
    width: auto;
    height: auto;
    padding: 2rem 2.25rem;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.03em;
    line-height: 1;
}

.mc-logo-big.mc-logo-big-fallback span {
    background: linear-gradient(to right, #60a5fa, #c084fc, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mc-float-pill {
    position: absolute;
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid #475569;
    border-radius: 1rem;
    padding: 0.65rem 0.95rem;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: mc-float 4s ease-in-out infinite;
}

.mc-float-a {
    top: 1.75rem;
    left: -0.25rem;
    animation-duration: 3.2s;
}

.mc-float-b {
    bottom: 4.5rem;
    right: -0.35rem;
    animation-duration: 3.8s;
    animation-delay: 0.35s;
}

.mc-float-c {
    top: 46%;
    right: -1.25rem;
    animation-duration: 3.5s;
    animation-delay: 0.15s;
}

@keyframes mc-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.mc-float-pill span.mc-fp-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #f1f5f9;
}

/* --------- Features grid --------- */
.mc-features {
    padding: 6rem 1rem;
    background: linear-gradient(to bottom, rgba(30, 41, 59, 0.45), rgba(15, 23, 42, 0.85));
    border-top: 1px solid rgba(51, 65, 85, 0.5);
}

@media (min-width: 640px) {
    .mc-features {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.mc-features-inner {
    max-width: 80rem;
    margin: 0 auto;
}

.mc-features-head {
    text-align: center;
    margin-bottom: 4rem;
}

.mc-h2-features {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 1rem;
    letter-spacing: -0.025em;
    background: linear-gradient(to right, #60a5fa, #c084fc, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mc-features-sub {
    font-size: 1.125rem;
    color: #cbd5e1;
    margin: 0;
}

.mc-features-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .mc-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .mc-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .mc-features-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.mc-feature-card {
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(8px);
    border: 2px solid #334155;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mc-feature-card:hover {
    transform: scale(1.04);
    border-color: #3b82f6;
    box-shadow: 0 22px 50px rgba(37, 99, 235, 0.2);
}

.mc-f-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.mc-f-icon svg {
    width: 2rem;
    height: 2rem;
    color: #fff;
}

.mc-feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
}

.mc-feature-card p {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #cbd5e1;
    margin: 0;
}

/* gradient icon backgrounds */
.mc-g-red { background: linear-gradient(to bottom right, #ef4444, #e11d48); }
.mc-g-amber { background: linear-gradient(to bottom right, #f59e0b, #ea580c); }
.mc-g-violet { background: linear-gradient(to bottom right, #a855f7, #7c3aed); }
.mc-g-blue { background: linear-gradient(to bottom right, #3b82f6, #0891b2); }
.mc-g-emerald { background: linear-gradient(to bottom right, #10b981, #16a34a); }
.mc-g-orange { background: linear-gradient(to bottom right, #f97316, #dc2626); }
.mc-g-indigo { background: linear-gradient(to bottom right, #6366f1, #9333ea); }
.mc-g-pink { background: linear-gradient(to bottom right, #ec4899, #e11d48); }
.mc-g-slate { background: linear-gradient(to bottom right, #64748b, #475569); }

/* --------- News & rankings (same surface language, below features) --------- */
.mc-data {
    padding: 4rem 1rem 5rem;
    border-top: 1px solid rgba(51, 65, 85, 0.4);
}

.mc-data-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .mc-data-inner {
        grid-template-columns: 1fr 1fr;
    }
}

.mc-panel {
    background: rgba(30, 41, 59, 0.75);
    border: 2px solid #334155;
    border-radius: 1rem;
    padding: 1.5rem;
}

.mc-panel h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.35rem;
}

.mc-panel .mc-panel-sub {
    font-size: 0.875rem;
    color: #94a3b8;
    margin: 0 0 1.25rem;
}

.mc-panel .news-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mc-panel .news-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding: 0.65rem 0.75rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 0.5rem;
    border-left: 3px solid transparent;
}

.mc-panel .news-item:hover {
    border-left-color: #3b82f6;
    background: rgba(15, 23, 42, 0.75);
}

.mc-panel .news-item a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
}

.mc-panel .news-item:hover a {
    color: #60a5fa;
}

.mc-panel .ranking-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.35rem;
}

.mc-panel .ranking-table th {
    text-align: left;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    padding: 0.5rem 0.65rem;
}

.mc-panel .ranking-table td {
    padding: 0.55rem 0.65rem;
    font-size: 0.8125rem;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.45);
}

.mc-panel .ranking-table tbody tr td:first-child {
    border-radius: 0.5rem 0 0 0.5rem;
}

.mc-panel .ranking-table tbody tr td:last-child {
    border-radius: 0 0.5rem 0.5rem 0;
}

.mc-panel .char-name {
    color: #60a5fa;
    font-weight: 700;
}

.mc-panel .rank.gold { color: #fbbf24; font-weight: 800; }
.mc-panel .rank.silver { color: #e2e8f0; font-weight: 700; }
.mc-panel .rank.bronze { color: #fb923c; font-weight: 700; }

/* --------- Footer CTA --------- */
.mc-footer-cta {
    position: relative;
    padding: 6rem 1rem;
    background: linear-gradient(to bottom right, #2563eb, #7c3aed);
    overflow: hidden;
}

.mc-footer-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image:
        linear-gradient(to right, #fff 1px, transparent 1px),
        linear-gradient(to bottom, #fff 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.mc-footer-cta-inner {
    position: relative;
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.mc-footer-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}

.mc-footer-cta p {
    font-size: 1.25rem;
    color: #dbeafe;
    margin: 0 0 2rem;
}

.mc-footer-cta a.mc-cta-main {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.15rem 2.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #2563eb;
    background: #fff;
    border-radius: 1rem;
    text-decoration: none;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease;
}

.mc-footer-cta a.mc-cta-main:hover {
    transform: scale(1.04);
}

/* --------- Site footer (slim) --------- */
.mc-site-footer {
    background: #0f172a;
    border-top: 1px solid #334155;
}

.mc-site-footer-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 2.5rem 1rem;
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .mc-site-footer-inner {
        grid-template-columns: 1.4fr 2fr;
        align-items: start;
    }
}

.mc-site-footer h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 0.5rem;
}

.mc-site-footer h3 span {
    background: linear-gradient(90deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mc-site-footer .mc-foot-desc {
    font-size: 0.875rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.6;
}

.mc-foot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.mc-foot-col h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin: 0 0 0.75rem;
}

.mc-foot-col a {
    display: block;
    font-size: 0.875rem;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.mc-foot-col a:hover {
    color: #60a5fa;
}

.mc-foot-bottom {
    border-top: 1px solid #1e293b;
    padding: 1.25rem 1rem;
    text-align: center;
}

.mc-foot-bottom p {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0.25rem 0;
}

/* invisible hooks for init.js stats */
.mc-stat-hooks {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
