@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

:root {
    --fv-bg-top: #f7fbff;
    --fv-bg-mid: #eef5fc;
    --fv-bg-bottom: #e6f0fb;
    --fv-brand: #145fc2;
    --fv-brand-strong: #0f4d9f;
    --fv-brand-soft: #d6e6fb;
    --fv-brand-soft-2: #ecf4ff;
    --fv-accent: #0f9d91;
    --fv-accent-strong: #0b7f75;
    --fv-text: #1a1a2e;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--fv-bg-mid);
    background-image:
        radial-gradient(1200px 560px at -8% -12%, rgba(20, 95, 194, 0.14), rgba(20, 95, 194, 0) 58%),
        radial-gradient(900px 480px at 108% 12%, rgba(15, 157, 145, 0.1), rgba(15, 157, 145, 0) 62%),
        linear-gradient(180deg, var(--fv-bg-top) 0%, var(--fv-bg-mid) 46%, var(--fv-bg-bottom) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    color: var(--fv-text);
    line-height: 1.4;
}

body::before,
body::after {
    content: '';
    position: fixed;
    pointer-events: none;
    z-index: -1;
}

body::before {
    width: 340px;
    height: 340px;
    top: 16vh;
    left: -140px;
    border-radius: 46% 54% 61% 39% / 42% 39% 61% 58%;
    background: rgba(20, 95, 194, 0.07);
    filter: blur(2px);
}

body::after {
    width: 420px;
    height: 420px;
    right: -180px;
    bottom: 12vh;
    border-radius: 57% 43% 33% 67% / 34% 44% 56% 66%;
    background: rgba(15, 157, 145, 0.06);
    filter: blur(1px);
}

a {
    text-decoration: none;
    color: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.easter-mc-link {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(20, 95, 194, 0.46);
    opacity: 0.62;
    z-index: 220;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(20, 95, 194, 0.18);
    backdrop-filter: blur(1px);
    transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.easter-mc-link i {
    font-size: 12px;
}

.easter-mc-link:hover,
.easter-mc-link:focus-visible {
    opacity: 1;
    color: var(--fv-brand);
    transform: scale(1.14);
}

.about-card {
    background: #fff;
    border: 1px solid #dbe8ff;
    border-radius: 16px;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 4px 16px rgba(26, 111, 232, 0.07);
}

.about-text {
    font-size: 13px;
    color: #4f6daa;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.about-stats {
    display: flex;
    justify-content: space-around;
    background: #f4f8ff;
    border-radius: 12px;
    padding: 0.9rem 0.5rem;
    margin-bottom: 1rem;
}

.about-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.about-stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a6fe8;
}

.about-stat-label {
    font-size: 11px;
    font-weight: 700;
    color: #7a9fd8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.about-discord-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: #5865f2;
    color: #fff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s;
    box-sizing: border-box;
}

.about-discord-btn:hover {
    background: #4752c4;
}

.partner-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.partner-name-row .partner-name {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.partner-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
    background: #e11d48;
    border: 1px solid #be123c;
    border-radius: 999px;
    padding: 2px 8px;
    flex-shrink: 0;
}

.partner-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: partner-live-pulse 1.6s infinite;
}

@keyframes partner-live-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.hero-downloads-stat {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.hero-downloads-stat strong {
    color: #ffffff;
    font-weight: 800;
}


/* ── Anniversary Countdown Bar ── */
.anniversary-bar {
    background: linear-gradient(90deg, var(--fv-brand-strong) 0%, var(--fv-brand) 50%, var(--fv-accent) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(15, 77, 159, 0.25);
    box-shadow: 0 6px 18px rgba(15, 77, 159, 0.18);
}

.anniversary-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 11px 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.anniversary-text {
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 0.03em;
    font-size: 14px;
}

.anniversary-text i {
    margin-right: 7px;
}

.anniversary-timer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.anniversary-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 4px 10px;
    min-width: 42px;
}

.anniversary-num {
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.1;
}

.anniversary-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    .anniversary-bar-inner {
        padding: 10px 1rem;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .anniversary-timer {
        justify-content: center;
    }
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 68px;
    background: #ffffff;
    border-bottom: 1px solid #e8edf5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 100;
    box-shadow: 0 1px 8px rgba(0, 80, 200, 0.06);
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.nav-logo-fallback {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--fv-brand);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--fv-brand);
    padding: 6px 14px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    display: inline-block;
    white-space: nowrap;
}

.nav-links a i {
    margin-right: 5px;
}

.nav-links a:hover {
    background: var(--fv-brand-soft-2);
    color: var(--fv-brand-strong);
}

.nav-links a.active {
    background: var(--fv-brand);
    color: #fff;
}

.nav-links a.active:hover {
    background: var(--fv-brand-strong);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-actions .btn-account span {
    display: none;
}

.btn-account {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fv-brand);
    background: #fff;
    border: 1.5px solid var(--fv-brand-soft);
    border-radius: 10px;
    transition: background 0.15s, border-color 0.15s;
    cursor: pointer;
    white-space: nowrap;
}

.btn-account:hover {
    background: var(--fv-brand-soft-2);
    border-color: var(--fv-brand);
}

.nav-toggle {
    display: none;
    border: 1.5px solid var(--fv-brand-soft);
    background: var(--fv-brand-soft-2);
    color: var(--fv-brand);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
}

/* Core action panel button properties */
.btn-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 16px;
    color: var(--fv-brand);
    background: #fff;
    border: 1.5px solid var(--fv-brand-soft);
    border-radius: 10px;
    /* Matches your layout toggle framing perfectly */
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

/* Hover and Focus animations */
.btn-panel:hover {
    background: var(--fv-brand-soft-2);
    border-color: var(--fv-brand);
    color: var(--fv-brand-strong);
}

/* Selected/Active current page highlighting */
.btn-panel.active {
    background: var(--fv-brand);
    border-color: var(--fv-brand);
    color: #fff;
}

.btn-panel.active:hover {
    background: var(--fv-brand-strong);
    border-color: var(--fv-brand-strong);
}

/* Hero Grid Adjustments */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Discord CTA container underneath logo */
.hero-discord-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

/* Rounded Glowy Hero Discord Button */
.hero-discord-btn {
    background: #5865F2;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.4);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    color: #ffffff;
}

/* footer */

.site-footer {
    background: #ffffff;
    border-top: 1px solid #e2eaff;
    margin-top: 4rem;
    padding: 2.5rem 1.5rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    height: 36px;
    object-fit: contain;
}

.footer-logo span {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a6fe8;
    letter-spacing: -0.3px;
}

.footer-disclaimer {
    font-size: 13px;
    color: #7a9fd8;
    line-height: 1.7;
    max-width: 680px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 13px;
    font-weight: 600;
    color: #1a6fe8;
    padding: 5px 12px;
    border-radius: 7px;
    transition: background 0.15s;
}

.footer-links a:hover {
    background: #eff5ff;
}

.footer-copy {
    font-size: 12px;
    color: #a0b4d8;
    font-weight: 500;
}

/* Counter display formatting */
.hero-discord-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Pulsing Green Online Indicator */
.status-indicator-dot {
    width: 8px;
    height: 8px;
    background-color: #23a55a;
    /* Discord green */
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #23a55a;
    animation: pulse-dot 2s infinite ease-in-out;
}


@keyframes pulse-dot {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

/* Hero Content Layout Adjustments */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 600px;
}

/* Glassmorphism Discord Box */
.hero-discord-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.hero-discord-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.hero-discord-title {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.hero-discord-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Pulsing Online Dot Indicator */
.status-dot {
    width: 7px;
    height: 7px;
    background-color: #23a55a;
    /* Discord green */
    border-radius: 50%;
    box-shadow: 0 0 8px #23a55a;
    animation: statusPulse 2.5s infinite ease-in-out;
}

.status-count {
    color: #23a55a;
    font-weight: 700;
    font-size: 0.85rem;
}

.status-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Discord Button Styling */
.hero-discord-btn {
    background: #5865F2;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-discord-btn:hover {
    background: #4752c4;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(88, 101, 242, 0.45);
}

.hero-discord-btn i {
    font-size: 1.05rem;
}

@keyframes statusPulse {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 0.5;
        transform: scale(0.95);
    }
}

/* Responsive Scaling for Small Mobile Screens */
@media (max-width: 480px) {
    .hero-discord-card {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 16px;
    }

    .hero-discord-info {
        text-align: center;
        align-items: center;
    }

    .hero-discord-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Discord Hero Block Style Adjustment (Fits Theme Perfectly)
   ========================================================================== */

/* Layout structure beneath your logo */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* Glassmorphism card designed to mirror your dashboard panels */
.hero-discord-box {
    background: #11131c;
    /* Matches your ultra-dark dashboard panels */
    border: 1px solid #1f2335;
    /* Sharp clean card edge separator */
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    max-width: 480px;
    /* Kept perfectly compact */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

/* Text & Stats Alignment layout */
.hero-discord-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
}

/* Combined row for live status items */
.hero-status-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #9aa5ce;
    /* Soft premium secondary gray */
    font-weight: 500;
}

/* Pulsing Green Online Indicator matching your UI accents */
.status-indicator-dot {
    width: 7px;
    height: 7px;
    background-color: #23a55a;
    /* Sleek status green */
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px rgba(35, 165, 90, 0.6);
    animation: pulse-dot 2s infinite ease-in-out;
}

/* The dynamic text target styling */
#discord-online-count {
    color: #23a55a;
    font-weight: 700;
}

/* Clean interactive Discord Trigger Button */
.hero-discord-btn {
    background: #5865F2;
    /* Standard color works beautifully against dark grey background panels */
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 8px;
    /* Matches your dashboard buttons */
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.2);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-discord-btn:hover {
    background: #4752c4;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(88, 101, 242, 0.35);
}

@keyframes pulse-dot {
    0% {
        transform: scale(0.95);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.6;
    }
}

/* Handle tight screen optimization neatly */
@media (max-width: 480px) {
    .hero-discord-box {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }

    .hero-discord-stats {
        align-items: center;
    }

    .hero-discord-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ── Hero ── */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 220px;
    color: #fff;
    padding: 1.5rem;
    overflow: hidden;
    margin-top: 68px;
    background: #0e2a52;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px);
    transform: scale(1.08);
    z-index: 1;
    transition: opacity 0.25s ease;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42));
    z-index: 2;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 3;
}
.hero-applications-bar {
    background: linear-gradient(90deg, #0d5fd6 0%, #1a6fe8 50%, #2f85ff 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(13, 86, 199, 0.25);
    box-shadow: 0 6px 18px rgba(18, 95, 214, 0.18);
}

.hero-applications-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 11px 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hero-applications-text {
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 0.03em;
    font-size: 14px;
}

.hero-applications-text i {
    margin-right: 7px;
}

.hero-applications-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 9px;
    background: #ffffff;
    color: #1157bf;
    font-size: 12.5px;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.12s, background 0.12s;
}

.hero-applications-btn:hover {
    background: #ecf4ff;
    transform: translateY(-1px);
}

/* Logo Link */
.hero-logo-link {
    display: inline-block;
    text-decoration: none;
    line-height: 1;
    vertical-align: top;
    animation: logoPulse 4s ease-in-out infinite;
    /* ← Pulse added */
}

/* Logo Image */
.hero-logo {
    height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Subtle Pulse Animation */
@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

/* Hover Effect (still works on top of pulse) */
.hero-logo-link:hover {
    animation-play-state: paused;
    /* Pause pulse while hovering */
    transform: scale(1.12);
    filter: brightness(1.15);
}

.hero-logo-link:active {
    transform: scale(0.98);
}

.hero-slogan {
    margin: 0.45rem auto 0;
    max-width: 760px;
    font-family: 'Space Grotesk', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12.8px;
    font-weight: 600;
    color: #e9f3ff;
    line-height: 1.35;
    letter-spacing: 0.015em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

/* ── Page content ── */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

/* ── Section headers ── */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #d7e4f8;
}

.section-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--fv-brand);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.section-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--fv-brand);
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.75;
    transition: opacity 0.15s;
}

.section-more:hover {
    opacity: 1;
}

/* ── Homepage New Mods Typography ── */
.home-mods-section-header {
    border-bottom-color: #d0e3f7;
}

.home-mods-section-header .section-title {
    font-family: 'Sora', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: none;
    color: var(--fv-brand-strong);
}

.home-mods-section-header .section-more {
    font-family: 'Space Grotesk', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--fv-accent-strong);
    opacity: 0.86;
}

.home-mods-grid .mod-name {
    font-family: 'Space Grotesk', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12.7px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.home-mods-grid .mod-dl-btn {
    font-family: 'Sora', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

/* ── Discord goal ── */
.discord-goal-card {
    background: linear-gradient(135deg, #ffffff 0%, #f2f9ff 100%);
    border: 1px solid #d5e6fb;
    border-radius: 16px;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(20, 95, 194, 0.08);
}

.discord-goal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.discord-goal-kicker {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 800;
    color: #5b7fc0;
}

.discord-goal-head h3 {
    margin: 4px 0 0;
    font-size: 1rem;
    color: #143f84;
    font-weight: 800;
}

.discord-goal-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--fv-brand);
    color: #fff;
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    transition: background 0.15s ease, transform 0.12s ease;
}

.discord-goal-btn:hover {
    background: var(--fv-brand-strong);
    transform: translateY(-1px);
}

.discord-goal-metrics {
    margin-top: 0.9rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.discord-goal-progress-label {
    color: #27447a;
    font-weight: 700;
    font-size: 13px;
}

.discord-goal-percent {
    color: var(--fv-brand);
    font-size: 12px;
    font-weight: 800;
}

.discord-goal-track {
    margin-top: 8px;
    height: 12px;
    border-radius: 999px;
    background: #d6e6fb;
    overflow: hidden;
}

.discord-goal-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--fv-brand) 0%, var(--fv-accent) 100%);
    transition: width 0.35s ease;
}

/* ── Mod grid ── */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 0.8rem;
}

.mod-card {
    background: #fff;
    border: 1px solid #e2eaff;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s;
    cursor: pointer;
}

.mod-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26, 111, 232, 0.12);
}

.mod-thumb {
    width: 100%;
    height: 110px;
    background: #dde8ff;
    overflow: hidden;
    position: relative;
}

.mod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mod-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #a0b4e8;
}

.mod-ver-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    background: rgba(26, 111, 232, 0.85);
    color: #fff;
}

.mod-ver-badge.fs25 {
    background: rgba(16, 185, 129, 0.9);
}

.mod-ver-badge.fs19 {
    background: rgba(245, 158, 11, 0.9);
    color: #000;
}

.mod-info {
    padding: 10px;
}

.mod-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
}

.mod-dl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    padding: 6px 0;
    background: var(--fv-brand);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.mod-dl-btn:hover {
    background: var(--fv-brand-strong);
}

/* ── Skeletons ── */
.skeleton {
    background: linear-gradient(90deg, #e8eeff 25%, #d0daff 50%, #e8eeff 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

.skeleton-card {
    background: #fff;
    border: 1px solid #e2eaff;
    border-radius: 14px;
    overflow: hidden;
}

.skeleton-thumb {
    height: 110px;
}

.skeleton-line {
    height: 12px;
    margin: 10px;
    border-radius: 6px;
}

.skeleton-btn {
    height: 28px;
    margin: 6px 10px 10px;
    border-radius: 8px;
}

/* ── Partners ── */
.partners-card {
    background: #fff;
    border: 1px solid #e2eaff;
    border-radius: 16px;
    padding: 1.2rem;
}

.partners-card + .discord-goal-card {
    margin-top: 0.95rem;
}

/* ── News Card (sidebar) ── */
.news-card {
    background: #fff;
    border: 1px solid #e2eaff;
    border-radius: 16px;
    overflow: hidden;
    padding: 4px 0;
}

.news-item {
    padding: 11px 16px;
    border-bottom: 1px solid #f0f4ff;
    transition: background 0.15s;
}

.news-item.clickable {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: #f7f9ff;
}

.news-item-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.news-cat-pill {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 7px;
    border-radius: 20px;
}

.news-item-date {
    font-size: 11px;
    color: #a0b4e8;
    margin-left: auto;
}

.news-item-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.35;
    margin-bottom: 3px;
}

.news-item-body {
    font-size: 12px;
    color: #6b7a99;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-thumb {
    width: 62px;
    height: 62px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #e2eaff;
    flex-shrink: 0;
}

.news-item-thumb.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5ff;
    color: #a0b4e8;
    font-size: 18px;
}

.news-item-copy {
    min-width: 0;
    flex: 1;
}

.news-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.news-modal.open {
    display: block;
}

.news-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 20, 40, 0.68);
    backdrop-filter: blur(2px);
}

.news-modal-card {
    position: relative;
    width: min(840px, calc(100vw - 28px));
    max-height: calc(100vh - 32px);
    overflow: auto;
    margin: 16px auto;
    background: #ffffff;
    border: 1px solid #dce7ff;
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(14, 35, 74, 0.35);
}

.news-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 1px solid #dce7ff;
    background: #ffffff;
    color: #1a3d6e;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
}

.news-modal-hero img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.news-modal-body {
    padding: 20px 22px 24px;
}

.news-modal-meta {
    font-size: 11px;
    font-weight: 700;
    color: #7b93bd;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-modal-title {
    margin: 8px 0 12px;
    color: #10274a;
    font-size: 28px;
    line-height: 1.2;
}

.news-modal-content {
    color: #2f466e;
    font-size: 15px;
    line-height: 1.7;
}

.news-modal-content h2,
.news-modal-content h3 {
    color: #163866;
    margin: 1.1em 0 0.55em;
}

.news-modal-content a {
    color: #1a6fe8;
    font-weight: 700;
}

.news-modal-content figure {
    margin: 0.95em 0;
}

.news-modal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #dce7ff;
    display: block;
}

.news-modal-content img.align-left {
    float: left;
    margin: 0.25em 14px 10px 0;
}

.news-modal-content img.align-right {
    float: right;
    margin: 0.25em 0 10px 14px;
}

.news-modal-content img.align-center {
    margin-left: auto;
    margin-right: auto;
}

.news-modal-content img.size-sm { max-width: 240px; }
.news-modal-content img.size-md { max-width: 420px; }
.news-modal-content img.size-lg { max-width: 100%; }

.news-modal-content::after {
    content: "";
    display: block;
    clear: both;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f4ff;
    transition: background 0.12s;
    border-radius: 8px;
    cursor: pointer;
}

.partner-item:last-child {
    border-bottom: none;
}

.partner-item:hover {
    background: #f5f8ff;
    padding-left: 6px;
}

.partner-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: contain;
    flex-shrink: 0;
    background: #f5f8ff;
}

.partner-logo-placeholder {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #e2eaff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #1a6fe8;
    font-weight: 800;
}

.partner-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #1a1a2e;
}

.partner-url {
    font-size: 11px;
    color: #7a9fd8;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.partner-arrow {
    margin-left: auto;
    color: #c0ceee;
    font-size: 14px;
    flex-shrink: 0;
}

.partner-skeleton {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.partner-skel-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

.partner-skel-line {
    height: 12px;
    border-radius: 6px;
    flex: 1;
}

.error-state {
    color: #e05;
    font-size: 13px;
    font-weight: 600;
    padding: 1rem 0;
    text-align: center;
}

/* ── REVIEWS SECTION ── */
.reviews-section {
    margin-top: 1rem;
}

.reviews-container {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.review-form-card,
.reviews-list-card {
    background: #ffffff;
    border: 1px solid #e2eaff;
    border-radius: 16px;
    padding: 1.5rem;
}

.review-form-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #1a6fe8;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1a3d6e;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #c8daff;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: #1a1a2e;
    background-color: #fff;
    transition: border-color 0.15s;
}

.form-input:focus {
    outline: none;
    border-color: #1a6fe8;
    box-shadow: 0 0 0 3px rgba(26, 111, 232, 0.1);
}

.rating-stars-input {
    display: flex;
    gap: 6px;
    font-size: 22px;
    color: #c8daff;
    cursor: pointer;
}

.rating-stars-input span {
    transition: color 0.15s, transform 0.1s;
}

.rating-stars-input span:hover {
    transform: scale(1.15);
}

.rating-stars-input span.selected,
.rating-stars-input span.hovered {
    color: #ffb100;
}

.launcher-main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px;
    background: #1a6fe8;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.launcher-main-btn:hover {
    background: #0a4fc4;
}

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

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #f0f4ff;
    margin-bottom: 1.2rem;
}

.summary-score {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a6fe8;
    line-height: 1;
}

.summary-stars {
    font-size: 15px;
    color: #ffb100;
    margin-bottom: 3px;
}

.summary-count {
    font-size: 12.5px;
    font-weight: 600;
    color: #7a9fd8;
}

.reviews-list-scroll {
    max-height: 460px;
    overflow-y: auto;
    padding-right: 4px;
}

.reviews-list-scroll::-webkit-scrollbar {
    width: 6px;
}

.reviews-list-scroll::-webkit-scrollbar-thumb {
    background: #c8daff;
    border-radius: 10px;
}

.jingles-state {
    color: #7a9fd8;
    font-size: 13.5px;
    font-weight: 600;
    text-align: center;
    padding: 2rem 0;
}

.community-review-node {
    padding: 12px 0;
    border-bottom: 1px solid #f0f4ff;
}

.community-review-node:last-child {
    border-bottom: none;
}

.review-node-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.review-node-author {
    font-weight: 700;
    font-size: 13.5px;
    color: #1a1a2e;
}

.review-node-stars {
    color: #ffb100;
    font-size: 11px;
    letter-spacing: 1px;
}

.review-node-text {
    font-size: 13px;
    color: #4a5568;
    word-break: break-word;
}

.review-owner-reply {
    margin-top: 10px;
    background: #eef4ff;
    border: 1px solid #d6e4ff;
    border-left: 3px solid #1a6fe8;
    border-radius: 8px;
    padding: 9px 10px;
}

.review-owner-reply-head {
    font-size: 11px;
    font-weight: 800;
    color: #1a6fe8;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.review-owner-reply-text {
    font-size: 12.5px;
    color: #244276;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .page-content {
        grid-template-columns: 1fr;
        display: block;
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }

    .hero-applications-bar-inner {
        padding: 10px 1rem;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-applications-text {
        text-align: center;
    }

    .hero-applications-btn {
        width: 100%;
    }

    .nav-links {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        transform: none;
        padding: 0.8rem 1rem 1rem;
        background: #fff;
        border-bottom: 1px solid #e8edf5;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
        box-shadow: 0 4px 12px rgba(0, 80, 200, 0.07);
    }

    .nav-links.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links a {
        padding: 10px 12px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .hero {
        min-height: 180px;
        padding: 1rem;
    }

    .hero-logo {
        height: 80px;
        margin-bottom: 0.75rem;
    }

    .hero-slogan {
        max-width: 540px;
        font-size: 11.8px;
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .page-content {
        padding: 1.5rem 1rem;
    }

    .section-header {
        align-items: flex-start;
        gap: 8px;
        flex-direction: column;
    }

    .discord-goal-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .discord-goal-btn {
        width: 100%;
        justify-content: center;
    }

    .review-form-card,
    .reviews-list-card,
    .partners-card {
        padding: 1rem;
    }
}

/* ← Move this closing bracket up here to close the media query! */
