:root {
    --bg: linear-gradient(135deg, #eef6ff, #dbeafe, #f0f9ff);
    --text: #111827;
    --card: rgba(255,255,255,0.78);
    --border: rgba(255,255,255,0.7);
    --nav: rgba(255,255,255,0.85);
    --subtext: #4b5563;
    --glow: rgba(0, 200, 255, 0.18);
}

body.dark {
    --bg: linear-gradient(135deg, #0f172a, #111827, #1e293b);
    --text: #ffffff;
    --card: rgba(255,255,255,0.08);
    --border: rgba(255,255,255,0.1);
    --nav: rgba(17,24,39,0.95);
    --subtext: #d1d5db;
    --glow: rgba(0,255,255,0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    transition: all 0.35s ease;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(0,200,255,0.15), transparent 30%),
        radial-gradient(circle at 80% 30%, rgba(168,85,247,0.12), transparent 30%),
        radial-gradient(circle at 50% 80%, rgba(59,130,246,0.12), transparent 35%);
    animation: drift 18s infinite alternate ease-in-out;
    z-index: -1;
}

@keyframes drift {
    from {
        transform: translate(0,0) scale(1);
    }
    to {
        transform: translate(-40px,-30px) scale(1.08);
    }
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(90deg, #06b6d4, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: #06b6d4;
}

/* MOBILE MENU BUTTON */
.mobile-menu-btn {
    display: none;
    border: none;
    background: linear-gradient(90deg, #06b6d4, #8b5cf6);
    color: white;
    padding: 12px 16px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: bold;
}

/* BUTTONS */
.toggle-btn,
.btn {
    border: none;
    background: linear-gradient(90deg, #06b6d4, #8b5cf6);
    color: white;
    padding: 14px 30px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.toggle-btn:hover,
.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 14px 30px rgba(6,182,212,0.28);
}

/* HERO */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    background: var(--card);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 20px 60px var(--glow);
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(90deg, #06b6d4, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--subtext);
    line-height: 1.8;
    margin-bottom: 35px;
}

/* STORE */
.store {
    padding: 90px 8%;
}

.section-title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.4rem;
    margin-bottom: 50px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

/* CARDS */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    backdrop-filter: blur(18px);
    padding: 30px;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);

    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    color: white;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.card h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 15px;
    font-size: 1.6rem;
    text-align: center;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #06b6d4;
    margin-bottom: 20px;
    text-align: center;
}

.card ul {
    list-style: none;
    margin-bottom: 25px;
    width: 100%;
}

.card ul li {
    padding: 8px 0;
    color: var(--subtext);
    text-align: center;
}

.rank-image {
    width: 100%;
    max-width: 110px;
    max-height: 90px;
    object-fit: contain;
    display: block;
    margin: 0 auto 18px;
    filter: drop-shadow(0 8px 14px rgba(0,0,0,0.12));
    transition: transform 0.25s ease;
}

.rank-image:hover {
    transform: scale(1.04);
}

.card .btn {
    margin-top: auto;
    width: fit-content;
}

/* SUPPORT */
.support {
    padding: 90px 8%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.support-box {
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 60px;
    border-radius: 30px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px var(--glow);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.support-text {
    color: var(--subtext);
    margin-bottom: 25px;
    max-width: 600px;
    line-height: 1.7;
    text-align: center;
}

/* FOOTER */
footer {
    padding: 30px;
    text-align: center;
    color: var(--subtext);
    border-top: 1px solid var(--border);
}

/* MOBILE */
@media (max-width: 768px) {

    header {
        flex-direction: row;
        justify-content: space-between;
        padding: 16px 20px;
        position: relative;
    }

    .logo {
        font-size: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        width: 100%;

        flex-direction: column;
        gap: 0;

        padding: 0;
        margin: 0;

        background: #ffffff;
        border-top: 1px solid rgba(0,0,0,0.08);
        border-bottom: 1px solid rgba(0,0,0,0.08);

        backdrop-filter: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);

        z-index: 999;
    }

    body.dark nav {
        background: #111827;
        border-top: 1px solid rgba(255,255,255,0.08);
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    nav.show {
        display: flex;
    }

    nav a {
        width: 100%;
        text-align: center;
        padding: 18px;
        border-radius: 0;
        background: transparent;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    body.dark nav a {
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .toggle-btn {
        width: 100%;
        border-radius: 0;
        padding: 18px;
    }

    .hero {
        min-height: auto;
        padding: 40px 16px;
    }

    .hero-content {
        padding: 30px 20px;
        border-radius: 22px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .store,
    .support {
        padding: 50px 16px;
    }

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

    .btn {
        width: 100%;
    }

    .rank-image {
        max-width: 80px;
        max-height: 65px;
    }

    .support-box {
        padding: 30px 20px;
    }
}