/* =========================================================
   Wardogs ZA — Stylesheet
   ========================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-primary:    #0a0c10;
    --bg-secondary:  #11161d;
    --bg-card:       #181f2a;
    --bg-card-hover: #1e2735;
    --border-color:  #2a3441;
    --text-primary:  #f0f4f8;
    --text-secondary:#94a3b8;
    --text-muted:    #64748b;
    --accent:        #f59e0b;
    --accent-hover:  #fbbf24;
    --accent-glow:   rgba(245, 158, 11, 0.15);
    --discord:       #5865F2;
    --discord-hover: #4752c4;
    --steam:         #1b2838;
    --steam-hover:   #2a475e;
    --danger:        #ef4444;
    --success:       #22c55e;
    --warn:          #f59e0b;
    --radius:        12px;
    --radius-sm:     8px;
    --shadow:        0 4px 24px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Layout helpers ─────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 32px;
    max-width: 700px;
}

.section-cta {
    margin-top: 32px;
    text-align: center;
}

.button-row {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Badges ─────────────────────────────────────────────── */
.badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-green {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    border-color: rgba(34, 197, 94, 0.3);
}

.badge-blue {
    background: rgba(88, 101, 242, 0.15);
    color: #818cf8;
    border-color: rgba(88, 101, 242, 0.3);
}

.badge-amber {
    background: var(--accent-glow);
    color: var(--accent);
    border-color: rgba(245, 158, 11, 0.3);
}

/* ── Header ─────────────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-war {
    height: 26px;
    width: auto;
    display: block;
}

.logo-za {
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    color: var(--accent);
    padding-left: 10px;
    border-left: 1px solid var(--border-color);
}

nav { display: flex; gap: 4px; }

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

nav a:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

nav a.active {
    color: var(--accent);
    background: var(--accent-glow);
}

.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1rem;
}

/* ── Hero with key art background ───────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-compact { min-height: 440px; padding: 64px 0; }

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg,
            rgba(10,12,16,0.92) 0%,
            rgba(10,12,16,0.75) 40%,
            rgba(10,12,16,0.35) 70%,
            rgba(10,12,16,0.6) 100%),
        linear-gradient(180deg,
            rgba(10,12,16,0.2) 0%,
            rgba(10,12,16,0.5) 80%,
            var(--bg-primary) 100%);
}

.hero-inner { width: 100%; }

.hero-content { max-width: 620px; }

.hero-logo {
    height: 64px;
    width: auto;
    display: block;
    margin-bottom: 24px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 12px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.hero-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Trailer ────────────────────────────────────────────── */
.trailer-section { background: var(--bg-secondary); }

.trailer-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: #000;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
    max-width: 960px;
    margin: 0 auto;
}

.trailer-wrapper video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* ── Screenshots: homepage strip ────────────────────────── */
.screenshot-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.screenshot-strip-item {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    aspect-ratio: 16 / 9;
    position: relative;
    transition: all 0.25s;
}

.screenshot-strip-item:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}

.screenshot-strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.screenshot-strip-item:hover img { transform: scale(1.06); }

/* ── Screenshots: full grid on media page ───────────────── */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.screenshot-thumb {
    appearance: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0;
    background: var(--bg-card);
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    position: relative;
    transition: all 0.2s;
}

.screenshot-thumb:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.screenshot-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.screenshot-thumb:hover img { transform: scale(1.05); }

/* ── Key art ────────────────────────────────────────────── */
.keyart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.keyart-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    transition: all 0.2s;
}

.keyart-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.keyart-preview {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.keyart-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.keyart-card:hover .keyart-preview img { transform: scale(1.04); }

.keyart-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}
.keyart-dl { color: var(--accent); }

/* ── Logos ──────────────────────────────────────────────── */
.logo-group { margin-bottom: 32px; }
.logo-group h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.logo-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-card);
    transition: all 0.2s;
}

.logo-card:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.logo-preview {
    aspect-ratio: 5 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        repeating-conic-gradient(#1a1f28 0% 25%, #141920 0% 50%)
        50% / 16px 16px;
}

.logo-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.logo-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}
.logo-dl { color: var(--accent); font-size: 1rem; }

/* ── Lightbox ───────────────────────────────────────────── */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.94);
    backdrop-filter: blur(8px);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px;
    opacity: 0;
    transition: opacity 0.2s;
}
.lightbox.open { display: flex; opacity: 1; }

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}
.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(245,158,11,0.9);
    border-color: var(--accent);
    color: #0a0c10;
}
.lightbox-close { top: 20px; right: 20px; font-size: 1.1rem; }
.lightbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    background: rgba(0,0,0,0.5);
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

.lightbox-download {
    position: absolute;
    bottom: 24px;
    right: 24px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    background: rgba(0,0,0,0.5);
    padding: 8px 14px;
    border-radius: 100px;
    border: 1px solid rgba(245,158,11,0.3);
}
.lightbox-download:hover { background: rgba(245,158,11,0.15); }

/* ── Page header (sub pages) ────────────────────────────── */
.page-header { padding: 64px 0 32px; }

.page-header h1 {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 720px;
}

/* ── Sections ───────────────────────────────────────────── */
section { padding: 56px 0; }
section:nth-of-type(even) { background: var(--bg-secondary); }

/* ── Card grid ──────────────────────────────────────────── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.card-icon.discord { background: rgba(88, 101, 242, 0.15); }
.card-icon.steam   { background: rgba(27, 40, 56, 0.6); }
.card-icon.hosting { background: rgba(34, 197, 94, 0.12); }
.card-icon.info    { background: rgba(245, 158, 11, 0.12); }
.card-icon.server  { background: rgba(139, 92, 246, 0.12); }

.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    flex-grow: 1;
}

.card .meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.card .meta strong { color: var(--text-secondary); }

/* ── Quick links (homepage) ─────────────────────────────── */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.quick-link {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.2s;
}

.quick-link:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

.ql-icon  { font-size: 1.6rem; margin-bottom: 4px; }
.ql-title { font-weight: 700; font-size: 1rem; }
.ql-desc  { font-size: 0.82rem; color: var(--text-secondary); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.01em;
}

.btn-primary { background: var(--accent); color: #0a0c10; }
.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { background: var(--discord-hover); }

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

.btn-steam {
    background: var(--steam);
    color: #fff;
    border: 1px solid #2a475e;
}
.btn-steam:hover { background: var(--steam-hover); }

.btn-danger {
    background: transparent;
    color: var(--danger);
    border: 1px solid rgba(239,68,68,0.4);
}
.btn-danger:hover {
    background: rgba(239,68,68,0.1);
    border-color: var(--danger);
}

.btn-sm    { padding: 8px 14px; font-size: 0.8rem; }
.btn-block { width: 100%; }

/* ── Server table ───────────────────────────────────────── */
.server-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.server-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    min-width: 640px;
}

.server-table thead { background: var(--bg-secondary); }

.server-table th {
    text-align: left;
    padding: 14px 18px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.server-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.server-table tr:last-child td { border-bottom: none; }
.server-table tr:hover td { background: rgba(245, 158, 11, 0.03); }

.server-name { font-weight: 700; color: var(--text-primary); }

.ping-danger { color: var(--danger); font-weight: 600; }
.ping-warn   { color: var(--accent); font-weight: 600; }
.ping-muted  { color: var(--text-muted); }
.ping-ok     { color: var(--success); font-weight: 600; }

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}
.status-online  { background: var(--success); box-shadow: 0 0 8px rgba(34, 197, 94, 0.5); }
.status-offline { background: var(--danger); }

/* ── Server chip ────────────────────────────────────────── */
.server-chip {
    display: inline-block;
    padding: 2px 8px;
    margin: 2px 4px 2px 0;
    border-radius: 6px;
    background: rgba(139, 92, 246, 0.12);
    color: #c4b5fd;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ── Hosting cards ──────────────────────────────────────── */
.hosting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.hosting-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.hosting-card:hover {
    border-color: rgba(34, 197, 94, 0.3);
    background: var(--bg-card-hover);
}

.hosting-card--highlight {
    border-color: rgba(245, 158, 11, 0.35);
    background: linear-gradient(180deg, rgba(245,158,11,0.04), var(--bg-card));
}

.hosting-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.hosting-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hosting-card .price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
    margin: 8px 0;
}

.hosting-card .price small {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 4px;
}

.hosting-note {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 8px 0 12px;
}

.hosting-card ul {
    list-style: none;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 12px 0 20px;
    flex-grow: 1;
}

.hosting-card ul li {
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.hosting-card ul li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.tips-box {
    margin-top: 24px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.tips-box h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.tips-box ul {
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.tips-box ul li { padding: 5px 0; }

.tips-box ul li::before {
    content: '•';
    color: var(--accent);
    font-weight: 700;
    margin-right: 10px;
}

.tips-box a { color: var(--accent); text-decoration: none; }
.tips-box a:hover { text-decoration: underline; }

/* ── Buy cards ──────────────────────────────────────────── */
.buy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.buy-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.buy-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.buy-card .platform-icon { font-size: 2.5rem; margin-bottom: 12px; }

.buy-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.buy-card .price-tag {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    margin: 12px 0;
    letter-spacing: -0.02em;
}

.buy-card .price-tag small {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 4px;
}

.buy-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ── System requirements ────────────────────────────────── */
.sysreq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.sysreq-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
}

.sysreq-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sysreq-card .spec {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(42, 52, 65, 0.5);
    font-size: 0.82rem;
}

.sysreq-card .spec:last-child { border-bottom: none; }

.sysreq-card .spec .label {
    color: var(--text-muted);
    font-weight: 600;
    flex-shrink: 0;
}

.sysreq-card .spec .value {
    color: var(--text-secondary);
    text-align: right;
}

/* ── Info banner ────────────────────────────────────────── */
.info-banner {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.02));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.info-banner .icon { font-size: 2rem; flex-shrink: 0; }

.info-banner .content { flex: 1; min-width: 200px; }

.info-banner h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-banner p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.info-banner a { color: var(--accent); font-weight: 600; }

/* ── Discord CTA ────────────────────────────────────────── */
.discord-cta {
    background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
    border-radius: var(--radius);
    padding: 40px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.discord-cta h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.discord-cta p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin: 0;
}

.discord-cta .btn {
    background: #fff;
    color: #5865F2;
    font-weight: 800;
    padding: 12px 24px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.discord-cta .btn:hover {
    background: #f0f0f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-logo {
    height: 30px;
    width: auto;
    margin-bottom: 16px;
    display: block;
}

.footer-about {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    font-size: 0.78rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom a { color: var(--text-secondary); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* =========================================================
   Admin panel
   ========================================================= */

.flash {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid;
}
.flash-success { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.3); color: #86efac; }
.flash-error   { background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.3); color: #fca5a5; }
.flash-info    { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.3); color: #fcd34d; }
.flash ul      { margin: 0; padding-left: 20px; }

.admin-topbar {
    background: #05070a;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}
.admin-content {
    padding: 40px 0 80px;
    min-height: calc(100vh - 200px);
}
.admin-footer {
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
}
.admin-user {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.admin-user-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.admin-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.admin-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.admin-page-head h1 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.admin-sub {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 4px;
}
.admin-sub a { color: var(--accent); text-decoration: none; }
.admin-empty {
    padding: 40px 0;
    color: var(--text-secondary);
    text-align: center;
}
.admin-empty a { color: var(--accent); }

.admin-table-wrapper {
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    min-width: 800px;
}
.admin-table thead { background: var(--bg-secondary); }
.admin-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}
.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(245, 158, 11, 0.03); }
.admin-table a { color: #818cf8; text-decoration: none; }
.admin-table a:hover { text-decoration: underline; }
.admin-table-name { color: var(--text-primary); font-weight: 700; }
.admin-muted { color: var(--text-muted); }
.admin-table-actions {
    display: flex;
    gap: 6px;
}
.admin-table-actions form { display: inline; }

.pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pill-on  { background: rgba(34,197,94,0.12); color: #86efac; }
.pill-off { background: rgba(100,116,139,0.15); color: var(--text-muted); }

.admin-form {
    max-width: 780px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
}
.form-row { margin-bottom: 20px; display: flex; flex-direction: column; }
.form-row label {
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}
.form-row .req { color: var(--accent); }
.form-row input[type="text"],
.form-row input[type="url"],
.form-row input[type="number"],
.form-row textarea,
.form-row select {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 10px 12px;
    font-size: 0.9rem;
    font-family: inherit;
    width: 100%;
    transition: border-color 0.15s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-row textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.form-row-check { flex-direction: row; align-items: center; margin-top: 24px; }
.form-row-check label {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.9rem; font-weight: 500;
    color: var(--text-secondary); cursor: pointer;
    margin: 0;
}
.form-help {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.admin-login {
    max-width: 400px;
    margin: 60px auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
}
.admin-login h1 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.admin-login p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}
.admin-hint {
    color: var(--text-muted) !important;
    font-size: 0.78rem !important;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero             { min-height: 520px; padding: 64px 0; }
    .hero-compact     { min-height: 360px; }
    .hero h1          { font-size: 2rem; }
    .hero-logo        { height: 48px; margin-bottom: 16px; }
    .page-header h1   { font-size: 1.75rem; }
    .section-title    { font-size: 1.4rem; }

    .screenshot-strip { grid-template-columns: repeat(2, 1fr); }

    nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 12px;
        gap: 4px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    }

    nav.open { display: flex; }
    .mobile-toggle { display: block; }

    .discord-cta {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

    .cards-grid,
    .hosting-grid,
    .buy-grid,
    .sysreq-grid,
    .quick-links {
        grid-template-columns: 1fr;
    }

    .lightbox { padding: 20px; }
    .lightbox-close,
    .lightbox-nav { width: 40px; height: 40px; font-size: 1.2rem; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-download { display: none; }
}

@media (max-width: 640px) {
    .form-grid-2,
    .form-grid-3 { grid-template-columns: 1fr; }
    .admin-form { padding: 24px 20px; }
    .admin-user-name { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .logo-war { height: 22px; }
    .logo-za  { font-size: 0.8rem; }
}

@media (max-width: 480px) {
    .hero h1          { font-size: 1.6rem; }
    .hero-logo        { height: 40px; }
    .container        { padding: 0 16px; }
    .page-header      { padding: 48px 0 24px; }
    section           { padding: 40px 0; }
    .screenshot-strip { grid-template-columns: 1fr; }
}

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }