/* =========================================================================
   IMPORT FONTS
========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Oswald:wght@500;600;700&family=Rajdhani:wght@500;600;700&display=swap');

/* =========================================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
========================================================================= */
:root {
    /* ETS2 Night Drive Palette - Refined */
    --bg-deep:       #04060b;
    --bg-dark:       #080a12;
    --bg-card:       rgba(15, 20, 35, 0.7);
    --bg-card-hover: rgba(22, 28, 48, 0.8);
    --bg-overlay:    rgba(4, 6, 11, 0.85);

    /* Orange Accent (headlights / dashboard) */
    --orange-bright: #ff9500;
    --orange-glow:   #ffb340;
    --orange-dim:    #c06a00;
    --orange-neon:   0 0 15px rgba(255, 149, 0, 0.4);

    /* Blue Accent (night sky / GPS) */
    --blue-neon:     #3d9bff;
    --blue-dim:      #1a4a7a;
    --blue-glow:     0 0 15px rgba(61, 155, 255, 0.4);

    /* Status Colors */
    --red-live:      #ff3d3d;
    --green-online:  #2ecc71;

    /* Text */
    --text-primary:  #f0f4ff;
    --text-muted:    #a1b0d0;
    --text-dim:      #516285;

    /* Border & Glass */
    --glass-border:  rgba(255, 255, 255, 0.08);
    --glass-inner:   rgba(255, 255, 255, 0.02);
    --accent-border: rgba(255, 149, 0, 0.3);

    /* Shadows & Effects */
    --shadow-deep:   0 30px 60px rgba(0, 0, 0, 0.9);
    --shadow-card:   0 16px 40px rgba(0, 0, 0, 0.7);
    --glass-blur:    blur(25px) saturate(160%);

    /* Transitions */
    --trans-fast:    0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-mid:     0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-slow:    0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================================
   RESET & GLOBALS
========================================================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

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

h1, h2, h3, h4,
.nav-btn, .btn, .time-badge, .platform-name {
    font-family: 'Oswald', 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================================================
   PREMIUM BACKGROUND — Cinematic Hero
========================================================================= */
.premium-bg-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background-color: var(--bg-deep);
}

.hero-image-bg {
    position: absolute;
    inset: 0;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center 20%;
    filter: brightness(0.6) contrast(1.1) saturate(1.1);
    animation: heroZoom 60s linear infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.0); }
    to   { transform: scale(1.1); }
}

.road-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at bottom, transparent 20%, var(--bg-deep) 100%);
    opacity: 0.8;
}

.vignette-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 60%, var(--bg-deep) 100%),
        linear-gradient(to bottom, rgba(4,6,11,0.2) 0%, rgba(4,6,11,0.9) 100%);
}

/* Stars */
.road-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 15% 12%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 28% 6%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 42% 18%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 58% 8%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 72% 14%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 87% 7%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 5% 25%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 93% 22%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 35% 30%, rgba(255,255,255,0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 65% 28%, rgba(255,255,255,0.3) 0%, transparent 100%);
    opacity: 0.7;
}

/* Road lane lines */
.road-lines {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.lane-line {
    position: absolute;
    width: 5px;
    border-radius: 3px;
    background: linear-gradient(to bottom, transparent, #ffa502, transparent);
    left: 50%;
    transform: translateX(-50%);
    animation: laneScroll 1.8s linear infinite;
    filter: blur(0.5px);
    opacity: 0;
}

.lane-line:nth-child(1) { height: 80px;  animation-delay: 0s;    opacity: 0; }
.lane-line:nth-child(2) { height: 90px;  animation-delay: 0.36s; opacity: 0; }
.lane-line:nth-child(3) { height: 100px; animation-delay: 0.72s; opacity: 0; }
.lane-line:nth-child(4) { height: 90px;  animation-delay: 1.08s; opacity: 0; }
.lane-line:nth-child(5) { height: 80px;  animation-delay: 1.44s; opacity: 0; }

@keyframes laneScroll {
    0%   { top: -200px; opacity: 0; }
    10%  {              opacity: 0.4; }
    70%  {              opacity: 0.3; }
    100% { top: 120vh;  opacity: 0; }
}

/* Headlight beams (left & right) */
.headlight-left,
.headlight-right {
    position: fixed;
    bottom: 0;
    width: 0;
    height: 0;
    z-index: 0;
    pointer-events: none;
}

.headlight-left {
    left: calc(50% - 50px);
    border-left: 260px solid transparent;
    border-bottom: 100vh solid rgba(255, 200, 80, 0.025);
    filter: blur(40px);
    transform-origin: bottom center;
}

.headlight-right {
    right: calc(50% - 50px);
    border-right: 260px solid transparent;
    border-bottom: 100vh solid rgba(255, 200, 80, 0.025);
    filter: blur(40px);
    transform-origin: bottom center;
}

/* =========================================================================
   LAYOUT
========================================================================= */
.container {
    position: relative;
    z-index: 1;
    max-width: 1360px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

/* =========================================================================
   HEADER
========================================================================= */
header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeSlideDown 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

.logo-wrapper {
    max-width: 680px;
    margin: 0 auto 18px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-card);
    box-shadow:
        var(--shadow-deep),
        var(--shadow-orange),
        inset 0 1px 0 rgba(255,255,255,0.1);
    transition: box-shadow var(--trans-mid), transform var(--trans-mid);
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(255,149,0,0.08) 100%);
    z-index: 1;
    pointer-events: none;
}

.logo-wrapper:hover {
    transform: scale(1.015);
    box-shadow:
        var(--shadow-deep),
        0 0 50px rgba(255, 149, 0, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.header-logo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 11px;
}

.tagline {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 28px;
    opacity: 0.8;
}

/* =========================================================================
   NAVIGATION
========================================================================= */
.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-bottom: 45px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;

    /* Glassmorphic nav bar */
    background: rgba(10, 15, 30, 0.4);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.05);
    animation: fadeSlideDown 0.9s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.navigation::-webkit-scrollbar { display: none; }

.nav-btn {
    padding: 11px 20px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.7px;
    transition: all var(--trans-fast);
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--orange-bright), var(--orange-dim));
    opacity: 0;
    transition: opacity var(--trans-fast);
    border-radius: inherit;
    z-index: -1;
}

.nav-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255,149,0,0.4);
    box-shadow: 0 0 20px rgba(255,149,0,0.1);
}

.nav-btn.active {
    background: linear-gradient(135deg, rgba(255,149,0,0.25), rgba(192,96,0,0.15));
    border-color: rgba(255,149,0,0.5);
    color: var(--orange-bright);
    box-shadow: 0 0 20px rgba(255,149,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

/* =========================================================================
   CONTENT SECTIONS — Glass Cards
========================================================================= */
.content-section,
.stream-status,
.pc-section {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 32px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card), inset 0 1px 1px rgba(255,255,255,0.05);
    animation: fadeSlideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Dashboard backdrop for specialized cards */
.dashboard-style {
    background-image: 
        linear-gradient(to bottom, rgba(15, 20, 35, 0.85), rgba(10, 12, 20, 0.95)),
        url('assets/dashboard-bg.png');
    background-size: cover;
    background-position: center;
}

.content-section::before,
.stream-status::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--orange-bright), transparent);
    opacity: 0.6;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.content-section h2,
.stream-status h2,
.pc-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-primary);
    letter-spacing: 1.5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
}

.content-section h2::after,
.stream-status h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange-bright), transparent);
    border-radius: 2px;
}

.content-section h2 span,
.stream-status h2 span {
    color: var(--orange-bright);
}

/* =========================================================================
   FOOTER
========================================================================= */
footer {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    color: var(--text-dim);
    border-top: 1px solid var(--border-subtle);
    font-size: 0.9rem;
    line-height: 2;
}

footer p + p { margin-top: 4px; }

/* =========================================================================
   PAGE: INDEX — Server Status Cards
========================================================================= */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 26px;
}

.status-card {
    background: rgba(10, 12, 20, 0.4);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--glass-border);
    transition: all var(--trans-mid);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.status-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(255,149,0,0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 20px rgba(255,149,0,0.05);
}

.status-card.live {
    border-color: rgba(255, 61, 61, 0.3);
    background: linear-gradient(145deg, rgba(40,15,15,0.95), rgba(20,8,8,0.98));
}

.status-card.live::before {
    background: linear-gradient(90deg, transparent, var(--red-live), transparent);
}

.status-card.live:hover {
    border-color: rgba(255,61,61,0.5);
    box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 30px rgba(255,61,61,0.1);
}

.status-card.offline::before {
    background: linear-gradient(90deg, transparent, var(--text-dim), transparent);
}

.status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
}

.platform-name {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.status-badge {
    padding: 5px 13px;
    border-radius: 20px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.status-badge.live {
    background: rgba(255, 61, 61, 0.15);
    color: var(--red-live);
    border: 1px solid rgba(255,61,61,0.4);
    animation: pulse-red 2s infinite;
    box-shadow: 0 0 12px rgba(255,61,61,0.2);
}

.status-badge.offline {
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
}

.status-details {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 12px;
    min-height: 20px;
}

.convoy-id-block {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.convoy-id-block strong {
    color: var(--text-muted);
    font-size: 0.88rem;
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 61, 61, 0.4); }
    50%       { box-shadow: 0 0 0 6px rgba(255, 61, 61, 0); }
}

/* =========================================================================
   PAGE: INDEX — Donate
========================================================================= */
.donate-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 22px;
}

.donate-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(241,196,15,0.07);
    border: 1px solid rgba(241,196,15,0.3);
    color: #f1c40f;
    border-radius: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all var(--trans-mid);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.donate-btn:hover {
    background: rgba(241,196,15,0.15);
    border-color: rgba(241,196,15,0.6);
    color: #f1c40f;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(241,196,15,0.15);
}

/* =========================================================================
   PAGE: INDEX — Social Cards
========================================================================= */
.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.social-card {
    background: rgba(15, 20, 35, 0.5);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid var(--glass-border);
    transition: all var(--trans-mid);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-card);
}

.social-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--glass-border);
    transition: all var(--trans-mid);
    opacity: 0.3;
}

.social-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,149,0,0.4);
    background: rgba(20, 25, 45, 0.6);
    box-shadow: 0 30px 70px rgba(0,0,0,0.8), 0 0 30px rgba(255,149,0,0.1);
}

.social-card:hover::after {
    height: 4px;
    background: var(--orange-bright);
    opacity: 1;
    box-shadow: 0 0 15px var(--orange-bright);
}

.social-card:hover::after {
    background: linear-gradient(90deg, transparent, var(--orange-bright), transparent);
}

.social-icon {
    font-size: 3rem;
    margin-bottom: 18px;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
    transition: transform var(--trans-mid);
}

.social-card:hover .social-icon {
    transform: scale(1.1);
}

.social-card h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.social-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.65;
    font-size: 0.93rem;
    flex-grow: 1;
}

/* Registration card */
.social-card.registration-card {
    border-color: rgba(46,204,113,0.25);
    background: linear-gradient(145deg, rgba(15,30,20,0.85), rgba(8,16,10,0.9));
}

.social-card.registration-card::after {
    background: linear-gradient(90deg, transparent, var(--green-online), transparent);
}

.social-card.registration-card:hover {
    border-color: rgba(46,204,113,0.5);
    box-shadow: 0 25px 60px rgba(0,0,0,0.7), 0 0 30px rgba(46,204,113,0.1);
}

.reg-badge {
    background: rgba(46,204,113,0.15);
    border: 1px solid rgba(46,204,113,0.5);
    color: var(--green-online);
    padding: 5px 14px;
    border-radius: 20px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.88rem;
    display: inline-block;
    margin-bottom: 14px;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4); }
    50%       { box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
}

/* =========================================================================
   BUTTONS
========================================================================= */
.btn {
    display: inline-block;
    padding: 13px 30px;
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.8px;
    transition: all var(--trans-mid);
    border: 1px solid var(--border-card);
    cursor: pointer;
    align-self: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.btn:hover {
    background: linear-gradient(135deg, rgba(255,149,0,0.25), rgba(192,90,0,0.15));
    border-color: var(--border-accent);
    color: var(--orange-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,149,0,0.2);
}

.btn.reg-btn {
    background: rgba(46,204,113,0.15);
    border-color: rgba(46,204,113,0.4);
    color: var(--green-online);
}

.btn.reg-btn:hover {
    background: rgba(46,204,113,0.25);
    border-color: rgba(46,204,113,0.7);
    color: #fff;
    box-shadow: 0 8px 24px rgba(46,204,113,0.2);
}

/* =========================================================================
   PAGE: BANS
========================================================================= */
.last-update {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 0.9rem;
}

.unban-container {
    text-align: center;
    margin-bottom: 30px;
}

.unban-btn {
    display: inline-block;
    padding: 13px 36px;
    background: rgba(255,61,61,0.1);
    border: 1px solid rgba(255,61,61,0.35);
    color: var(--red-live);
    border-radius: 10px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 1px;
    transition: all var(--trans-mid);
}

.unban-btn:hover {
    background: rgba(255,61,61,0.2);
    border-color: rgba(255,61,61,0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,61,61,0.15);
}

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

.ban-item {
    display: flex;
    align-items: center;
    padding: 18px 26px;
    background: rgba(20,10,10,0.7);
    border-radius: 10px;
    border: 1px solid rgba(255,61,61,0.15);
    border-left: 3px solid var(--red-live);
    transition: all var(--trans-fast);
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.ban-item:hover {
    background: rgba(35,15,15,0.85);
    border-color: rgba(255,61,61,0.35);
    border-left-color: var(--red-live);
    transform: translateX(6px);
}

.ban-icon {
    font-size: 1.7rem;
    margin-right: 22px;
    filter: drop-shadow(0 2px 6px rgba(255,61,61,0.35));
}

.ban-info { flex: 1; }

.player-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.ban-expiry {
    font-size: 0.85rem;
    color: var(--red-live);
    margin-top: 4px;
    display: block;
    font-weight: 600;
    opacity: 0.8;
}

.ban-link {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-card);
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--trans-fast);
}

.ban-link:hover {
    background: rgba(255,255,255,0.12);
    color: var(--text-primary);
}

/* =========================================================================
   PAGE: GUIDES
========================================================================= */
.guide-item {
    display: flex;
    align-items: center;
    padding: 22px;
    background: rgba(15,19,32,0.6);
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--blue-neon);
    transition: all var(--trans-mid);
    margin-bottom: 12px;
}

.guide-item:hover {
    background: rgba(20,26,45,0.75);
    border-color: rgba(61,155,255,0.25);
    border-left-color: var(--blue-neon);
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.guide-icon {
    font-size: 2.3rem;
    min-width: 56px;
    text-align: center;
    margin-right: 20px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.guide-link {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.5px;
    transition: color var(--trans-fast);
    display: inline-block;
    margin-bottom: 6px;
}

.guide-link:hover { color: var(--blue-neon); }

.guide-description {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* =========================================================================
   PAGE: PC SPECS
========================================================================= */
.pc-specs { max-width: 900px; margin: 0 auto; }

.spec-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
}

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

.checkmark {
    color: var(--orange-bright);
    margin-right: 16px;
    font-size: 1.1rem;
}

.spec-name {
    color: var(--text-muted);
    width: 220px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    font-weight: 700;
    flex: 1;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.peripherals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.peripheral-card {
    background: rgba(15,19,32,0.6);
    border-radius: 10px;
    padding: 22px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    transition: all var(--trans-mid);
    border-left: 3px solid var(--border-subtle);
}

.peripheral-card:hover {
    background: rgba(20,26,45,0.75);
    transform: translateY(-3px);
    border-left-color: var(--orange-bright);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.peripheral-icon {
    font-size: 2rem;
    margin-right: 18px;
    filter: grayscale(100%) opacity(0.6);
    transition: filter var(--trans-mid);
}

.peripheral-card:hover .peripheral-icon {
    filter: grayscale(0%) opacity(1);
}

.peripheral-info h3 {
    margin-bottom: 4px;
    color: var(--text-primary);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.peripheral-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

/* =========================================================================
   PAGE: RULES
========================================================================= */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.rule-card {
    background: rgba(15,19,32,0.7);
    border: 1px solid var(--border-subtle);
    border-top: 2px solid rgba(230,126,34,0.6);
    border-radius: 12px;
    padding: 26px;
    transition: all var(--trans-mid);
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.rule-card:hover {
    transform: translateY(-5px);
    border-color: rgba(230,126,34,0.3);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.rule-card h3 {
    color: var(--text-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.rule-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.rules-footer {
    text-align: center;
    margin-top: 36px;
    color: var(--text-dim);
    font-size: 0.9rem;
    padding: 20px;
    border-top: 1px dashed var(--border-subtle);
}

/* =========================================================================
   PAGE: SCHEDULE
========================================================================= */
.schedule-container { max-width: 800px; margin: 0 auto; }

.schedule-card {
    background: rgba(15,19,32,0.75);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--orange-bright);
    box-shadow: var(--shadow-card);
    transition: all var(--trans-mid);
}

.schedule-card:hover {
    border-left-color: var(--orange-glow);
    box-shadow: 0 16px 40px rgba(0,0,0,0.6), -4px 0 16px rgba(255,149,0,0.1);
}

.schedule-day {
    font-size: 1.8rem;
    margin-bottom: 22px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 14px;
}

.stream-time {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
    padding: 14px;
    background: rgba(255,255,255,0.025);
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.time-badge {
    background: rgba(255,149,0,0.1);
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--orange-bright);
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid rgba(255,149,0,0.3);
    flex-shrink: 0;
    letter-spacing: 1px;
    box-shadow: 0 0 12px rgba(255,149,0,0.1);
}

.stream-game {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.stream-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* =========================================================================
   PAGE: REGISTER
========================================================================= */
.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.form-card {
    background: rgba(10,13,22,0.9);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    border-top: 3px solid var(--green-online);
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-deep);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.form-card h2 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 18px;
    font-size: 1.8rem;
}

.convoy-date {
    text-align: center;
    color: var(--orange-bright);
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.download-links {
    background: rgba(255,61,61,0.05);
    border: 1px solid rgba(255,61,61,0.2);
    border-left: 3px solid var(--red-live);
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 28px;
    text-align: center;
}

.dl-btn {
    display: inline-block;
    padding: 9px 14px;
    background: rgba(255,255,255,0.06);
    color: var(--text-primary) !important;
    font-family: 'Oswald', sans-serif;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 4px;
    transition: all var(--trans-fast);
    border: 1px solid var(--border-card);
    letter-spacing: 0.5px;
}

.dl-btn:hover {
    background: rgba(255,61,61,0.15);
    border-color: rgba(255,61,61,0.4);
}

.form-group label {
    display: block;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 13px 16px;
    margin-top: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-card);
    color: var(--text-primary);
    border-radius: 8px;
    outline: none;
    font-size: 0.98rem;
    transition: all var(--trans-fast);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.4);
    font-family: 'Inter', sans-serif;
}

.form-group input[type="text"]:focus {
    border-color: rgba(255,149,0,0.5);
    background: rgba(255,149,0,0.04);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.4), 0 0 0 3px rgba(255,149,0,0.08);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--orange-bright);
}

.checkbox-group label {
    margin-top: 0;
    display: inline;
    cursor: pointer;
    line-height: 1.4;
    color: var(--text-muted);
    font-size: 0.92rem;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}

.checkbox-group a {
    color: var(--orange-bright);
    border-bottom: 1px dotted rgba(255,149,0,0.4);
    transition: all var(--trans-fast);
    font-weight: 600;
}

.checkbox-group a:hover { color: #fff; border-bottom-color: #fff; }

.submit-btn {
    width: 100%;
    padding: 15px;
    background: rgba(46,204,113,0.15);
    border: 1px solid rgba(46,204,113,0.4);
    color: var(--green-online);
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 10px;
    transition: all var(--trans-mid);
    letter-spacing: 1.5px;
    margin-top: 16px;
}

.submit-btn:hover {
    background: rgba(46,204,113,0.25);
    border-color: rgba(46,204,113,0.7);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46,204,113,0.2);
}

.msg {
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 22px;
    font-weight: 600;
    line-height: 1.5;
    font-size: 0.95rem;
}

.msg.success {
    background: rgba(46,204,113,0.08);
    color: var(--green-online);
    border: 1px solid rgba(46,204,113,0.3);
    border-left: 3px solid var(--green-online);
}

.msg.error {
    background: rgba(255,61,61,0.08);
    color: var(--red-live);
    border: 1px solid rgba(255,61,61,0.3);
    border-left: 3px solid var(--red-live);
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 22px;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color var(--trans-fast);
}

.back-link:hover { color: var(--orange-bright); }

/* =========================================================================
   SCROLLBAR
========================================================================= */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--text-dim);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* =========================================================================
   STAGGER ANIMATION DELAYS
========================================================================= */
.social-card:nth-child(1) { animation-delay: 0.0s; }
.social-card:nth-child(2) { animation-delay: 0.08s; }
.social-card:nth-child(3) { animation-delay: 0.16s; }
.social-card:nth-child(4) { animation-delay: 0.24s; }
.social-card:nth-child(5) { animation-delay: 0.32s; }
.social-card:nth-child(6) { animation-delay: 0.40s; }

/* =========================================================================
   MEDIA QUERIES
========================================================================= */
/* =========================================================================
   PAGE: GALLERY — Screenshots Grid
 ========================================================================= */
.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

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

.screenshot-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: all var(--trans-mid);
    position: relative;
    cursor: pointer;
    animation: fadeSlideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.screenshot-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-border);
    box-shadow: var(--shadow-deep), 0 0 30px rgba(255,149,0,0.15);
}

.screenshot-img-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.screenshot-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--trans-slow);
}

.screenshot-card:hover .screenshot-img-wrapper img {
    transform: scale(1.1);
}

.screenshot-info {
    padding: 16px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.screenshot-author {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lightbox / Zoom */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    backdrop-filter: blur(10px);
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    transform: scale(0.9);
    transition: transform var(--trans-mid);
}

.lightbox.active img {
    transform: scale(1);
}

/* Upload Modal / Form */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-deep);
    position: relative;
    animation: modalIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border: none;
    color: var(--text-muted);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--trans-fast);
}

.close-modal:hover {
    background: rgba(255,61,61,0.2);
    color: var(--red-live);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    font-family: inherit;
    transition: all var(--trans-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--orange-bright);
    background: rgba(255,149,0,0.05);
}

.file-input-wrapper {
    position: relative;
    border: 2px dashed var(--glass-border);
    padding: 30px;
    text-align: center;
    border-radius: 16px;
    transition: all var(--trans-fast);
    cursor: pointer;
}

.file-input-wrapper:hover, .file-input-wrapper.dragover {
    border-color: var(--orange-bright);
    background: rgba(255,149,0,0.05);
}

.file-input-wrapper input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* =========================================================================
   SOCIAL: Likes & Comments
 ========================================================================= */
.screenshot-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.like-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--trans-fast);
}

.like-btn:hover {
    background: rgba(255, 61, 61, 0.1);
    border-color: rgba(255, 61, 61, 0.4);
    color: var(--red-live);
    transform: scale(1.05);
}

.like-btn.liked {
    background: rgba(255, 61, 61, 0.2);
    border-color: var(--red-live);
    color: #fff;
}

.like-btn.liked i { color: var(--red-live); }

/* Comments in Lightbox */
.lightbox-container {
    display: flex;
    flex-direction: column;
    width: 95%;
    max-width: 1600px;
    height: 90vh;
    gap: 20px;
}

.lightbox-main {
    flex: 2; /* Даем фото больше веса по сравнению с сайдбаром */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.lightbox-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-side {
    width: 100%;
    max-height: 250px;
    background: rgba(10, 15, 30, 0.6);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.comments-list {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 15px;
    padding-right: 10px;
}

.comment-item {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.comment-author { color: var(--orange-bright); font-weight: 600; }
.comment-date { color: var(--text-dim); }
.comment-text { color: var(--text-primary); font-size: 0.9rem; line-height: 1.4; }

.comment-form {
    display: flex;
    gap: 10px;
}

.comment-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 10px 15px;
    border-radius: 10px;
}

.comment-form button {
    background: var(--orange-bright);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.comment-form button:hover { background: var(--orange-glow); transform: translateY(-2px); }

@media (min-width: 1024px) {
    .lightbox-container { flex-direction: row; }
    .lightbox-side { width: 350px; max-height: 100%; }
}

@media (max-width: 768px) {
    .container { padding: 28px 16px 50px; }
    .logo-wrapper { max-width: 95%; }
    .navigation { justify-content: flex-start; }
    .content-section, .stream-status, .pc-section { padding: 28px 20px; }
    .social-links { grid-template-columns: 1fr; }
    .ban-item { flex-direction: column; text-align: center; gap: 12px; border-left: none; border-top: 3px solid var(--red-live); }
    .ban-icon { margin-right: 0; }
    .spec-item { flex-direction: column; align-items: flex-start; gap: 6px; }
    .spec-name { width: 100%; border-bottom: 1px dashed var(--border-subtle); padding-bottom: 4px; }
    .peripheral-card { flex-direction: column; text-align: center; border-left: none; border-top: 3px solid var(--border-subtle); }
    .peripheral-icon { margin-right: 0; margin-bottom: 14px; }
    .form-card { padding: 28px 20px; }
    .headlight-left, .headlight-right { display: none; }
}


@media (max-width: 480px) {
    .status-grid { grid-template-columns: 1fr; }
    .rules-grid { grid-template-columns: 1fr; }
    .donate-buttons { flex-direction: column; align-items: center; }
}

/* =========================================================================
   VISITOR COUNTER — Premium Stats
========================================================================= */
.footer-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 30px auto 0;
    padding: 15px 30px;
    background: rgba(15, 20, 35, 0.4);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    width: fit-content;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.05);
    animation: fadeSlideUp 0.8s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.stat-item .stat-value {
    color: var(--orange-bright);
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(255, 149, 0, 0.3);
}

.stat-sep {
    width: 1px;
    height: 15px;
    background: var(--glass-border);
}

@media (max-width: 600px) {
    .footer-stats {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
        border-radius: 20px;
    }
    .stat-sep { display: none; }
}
