/* ==========================================================
   KRYPTON — CS:GO STYLE
   PURPLE ACCENT
========================================================== */

:root {
    --bg: #080808;
    --bg2: #0e0e0e;
    --bg-card: #121212;
    --text: #f0f0f0;
    --muted: #888899;
    --border: #2a2a3a;

    --purple: #8b5cf6;
    --purple-dark: #6d28d9;
    --purple-glow: rgba(139, 92, 246, 0.25);
    --purple-soft: rgba(139, 92, 246, 0.08);

    --glass: rgba(255, 255, 255, 0.035);
    --glass-border: rgba(255, 255, 255, 0.06);

    --radius: 8px;
    --radius-lg: 12px;

    --font: "Inter", sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ==========================================================
   SCROLLBAR (tactical)
========================================================== */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--purple);
    border-radius: 3px;
}

/* ==========================================================
   BACKGROUND LAYERS
========================================================== */

#particles {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
}

/* Purple glow blobs */
body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    animation: blobMove 20s ease-in-out infinite;
    z-index: -4;
}

body::before {
    width: 600px;
    height: 600px;
    left: -200px;
    top: -200px;
    background: rgba(139, 92, 246, 0.12);
}

body::after {
    width: 700px;
    height: 700px;
    right: -220px;
    bottom: -240px;
    background: rgba(139, 92, 246, 0.08);
    animation-delay: -8s;
}

@keyframes blobMove {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(80px, -50px) scale(1.15);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* ==========================================================
   GRID (subtle)
========================================================== */
.grid {
    position: fixed;
    inset: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
    mask-image: linear-gradient(to bottom, #000, transparent 80%);
    pointer-events: none;
    z-index: -3;
}

/* ==========================================================
   NOISE (grain)
========================================================== */
.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image: radial-gradient(circle at 20% 20%, white 1px, transparent 1px),
                      radial-gradient(circle at 80% 50%, white 1px, transparent 1px),
                      radial-gradient(circle at 50% 80%, white 1px, transparent 1px);
    background-size: 140px 140px;
    z-index: -2;
}

/* ==========================================================
   MOUSE GLOW (purple)
========================================================== */
#mouse-light {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
    z-index: -1;
    transition: opacity 0.15s ease;
}

/* ==========================================================
   NAVBAR — CS:GO style
========================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 16px 40px;
    background: rgba(8, 8, 8, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: background 0.25s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-logo img {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 0 6px var(--purple-glow));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--purple);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--text);
}
.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--purple);
    border: none;
    padding: 10px 28px;
    border-radius: var(--radius);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.nav-cta:hover {
    background: var(--purple-dark);
    transform: scale(1.02);
}

/* ==========================================================
   MAIN
========================================================== */
main {
    min-height: 100vh;
    padding-top: 80px;
}

/* ==========================================================
   HERO — Competitive
========================================================== */
.hero {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    padding: 40px 20px;
}

.hero-card {
    width: min(760px, 100%);
    padding: 70px 50px;
    border-radius: var(--radius-lg);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Glow edge */
.hero-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), transparent 50%, rgba(139, 92, 246, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* subtle inner glow */
.hero-card::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    top: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent);
    pointer-events: none;
}

/* ===== STATUS ===== */
.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    letter-spacing: 0.22em;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--purple);
    box-shadow: 0 0 16px var(--purple), 0 0 40px rgba(139, 92, 246, 0.3);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.85);
    }
}

/* ===== TITLE ===== */
.hero h1 {
    font-size: clamp(70px, 12vw, 130px);
    font-weight: 900;
    letter-spacing: 0.28em;
    line-height: 0.92;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 40%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(139, 92, 246, 0.08);
}

.hero p {
    margin-top: 20px;
    color: var(--muted);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* ===== SCROLL INDICATOR ===== */
.scroll {
    margin-top: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    position: relative;
}

.scroll span {
    display: block;
    width: 3px;
    height: 16px;
    background: var(--purple);
    border-radius: 4px;
    animation: scroll-bounce 2.2s ease-in-out infinite;
    box-shadow: 0 0 12px var(--purple-glow);
}

@keyframes scroll-bounce {
    0%,
    100% {
        transform: translateY(-8px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(14px);
        opacity: 1;
    }
}

/* ==========================================================
   SECTION COMMON
========================================================== */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.section-title span {
    background: linear-gradient(135deg, var(--purple), #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-sub {
    color: var(--muted);
    font-size: 18px;
    max-width: 560px;
    margin-top: 16px;
    line-height: 1.6;
}

/* ==========================================================
   FEATURES
========================================================== */
.features {
    text-align: center;
    padding-top: 20px;
}

.features .section-sub {
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: left;
    transition: border-color 0.25s ease, transform 0.2s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--purple), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    border-color: var(--purple);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ==========================================================
   STATS
========================================================== */
.stats {
    padding-top: 20px;
    padding-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 50px 30px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff, var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.stat-number[data-target="4.9"]::after,
.stat-number[data-target="99.9"]::after {
    content: "";
}

.stat-label {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 8px;
}

/* ==========================================================
   FOOTER — Clan style
========================================================== */
footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 60px 40px 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand img {
    height: 40px;
    width: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 8px var(--purple-glow));
}

.footer-brand span {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.footer-brand p {
    color: var(--muted);
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col a:hover {
    color: var(--text);
    padding-left: 6px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

/* ==========================================================
   RESPONSIVE TWEAKS
========================================================== */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        padding: 8px 18px;
        font-size: 12px;
    }

    .hero-card {
        padding: 40px 24px;
    }

    .hero h1 {
        letter-spacing: 0.1em;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 30px 20px;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
    }
}