/* ==========================================================================
   URG SIM Gameplay Mod - Refined Modern Dark Theme (Brighter & Sleek)
   ========================================================================== */

:root {
    --bg-dark: #0F141C;
    --bg-card: #18202C;
    --bg-card-hover: #202B3B;
    --accent-gold: #D4AF37;
    --accent-gold-light: #FCE8A6;
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    --border-color: rgba(212, 175, 55, 0.18);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    font-size: 14px;
}

/* Background Effects */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.bg-glow-1 {
    top: -100px;
    left: -100px;
    background: var(--accent-gold);
}

.bg-glow-2 {
    bottom: 0;
    right: -100px;
    background: #B8860B;
}

/* Utilities */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.text-gradient {
    background: linear-gradient(135deg, #FFE494, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #AA7C11 100%);
    color: #05070A;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(212, 175, 55, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-color: var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0.95rem 0;
    background: rgba(15, 20, 28, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
}

.global-announcement {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    z-index: 99;
    margin-top: 0;
    padding: 0.78rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.16);
    background:
        radial-gradient(circle at 8% 0%, rgba(212, 175, 55, 0.16), transparent 32%),
        linear-gradient(135deg, rgba(18, 25, 36, 0.96), rgba(10, 14, 21, 0.94));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.global-announcement-success {
    border-bottom-color: rgba(0, 255, 102, 0.18);
    background:
        radial-gradient(circle at 8% 0%, rgba(0, 255, 102, 0.12), transparent 30%),
        linear-gradient(135deg, rgba(18, 34, 28, 0.96), rgba(10, 14, 21, 0.94));
}

.global-announcement-warning {
    border-bottom-color: rgba(255, 199, 89, 0.24);
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 199, 89, 0.14), transparent 30%),
        linear-gradient(135deg, rgba(38, 29, 17, 0.96), rgba(10, 14, 21, 0.94));
}

.global-announcement-inner {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: center;
}

.global-announcement-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #05070A;
    background: linear-gradient(135deg, #FFE494, #D4AF37);
    box-shadow: 0 0 22px rgba(212, 175, 55, 0.26);
}

.global-announcement-blink .global-announcement-mark {
    animation: announcementIconBlink 1.45s ease-in-out infinite;
}

@keyframes announcementIconBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 22px rgba(212, 175, 55, 0.26);
    }

    50% {
        opacity: 0.58;
        transform: scale(0.96);
        box-shadow: 0 0 32px rgba(212, 175, 55, 0.42);
    }
}

@media (prefers-reduced-motion: reduce) {
    .global-announcement-blink .global-announcement-mark {
        animation: none;
    }
}

.global-announcement-success .global-announcement-mark {
    background: linear-gradient(135deg, #8AFFB8, #00FF66);
}

.global-announcement-warning .global-announcement-mark {
    background: linear-gradient(135deg, #FFE4A0, #FFB13B);
}

.global-announcement-copy strong {
    display: block;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    line-height: 1.2;
}

.global-announcement-copy p {
    margin: 0.18rem 0 0;
    color: #C9D4E4;
    font-size: 0.84rem;
    line-height: 1.45;
}

.global-announcement-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    padding: 0.58rem 0.82rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    color: var(--accent-gold-light);
    background: rgba(212, 175, 55, 0.08);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.global-announcement-link:hover {
    transform: translateY(-1px);
    background: rgba(212, 175, 55, 0.14);
    border-color: rgba(212, 175, 55, 0.42);
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.logo-img {
    width: auto;
    min-width: 0;
    height: 48px;
    max-width: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.32));
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--accent-gold-light);
    letter-spacing: 0;
}

.logo-subtitle {
    margin-top: 0.18rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-gold);
}

.nav-links a.donate-nav-link {
    color: var(--accent-gold-light);
    padding: 0.28rem 0.52rem;
    border-radius: 7px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: none;
    font-size: 0.78rem;
}

.nav-links a.donate-nav-link:hover {
    color: var(--accent-gold-light);
    background: rgba(212, 175, 55, 0.14);
    transform: translateY(-1px);
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.12);
}

/* Hero Section */
.hero {
    padding: 120px 0 50px;
    position: relative;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 2rem;
}

.hero-container.has-poll {
    max-width: 1040px;
    grid-template-columns: 1.15fr 290px 0.8fr;
    gap: 1.2rem;
}

@media (max-width: 992px) {
    .hero-container.has-poll {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Hero Poll Card Styling */
.hero-poll-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-poll-card {
    background: rgba(24, 32, 44, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.28);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 25px rgba(212, 175, 55, 0.08);
    border-radius: 14px;
    padding: 0.95rem 1.1rem;
    width: 100%;
    max-width: 290px;
    box-sizing: border-box;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-poll-card:hover {
    border-color: rgba(212, 175, 55, 0.48);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.16);
}

.poll-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.28);
    padding: 0.18rem 0.5rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.poll-question {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.88rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.poll-options-form {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.poll-option-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.poll-option-item:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.35);
}

.poll-option-item input[type="radio"] {
    accent-color: var(--accent-gold);
    width: 16px;
    height: 16px;
    margin-right: 0.65rem;
    cursor: pointer;
    flex-shrink: 0;
}

.poll-option-item span {
    font-size: 0.83rem;
    color: #E2E8F0;
    font-weight: 500;
}

.poll-submit-btn {
    margin-top: 0.4rem;
    width: 100%;
    justify-content: center;
    padding: 0.52rem 1rem;
    font-size: 0.82rem;
    border-radius: 8px;
}

/* Poll Results view after voting */
.poll-results-container {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.poll-result-bar-wrapper {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.55rem 0.8rem;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

.poll-result-bar-wrapper.voted-by-me {
    border-color: rgba(212, 175, 55, 0.45);
    background: rgba(212, 175, 55, 0.06);
}

.poll-result-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
    position: relative;
    z-index: 2;
}

.poll-result-label {
    font-size: 0.81rem;
    color: #FFFFFF;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.poll-result-badge-user {
    font-size: 0.68rem;
    color: var(--accent-gold-light);
    background: rgba(212, 175, 55, 0.15);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.poll-result-percent {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.poll-progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.poll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold) 0%, #FCE8A6 100%);
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.poll-thankyou-msg {
    margin-top: 0.5rem;
    text-align: center;
    font-size: 0.78rem;
    color: var(--accent-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-weight: 600;
}

.hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-brand-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
}

.hero-logo-banner {
    max-width: 160px;
    width: 100%;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.3));
    animation: float 4s ease-in-out infinite;
}

.hero-game-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 0.62rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(10px);
}

.hero-game-badge span {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-eafc-logo {
    width: 120px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.16));
}

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

.status-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-version {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--accent-gold-light);
}

.title-match-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-shrink: 0;
    padding: 0.38rem 0.7rem;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.title-match-badge strong {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 0;
}

.title-match-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: #00FF66;
    color: #06100A;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 900;
    box-shadow: 0 0 12px rgba(0, 255, 102, 0.55);
}

.title-match-current {
    color: #00FF66;
    background: rgba(0, 255, 102, 0.1);
    border: 1px solid rgba(0, 255, 102, 0.35);
}

.title-match-old {
    color: #FFB347;
    background: rgba(255, 179, 71, 0.1);
    border: 1px solid rgba(255, 179, 71, 0.35);
}

.status-aligned {
    background: rgba(0, 255, 102, 0.08);
    border: 1px solid rgba(0, 255, 102, 0.25);
    color: #00FF66;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #00FF66;
    border-radius: 50%;
    box-shadow: 0 0 8px #00FF66;
    animation: pulse 1.5s infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 0.8rem;
}

.hero-description {
    font-size: 0.92rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 1.4rem;
    line-height: 1.5;
}

.hero-stats-strip {
    display: flex;
    gap: 1.8rem;
    padding: 0.8rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.4rem;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
}

/* Sections General */
.section {
    padding: 50px 0;
}

.section-dark {
    background: rgba(0, 0, 0, 0.15);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-subtitle {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 0.72rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 0.3rem;
}

.compatibility-section {
    padding-top: 36px;
}

.compatibility-panel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.2rem;
    padding: 1.05rem 1.2rem;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(212, 175, 55, 0.08), transparent 36%),
        rgba(24, 32, 44, 0.72);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
}

.compatibility-eafc-logo {
    width: 180px;
    max-width: 42vw;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.14));
}

.compatibility-copy p {
    margin: 0.2rem 0 0;
    color: #C9D4E4;
    font-size: 0.86rem;
    line-height: 1.45;
}

.home-actions-section {
    padding: 32px 0 46px;
}

.home-actions-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.support-panel {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    background:
        radial-gradient(circle at 10% 0%, rgba(212, 175, 55, 0.08), transparent 32%),
        linear-gradient(135deg, rgba(212, 175, 55, 0.045), rgba(24, 32, 44, 0.72));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.support-panel-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #05070A;
    background: linear-gradient(135deg, #FFE494, #D4AF37);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.28);
}

.support-panel-copy h2 {
    margin: 0.2rem 0 0.35rem;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    line-height: 1.2;
}

.support-panel-copy p {
    margin: 0;
    max-width: 520px;
    color: #C9D4E4;
    font-size: 0.8rem;
    line-height: 1.45;
}

.support-panel .btn {
    grid-column: 2;
    justify-self: start;
    margin-top: 0.1rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.76rem;
}

.mod-details-page {
    padding-top: 96px;
}

.install-page {
    padding-top: 96px;
}

.contact-page {
    padding-top: 96px;
}

.contact-hero {
    padding: 56px 0 4px;
}

.contact-layout {
    max-width: 960px;
}

.contact-form {
    position: relative;
    overflow: hidden;
    padding: 1.25rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.24);
    background:
        radial-gradient(circle at 12% 0%, rgba(212, 175, 55, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(24, 32, 44, 0.94), rgba(14, 19, 27, 0.92));
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.22);
}

.contact-form-section {
    padding-top: 18px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.9rem;
}

.contact-form label span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--accent-gold-light);
    font-size: 0.78rem;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    padding: 0.72rem 0.78rem;
    font: inherit;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 170px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(212, 175, 55, 0.58);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.contact-submit {
    width: 100%;
}

.contact-alert {
    margin-bottom: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 700;
}

.contact-alert-success {
    color: #00FF66;
    border: 1px solid rgba(0, 255, 102, 0.28);
    background: rgba(0, 255, 102, 0.08);
}

.contact-alert-error {
    color: #FF7777;
    border: 1px solid rgba(255, 85, 85, 0.28);
    background: rgba(255, 85, 85, 0.08);
}

.contact-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.feedback-page {
    padding-top: 96px;
}

.global-announcement + .hero {
    padding-top: 188px;
}

.global-announcement + main {
    padding-top: 164px;
}

.feedback-hero {
    position: relative;
    padding: 46px 0 22px;
    overflow: hidden;
}

.feedback-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(212, 175, 55, 0.14), transparent 35%),
        linear-gradient(180deg, rgba(255,255,255,0.04), transparent 60%);
    pointer-events: none;
}

.feedback-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 2rem;
    align-items: center;
}

.feedback-copy .hero-title {
    margin: 0.35rem 0 0.65rem;
    font-size: clamp(1.75rem, 4.2vw, 2.8rem);
    line-height: 1.08;
}

.feedback-copy .hero-description {
    max-width: 560px;
    margin-bottom: 0;
}

.feedback-mark {
    display: grid;
    justify-items: center;
    gap: 0.7rem;
    color: var(--accent-gold-light);
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.feedback-mark img {
    width: 128px;
    max-width: 100%;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.24));
}

.feedback-form-section {
    padding-top: 24px;
}

.feedback-shell {
    max-width: 820px;
}

.feedback-form::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(252, 232, 166, 0.45), transparent);
}

.form-select {
    width: 100%;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    padding: 0.72rem 0.78rem;
    font: inherit;
    outline: none;
}

.form-select:focus {
    border-color: rgba(212, 175, 55, 0.58);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.form-select option {
    background: var(--bg-card);
    color: #fff;
}

.home-feedback-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 10px;
    background:
        radial-gradient(circle at 10% 0%, rgba(212, 175, 55, 0.08), transparent 32%),
        linear-gradient(135deg, rgba(212, 175, 55, 0.045), rgba(24, 32, 44, 0.72));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.home-feedback-copy h2 {
    margin: 0.35rem 0 0.75rem;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    line-height: 1.18;
}

.home-feedback-copy p {
    margin-bottom: 0.85rem;
    color: #C9D4E4;
    font-size: 0.8rem;
    line-height: 1.45;
}

.home-feedback-list {
    display: grid;
    gap: 0.65rem;
}

.home-feedback-panel .btn {
    padding: 0.55rem 0.85rem;
    font-size: 0.76rem;
}

.feedback-wall-section {
    padding-top: 20px;
}

.feedback-wall-head {
    margin-bottom: 1.2rem;
}

.feedback-wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.9rem;
}

.feedback-public-card {
    padding: 0.95rem;
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
}

.feedback-public-head {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 0.55rem;
}

.feedback-public-head strong {
    min-width: 0;
    color: #fff;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.feedback-public-head span {
    flex: 0 0 auto;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    color: var(--accent-gold-light);
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.18);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.feedback-public-card p {
    color: #C9D4E4;
    font-size: 0.84rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.feedback-admin-reply {
    margin-top: 0.85rem;
    padding: 0.82rem;
    border: 1px solid rgba(0, 229, 255, 0.16);
    border-radius: 9px;
    background:
        radial-gradient(circle at 0% 0%, rgba(0, 229, 255, 0.07), transparent 30%),
        rgba(0, 229, 255, 0.035);
}

.feedback-admin-reply span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.42rem;
    color: var(--accent-gold-light);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.feedback-admin-reply p {
    margin: 0;
    color: #E6F7FF;
}

.feedback-admin-reply time {
    margin-top: 0.55rem;
}

.feedback-public-card time {
    display: block;
    margin-top: 0.7rem;
    color: var(--text-muted);
    font-size: 0.72rem;
}

.feedback-public-card-empty {
    border-style: dashed;
}

.feedback-empty {
    display: grid;
    justify-items: center;
    gap: 0.65rem;
    min-height: 170px;
    padding: 1.2rem;
    border: 1px dashed rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-muted);
    text-align: center;
}

.feedback-empty i {
    color: var(--accent-gold);
    font-size: 1.4rem;
}

.install-hero {
    padding: 46px 0 8px;
}

.install-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: center;
    gap: 2rem;
}

.install-game-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.install-game-mark img {
    width: 185px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.15));
}

.install-layout {
    max-width: 900px;
}

.install-guide-section {
    padding-top: 24px;
}

.install-authentic-alert {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
    padding: clamp(1.1rem, 3vw, 1.55rem);
    border: 1px solid rgba(255, 177, 59, 0.4);
    border-radius: 12px;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 177, 59, 0.17), transparent 34%),
        linear-gradient(135deg, rgba(48, 34, 17, 0.92), rgba(18, 22, 29, 0.88));
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.24);
}

.install-alert-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #FFE4A0, #FFB13B);
    color: #080A0D;
    font-size: 1.45rem;
    box-shadow: 0 0 28px rgba(255, 177, 59, 0.28);
}

.install-authentic-alert h2 {
    margin: 0.25rem 0 0.5rem;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(1.18rem, 3vw, 1.75rem);
    line-height: 1.15;
}

.install-authentic-alert p {
    margin: 0;
    max-width: 760px;
    color: #F6E9CC;
    font-size: 0.92rem;
    line-height: 1.65;
}

.install-clean-block {
    padding: 1.3rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.16);
}

.install-section-head {
    margin-bottom: 0.9rem;
}

.install-section-head h2 {
    margin: 0.25rem 0 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1.2;
}

.install-steps {
    display: grid;
    gap: 0;
    margin: 0;
}

.install-step {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 0.9rem;
    padding: 0.92rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.install-step-number {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 1.1rem;
    font-weight: 900;
}

.install-step h3 {
    margin: 0 0 0.35rem;
    color: #fff;
    font-size: 0.98rem;
}

.install-step p {
    margin: 0;
    color: #C9D4E4;
    font-size: 0.86rem;
    line-height: 1.5;
}

.install-settings-list {
    display: grid;
    gap: 0;
}

.install-settings-list div {
    display: grid;
    grid-template-columns: minmax(140px, 0.32fr) minmax(0, 1fr);
    gap: 1rem;
    padding: 0.82rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.install-settings-list strong,
.install-settings-list span {
    display: block;
}

.install-settings-list strong {
    color: #00FF66;
    margin-bottom: 0.24rem;
}

.install-settings-list span {
    color: #C9D4E4;
    font-size: 0.84rem;
}

.install-final-checks ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.install-final-checks li {
    display: flex;
    gap: 0.55rem;
    color: #C9D4E4;
    font-size: 0.86rem;
    line-height: 1.45;
    padding: 0.52rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.install-final-checks li:last-child,
.install-step:last-child,
.install-settings-list div:last-child {
    border-bottom: 0;
}

.install-final-checks li i {
    color: #00FF66;
    margin-top: 0.18rem;
}

.mod-details-hero {
    padding: 56px 0 20px;
}

.mod-details-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: center;
    gap: 2rem;
}

.mod-details-game-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    background:
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12), transparent 42%),
        rgba(255, 255, 255, 0.035);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.mod-details-game-mark span {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.mod-details-game-mark img {
    width: 210px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.15));
}

.mod-details-layout {
    max-width: 960px;
}

.mod-detail-panel {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 42%),
        linear-gradient(180deg, rgba(24, 32, 44, 0.94), rgba(14, 19, 27, 0.92));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 1.2rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 18px 34px rgba(0, 0, 0, 0.22);
}

.mod-detail-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle at 18% 0%, rgba(212, 175, 55, 0.12), transparent 32%);
    opacity: 0.72;
}

.mod-detail-panel > * {
    position: relative;
    z-index: 1;
}

.mod-detail-intro,
.mod-detail-wide {
    margin-bottom: 1rem;
}

.mod-detail-panel h2,
.mod-detail-panel h3 {
    margin: 0 0 0.7rem;
}

.mod-detail-panel h2 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.22rem;
    line-height: 1.2;
}

.mod-detail-panel h3 {
    color: #fff;
    font-size: 0.94rem;
    line-height: 1.25;
}

.mod-detail-panel p {
    color: #C9D4E4;
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 0.55rem;
}

.mod-detail-panel p:last-child {
    margin-bottom: 0;
}

.mod-detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--accent-gold);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.mod-detail-showcase {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.2rem;
    padding: 1.35rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    background:
        linear-gradient(135deg, rgba(212, 175, 55, 0.07), transparent 34%),
        linear-gradient(180deg, rgba(24, 32, 44, 0.88), rgba(12, 17, 25, 0.92));
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 20px 38px rgba(0, 0, 0, 0.2);
}

.mod-detail-showcase::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.35rem;
    right: 1.35rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(252, 232, 166, 0.52), transparent);
}

.mod-detail-showcase-head {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mod-detail-showcase-head h2 {
    max-width: 620px;
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.24rem;
    line-height: 1.22;
    color: #fff;
}

.mod-detail-lines {
    position: relative;
    z-index: 1;
}

.mod-detail-line {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0.95rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mod-detail-line:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.mod-line-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--accent-gold-light);
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.08);
}

.mod-detail-line h3 {
    margin: 0 0 0.32rem;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.2;
}

.mod-detail-line p {
    max-width: 760px;
    margin: 0;
    color: #C9D4E4;
    font-size: 0.86rem;
    line-height: 1.5;
}

.mod-detail-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.mod-detail-points span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 0.65rem;
    border-radius: 8px;
    color: #A7F8C1;
    background: rgba(0, 255, 102, 0.06);
    border: 1px solid rgba(0, 255, 102, 0.16);
    font-size: 0.78rem;
    font-weight: 700;
}

/* ACCORDION STYLES (CLEAN & PROPER CONTAINMENT) */
.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    background: rgba(255, 255, 255, 0.02);
}

.accordion-header:hover {
    background: rgba(212, 175, 55, 0.05);
}

.version-tag {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.v-number {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.badge-latest {
    background: #00FF66;
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Latest Version Showcase Box */
.section-highlighted-version {
    padding: 20px 0 40px;
}

.latest-version-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(24, 32, 44, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.18);
    position: relative;
    overflow: hidden;
}

#latest-version {
    scroll-margin-top: 105px;
}

.latest-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 1rem;
    margin-bottom: 1.2rem;
}

.latest-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.latest-meta-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.55rem;
}

.latest-release-date {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.18rem;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.latest-release-date i {
    color: var(--accent-gold);
}

.latest-badge-strip {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.crown-badge {
    background: linear-gradient(135deg, #FFDF00, #D4AF37);
    color: #000;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.latest-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    margin: 0;
}

.v-date-hero {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 400;
}

.accordion-action {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-left: auto;
}

.latest-changes-subtitle {
    font-size: 0.95rem;
    color: var(--accent-gold-light);
    margin-bottom: 1rem;
}

.latest-change-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.latest-change-list li {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 0.65rem;
    padding: 0.78rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.16);
    background: rgba(255, 255, 255, 0.035);
}

.latest-change-list i {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #05070A;
    background: var(--accent-gold);
    font-size: 0.72rem;
}

.latest-change-list strong,
.latest-change-list span {
    display: block;
}

.latest-change-list strong {
    color: #fff;
    font-size: 0.86rem;
    margin-bottom: 0.18rem;
}

.latest-change-list span {
    color: #C9D4E4;
    font-size: 0.8rem;
    line-height: 1.45;
}

.latest-change-list span a,
.change-list li span a {
    display: inline;
    color: var(--accent-gold-light);
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1px solid rgba(252, 232, 166, 0.35);
    transition: color 180ms ease, border-color 180ms ease;
}

.latest-change-list span a:hover,
.change-list li span a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.latest-empty-note {
    color: var(--text-muted);
    font-size: 0.84rem;
    margin: 0 0 1.5rem;
}

.grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0.8rem 1.5rem;
    margin-bottom: 1.5rem !important;
}

.latest-cta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.v-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 1.2rem 1.4rem;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-item.active .accordion-content {
    display: block;
}

.change-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.change-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.6rem;
    color: var(--text-main);
    font-size: 0.85rem;
}

.change-list li:last-child {
    margin-bottom: 0;
}

.change-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.support-note {
    max-width: 640px;
    margin-top: 0.35rem;
    color: #C9D4E4;
    font-size: 0.78rem;
    line-height: 1.45;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 0;
    padding: 0.34rem 0.56rem;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.footer-links a:hover {
    color: var(--accent-gold-light);
    background: rgba(212, 175, 55, 0.07);
    border-color: rgba(212, 175, 55, 0.16);
}

.footer-links .footer-link-primary {
    color: var(--accent-gold-light);
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.22);
}


/* Responsive */
@media (max-width: 768px) {
    .nav-container { gap: 1rem; }
    .logo-img { height: 42px; max-width: 64px; }
    .logo-title { font-size: 0.9rem; }
    .logo-subtitle { font-size: 0.58rem; }
    .global-announcement {
        top: 70px;
        margin-top: 0;
        padding: 0.85rem 0;
    }
    .global-announcement-inner {
        grid-template-columns: 36px minmax(0, 1fr);
        align-items: flex-start;
    }
    .global-announcement-mark {
        width: 36px;
        height: 36px;
    }
    .global-announcement-link {
        grid-column: 2;
        justify-self: start;
        white-space: normal;
    }
    .global-announcement + .hero {
        padding-top: 222px;
    }
    .global-announcement + main {
        padding-top: 196px;
    }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { align-items: center; }
    .hero-title { font-size: 2rem; }
    .hero-logo-banner { max-width: 130px; }
    .hero-game-badge {
        flex-direction: column;
        gap: 0.45rem;
    }
    .hero-eafc-logo {
        width: 104px;
    }
    .latest-heading-row,
    .accordion-header,
    .accordion-action {
        align-items: flex-start;
    }
    .latest-heading-row {
        flex-direction: column;
    }
    .latest-meta-stack {
        align-items: flex-start;
    }
    .latest-release-date {
        white-space: normal;
    }
    .accordion-header {
        gap: 0.8rem;
    }
    .accordion-action {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .title-match-badge {
        white-space: normal;
        text-align: center;
    }
    .compatibility-panel {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    .home-actions-grid,
    .support-panel {
        grid-template-columns: 1fr;
    }

    .support-panel {
        text-align: left;
        justify-items: start;
    }

    .support-panel .btn {
        grid-column: 1;
    }
    .compatibility-eafc-logo {
        max-width: 180px;
        width: 70%;
    }
    .latest-cta {
        justify-content: stretch;
        align-items: stretch;
        flex-direction: column;
    }
    .mod-details-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .install-hero-grid,
    .contact-layout,
    .feedback-layout,
    .home-actions-grid,
    .contact-form-grid,
    .install-settings-list div {
        grid-template-columns: 1fr;
    }

    .install-authentic-alert {
        grid-template-columns: 1fr;
    }

    .home-feedback-panel,
    .feedback-layout {
        text-align: left;
    }

    .home-feedback-copy h2 {
        font-size: 1.05rem;
    }

    .feedback-wall-grid {
        grid-template-columns: 1fr;
    }
    .install-hero-grid {
        text-align: center;
    }
    .install-game-mark {
        max-width: 260px;
        margin: 0 auto;
    }
    .mod-details-game-mark {
        max-width: 260px;
        margin: 0 auto;
    }
    .mod-details-hero { padding-top: 34px; }
    .hero-stats-strip { justify-content: center; gap: 1.2rem; }
    .footer-container { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .footer-links a { margin: 0; }
}

/* ========================================================================== 
   Mod detail analysis page - premium technical layout
   ========================================================================== */
.mod-details-pro {
    padding-top: 92px;
}

.mod-analysis-hero {
    position: relative;
    padding: 70px 0 42px;
    overflow: hidden;
}

.mod-analysis-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(212, 175, 55, 0.11), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 48%);
    pointer-events: none;
}

.mod-analysis-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: center;
    gap: 3rem;
}

.mod-analysis-copy .hero-title {
    max-width: 760px;
    margin-top: 0.55rem;
    font-size: 2.65rem;
}

.mod-analysis-copy .hero-description {
    max-width: 720px;
    font-size: 0.98rem;
    color: #D4DEEA;
}

.analysis-scoreboard {
    padding: 1.2rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.32);
    background:
        linear-gradient(145deg, rgba(252, 232, 166, 0.08), rgba(24, 32, 44, 0.88)),
        rgba(15, 20, 28, 0.9);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.analysis-game-logo {
    display: block;
    width: 205px;
    max-width: 100%;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.15));
}

.analysis-score-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.analysis-score-grid div,
.analysis-pillar,
.breakdown-card,
.comparison-card,
.match-feel-grid div {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.045);
}

.analysis-score-grid div {
    padding: 0.86rem;
}

.analysis-score-grid strong,
.analysis-score-grid span {
    display: block;
}

.analysis-score-grid strong {
    font-family: var(--font-heading);
    color: var(--accent-gold-light);
    font-size: 1.2rem;
    line-height: 1.1;
}

.analysis-score-grid span {
    margin-top: 0.25rem;
    color: #B7C4D5;
    font-size: 0.74rem;
    font-weight: 700;
}

.analysis-container {
    max-width: 1120px;
}

.analysis-section-head {
    max-width: 820px;
    margin-bottom: 1.45rem;
}

.analysis-section-head.compact {
    margin-bottom: 1rem;
}

.analysis-section-head h2,
.match-feel-panel h2 {
    margin: 0.3rem 0 0.65rem;
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.55rem;
    line-height: 1.2;
}

.analysis-section-head p {
    color: #C9D4E4;
    font-size: 0.93rem;
    line-height: 1.65;
}

.analysis-overview-section,
.analysis-breakdown-section,
.analysis-comparison-section,
.match-feel-section {
    padding-top: 34px;
    padding-bottom: 34px;
}

.analysis-pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.analysis-pillar {
    padding: 1rem;
    min-height: 190px;
    background:
        linear-gradient(180deg, rgba(24, 32, 44, 0.9), rgba(13, 18, 26, 0.88));
}

.analysis-pillar > span,
.comparison-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #05070A;
    background: linear-gradient(135deg, #FFE494, #D4AF37);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.2);
}

.analysis-pillar h3,
.comparison-card h3 {
    margin: 0.85rem 0 0.42rem;
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.25;
}

.analysis-pillar p,
.breakdown-card p,
.comparison-card p,
.match-feel-grid span {
    color: #C6D2E2;
    font-size: 0.84rem;
    line-height: 1.55;
}

.analysis-breakdown {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.breakdown-card {
    padding: 1rem;
    background: rgba(24, 32, 44, 0.76);
}

.breakdown-card.major {
    border-color: rgba(212, 175, 55, 0.35);
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.1), rgba(24, 32, 44, 0.8));
}

.breakdown-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.65rem;
}

.breakdown-top span {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.84rem;
    font-weight: 800;
}

.breakdown-top strong {
    color: var(--accent-gold-light);
    font-size: 0.78rem;
    white-space: nowrap;
}

.breakdown-bar {
    height: 7px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.breakdown-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #FFE494, #D4AF37);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.comparison-card {
    padding: 1.15rem;
    background:
        linear-gradient(180deg, rgba(24, 32, 44, 0.92), rgba(12, 17, 25, 0.92));
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.comparison-card dl {
    display: grid;
    gap: 0.48rem;
    margin-top: 0.9rem;
}

.comparison-card dl div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.65rem;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.045);
}

.comparison-card dt {
    color: #AEBBCD;
    font-size: 0.76rem;
    font-weight: 700;
}

.comparison-card dd {
    margin: 0;
    color: var(--accent-gold-light);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.match-feel-panel {
    padding: 1.35rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    background:
        linear-gradient(135deg, rgba(212, 175, 55, 0.08), transparent 36%),
        linear-gradient(180deg, rgba(24, 32, 44, 0.9), rgba(12, 17, 25, 0.9));
}

.match-feel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.match-feel-grid div {
    padding: 0.9rem;
}

.match-feel-grid strong,
.match-feel-grid span {
    display: block;
}

.match-feel-grid strong {
    margin-bottom: 0.25rem;
    color: #fff;
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .mod-analysis-hero-grid,
    .analysis-pillars,
    .analysis-breakdown,
    .match-feel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .mod-analysis-hero {
        padding-top: 42px;
    }

    .mod-analysis-hero-grid,
    .analysis-pillars,
    .analysis-breakdown,
    .comparison-grid,
    .match-feel-grid {
        grid-template-columns: 1fr;
    }

    .mod-analysis-copy,
    .analysis-section-head {
        text-align: left;
    }

    .mod-analysis-copy .hero-title {
        font-size: 2rem;
    }

    .analysis-scoreboard {
        max-width: 360px;
        width: 100%;
        margin: 0 auto;
    }

    .comparison-card dl div {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .comparison-card dd {
        white-space: normal;
    }
}

/* ========================================================================== 
   Smooth modern site transitions and airy mod story page
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
    body {
        opacity: 0;
        transform: translateY(34px);
        transition: opacity 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    body::after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 9999;
        pointer-events: none;
        background: linear-gradient(180deg, rgba(15, 20, 28, 0.76), #0F141C 72%);
        transform: translateY(100%);
        transition: transform 280ms cubic-bezier(0.76, 0, 0.24, 1);
    }

    body.page-ready {
        opacity: 1;
        transform: translateY(0);
    }

    body.page-leaving {
        opacity: 0;
        transform: translateY(-28px);
    }

    body.page-leaving::after {
        transform: translateY(0);
    }

    .reveal-on-scroll {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 760ms ease, transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .reveal-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

.download-modal-open {
    overflow: hidden;
}

.download-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background:
        radial-gradient(circle at 50% 34%, rgba(212, 175, 55, 0.16), transparent 34%),
        rgba(4, 7, 12, 0.42);
    backdrop-filter: blur(1.2px) saturate(0.95);
    animation: downloadModalIn 220ms ease both;
}

.download-modal-overlay.is-closing {
    animation: downloadModalOut 180ms ease both;
}

.download-modal-card {
    position: relative;
    width: min(620px, 100%);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
        rgba(8, 12, 20, 0.92);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    padding: clamp(1.5rem, 5vw, 2.4rem);
    text-align: center;
}

.download-modal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.18), transparent),
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.22), transparent 42%);
    opacity: 0.72;
    pointer-events: none;
}

.download-modal-card > * {
    position: relative;
    z-index: 1;
}

.download-modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 180ms ease;
}

.download-modal-close:hover {
    color: #fff;
    border-color: rgba(212, 175, 55, 0.42);
    background: rgba(212, 175, 55, 0.1);
}

.download-modal-logo {
    display: block;
    width: 150px;
    max-width: 42vw;
    margin: 0 auto 0.65rem;
    filter: drop-shadow(0 0 24px rgba(212, 175, 55, 0.35));
}

.download-modal-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: var(--accent-gold-light);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 auto 0.95rem;
}

.download-modal-title {
    margin: 0 0 0.7rem;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(1.55rem, 5vw, 2.7rem);
    line-height: 1.05;
}

.download-modal-version {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 100%;
    margin: 0.2rem auto 1rem;
    padding: 0.62rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.36);
    background: rgba(212, 175, 55, 0.08);
    color: var(--accent-gold-light);
    font-weight: 900;
    font-size: clamp(0.9rem, 3vw, 1.05rem);
}

.download-modal-text {
    max-width: 450px;
    margin: 0 auto 1.4rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.download-modal-count {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    margin: 0 auto 1.35rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.08);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    box-shadow: 0 0 34px rgba(212, 175, 55, 0.18);
}

.download-modal-progress {
    height: 3px;
    width: 100%;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 1.4rem;
}

.download-modal-progress span {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-cyan));
    transition: width 1s linear;
}

.download-modal-status {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.download-modal-frame {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    border: 0;
}

@keyframes downloadModalIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes downloadModalOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.mod-story-page {
    padding-top: 92px;
}

.mod-story-page .container {
    max-width: 1080px;
}

.mod-story-hero {
    position: relative;
    padding: 86px 0 74px;
    overflow: hidden;
}

.mod-story-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(212, 175, 55, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 58%);
    pointer-events: none;
}

.mod-story-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: center;
    gap: 4rem;
}

.mod-story-copy .hero-title {
    max-width: 760px;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 2.9rem;
    line-height: 1.08;
}

.mod-story-copy .hero-description {
    max-width: 650px;
    color: #D2DEEC;
    font-size: 1rem;
    line-height: 1.7;
}

.mod-story-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 230px;
}

.mod-story-mark img {
    width: 230px;
    max-width: 100%;
    filter: drop-shadow(0 0 28px rgba(255, 255, 255, 0.15));
}

.mod-story-mark span {
    margin-top: 1rem;
    color: var(--accent-gold-light);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.mod-story-section {
    padding: 58px 0;
}

.mod-story-narrow {
    max-width: 780px !important;
}

.mod-story-narrow h2,
.mod-story-split h2,
.final-story h2 {
    margin: 0.35rem 0 1rem;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    line-height: 1.18;
}

.mod-story-narrow p,
.story-rich-text p,
.story-line p {
    color: #C9D4E4;
    font-size: 0.98rem;
    line-height: 1.85;
}

.mod-story-narrow p + p,
.story-rich-text p + p {
    margin-top: 1.05rem;
}

.mod-story-split {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 4rem;
    align-items: start;
}

.gameplay-signature-story {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(212, 175, 55, 0.035));
}

.story-rich-text {
    position: relative;
    padding-left: 1.35rem;
}

.story-rich-text::before {
    content: "";
    position: absolute;
    top: 0.25rem;
    bottom: 0.25rem;
    left: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(252, 232, 166, 0.7), rgba(212, 175, 55, 0.08));
}

.mod-story-flow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 4rem;
}

.story-line {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 0 0 1.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.story-line i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold-light);
    font-size: 1rem;
}

.story-line h3 {
    margin: 0 0 0.38rem;
    color: #fff;
    font-size: 1rem;
    line-height: 1.25;
}

.final-story {
    text-align: center;
}

.final-story p {
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
}

@media (max-width: 900px) {
    .mod-story-hero-grid,
    .mod-story-split,
    .mod-story-flow {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mod-story-mark {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .mod-story-hero {
        padding: 46px 0 42px;
    }

    .mod-story-copy .hero-title {
        font-size: 2.08rem;
    }

    .mod-story-section {
        padding: 40px 0;
    }

    .mod-story-narrow h2,
    .mod-story-split h2,
    .final-story h2 {
        font-size: 1.4rem;
    }

    .story-rich-text {
        padding-left: 1rem;
    }

    .final-story {
        text-align: left;
    }
}

.mod-story-flow-complete {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 2.8rem;
}

@media (max-width: 980px) {
    .mod-story-flow-complete {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .mod-story-flow-complete {
        grid-template-columns: 1fr;
    }
}
/* Transition fix: keep header visible and avoid body-level scrollbar artifacts */
@media (prefers-reduced-motion: no-preference) {
    body {
        opacity: 1;
        transform: none;
        transition: none;
    }

    body::after {
        z-index: 80;
        top: 76px;
        background: linear-gradient(180deg, rgba(15, 20, 28, 0.58), #0F141C 76%);
    }

    body.page-ready,
    body.page-leaving {
        opacity: 1;
        transform: none;
    }

    main,
    .footer {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 240ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
        will-change: opacity, transform;
    }

    body.page-ready main,
    body.page-ready .footer {
        opacity: 1;
        transform: translateY(0);
    }

    body.page-leaving main,
    body.page-leaving .footer {
        opacity: 0;
        transform: translateY(-24px);
    }

    body.page-leaving::after {
        transform: translateY(0);
    }
}

/* Transition stability fix: overlay only, no document movement */
@media (prefers-reduced-motion: no-preference) {
    html,
    body {
        overflow-x: hidden;
    }

    body,
    body.page-ready,
    body.page-leaving,
    main,
    .footer,
    body.page-ready main,
    body.page-ready .footer,
    body.page-leaving main,
    body.page-leaving .footer {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }

    body::after {
        content: "";
        position: fixed;
        left: 0;
        right: 0;
        top: 76px;
        bottom: 0;
        z-index: 80;
        pointer-events: none;
        background: linear-gradient(180deg, rgba(15, 20, 28, 0.52), #0F141C 76%);
        transform: translate3d(0, 100%, 0);
        transition: transform 240ms cubic-bezier(0.76, 0, 0.24, 1);
    }

    body.page-leaving::after {
        transform: translate3d(0, 0, 0);
    }
}

.compatibility-panel-simple {
    grid-template-columns: auto minmax(0, 1fr);
}

@media (max-width: 768px) {
    .compatibility-panel-simple {
        grid-template-columns: 1fr;
    }
}

/* Unified page motion */
@media (prefers-reduced-motion: no-preference) {
    body {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero,
    main,
    .footer {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 360ms ease, transform 430ms cubic-bezier(0.22, 1, 0.36, 1);
        will-change: opacity, transform;
    }

    body.page-ready .hero,
    body.page-ready main,
    body.page-ready .footer {
        opacity: 1;
        transform: translateY(0);
    }

    body.page-leaving .hero,
    body.page-leaving main,
    body.page-leaving .footer {
        opacity: 0;
        transform: translateY(16px);
        transition-duration: 280ms;
    }

    html:has(body.page-leaving),
    body.page-leaving {
        overflow: hidden;
        scrollbar-gutter: stable;
    }

    body::after {
        content: "";
        position: fixed;
        left: 0;
        right: 0;
        top: 76px;
        bottom: 0;
        z-index: 80;
        pointer-events: none;
        overflow: hidden;
        contain: paint;
        background: linear-gradient(180deg, rgba(15, 20, 28, 0.42), rgba(15, 20, 28, 0.82) 62%, #0F141C);
        transform: translate3d(0, -100%, 0);
        opacity: 0;
        transition:
            transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
            opacity 260ms ease;
    }

    body.page-leaving::after {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }

    .reveal-on-scroll {
        opacity: 0;
        transform: translateY(24px);
        transition:
            opacity 560ms ease,
            transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
        will-change: opacity, transform;
    }

    .reveal-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* In-Game Settings Modal Popup - Ultra Pro & Sleek */
body.ingame-modal-open {
    overflow: hidden !important;
}

.ingame-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    background: rgba(8, 11, 18, 0.35);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms ease, visibility 200ms ease;
}

.ingame-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.ingame-modal-card {
    position: relative;
    width: 100%;
    max-width: 640px;
    background:
        linear-gradient(135deg, rgba(212, 175, 55, 0.08), transparent 40%),
        linear-gradient(180deg, rgba(24, 32, 44, 0.97), rgba(12, 17, 25, 0.99));
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 14px;
    padding: 1.35rem 1.55rem 1.1rem;
    box-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 20px 48px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(212, 175, 55, 0.12);
    transform: scale(0.96) translateY(8px);
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.ingame-modal-glow {
    position: absolute;
    top: 0;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(252, 232, 166, 0.65), transparent);
    pointer-events: none;
}

.ingame-modal-overlay.is-active .ingame-modal-card {
    transform: scale(1) translateY(0);
}

.ingame-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #A0B0C4;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.ingame-modal-close:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: rgba(212, 175, 55, 0.45);
    color: #FFF;
}

.ingame-modal-header {
    margin-bottom: 1.1rem;
    text-align: left;
    padding-right: 1.8rem;
}

.ingame-modal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-gold, #D4AF37);
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.ingame-modal-title {
    margin: 0 0 0.2rem;
    font-family: var(--font-heading);
    color: #FFFFFF;
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.25;
}

.ingame-modal-subtitle {
    margin: 0;
    color: var(--text-muted, #94A3B8);
    font-size: 0.82rem;
    line-height: 1.4;
}

.ingame-modal-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
}

.ingame-pro-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.65rem 0.85rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    transition: background 180ms ease, border-color 180ms ease;
}

.ingame-pro-row:hover {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(212, 175, 55, 0.2);
}

.ingame-pro-row-featured {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.02));
    border-color: rgba(212, 175, 55, 0.28);
}

.ingame-pro-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #E2E8F0;
    font-size: 0.84rem;
    font-weight: 600;
}

.ingame-pro-label i {
    color: var(--accent-gold-light, #FCE8A6);
    font-size: 0.88rem;
    width: 18px;
    text-align: center;
}

.ingame-pro-val {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    flex-shrink: 0;
}

.pro-badge {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    padding: 0;
    background: none !important;
    border: none !important;
    border-radius: 0;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: right;
}

.pro-badge-sub {
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.74rem;
    font-weight: 500;
    text-transform: none;
    color: var(--accent-gold-light, #FCE8A6);
    margin-left: 0.25rem;
}

.pro-sub-note {
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.72rem;
    color: #FF8F8F;
    opacity: 0.9;
    margin-top: 0.2rem;
    font-style: italic;
    text-align: right;
}

.ingame-pro-row-green {
    background: linear-gradient(90deg, rgba(0, 255, 102, 0.08), rgba(255, 255, 255, 0.02));
    border-color: rgba(0, 255, 102, 0.35) !important;
}

.install-setting-item-green {
    background: rgba(0, 255, 102, 0.04);
    border-left: 3px solid #00FF66 !important;
    padding-left: 0.6rem !important;
}

.pro-success-icon {
    color: #00FF66;
    margin-left: 0.35rem;
    font-size: 0.85rem;
    filter: drop-shadow(0 0 8px rgba(0, 255, 102, 0.6));
    animation: successPulse 2s infinite ease-in-out;
}

@keyframes successPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(1.18); }
}

.ingame-pro-row-warning {
    background: linear-gradient(90deg, rgba(255, 100, 100, 0.08), rgba(255, 255, 255, 0.02));
    border-color: rgba(255, 120, 120, 0.3) !important;
}

.install-setting-item-warning {
    background: rgba(255, 100, 100, 0.05);
    border-left: 3px solid #FF7878 !important;
    padding-left: 0.6rem !important;
}

.pro-warning-icon {
    color: #FFB347;
    margin-left: 0.35rem;
    font-size: 0.85rem;
    filter: drop-shadow(0 0 8px rgba(255, 179, 71, 0.6));
    animation: warningPulse 2s infinite ease-in-out;
}

@keyframes warningPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.18); }
}

.pro-info-btn {
    background: none;
    border: none;
    color: var(--accent-gold-light, #FCE8A6);
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0.1rem 0.35rem;
    margin-left: 0.35rem;
    opacity: 0.8;
    transition: opacity 180ms ease, color 180ms ease, transform 180ms ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.pro-info-btn span {
    font-size: 0.7rem;
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    letter-spacing: 0;
    text-transform: none;
}

.pro-info-btn:hover,
.pro-info-btn:focus {
    opacity: 1;
    color: #FFF;
    transform: translateY(-1px);
}

.pro-info-btn[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(15, 22, 33, 0.97);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: #E2E8F0;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    font-size: 0.74rem;
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    font-weight: 500;
    line-height: 1.45;
    white-space: normal;
    width: 250px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
    z-index: 100;
}

.pro-info-btn[data-tooltip]:hover::after,
.pro-info-btn[data-tooltip]:focus::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.pro-badge-green {
    color: #00FF66;
}

.pro-badge-neutral {
    color: #E2E8F0;
}

.pro-badge-off {
    color: #FF8F8F;
}

.pro-badge-gold {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.08));
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--accent-gold-light, #FCE8A6);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
}

.ingame-modal-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.2rem;
}

.ingame-modal-footer .btn-sm {
    padding: 0.4rem 1.1rem;
    font-size: 0.8rem;
}

/* ==========================================================================
   Live Community Chat Floating Widget
   ========================================================================== */
.live-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
}

.live-chat-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, rgba(24, 32, 45, 0.95), rgba(12, 17, 26, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--accent-gold-light, #FCE8A6);
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(212, 175, 55, 0.15);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
    position: relative;
}

.live-chat-trigger:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(212, 175, 55, 0.7);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.25);
}

.live-chat-trigger i {
    font-size: 1.05rem;
    color: var(--accent-gold, #D4AF37);
}

.live-chat-badge-dot {
    width: 8px;
    height: 8px;
    background: #00FF66;
    border-radius: 50%;
    box-shadow: 0 0 8px #00FF66;
    animation: liveDotPulse 2s infinite ease-in-out;
}

@keyframes liveDotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.live-chat-window {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 410px;
    height: 535px;
    background: linear-gradient(180deg, rgba(20, 27, 38, 0.98), rgba(10, 14, 21, 0.99));
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 30px rgba(212, 175, 55, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.95);
    transition: opacity 250ms cubic-bezier(0.16, 1, 0.3, 1), transform 250ms cubic-bezier(0.16, 1, 0.3, 1), visibility 250ms ease;
    backdrop-filter: blur(12px);
}

.live-chat-widget.is-open .live-chat-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.live-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.live-chat-alert {
    background: rgba(255, 65, 65, 0.14);
    border-bottom: 1px solid rgba(255, 65, 65, 0.35);
    color: #FF8888;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    line-height: 1.35;
    animation: fadeInChatAlert 0.25s ease-out;
}

.live-chat-alert.is-ban {
    background: linear-gradient(135deg, rgba(255, 45, 45, 0.22), rgba(180, 20, 20, 0.3));
    border-bottom: 1px solid rgba(255, 85, 85, 0.45);
    color: #FFAAAA;
}

.live-chat-alert i {
    font-size: 1.15rem;
    color: #FF5555;
    flex-shrink: 0;
}

@keyframes fadeInChatAlert {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.live-chat-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #FFFFFF;
    font-size: 0.92rem;
}

.live-status-indicator {
    width: 8px;
    height: 8px;
    background: #00FF66;
    border-radius: 50%;
    box-shadow: 0 0 8px #00FF66;
}

.live-chat-close-btn {
    background: none;
    border: none;
    color: #94A3B8;
    font-size: 1.05rem;
    cursor: pointer;
    padding: 0.2rem;
    transition: color 150ms ease;
}

.live-chat-close-btn:hover {
    color: #FFFFFF;
}

.live-chat-messages {
    flex: 1;
    padding: 0.85rem 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    scroll-behavior: smooth;
}

.live-chat-messages::-webkit-scrollbar {
    width: 4px;
}

.live-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

.live-chat-loading {
    text-align: center;
    color: #94A3B8;
    font-size: 0.82rem;
    margin: auto 0;
}

.chat-msg-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    max-width: 88%;
}

.chat-msg-item.is-me {
    align-self: flex-end;
}

.chat-msg-item.is-other {
    align-self: flex-start;
}

.chat-msg-author.is-admin-author {
    color: var(--accent-gold-light, #FCE8A6);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.chat-msg-author.is-admin-author i {
    color: var(--accent-gold, #D4AF37);
    font-size: 0.85rem;
}

.chat-msg-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
}

.chat-msg-item.is-me .chat-msg-meta {
    justify-content: flex-end;
}

.chat-msg-author {
    font-weight: 700;
    color: var(--accent-gold-light, #FCE8A6);
}

.chat-msg-time {
    color: #64748B;
}

.chat-msg-body {
    padding: 0.55rem 0.8rem;
    border-radius: 12px;
    font-size: 0.82rem;
    line-height: 1.4;
    word-break: break-word;
}

.chat-msg-item.is-me .chat-msg-body {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.1));
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #FFFFFF;
    border-bottom-right-radius: 2px;
}

.chat-msg-item.is-other .chat-msg-body {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #E2E8F0;
    border-bottom-left-radius: 2px;
}

.live-chat-form {
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.live-chat-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.chat-input-name {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.35rem 0.65rem;
    color: var(--accent-gold-light, #FCE8A6);
    font-size: 0.78rem;
    font-weight: 600;
    outline: none;
    transition: border-color 150ms ease;
}

.chat-input-name:focus {
    border-color: rgba(212, 175, 55, 0.5);
}

.chat-input-name.is-locked {
    background: rgba(255, 255, 255, 0.02) !important;
    color: var(--accent-gold-light, #FCE8A6) !important;
    border-color: rgba(212, 175, 55, 0.25) !important;
    cursor: not-allowed !important;
    opacity: 0.85;
}

.chat-input-row {
    display: flex;
    gap: 0.4rem;
}

.chat-input-msg {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
    color: #FFFFFF;
    font-size: 0.82rem;
    outline: none;
    transition: border-color 150ms ease;
}

.chat-input-msg:focus {
    border-color: rgba(212, 175, 55, 0.5);
}

.chat-send-btn {
    background: linear-gradient(135deg, var(--accent-gold, #D4AF37), #B89228);
    border: none;
    color: #0F1621;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.88rem;
    transition: transform 150ms ease, opacity 150ms ease;
}

.chat-send-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .live-chat-widget {
        bottom: 16px;
        right: 16px;
    }
    .live-chat-window {
        width: calc(100vw - 32px);
        height: 420px;
        right: 0;
    }
}

/* ========================================================================== 
   Public mobile polish - URG SIM
   Keeps admin untouched and tightens all public pages on phones.
   ========================================================================== */
@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container,
    .nav-container,
    .hero-container {
        width: 100%;
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar {
        padding: 0.55rem 0;
    }

    .nav-container {
        min-width: 0;
        gap: 0.75rem;
    }

    .logo {
        flex: 0 0 auto;
        min-width: 0;
        gap: 0.5rem;
    }

    .logo-img {
        height: 36px;
        max-width: 54px;
    }

    .logo-title {
        font-size: 0.82rem;
    }

    .logo-subtitle {
        display: none;
    }

    .nav-links {
        flex: 1 1 auto;
        min-width: 0;
        gap: 0.45rem;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0.15rem 0 0.25rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        flex: 0 0 auto;
        padding: 0.38rem 0.58rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.035);
        border: 1px solid rgba(255, 255, 255, 0.06);
        font-size: 0.76rem;
        white-space: nowrap;
    }

    .nav-links a.donate-nav-link {
        padding: 0.38rem 0.58rem;
        font-size: 0.76rem;
    }

    .global-announcement {
        top: 58px;
    }

    .global-announcement + .hero {
        padding-top: 205px;
    }

    .global-announcement + main,
    .mod-details-page,
    .install-page,
    .contact-page,
    .feedback-page,
    .mod-details-pro {
        padding-top: 142px;
    }

    .hero {
        padding: 96px 0 38px;
    }

    .hero-container,
    .latest-heading-row,
    .accordion-header,
    .compatibility-panel,
    .home-actions-grid,
    .support-panel,
    .contact-form-grid,
    .feedback-layout,
    .install-hero-grid,
    .install-authentic-alert,
    .install-step,
    .install-settings-list div,
    .mod-analysis-hero-grid,
    .analysis-pillars,
    .analysis-breakdown,
    .comparison-grid,
    .match-feel-grid,
    .mod-story-hero-grid,
    .mod-story-split,
    .mod-story-flow,
    .mod-story-flow-complete {
        grid-template-columns: 1fr !important;
    }

    .hero-content,
    .hero-media,
    .install-hero-grid,
    .mod-details-hero-grid {
        text-align: center;
        align-items: center;
    }

    .hero-title,
    .mod-analysis-copy .hero-title,
    .mod-story-copy .hero-title,
    .feedback-copy .hero-title {
        font-size: clamp(1.72rem, 8vw, 2.12rem);
        line-height: 1.12;
        letter-spacing: 0;
    }

    .hero-description,
    .mod-analysis-copy .hero-description,
    .feedback-copy .hero-description {
        max-width: 100%;
        font-size: 0.88rem;
    }

    .hero-actions,
    .latest-cta,
    .footer-links {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .btn,
    .latest-cta .btn,
    .hero-actions .btn,
    .footer-links a {
        width: 100%;
        min-height: 42px;
    }

    .hero-stats-strip {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
        text-align: center;
    }

    .latest-version-box,
    .accordion-item,
    .contact-form,
    .analysis-scoreboard,
    .match-feel-panel,
    .install-clean-block,
    .install-authentic-alert {
        border-radius: 10px;
        width: 100%;
    }

    .latest-title {
        font-size: clamp(1.55rem, 8vw, 2.05rem);
        overflow-wrap: anywhere;
    }

    .latest-meta-stack,
    .accordion-action {
        width: 100%;
        align-items: stretch;
    }

    .title-match-badge,
    .latest-release-date {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }

    .latest-change-list {
        grid-template-columns: 1fr !important;
    }

    .accordion-header {
        align-items: stretch;
    }

    .version-tag,
    .accordion-action {
        min-width: 0;
    }

    .v-number,
    .v-date,
    .details-text {
        overflow-wrap: anywhere;
    }

    .compatibility-eafc-logo,
    .install-game-mark img,
    .mod-details-game-mark img,
    .analysis-game-logo,
    .feedback-mark img {
        max-width: min(76vw, 220px);
    }

    .feedback-mark {
        justify-self: center;
    }

    .ingame-modal-overlay {
        align-items: flex-end;
        padding: 0.75rem;
    }

    .ingame-modal-card {
        max-height: calc(100dvh - 1.5rem);
        overflow-y: auto;
        padding: 1.1rem;
        border-radius: 12px;
    }

    .ingame-pro-row,
    .ingame-pro-label,
    .ingame-pro-val {
        align-items: flex-start;
        text-align: left;
    }

    .ingame-pro-row {
        flex-direction: column;
        gap: 0.45rem;
    }

    .pro-info-btn[data-tooltip]::after {
        left: auto;
        right: 0;
        transform: translateY(4px);
        width: min(78vw, 260px);
    }

    .pro-info-btn[data-tooltip]:hover::after,
    .pro-info-btn[data-tooltip]:focus::after {
        transform: translateY(0);
    }

    .live-chat-widget {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .live-chat-trigger {
        margin-left: auto;
        padding: 0.62rem 0.86rem;
    }

    .live-chat-window {
        right: 0;
        left: 0;
        width: 100%;
        height: min(70dvh, 520px);
        bottom: 58px;
    }

    .download-modal-card {
        width: min(100%, 420px);
        max-height: calc(100dvh - 1.5rem);
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13px;
    }

    .container,
    .nav-container,
    .hero-container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .nav-container {
        gap: 0.5rem;
    }

    .logo-img {
        height: 32px;
        max-width: 46px;
    }

    .logo-title {
        font-size: 0.76rem;
    }

    .nav-links a span {
        display: none;
    }

    .nav-links a {
        width: 38px;
        height: 38px;
        justify-content: center;
        padding: 0;
        font-size: 0.86rem;
    }

    .nav-links a.donate-nav-link {
        width: 38px;
        height: 38px;
        padding: 0;
    }

    .global-announcement-inner {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .global-announcement-mark {
        display: none;
    }

    .global-announcement-link {
        grid-column: auto;
        width: 100%;
    }

    .global-announcement + .hero {
        padding-top: 220px;
    }

    .global-announcement + main {
        padding-top: 164px;
    }

    .hero {
        padding-top: 86px;
    }

    .section {
        padding: 38px 0;
    }

    .section-title {
        font-size: 1.28rem;
    }

    .hero-game-badge {
        width: 100%;
        max-width: 240px;
    }

    .hero-stats-strip {
        grid-template-columns: 1fr;
    }

    .latest-header,
    .latest-body,
    .accordion-header,
    .accordion-content,
    .contact-form,
    .install-clean-block,
    .install-authentic-alert,
    .analysis-scoreboard,
    .match-feel-panel {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .latest-change-list li {
        grid-template-columns: 22px minmax(0, 1fr);
        gap: 0.58rem;
    }

    .latest-change-list i {
        width: 22px;
        height: 22px;
        font-size: 0.68rem;
    }

    .contact-form textarea {
        min-height: 140px;
    }

    .live-chat-trigger span {
        display: none;
    }

    .live-chat-trigger {
        width: 46px;
        height: 46px;
        justify-content: center;
        border-radius: 50%;
        padding: 0;
    }

    .live-chat-window {
        height: min(74dvh, 500px);
    }
}