
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    background: radial-gradient(circle at top, #1a0000, #050505 60%);
    color: #fff;
    overflow-x: hidden;
}

/* Háttér: ucp.rcrp.hu stílus, kockák és sárga/arany látható a főoldalon is */
.site-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(180, 0, 0, 0.18), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 0, 0, 0.12), transparent),
        radial-gradient(ellipse 50% 35% at 20% 80%, rgba(243, 208, 58, 0.14), transparent);
}

/* Rács (kockák) – erősebb, hogy a főoldalon is látszódjon */
.site-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

header {
    background: linear-gradient(180deg, #161616 0%, #0f0f0f 50%, #0a0a0a 100%);
    padding: 0;
    border-bottom: 1px solid #1f1f1f;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(225, 29, 46, 0.15) inset;
    position: relative;
}

header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(225, 29, 46, 0.6) 20%, rgba(225, 29, 46, 0.9) 50%, rgba(225, 29, 46, 0.6) 80%, transparent 100%);
    opacity: 0.9;
}

.top-banner {
    margin-bottom: 10px;
    width: 100%;
    position: relative;
}

/* Banner rotator – egész kép látszik ÉS kitölti a felső részt (4:1 = 4:1, nincs vágás) */
.banner-rotator {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 1;
    overflow: hidden;
}

.banner-rotator .banner-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: scale(0.98);
    opacity: 0;
    filter: blur(0);
    transition: opacity 0.7s ease, transform 0.7s ease, filter 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.banner-rotator .banner-slide.active {
    transform: scale(1);
    opacity: 1;
    z-index: 1;
}

.banner-rotator .banner-slide.exiting {
    filter: blur(10px);
    opacity: 0;
}

.banner-rotator .banner-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.banner-dot:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.banner-dot.active {
    background: #e11d2e;
    border-color: #e11d2e;
    transform: scale(1.2);
}

nav {
    display: flex;
    align-items: center;
    padding: 10px 30px;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.logo img {
    height: 72px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.menu a,
.menu button,
.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    border-radius: 999px;
}

.menu a:hover,
.menu button:hover,
.dropdown-trigger:hover {
    border-color: rgba(225, 29, 46, 0.5);
    background: rgba(225, 29, 46, 0.12);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(225, 29, 46, 0.2);
}

.menu a:hover i,
.menu button:hover i,
.dropdown-trigger:hover i {
    color: #e11d2e;
}

/* DROPDOWN FIX */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 2px;
    padding-top: 8px;
    background: linear-gradient(180deg, #161616 0%, #0f0f0f 100%);
    border: 1px solid rgba(225, 29, 46, 0.35);
    border-radius: 12px;
    min-width: 200px;
    display: none;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.04) inset;
}

/* Lenyíló és trigger közötti „híd”, ne zárjon be az egér mozgatásakor */
.dropdown-content::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 12px;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover {
    background: rgba(225, 29, 46, 0.15);
    color: #fff;
}

.dropdown:hover .dropdown-content,
.dropdown-content:hover {
    display: block;
}

main {
    text-align: center;
    padding: 60px 20px 80px;
}

.hero {
    max-width: 1100px;
    margin: 0 auto 50px;
    padding: 40px 20px 30px;
    background: radial-gradient(1200px 400px at 50% -200px, rgba(225, 29, 46, 0.35), transparent 70%);
    border-radius: 16px;
}

/* Hogyan csatlakozz */
.how-to-join-section {
    margin: 50px auto 20px;
    max-width: 900px;
    padding: 0 20px;
    text-align: center;
}

.how-to-join-section h2 {
    font-size: 24px;
}

.steps {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.step {
    background: #111;
    border: 1px solid #1f1f1f;
    border-radius: 14px;
    padding: 20px 14px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(225, 29, 46, 0.12);
    border-color: rgba(225, 29, 46, 0.35);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(225, 29, 46, 0.25);
    color: #e11d2e;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 12px;
}

.step h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.step p {
    font-size: 13px;
    color: #b7b7b7;
    line-height: 1.45;
}

.step a {
    color: #e11d2e;
    text-decoration: none;
}

.step a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.values-section {
    margin: 40px auto 20px;
    max-width: 1000px;
    padding: 0 20px;
    text-align: center;
}

.values-section h2 {
    font-size: 24px;
}

.values-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.value-card {
    background: #111;
    border: 1px solid #1f1f1f;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.value-card i {
    font-size: 22px;
    color: #e11d2e;
}

.value-card h3 {
    margin-top: 10px;
    font-size: 16px;
}

.value-card p {
    margin-top: 6px;
    color: #b7b7b7;
    font-size: 13px;
    line-height: 1.4;
}

.hero h1 {
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: 0.3px;
    position: relative;
    text-shadow: 0 0 18px rgba(225, 29, 46, 0.45);
}

.hero h1::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 700px;
    height: 180px;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(225, 29, 46, 0.85), transparent 70%);
    filter: blur(26px);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.98);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.03);
    }
}

@media (max-width: 640px) {
    .hero h1::after {
        width: 480px;
        height: 140px;
    }
}

.hero p {
    margin-top: 10px;
    color: #c8c8c8;
    font-size: 16px;
}

.hero-live {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #2a2a2a;
    background: rgba(255, 255, 255, 0.03);
    font-size: 13px;
    color: #d7d7d7;
}

.hero-actions {
    margin-top: 22px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: 0.2s ease;
}

.btn-primary {
    background: #e11d2e;
    box-shadow: 0 8px 20px rgba(225, 29, 46, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(225, 29, 46, 0.35);
}

.btn-ghost {
    border-color: #333;
    color: #eaeaea;
    background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
    border-color: #555;
    background: rgba(255, 255, 255, 0.06);
}

.hero-stats {
    margin-top: 26px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    min-width: 140px;
    padding: 12px 16px;
    border: 1px solid #2b2b2b;
    border-radius: 12px;
    background: rgba(17, 17, 17, 0.6);
}

.stat-value {
    display: block;
    font-weight: 700;
    font-size: 18px;
}

.stat-label {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.showroom-section {
    margin-top: 40px;
}

.showroom-section h2 {
    font-size: 24px;
}

.section-subtitle {
    margin-top: 6px;
    color: #b7b7b7;
    font-size: 14px;
}

/* Csapat / Staff – külön kártyák, 2 sor, rang színek */
.team-section {
    margin-top: 50px;
    text-align: center;
    padding: 0 20px;
}

.team-section h2 {
    font-size: 24px;
}

.team-section .team-grid {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.team-section .team-row {
    display: grid;
    gap: 16px;
    width: 100%;
    justify-content: center;
}

/* 3 kártyás sor (Donny, Tarcsa, Szabolcs): középre igazítva */
.team-section .team-row-1 {
    grid-template-columns: 1fr 160px 160px 160px 1fr;
    max-width: 100%;
}
.team-section .team-row-1 .staff-card:nth-child(1) { grid-column: 2; }
.team-section .team-row-1 .staff-card:nth-child(2) { grid-column: 3; }
.team-section .team-row-1 .staff-card:nth-child(3) { grid-column: 4; }

/* 3 kártyás sor (Damien, Escanor, 2iksz): középre igazítva */
.team-section .team-row-2 {
    grid-template-columns: 1fr 160px 160px 160px 1fr;
    max-width: 100%;
}
.team-section .team-row-2 .staff-card:nth-child(1) { grid-column: 2; }
.team-section .team-row-2 .staff-card:nth-child(2) { grid-column: 3; }
.team-section .team-row-2 .staff-card:nth-child(3) { grid-column: 4; }

/* 3 kártyás sor: középre igazítva (1fr | kártya | kártya | kártya | 1fr) */
.team-section .team-row-3 {
    grid-template-columns: 1fr 160px 160px 160px 1fr;
}
.team-section .team-row-3 .staff-card:nth-child(1) { grid-column: 2; }
.team-section .team-row-3 .staff-card:nth-child(2) { grid-column: 3; }
.team-section .team-row-3 .staff-card:nth-child(3) { grid-column: 4; }

.team-section .staff-card {
    background: #111;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    width: 160px;
}

.team-section .staff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    border-color: #444;
}

.team-section .staff-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: #1a1a1a;
    border: 2px solid #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.team-section .staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-section .staff-avatar-fallback {
    display: none;
    font-size: 28px;
    color: #444;
}

.team-section .staff-avatar-fallback.show {
    display: block;
}

.team-section .staff-name {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.team-section .staff-role {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.team-section .staff-role-owner {
    background: rgba(225, 29, 46, 0.35);
    color: #e11d2e;
    border: 1px solid rgba(225, 29, 46, 0.6);
}

.team-section .staff-role-dev {
    background: rgba(96, 165, 250, 0.35);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.6);
}

.team-section .staff-role-superadmin {
    background: rgba(251, 146, 60, 0.35);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.6);
}

.team-section .staff-role-mainadmin {
    background: rgba(168, 85, 247, 0.35);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.6);
}

.team-section .staff-role-modeler {
    background: rgba(34, 197, 94, 0.35);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.6);
}

.team-section .staff-role-media {
    background: rgba(236, 72, 153, 0.35);
    color: #ec4899;
    border: 1px solid rgba(236, 72, 153, 0.6);
}

.team-section .staff-discord {
    color: #5865f2;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.15s, transform 0.15s;
}

.team-section .staff-discord:hover {
    color: #7983f5;
    transform: scale(1.1);
}

/* FAQ */
.faq-section {
    margin-top: 50px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    text-align: center;
}

.faq-section h2 {
    font-size: 24px;
}

.faq-list {
    margin-top: 24px;
    text-align: left;
}

.faq-item {
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    margin-bottom: 10px;
    background: #111;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.04);
}

.faq-icon {
    flex-shrink: 0;
    color: #e11d2e;
    transition: transform 0.25s ease;
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.is-open .faq-answer {
    max-height: 600px;
}

.faq-answer p {
    padding: 0 18px 16px;
    margin: 0;
    color: #b7b7b7;
    font-size: 14px;
    line-height: 1.55;
}

.faq-answer p:first-child {
    padding-top: 4px;
}

.faq-answer a {
    color: #e11d2e;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.partners-section {
    margin-top: 50px;
    text-align: center;
}

.partners-section h2 {
    font-size: 24px;
}

.partners-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.partner-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 18px;
    align-items: center;
    background: #101010;
    border: 1px solid #262626;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}

.partner-logo {
    width: 160px;
    height: 160px;
    border-radius: 16px;
    background: #0b0b0b;
    border: 1px solid #2a2a2a;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.partner-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.partner-links {
    display: grid;
    gap: 8px;
}

.partner-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #eaeaea;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #2a2a2a;
    background: rgba(255, 255, 255, 0.02);
    transition: 0.2s ease;
}

.partner-links a:hover {
    border-color: #444;
    background: rgba(255, 255, 255, 0.06);
}

.site-footer {
    margin-top: 60px;
    padding: 20px 20px 30px;
    text-align: center;
    color: #8f8f8f;
    font-size: 12px;
    border-top: 1px solid #1f1f1f;
}

.scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #2a2a2a;
    background: rgba(16, 16, 16, 0.9);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: 0.2s ease;
    z-index: 20;
}

.scroll-top.show {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    border-color: #444;
    background: rgba(30, 30, 30, 0.95);
}

.discord-float {
    position: fixed;
    right: 22px;
    bottom: 78px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #5865f2;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(88, 101, 242, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: discordPulse 2s ease-in-out infinite;
    z-index: 20;
}

.discord-float:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

@keyframes discordPulse {
    0%, 100% {
        box-shadow: 0 10px 22px rgba(88, 101, 242, 0.35);
    }
    50% {
        box-shadow: 0 14px 28px rgba(88, 101, 242, 0.5);
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.lightbox.show {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 12px;
    border: 1px solid #333;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
}

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

.footer-links a {
    color: #bdbdbd;
    text-decoration: none;
    transition: 0.2s ease;
}

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

.footer-sep {
    color: #555;
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: white;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 999px;
    transition: 0.2s ease;
}

.back-home:hover {
    border-color: #e11d2e;
    background: rgba(225, 29, 46, 0.08);
}

.rules-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 28px;
}

.btn-rules {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

.btn-rules:hover {
    border-color: #e11d2e;
    background: rgba(225, 29, 46, 0.12);
}

.rules-back-wrap {
    margin-top: 32px;
    text-align: center;
}

.legal-page .rules-back-wrap {
    margin-top: 32px;
}

.coming-soon {
    font-size: 18px;
    color: #b7b7b7;
    margin: 24px 0;
}

.legal-page-date {
    margin-top: 28px;
    font-size: 13px;
    color: #888;
}

.legal-page {
    max-width: 900px;
    margin: 40px auto 80px;
    padding: 0 20px;
    text-align: left;
}

.legal-page h1 {
    font-size: 28px;
    margin-bottom: 12px;
}

.legal-page h2 {
    font-size: 18px;
    margin: 20px 0 8px;
}

.legal-page p,
.legal-page li {
    color: #c9c9c9;
    font-size: 14px;
    line-height: 1.6;
}

.legal-page ul {
    margin: 8px 0 0 18px;
}

.server-stats {
    margin: 10px auto 40px;
    max-width: 1100px;
    padding: 0 20px;
}

.section-header {
    text-align: center;
}

.stats-panel {
    margin-top: 20px;
    background: #0f0f0f;
    border: 1px solid #262626;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

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

.stat-card {
    background: #111;
    border: 1px solid #1f1f1f;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.stat-card.span-2 {
    grid-column: span 2;
}

.stat-title {
    display: block;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #b0b0b0;
}

.stat-value {
    display: block;
    margin-top: 8px;
    font-size: 18px;
    font-weight: 700;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border: 1px solid #333;
    background: rgba(255, 255, 255, 0.04);
    gap: 8px;
}

.status-online {
    color: #7dff9a;
    border-color: rgba(125, 255, 154, 0.5);
    background: rgba(125, 255, 154, 0.1);
}

.status-offline {
    color: #ff9b9b;
    border-color: rgba(255, 155, 155, 0.5);
    background: rgba(255, 155, 155, 0.1);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #33ff77;
    box-shadow: 0 0 10px rgba(51, 255, 119, 0.8);
    animation: livePulse 1.6s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.stat-copy {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #333;
    background: transparent;
    color: #eaeaea;
    cursor: pointer;
    transition: 0.2s ease;
}

.stat-copy:hover {
    border-color: #555;
    background: rgba(255, 255, 255, 0.06);
}

.stats-chart {
    margin-top: 18px;
    background: #0d0d0d;
    border: 1px solid #1f1f1f;
    border-radius: 14px;
    padding: 14px 16px 16px;
    position: relative;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #b7b7b7;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 10px;
}

#playersChart {
    width: 100%;
    height: 160px;
    display: block;
}

.chart-tooltip {
    position: absolute;
    pointer-events: none;
    padding: 6px 10px;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid #333;
    color: #fff;
    font-size: 12px;
    border-radius: 8px;
    opacity: 0;
    transform: translate(-50%, -120%);
    transition: opacity 0.08s ease;
    white-space: nowrap;
}

.showroom {
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1040px;
    padding: 0 20px;
}

.showroom-card {
    aspect-ratio: 1 / 1;
    border: 1px solid #2a2a2a;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
    border-radius: 12px;
    overflow: hidden;
    background: #101010;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.showroom-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.55);
}

.showroom-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, filter 0.35s ease;
    cursor: zoom-in;
}

.showroom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    line-height: 1.3;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    backdrop-filter: blur(6px);
}

.showroom-card:hover .showroom-overlay {
    opacity: 1;
}

.showroom-card:hover img {
    transform: scale(1.05);
    filter: blur(1px);
}

#infobox {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #16a34a;
    color: #fff;
    padding: 12px 24px;
    display: none;
    border-radius: 8px;
    z-index: 10000;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1100px) {
    .showroom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 640px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .stat-card.span-2 {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 28px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-card.span-2 {
        grid-column: span 1;
    }
    .showroom {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .team-section .team-row-1,
    .team-section .team-row-2,
    .team-section .team-row-3 {
        grid-template-columns: repeat(2, 140px);
    }
    .team-section .staff-card {
        width: 140px;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Anchor scroll offset below fixed header */
section[id] {
    scroll-margin-top: 100px;
}

