/* =========================
   GLOBAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: radial-gradient(circle at top, #0f172a 0%, #020617 60%);
    color: #ffffff;
    overflow-x: hidden;
}

/* =========================
   HERO SECTION
========================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 1100px;
    width: 100%;
    text-align: center;
}

/* =========================
   ANIMATED TITLE
========================= */

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;

    background: linear-gradient(
        90deg,
        #a855f7,
        #9d48ec,
        #b572f4,
        #a855f7
    );
    background-size: 300% 100%;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: gradientMove 6s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 300% 50%;
    }
}

/* =========================
   SUBTITLE & TEXT
========================= */

.subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: #c7d2fe;
    margin-bottom: 20px;
}

.description {
    max-width: 700px;
    margin: 0 auto 45px;
    font-size: 1rem;
    line-height: 1.6;
    color: #e5e7eb;
}

/* =========================
   STATS GRID
========================= */

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    margin-bottom: 50px;
}

.stat-box {
    background: linear-gradient(
        145deg,
        rgba(168, 85, 247, 0.12),
        rgba(236, 72, 153, 0.08)
    );
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 28px 20px;
    backdrop-filter: blur(8px);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stat-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.25);
}

.stat-box i {
    font-size: 2.1rem;
    margin-bottom: 12px;
    color: #8748ec;
}

.number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.label {
    font-size: 0.9rem;
    color: #cbd5f5;
    margin-top: 6px;
}

/* =========================
   CTA BUTTON
========================= */

.cta-button {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    color: #020617;

    background: linear-gradient(
        90deg,
        #a855f7,
        #9448ec
    );
    box-shadow: 0 10px 30px rgba(143, 72, 236, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(157, 72, 236, 0.55);
}

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

footer {
    padding: 25px 15px;
    text-align: center;
    font-size: 0.85rem;
    color: #a5b4fc;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */

@media (max-width: 600px) {

    .description {
        font-size: 0.95rem;
        margin-bottom: 35px;
    }

    .stat-box {
        padding: 22px 18px;
    }

    .number {
        font-size: 1.7rem;
    }
}

/* =========================
   STATS PAGE
========================= */

.stats-header {
    text-align: center;
    padding: 60px 20px 40px;
}

.stats-header h1 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 800;

    background: linear-gradient(90deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-header p {
    margin-top: 10px;
    color: #c7d2fe;
}

.back-link {
    display: inline-block;
    margin-top: 25px;
    color: #a5b4fc;
    text-decoration: none;
    font-size: 0.9rem;
}

.back-link i {
    margin-right: 6px;
}

/* CONTENT */

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.stats-section {
    margin-bottom: 70px;
}

.stats-section h2 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stats-section h2 i {
    color: #ec4899;
}

/* GRID */

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

.stat-card {
    background: linear-gradient(
        145deg,
        rgba(168, 85, 247, 0.15),
        rgba(236, 72, 153, 0.08)
    );
    border-radius: 18px;
    padding: 26px 22px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(168, 85, 247, 0.25);
}

.stat-card .value {
    font-size: 1.6rem;
    font-weight: 700;
    display: block;
}

.stat-card .label {
    font-size: 0.9rem;
    margin-top: 6px;
    color: #cbd5f5;
}

/* MOBILE */

@media (max-width: 600px) {
    .stats-header {
        padding-top: 40px;
    }

    .stats-section {
        margin-bottom: 50px;
    }
}

.status {
    font-weight: 600;
    margin-top: 10px;
}

.status.online {
    color: #22c55e;
}

.status.offline {
    color: #ef4444;
}

.last-update {
    font-size: 0.85rem;
    color: #c7d2fe;
    margin-top: 5px;
}

