/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6c5ce7;
    --primary-dark: #5a4bd1;
    --primary-light: #a29bfe;
    --secondary: #fd79a8;
    --accent: #00cec9;
    --dark: #0a0a1a;
    --dark-card: #151525;
    --dark-surface: #1e1e35;
    --text: #e8e8f0;
    --text-muted: #8888aa;
    --radius: 16px;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-color: transparent;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.15);
}
.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.08);
}

.btn-large {
    padding: 16px 40px;
    font-size: 17px;
}

.btn-sm {
    padding: 6px 18px;
    font-size: 13px;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
}
.logo-icon {
    font-size: 28px;
}
.logo-text span {
    color: var(--primary);
}

nav ul {
    display: flex;
    gap: 32px;
    font-weight: 500;
}
nav ul li a {
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 15px;
}
nav ul li a:hover {
    color: #fff;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    padding: 160px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(108, 92, 231, 0.15);
    color: var(--primary-light);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.hero-content h1 {
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}
.stat {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}
.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-image-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--dark-card), var(--dark-surface));
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.06);
    font-size: 100px;
    color: var(--text-muted);
}
.hero-image-placeholder span {
    font-size: 16px;
    margin-top: 12px;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-block;
    background: rgba(108, 92, 231, 0.12);
    color: var(--primary-light);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
}
.section-header h2 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-header p {
    color: var(--text-muted);
    font-size: 18px;
    margin-top: 8px;
}

/* ===== GAMES ===== */
.games {
    padding: 80px 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.game-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
}
.game-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 92, 231, 0.2);
    box-shadow: var(--shadow);
}

.game-card-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: rgba(255, 255, 255, 0.6);
}

.game-card-content {
    padding: 20px 24px 24px;
}
.game-card-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}
.game-card-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.game-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-tag {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 50px;
    background: rgba(0, 206, 201, 0.12);
    color: var(--accent);
}
.game-tag-premium {
    background: rgba(253, 121, 168, 0.15);
    color: var(--secondary);
}

/* ===== PARTNERS ===== */
.partners {
    padding: 80px 0;
    background: var(--dark-card);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.partner-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.category-btn {
    padding: 8px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}
.category-btn:hover,
.category-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

.partner-card {
    background: var(--dark-surface);
    padding: 32px 24px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
}
.partner-card:hover {
    border-color: rgba(108, 92, 231, 0.2);
    transform: translateY(-4px);
}

.partner-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
}
.partner-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}
.partner-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.partner-category-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 14px;
    border-radius: 50px;
    background: rgba(108, 92, 231, 0.12);
    color: var(--primary-light);
    margin-bottom: 12px;
}

.partner-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}
.partner-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}
.partner-social a:hover {
    background: var(--primary);
    color: #fff;
}

.partner-cta {
    text-align: center;
    padding: 48px 32px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.06), rgba(253, 121, 168, 0.06));
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.partner-cta h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}
.partner-cta p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ===== ABOUT / FEATURES ===== */
.about {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--dark-card);
    padding: 32px 24px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
}
.feature-card:hover {
    border-color: rgba(108, 92, 231, 0.2);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
    color: var(--primary-light);
}
.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark-card);
    padding: 60px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 12px;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--primary);
    color: #fff;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-links ul li {
    margin-bottom: 8px;
}
.footer-links ul li a {
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}
.footer-links ul li a:hover {
    color: #fff;
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}
.footer-bottom a {
    color: var(--text-muted);
    margin-left: 20px;
    transition: var(--transition);
}
.footer-bottom a:hover {
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-image-placeholder {
        max-width: 350px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav,
    .header-actions {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }

    /* Mobile nav (JS will toggle this) */
    nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        padding: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    nav.active ul {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom a {
        margin: 0 10px;
    }
}