* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Orbitron', sans-serif;
}

body {
    background: rgb(8, 14, 21);
    color: #fff;
    cursor: none;
    overflow-x: hidden;
    position: relative;
}

/* =====================================================
   BACKGROUND EFFECTS (SAFE – DOES NOT TOUCH LAYOUT)
   ===================================================== */

/* 🔥 Animated grain */
body::before {
    content: "";
    position: fixed;
    inset: -20%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
    opacity: 0.05;
    animation: grainMove 8s steps(10) infinite;
    pointer-events: none;
    z-index: -4;
}

@keyframes grainMove {
    0% { transform: translate(0,0); }
    100% { transform: translate(-5%, -5%); }
}

/* ✨ Neon grid (CS vibe) */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(185,139,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(185,139,255,0.06) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.2;
    pointer-events: none;
    z-index: -3;
}

/* 🎮 Map-based texture */
html::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("images/maps/dust2-layout.jpg") center / cover no-repeat;
    filter: blur(0px) saturate(0.6);
    opacity: 0.2;
    pointer-events: none;
    z-index: -5;
}

/* =====================================================
   CURSOR
   ===================================================== */

a, button, input, textarea {
    cursor: none !important;
}

/* =====================================================
   HEADER
   ===================================================== */

header {
    padding: 60px 20px;
    background: transparent;
}

.header-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    max-width: 1300px;
    margin: auto;
}

.header-video-container {
    flex: 1 1 450px;
    max-width: 450px;
    height: 303px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    border: 0.5px solid #b98bff;
    box-shadow: 0 0 20px rgba(185,139,255,0.7);
    background: #000;
}

.header-video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.5);
    border: none;
    pointer-events: none;
}

.header-content {
    flex: 1 1 450px;
    max-width: 600px;
    height: 430px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(14px);
    border: 3px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 100px rgba(185,139,255,0.7);
    border-radius: 18px;
    padding: 32px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.floating-download {
    will-change: transform;
}

.header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 14px;
    text-shadow: 0 0 18px #c28aff;
}

.header-content p {
    font-size: 1rem;
    margin-bottom: 25px;
    color: #d0c8dc;
}

.header-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
    padding: 10px 25px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(190,140,255,0.6);
    transition: 0.3s;
    color: #16001f;
    font-size: 0.95rem;
}

.btn-download {
    background: linear-gradient(135deg, #b98bff, #e4b6ff);
}

.btn-more {
    background: linear-gradient(135deg, #ffb98b, #ffe4b6);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(210,170,255,0.9);
}

.download-counter {
    text-align: center;
    font-size: 0.95rem;
    color: #a6ffd8;
    text-shadow: 0 0 6px #a6ffd8;
    margin-top: 6px;
}

/* =====================================================
   LANGUAGE SELECT
   ===================================================== */

.language-select select {
    appearance: none;
    width: 100%;
    padding: 10px 15px;
    border-radius: 25px;
    border: 2px solid #b98bff;
    background: #000;
    color: #fff;
    text-align: center;
    font-weight: 700;
}

/* =====================================================
   SECTIONS + GLASS DEPTH
   ===================================================== */

section {
    padding: 60px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s ease;
    position: relative;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

section::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: none;
    pointer-events: none;
    z-index: -1;
}

.features::before { backdrop-filter: none; }
.clients::before { backdrop-filter: none; }

section h2 {
    font-size: 2.3rem;
    color: #c28aff;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0 0 15px #c28aff;
}

section p {
    max-width: 900px;
    margin: auto;
    text-align: center;
    color: #ccc;
}

/* =====================================================
   FEATURE CARDS
   ===================================================== */

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid #2a1144;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    transition: 0.4s ease;
}

.feature-card:hover {
    box-shadow: 0 0 25px rgba(194,138,255,0.6);
    transform: translateY(-5px);
}

/* =====================================================
   CLIENT CARDS
   ===================================================== */

.clients {
    background: transparent;
}

.client-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.client-card {
    border: 1px solid #2a1144;
    border-radius: 16px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.35s ease;
}

.client-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3),
        rgba(8,14,21,0.95)
    );
}

.client-card * {
    position: relative;
    z-index: 1;
}

.client-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(190,140,255,0.35);
}

.client-bottom {
    margin-top: 12px;
    text-align: center;
}

.btn-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 8px;
}

.client-bottom span {
    color: #a6ffd8;
    display: block;
}

/* Client backgrounds */
.client-card.classic { background-image: url("images/clients/aaaa.jpg"); }
.client-card.steam { background-image: url("images/clients/counterstrike.jpg"); }
.client-card.hd { background-image: url("images/clients/aaaa.jpg"); }
.client-card.custom { background-image: url("images/clients/counterstrike.jpg"); }

/* =====================================================
   CUSTOM CURSOR
   ===================================================== */

#custom-cursor {
    width: 32px;
    height: 32px;
    position: fixed;
    pointer-events: none;
    background: url('images/crosshairiux.png') no-repeat center;
    background-size: contain;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

/* =====================================================
   FOOTER
   ===================================================== */

footer {
    background: rgb(8, 14, 21);
    padding: 20px;
    text-align: center;
    color: #777;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 992px) {
    .header-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .btn-row,
    .header-buttons {
        flex-direction: column;
        gap: 10px;
    }
}
