/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Mode Theme */
    --primary: #ffffff;
    --primary-hover: #d4d4d4;
    --accent: #ffffff;

    /* Backgrounds */
    --bg-primary: #0d0d0d;
    --bg-secondary: #141414;
    --bg-card: #1c1c1c;

    /* Text */
    --text-primary: #f4f4f5;
    --text-secondary: #c8c8c8;
    --text-muted: #848484;

    /* UI */
    --border: #2c2c2c;
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.18);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.22);
    --shadow-lg: 0 8px 28px rgba(255, 255, 255, 0.07);
}

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section dividers — one rule covers every page */
section + section,
section ~ footer {
    border-top: 1px solid var(--border);
}

/* Header */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

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

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: opacity 0.2s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo-image {
    height: 34px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
    align-self: stretch;
    margin-left: auto;
    margin-right: 24px;
}

.nav-menu a {
    color: #e4e4e4;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffffff;
}

.btn-nav {
    background: var(--primary);
    color: #0d0d0d;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* Status badge */
.btn-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.25);
    color: #4ade80;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.btn-status:hover {
    background: rgba(74, 222, 128, 0.15);
    border-color: rgba(74, 222, 128, 0.45);
    color: #4ade80;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    flex-shrink: 0;
    animation: status-pulse 2.4s ease-in-out infinite;
}

@keyframes status-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
    50%       { opacity: 0.6; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0); }
}

@media (max-width: 768px) {
    .btn-status { display: none; }
}

/* Dropdown */
.dropdown {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 2px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    min-width: 160px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    padding: 4px 0;
    z-index: 999;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
}

.dropdown-menu.show {
    display: block;
    animation: navDropIn 0.18s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transform-origin: center;
}

/* Toggle straight to an X with no animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-panel {
    display: none;
}

/* Dimming backdrop behind the mobile slide-out menu (mobile only) */
.nav-backdrop {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 24px 100px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Slideshow background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.8s ease-in-out, transform 7s linear;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.0);
}

/* Dark gradient overlay — keeps text readable over any game image */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.62);
    z-index: 1;
}

/* Extra bottom-up gradient so stats/pills at the bottom read cleanly */
.hero-bg-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
}

/* Subtle brand tint on top */
.hero-bg-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 30% 60%,
        rgba(255,255,255,0.05) 0%,
        transparent 65%
    );
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-pills {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.68);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 5px 13px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-pill::before {
    content: "";
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.55);
    border-radius: 50%;
    flex-shrink: 0;
}

.btn {
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    touch-action: manipulation;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: #0d0d0d;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Hero trust badge */
.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 182, 122, 0.08);
    border: 1px solid rgba(0, 182, 122, 0.25);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #4ade9a;
    margin-bottom: 32px;
    text-decoration: none;
    transition: background 0.2s ease;
}
.hero-trust:hover { background: rgba(0, 182, 122, 0.14); }
.hero-trust-stars { color: #00b67a; letter-spacing: 2px; font-size: 14px; line-height: 1; }

/* Reviews / Trustpilot Section */
.reviews-section {
    background: var(--bg-secondary);
    padding: 64px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.tp-header {
    text-align: center;
    margin-bottom: 56px;
}

.tp-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.tp-brand-icon {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: #00b67a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tp-stars-large {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 16px;
}

.tp-star-lg {
    width: 44px;
    height: 44px;
    background: #00b67a;
    clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}

.tp-score-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
}

.tp-score {
    font-size: 3.6rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
}

.tp-score-label {
    font-size: 1rem;
    color: var(--text-muted);
}

.tp-count {
    font-size: 14px;
    color: var(--text-muted);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-stars {
    display: flex;
    gap: 3px;
}

.review-star {
    width: 18px;
    height: 18px;
    background: #00b67a;
    clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
    flex-shrink: 0;
}

.review-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.review-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.review-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.review-date {
    font-size: 12px;
    color: var(--text-muted);
}

.tp-cta {
    text-align: center;
}

.btn-trustpilot {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #00b67a;
    color: #fff;
    padding: 13px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-trustpilot:hover {
    background: #009e6a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 182, 122, 0.25);
}

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

/* Section Styling */
section {
    padding: 64px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    background: var(--bg-secondary);
    padding: 64px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Features bento layout */
.features-bento {
    display: grid;
    grid-template-columns: 1fr 1.65fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    min-height: 500px;
}

.feature-small {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-small:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.feature-small .feature-icon {
    font-size: 2rem;
    margin-bottom: 0;
}

.feature-small h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.feature-small p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

.feature-big {
    grid-column: 2;
    grid-row: 1 / 3;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-big:hover {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 40px rgba(255, 255, 255, 0.06);
}

.feature-gcore-tag {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
    margin-bottom: 24px;
}

.feature-gcore-tag img {
    height: 90px;
    width: auto;
    display: block;
}

.feature-big-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-top: auto;
    margin-bottom: 20px;
}

.feature-big h3 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.feature-big > p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-top: auto;
    margin-bottom: 28px;
}

.feature-big-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.feature-big-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.feature-big-list li:last-child {
    border-bottom: none;
}

.feature-big-list li::before {
    content: "✓";
    color: rgba(255, 255, 255, 0.7);
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}

@media (max-width: 860px) {
    .features-bento {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: 0;
    }
    .feature-big {
        grid-column: auto;
        grid-row: auto;
        min-height: 400px;
        justify-content: flex-start;
    }
}

/* Compact features override for individual game pages */
.features-compact {
    padding: 64px 0;
    min-height: unset;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.features-compact .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.features-compact .feature-card {
    padding: 22px;
}

.features-compact .feature-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.features-compact .feature-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.features-compact .feature-card p {
    font-size: 0.88rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .features-compact .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

/* Scroll anchor offset for fixed header */
section[id],
div[id] {
    scroll-margin-top: 74px;
}

/* Locations Section */
.locations {
    background: var(--bg-primary);
    padding: 64px 0 50px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.world-map {
    width: 100%;
    max-width: 1280px;
    margin: 36px auto 0;
    overflow: hidden;
}

.map-svg {
    width: 100%;
    height: auto;
    display: block;
}

.continent {
    fill: #262626;
    stroke: #383838;
    stroke-width: 0.8;
    stroke-linejoin: round;
}

.map-graticule {
    fill: none;
    stroke: #222;
    stroke-width: 0.5;
}

.map-dot {
    fill: #4ade80;
    stroke: none;
}

.map-pulse {
    fill: #4ade80;
    stroke: none;
}

@keyframes map-pulse {
    0%   { r: 5;  opacity: 0.7; }
    100% { r: 22; opacity: 0;   }
}

.map-pulse-a { animation: map-pulse 2.6s ease-out infinite; }
.map-pulse-b { animation: map-pulse 2.6s ease-out 0.85s infinite; }
.map-pulse-c { animation: map-pulse 2.6s ease-out 1.7s infinite; }

.map-label {
    fill: #f4f4f5;
    font-family: Inter, -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 700;
    pointer-events: none;
    letter-spacing: 0.02em;
}

.map-sublabel {
    fill: #848484;
    font-family: Inter, -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 500;
    pointer-events: none;
}

@media (max-width: 768px) {
    .map-label { font-size: 20px; }
    .map-sublabel { font-size: 16px; }
}

/* Games Section */
.games {
    background: var(--bg-primary);
    padding: 64px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.game-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
}

@media (hover: hover) {
    .game-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary);
    }
}

.game-banner {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    display: block;
}

.game-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 18px 18px;
    z-index: 1;
    pointer-events: none;
}

.game-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(170deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.65) 100%);
    z-index: 2;
    pointer-events: none;
}

.game-banner .banner-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.55s ease;
}

.game-card:hover .banner-bg-img {
    transform: scale(1.07);
}

/* Game hero logo */
.game-hero-logo {
    display: block;
    height: 72px;
    max-width: 280px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 16px;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.6));
}

@media (max-width: 768px) {
    .game-hero-logo {
        height: 52px;
        max-width: 200px;
    }
}

/* Overlay sits at the bottom of the image */
.game-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 24px 16px 14px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    background: linear-gradient(to top, rgba(0,0,0,0.90) 0%, transparent 100%);
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.card-price {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
}

/* Game-specific banner gradients (placeholder until real images) */
.minecraft-banner {
    background: linear-gradient(135deg, #8b4513 0%, #4a7c59 50%, #2e7d32 100%);
}

.rust-banner {
    background: linear-gradient(135deg, #cd5c5c 0%, #8b4513 50%, #2f4f4f 100%);
}

.ark-banner {
    background: linear-gradient(135deg, #228b22 0%, #6b8e23 50%, #8b7355 100%);
}

.cs2-banner {
    background: linear-gradient(135deg, #ff6347 0%, #4169e1 50%, #191970 100%);
}

.valheim-banner {
    background: linear-gradient(135deg, #4682b4 0%, #2f4f4f 50%, #8b4513 100%);
}

.unturned-banner {
    background: linear-gradient(135deg, #556b2f 0%, #696969 50%, #8b4513 100%);
}

.terraria-banner {
    background: linear-gradient(135deg, #00ced1 0%, #32cd32 50%, #8b4513 100%);
}

.palworld-banner {
    background: linear-gradient(135deg, #87ceeb 0%, #90ee90 50%, #dda0dd 100%);
}

.sevendays-banner {
    background: linear-gradient(135deg, #8b0000 0%, #2f4f4f 50%, #556b2f 100%);
}

.game-card-overlay h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.7);
    margin: 0;
}

.view-plans {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.game-card:hover .view-plans {
    gap: 8px;
    color: var(--primary);
}

/* Coming Soon cards */
.game-card-soon,
.catalog-card-soon {
    cursor: default;
    opacity: 0.72;
}

.game-card-soon .banner-bg-img,
.catalog-card-soon .banner-bg-img {
    filter: grayscale(40%);
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.85);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}

/* Show More Games Button */
.game-card.hidden {
    display: none;
}

.show-more-container {
    text-align: center;
    margin-top: 40px;
}

.btn-show-more {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border);
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-show-more:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #0d0d0d;
    transform: translateY(-2px);
}

/* Pricing Section (for game pages) */
.pricing {
    background: var(--bg-primary);
    padding: 48px 0 64px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}

/* Billing Switcher — hidden until re-enabled */
.billing-switcher {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-bottom: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 5px;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.billing-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.billing-btn:hover {
    color: var(--text-primary);
}

.billing-btn.active {
    background: var(--primary);
    color: #0d0d0d;
}

.billing-discount {
    font-size: 15px;
    font-weight: 700;
    color: #4ade80;
}

.billing-btn.active .billing-discount {
    color: #16a34a;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 24px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.pricing-card .plan-features {
    flex: 1;
}

@media (hover: hover) {
    .pricing-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary);
    }
}

.pricing-card.featured {
    border: 2px solid var(--primary);
}

.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #0d0d0d;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-header {
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.plan-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
}

.currency {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
}

.period {
    font-size: 0.9rem;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 8px;
}

.plan-tagline {
    color: var(--text-muted);
    font-size: 13px;
}

.plan-features {
    margin-bottom: 20px;
}

.plan-features li {
    padding: 7px 0;
    color: var(--text-secondary);
    font-size: 16px;
}

.btn-plan {
    width: 100%;
    background: var(--primary);
    color: #0d0d0d;
    padding: 10px;
    border-radius: 10px;
    touch-action: manipulation;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

@media (hover: hover) {
    .btn-plan:hover {
        background: var(--primary-hover);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
}
/* Legal Section */
.legal-section {
    padding: 100px 0 60px;
    background: var(--bg-primary);
    min-height: 100vh;
}

.legal-header {
    max-width: 1280px;
    margin: 0 auto 32px;
    padding: 0 40px 24px;
    border-bottom: 1px solid var(--border);
}

.legal-header h1 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.legal-header .legal-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.legal-layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 90px;
}

.legal-toc-title {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.legal-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 1px solid var(--border);
}

.legal-toc-list li a {
    display: block;
    padding: 6px 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: none;
    border-left: 2px solid transparent;
    margin-left: -1px;
    transition: color 0.15s, border-color 0.15s;
    line-height: 1.4;
}

.legal-toc-list li a:hover {
    color: var(--text-secondary);
}

.legal-toc-list li a.active {
    color: var(--text-primary);
    border-left-color: var(--text-primary);
}

.legal-body {
    min-width: 0;
}

.legal-body section {
    padding-top: 4px;
    margin-bottom: 32px;
    border: none;
    min-height: unset;
}

.legal-body h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.legal-body h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 20px 0 10px;
}

.legal-body p {
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.legal-body ul, .legal-body ol {
    padding-left: 20px;
    margin: 12px 0 14px;
    color: var(--text-secondary);
}

.legal-body li {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 6px;
}

.legal-body a {
    color: var(--primary);
    text-decoration: none;
}

.legal-body a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }
    .legal-toc {
        display: none;
    }
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 24px 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto 40px;
}

.footer-section h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
}

/* Loading Screen */

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Legal Pages */
.legal-page {
    margin-top: 80px;
    padding: 80px 0;
    background: var(--bg-primary);
    min-height: 100vh;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-updated {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 48px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 48px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.legal-content h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
    margin-left: 24px;
    margin-bottom: 20px;
}

.legal-content li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
    list-style: disc;
}

.legal-content a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--primary-hover);
}

/* Responsive Design */
@media (max-width: 968px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        order: 0;
    }

    /* Mobile: hamburger on the left, logo on the right */
    .nav-container .logo {
        order: 1;
    }

    .nav-menu {
        position: fixed;
        top: 65px;
        left: 0;
        width: 82%;
        max-width: 320px;
        height: calc(100vh - 65px);
        height: calc(100svh - 65px);
        overflow-y: auto;
        background: var(--bg-card);
        flex-direction: column;
        padding: 14px 12px calc(14px + env(safe-area-inset-bottom));
        gap: 3px;
        /* Slide in from the LEFT. Using transform (not left/right offsets) keeps the
           off-screen panel from widening the page and causing horizontal scroll. */
        transform: translateX(-100%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        border-right: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        align-items: stretch;
        margin: 0;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 998;
    }

    .nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu > li {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu > li:last-child {
        border-bottom: none;
    }

    .nav-menu > li > a {
        display: block;
        padding: 12px 14px;
        font-size: 15px;
        font-weight: 500;
        color: var(--text-secondary);
        border-radius: 10px;
        transition: background 0.18s ease, color 0.18s ease;
    }

    .nav-menu > li > a:hover,
    .nav-menu > li > a:active {
        background: rgba(255, 255, 255, 0.06);
        color: var(--text-primary);
    }

    .mobile-panel {
        display: block;
    }

    .dropdown {
        display: none;
    }

    .btn-nav {
        display: none;
    }

    .hero {
        padding: 120px 24px 60px;
        min-height: auto;
    }

    .hero-stats {
        flex-direction: column;
        gap: 32px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .world-map {
        max-width: 100%;
        margin: 24px auto 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing {
        min-height: 100svh;
    }

    .placeholder-section {
        min-height: 100svh;
    }

    section {
        padding: 60px 0;
    }

    .legal-content {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .container {
        padding: 0 16px;
    }

    .pricing-card {
        padding: 20px;
    }
}

/* Games nav dropdown */
.nav-item-dropdown {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.nav-dropdown-trigger {
    background: none;
    border: none;
    color: #e4e4e4;
    font-family: inherit;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    transition: color 0.3s ease;
}

.nav-dropdown-trigger:hover {
    color: var(--text-primary);
}

.nav-dropdown-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.nav-games-menu,
.nav-company-menu {
    display: none;
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    min-width: 180px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    z-index: 999;
    list-style: none;
    padding: 4px 0;
}

.nav-games-menu.show,
.nav-company-menu.show {
    display: block;
    animation: navDropIn 0.18s ease;
}

@keyframes navDropIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-games-menu li a,
.nav-company-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-games-menu li a:hover,
.nav-company-menu li a:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
}

/* Status entry in Company dropdown */
.nav-status-item a {
    display: flex !important;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary) !important;
}

.nav-status-item a:hover {
    background: rgba(74, 222, 128, 0.08) !important;
    color: var(--text-primary) !important;
}

.nav-games-all a {
    color: var(--primary) !important;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}

/* Active nav state — highlights the current page and its parent dropdown */
.nav-menu a.active,
.nav-dropdown-trigger.active {
    color: #ffffff;
    font-weight: 600;
}

.nav-sub-menu a.active {
    color: #ffffff !important;
    font-weight: 600 !important;
    background: rgba(255, 255, 255, 0.08);
}

/* First section on game sub-pages — clears the fixed nav */
.page-top {
    padding-top: 120px !important;
}

/* ── Game page hero banner ── */
.game-page-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

/* Dot-grid texture */
.game-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
    pointer-events: none;
}

/* Gradient vignette */
.game-page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.85) 65%, rgba(10,10,10,1) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Image slot — add src when ready */
.game-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.game-hero-content {
    position: relative;
    z-index: 3;
    padding-bottom: 64px;
    width: 100%;
}


.game-hero-content h1 {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.4);
    letter-spacing: -0.02em;
}

.game-hero-content > p {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
    font-weight: 400;
}

.game-hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.game-hero-meta span {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
}

.game-hero-meta strong {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
}

.game-hero-meta .dot {
    color: rgba(255,255,255,0.3);
}

.hero-meta-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-meta-link:hover {
    color: rgba(255,255,255,0.75);
}


.game-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    touch-action: manipulation;
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) {
    .game-hero-btn:hover {
        background: rgba(255,255,255,0.24);
        border-color: rgba(255,255,255,0.45);
    }
}

@media (max-width: 768px) {
    .game-page-hero {
        min-height: 100svh;
    }

    .game-hero-content {
        padding-bottom: 36px;
    }

    .game-hero-content h1 {
        font-size: clamp(2.4rem, 10vw, 4rem);
        overflow-wrap: break-word;
        word-break: break-word;
    }
}

/* Mobile games accordion */
@media (max-width: 768px) {
    /* Kill every border in the mobile nav — nothing should produce a stray line */
    .nav-menu > li,
    .nav-menu > li > a,
    .nav-item-dropdown,
    .nav-dropdown-trigger,
    .nav-games-menu,
    .nav-company-menu,
    .nav-games-menu li,
    .nav-company-menu li,
    .nav-games-menu li a,
    .nav-company-menu li a,
    .nav-games-all a {
        border-top: none !important;
        border-bottom: none !important;
        border-right: none !important;
    }

    .nav-item-dropdown {
        width: 100%;
        display: block;
        flex-direction: unset;
        align-items: unset;
    }

    .nav-dropdown-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 12px 14px;
        border-radius: 10px;
        font-size: 15px;
        color: var(--text-secondary);
        transition: background 0.18s ease, color 0.18s ease;
    }

    .nav-dropdown-trigger:hover,
    .nav-dropdown-trigger:active {
        background: rgba(255, 255, 255, 0.06);
        color: var(--text-primary);
    }

    /* Keep the open dropdown header highlighted (don't let it fade after tap) */
    .nav-dropdown-trigger[aria-expanded="true"] {
        color: var(--text-primary);
        font-weight: 600;
        background: rgba(255, 255, 255, 0.06);
    }

    .nav-games-menu,
    .nav-company-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border-left: none !important;
        border-radius: 0;
        background: transparent;
        min-width: 0;
        /* indent the sub-items under the parent — no shaded background */
        padding: 0 0 4px 14px;
        margin: 0;
    }

    .nav-games-menu.show,
    .nav-company-menu.show {
        display: block;
        animation: none;
    }

    .nav-games-menu li,
    .nav-company-menu li {
        padding: 0;
    }

    .nav-games-all a {
        margin-bottom: 0;
        color: var(--text-muted) !important;
        font-weight: 500 !important;
        border-bottom: none !important;
    }

    .nav-games-menu li a,
    .nav-company-menu li a {
        display: block;
        padding: 9px 12px;
        font-size: 14px;
        color: var(--text-muted);
        font-weight: 500;
        border-radius: 8px;
        transition: background 0.18s ease, color 0.18s ease;
    }

    .nav-status-item a {
        color: var(--text-muted) !important;
    }

    .nav-games-menu li a:hover,
    .nav-company-menu li a:hover,
    .nav-games-menu li a:active,
    .nav-company-menu li a:active {
        background: rgba(255, 255, 255, 0.07);
        color: var(--text-primary);
    }

    /* Active sub-item: just white text — no shaded background */
    .nav-games-menu li a.active,
    .nav-company-menu li a.active {
        background: transparent !important;
        color: var(--text-primary) !important;
    }

    .game-hero {
        padding: 110px 20px 60px !important;
    }
}

/* Selection */
::selection {
    background: var(--primary);
    color: #0d0d0d;
}

/* ── Premium Plugins Section ─────────────────────────────────────────────── */
.premium-plugins-section {
    background: var(--bg-primary);
    padding: 64px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.premium-plugins-badges {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.pp-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pp-badge-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pp-badge-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.premium-plugins-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px 16px;
}

.plugin-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    position: relative;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.plugin-item:hover {
    transform: translateY(-4px);
}

.plugin-price-tooltip {
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 10;
}

.plugin-price-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--border);
}

.plugin-item:hover .plugin-price-tooltip {
    opacity: 1;
}

.plugin-icon-disc {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
}

.plugin-icon-disc img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.plugin-item span {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

@media (max-width: 720px) {
    .premium-plugins-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .premium-plugins-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ── Placeholder Section ───────────────────────────────────────────────────── */
.placeholder-section {
    background: var(--bg-primary);
    min-height: 100vh;
}

/* ── FakeIP Stats Section ──────────────────────────────────────────────────── */
.fakeip-stats-section {
    padding: 64px 0;
    background: var(--bg-secondary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: -12px;
    margin-bottom: 40px;
}

.fakeip-stat-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 48px;
}

.fakeip-stat-box {
    padding: 32px 28px;
    text-align: center;
}

.fakeip-stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.fakeip-stat-total {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.fakeip-stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.fakeip-top-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.fakeip-top-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.fakeip-server-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fakeip-server-row {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    transition: border-color 0.2s;
}

.fakeip-server-row:hover {
    border-color: #444;
}

.fakeip-server-rank {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.fakeip-server-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
    overflow: hidden;
}

.fakeip-server-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.fakeip-server-icon-fallback {
    width: 44px;
    height: 44px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
}

.fakeip-server-info {
    flex: 1;
    min-width: 0;
}

.fakeip-server-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fakeip-server-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fakeip-server-players {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    flex-shrink: 0;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.fakeip-loading {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    padding: 32px;
}

@media (max-width: 900px) {
    .fakeip-server-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .fakeip-stat-boxes {
        grid-template-columns: 1fr;
    }
    .fakeip-stat-value {
        font-size: 28px;
    }
}

/* Alt background for features section */
.features-alt {
    background: var(--bg-secondary);
}

/* ── Panel Showcase Section ────────────────────────────────────────────────── */
.panel-showcase-section {
    padding: 48px 0;
    background: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.panel-showcase-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.panel-showcase-tab {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.18s;
    font-family: inherit;
    white-space: nowrap;
}

.panel-showcase-tab:hover {
    border-color: #555;
    color: var(--text-primary);
}

.panel-showcase-tab.active {
    background: #fff;
    border-color: #fff;
    color: #0d0d0d;
}

.panel-showcase-frame {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    max-width: 980px;
    margin: 0 auto;
    width: 100%;
}

.panel-showcase-bar {
    background: #1a1a1a;
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-showcase-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.panel-showcase-url {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 11px;
    color: var(--text-muted);
    font-family: monospace;
    margin-left: 8px;
}

.panel-showcase-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.panel-expand-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 6px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
    opacity: 0.7;
}
.panel-expand-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    opacity: 1;
}

.panel-showcase-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.panel-showcase-slide.active {
    opacity: 1;
    pointer-events: auto;
}

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

/* ── Lightbox ──────────────────────────────────────────────────────────────── */
.lb-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    box-sizing: border-box;
    cursor: zoom-out;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}
.lb-overlay.lb-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.86);
    backdrop-filter: blur(8px);
}
.lb-img {
    max-width: 100%;
    max-height: 88vh;
    border-radius: 12px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.07);
    cursor: default;
    transform: scale(0.88);
    transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.lb-overlay.lb-open .lb-img {
    transform: scale(1);
}
.lb-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.75);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.lb-close:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
    transform: scale(1.08);
}

.panel-showcase-caption {
    max-width: 1100px;
    margin: 20px auto 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.panel-showcase-caption-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

.panel-showcase-caption-item strong {
    color: var(--text-primary);
}

@media (max-width: 640px) {
    .panel-showcase-caption {
        flex-direction: column;
        align-items: stretch;
    }
    .panel-showcase-caption-item {
        justify-content: center;
    }
    .panel-showcase-tabs {
        gap: 6px;
    }
    .panel-showcase-tab {
        padding: 7px 13px;
        font-size: 13px;
    }
}
