:root {
    --bg-dark: #0A0E17;
    --bg-card: #151A25;
    --primary: #00FF9D;
    /* Neon Green */
    --secondary: #9D00FF;
    /* Neon Purple */
    --accent-blue: #00E5FF;
    --accent-gold: #FFD700;
    --accent-silver: #E0E0E0;
    --accent-bronze: #CD7F32;
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;

    --font-heading: 'Noto Sans SC', sans-serif;
    --font-body: 'Noto Sans SC', sans-serif;

    --glow-primary: 0 0 20px rgba(0, 255, 157, 0.4);
    --glow-secondary: 0 0 20px rgba(157, 0, 255, 0.4);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-weight: 900;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo img {
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-btn {
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-btn:hover {
    background: var(--primary);
    color: var(--bg-dark) !important;
    border-color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero_bg.png') no-repeat center center/cover;
    opacity: 0.6;
    z-index: -1;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 10;
}

.version-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(90deg, var(--secondary), transparent);
    border-left: 3px solid var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight-text {
    background: linear-gradient(120deg, var(--primary), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--bg-dark);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 255, 157, 0.5);
}

.os-hint {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.8;
}

/* Hero Visuals */
.hero-visual {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.float-ui {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
}

.main-ui {
    width: 600px;
    z-index: 2;
    transform: rotateY(-5deg) rotateX(2deg);
    animation: float 6s ease-in-out infinite;
}

.sub-ui-1 {
    width: 300px;
    top: 50px;
    right: -20px;
    z-index: 3;
    transform: translateZ(50px);
    animation: float 5s ease-in-out infinite reverse;
}

.sub-ui-2 {
    width: 200px;
    bottom: 80px;
    left: 20px;
    z-index: 3;
    transform: translateZ(30px);
    animation: float 7s ease-in-out infinite 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotateY(-5deg);
    }

    50% {
        transform: translateY(-20px) rotateY(-5deg);
    }
}

/* Leaderboard Section */
.leaderboard-section {
    padding: 6rem 8%;
    background: radial-gradient(circle at center, #1a2233 0%, var(--bg-dark) 70%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.section-header p {
    color: var(--text-muted);
}

.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 4rem;
    height: 400px;
}

.rank-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.rank-card:hover {
    transform: translateY(-10px);
}

.rank-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.rank-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.crown {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.rank-1 {
    width: 300px;
    height: 380px;
    z-index: 2;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.1), rgba(255, 255, 255, 0.02));
    border-color: rgba(255, 215, 0, 0.3);
}

.rank-2 {
    width: 260px;
    height: 320px;
    background: linear-gradient(180deg, rgba(224, 224, 224, 0.1), rgba(255, 255, 255, 0.02));
    border-color: rgba(224, 224, 224, 0.3);
}

.rank-3 {
    width: 260px;
    height: 300px;
    background: linear-gradient(180deg, rgba(205, 127, 50, 0.1), rgba(255, 255, 255, 0.02));
    border-color: rgba(205, 127, 50, 0.3);
}

/* Rank Customizations */
.rank-1 .rank-avatar {
    width: 140px;
    height: 140px;
}

.rank-1 .rank-avatar img {
    border-color: var(--accent-gold);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.gold-crown {
    background: var(--accent-gold);
    color: #000;
}

.glow-effect.gold {
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.rank-2 .rank-avatar img {
    border-color: var(--accent-silver);
    box-shadow: 0 0 25px rgba(224, 224, 224, 0.3);
}

.silver-crown {
    background: var(--accent-silver);
    color: #000;
}

.glow-effect.silver {
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 150px;
    background: radial-gradient(ellipse at center, rgba(224, 224, 224, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.rank-3 .rank-avatar img {
    border-color: var(--accent-bronze);
    box-shadow: 0 0 25px rgba(205, 127, 50, 0.3);
}

.bronze-crown {
    background: var(--accent-bronze);
    color: #FFF;
}

.glow-effect.bronze {
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 150px;
    background: radial-gradient(ellipse at center, rgba(205, 127, 50, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.score {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 10px 0;
    font-family: 'Space Mono', monospace;
}

.rank-1 .score {
    color: var(--accent-gold);
    font-size: 2.2rem;
}

.unit {
    font-size: 0.9rem;
    opacity: 0.6;
}

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

.badge {
    font-size: 0.8rem;
    padding: 2px 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.full-leaderboard {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.full-leaderboard img {
    width: 100%;
    display: block;
    opacity: 0.8;
}

/* Features Bento Grid */
.features-section {
    padding: 6rem 8%;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bento-item {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    min-height: 300px;
    transition: all 0.3s;
}

.bento-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.span-2 {
    grid-column: span 2;
}

.large {
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.large.reverse {
    flex-direction: column-reverse;
}

.bento-item .content {
    padding: 2rem;
    z-index: 2;
    position: relative;
}

.bento-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.bento-item p {
    color: var(--text-muted);
}

.bento-item img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80%;
    border-top-left-radius: 12px;
    box-shadow: -10px -10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.bento-item:hover img {
    transform: scale(1.02) translate(-5px, -5px);
}

.large img {
    position: relative;
    width: 90%;
    margin-left: 5%;
    margin-bottom: -10%;
    right: auto;
    bottom: auto;
}

.abstract-visual {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #111, #222);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
}

/* Future Section */
.future-section {
    padding: 6rem 8%;
    background: #000;
    position: relative;
    overflow: hidden;
}

.future-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.future-text {
    flex: 1;
}

.future-text h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.upcoming-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.upcoming-features li {
    display: flex;
    gap: 15px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--secondary);
    transition: background 0.3s;
}

.upcoming-features li:hover {
    background: rgba(255, 255, 255, 0.08);
}

.upcoming-features i {
    color: var(--secondary);
    width: 32px;
    height: 32px;
}

.future-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.pulsing-icon {
    width: 200px;
    animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
    0% {
        filter: drop-shadow(0 0 10px rgba(157, 0, 255, 0.3));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 30px rgba(157, 0, 255, 0.6));
        transform: scale(1.05);
    }

    100% {
        filter: drop-shadow(0 0 10px rgba(157, 0, 255, 0.3));
        transform: scale(1);
    }
}

/* Footer */
footer {
    padding: 4rem 8%;
    text-align: center;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.big-btn {
    margin-top: 2rem;
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
}

.copyright {
    margin-top: 4rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        margin-bottom: 3rem;
    }

    .hero-visual {
        width: 100%;
        height: 400px;
    }

    .main-ui {
        width: 80%;
    }

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

    .span-2 {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .podium-container {
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 1rem;
    }

    .rank-card {
        width: 100% !important;
        height: auto !important;
        display: flex;
        align-items: center;
        padding: 1rem;
        text-align: left;
    }

    .rank-avatar {
        width: 60px !important;
        height: 60px !important;
        margin: 0 1rem 0 0;
    }

    .glow-effect {
        display: none;
    }

    .future-content {
        flex-direction: column-reverse;
    }

    .upcoming-features {
        grid-template-columns: 1fr;
    }
}
/* Add specific style for the BI image to ensure it covers well if needed */
.bi-img {
    width: 100% !important;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    margin: 0 !important;
    position: relative !important;
    border-radius: 12px;
}

/* Version Links Style */
.version-links {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.v-label {
    opacity: 0.7;
}

.v-link {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px dashed rgba(0, 255, 157, 0.3);
    transition: all 0.2s;
}

.v-link:hover {
    color: var(--accent-blue);
    border-bottom-color: var(--accent-blue);
}
