* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #050816;
    color: white;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(0,255,255,0.15), transparent 35%),
        radial-gradient(circle at bottom right, rgba(255,0,255,0.15), transparent 35%);
    z-index: -1;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(10,10,20,0.45);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #7de2ff;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    border: 1px solid rgba(255,255,255,0.08);
}

.btn-primary {
    background: linear-gradient(135deg, #68e1ff, #8b5cf6);
    color: black;
}

.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: white;
    backdrop-filter: blur(20px);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 40px 80px;
}

.hero-container {
    width: 100%;
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 82px;
    line-height: 0.95;
    font-weight: 900;
    margin-bottom: 25px;
}

.hero-text h1 span {
    color: #68e1ff;
    text-shadow: 0 0 25px rgba(104,225,255,0.6);
}

.hero-text p {
    color: #b8c0d9;
    font-size: 19px;
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 40px;
}

.status-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-radius: 100px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    margin-bottom: 35px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 12px #00ff88;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 42px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}

.glass-card {
    position: absolute;
    bottom: -30px;
    right: -20px;
    padding: 28px;
    width: 300px;
    border-radius: 32px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.08);
}

.glass-card h3 {
    margin-bottom: 18px;
    font-size: 24px;
}

.instance {
    background: rgba(255,255,255,0.04);
    border-radius: 22px;
    padding: 16px;
    margin-top: 14px;
    border: 1px solid rgba(255,255,255,0.05);
}

.instance small {
    color: #8ea0c5;
}

.features {
    padding: 80px 40px 120px;
}

.features-grid {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    border-radius: 34px;
    padding: 35px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    width: 65px;
    height: 65px;
    border-radius: 22px;
    background: linear-gradient(135deg, #68e1ff, #8b5cf6);
    margin-bottom: 25px;
}

.feature-card h2 {
    margin-bottom: 12px;
    font-size: 22px;
}

.feature-card p {
    color: #aab3cc;
    line-height: 1.6;
}

footer {
    padding: 40px;
    text-align: center;
    color: #8ea0c5;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}

@media(max-width: 1100px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 60px;
    }

    .glass-card {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 25px;
        width: 100%;
    }
}

@media(max-width: 700px) {
    .navbar {
        padding: 18px 20px;
        flex-direction: column;
        gap: 20px;
    }

    .hero {
        padding: 180px 20px 80px;
    }

    .hero-text h1 {
        font-size: 46px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .nav-buttons {
        width: 100%;
        flex-direction: column;
    }
}


/* Index */
html { scroll-behavior: smooth; }
.feature-card h2 { font-size: 1.1rem; margin-bottom: 5px; }
.feature-card p { font-size: 1.5rem; font-weight: 700; }
.instance-badge { padding: 4px 8px; border-radius: 4px; background: rgba(0,200,83,0.2); color: #00c853; font-weight: bold; }

.charts-container { max-width: 1100px; margin: 30px auto; padding: 0 20px; display: flex; flex-direction: column; gap: 30px; }
.chart-box { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 20px; border-radius: 12px; }
.chart-box h3 { margin-top: 0; margin-bottom: 15px; font-size: 1.2rem; color: #fff; font-weight: 600; }
.chart-wrapper { position: relative; height: 300px; width: 100%; }


.leaderboard-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.leaderboard-item:last-child { border-bottom: none; }
.rank-medal { font-size: 1.2rem; margin-right: 10px; }

/* Ranking */
.ranking-container { 
    max-width: 800px; 
    margin: 120px auto 50px auto; 
    padding: 20px; 
}
.search-box { width: 100%; padding: 15px; margin-bottom: 30px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); color: white; font-size: 1rem; }
.podium { display: flex; justify-content: center; align-items: flex-end; gap: 20px; margin-bottom: 50px; padding: 20px; flex-wrap: wrap; }
.podium-slot { text-align: center; flex: 1; min-width: 120px; max-width: 200px; }
.podium-rank { font-size: 2.5rem; margin-bottom: 10px; }
.podium-name { font-weight: bold; font-size: 1.1rem; line-height: 1.3; margin: 5px 0; word-break: break-word; }
.podium-time { color: #00b0ff; font-weight: 600; font-size: 0.9rem; }
.table-box { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.05); }
th { color: #888; font-size: 0.9rem; }
.rank-highlight { color: #fff; font-weight: 600; }
