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

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --accent: #06b6d4;
    --gold: #fbbf24;
    --dark: #0f172a;
    --surface: #1e293b;
    --light: #f8fafc;
    --muted: #94a3b8;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #e2e8f0;
    background: linear-gradient(180deg, var(--dark) 0%, #0c1222 100%);
    min-height: 100vh;
}

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

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.topbar {
    background: var(--primary);
    padding: 8px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
}

/* Header */
header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.logo {
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 8px;
}

.main-nav a {
    color: var(--muted);
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
    background: var(--surface);
}

/* Hero Split */
.hero-split {
    padding: 80px 0 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text span {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 20px;
}

.hero-text h1 em {
    font-style: normal;
    color: var(--primary);
}

.hero-text p {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 35px;
    max-width: 480px;
}

.hero-visual img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 80px rgba(16, 185, 129, 0.1);
}

.btn-row {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-main {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--surface);
    color: #fff;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
}

/* Section */
.section {
    padding: 90px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 55px;
}

.section-head .badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--surface);
    color: var(--accent);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-head h2 {
    font-size: 38px;
    color: #fff;
    margin-bottom: 12px;
}

.section-head p {
    color: var(--muted);
    font-size: 17px;
    max-width: 520px;
    margin: 0 auto;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-item {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 35px 28px;
    transition: all 0.4s;
}

.feature-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.feature-item img {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 19px;
    color: #fff;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* Highlight Bar */
.highlight-bar {
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    padding: 50px 0;
}

.highlight-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.highlight-item h3 {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}

.highlight-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

/* Step Cards */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.step-card {
    background: var(--surface);
    border-radius: 18px;
    padding: 30px 25px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

.step-num {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
}

.step-card img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    margin: 15px 0;
}

.step-card h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--muted);
    font-size: 13px;
}

/* Game Showcase */
.game-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.game-item {
    background: var(--surface);
    border-radius: 18px;
    display: flex;
    gap: 20px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.game-item:hover {
    border-color: var(--primary);
}

.game-item img {
    width: 90px;
    height: 90px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
}

.game-item-info h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
}

.game-item-info p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 12px;
}

.game-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 6px;
}

/* Referral Section */
.referral-box {
    background: linear-gradient(135deg, var(--surface) 0%, var(--dark) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 24px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.referral-text h2 {
    font-size: 34px;
    color: #fff;
    margin-bottom: 20px;
}

.referral-text p {
    color: var(--muted);
    margin-bottom: 25px;
}

.referral-steps {
    list-style: none;
    counter-reset: ref;
}

.referral-steps li {
    counter-increment: ref;
    padding: 12px 0;
    padding-left: 40px;
    position: relative;
    color: #e2e8f0;
    font-size: 15px;
}

.referral-steps li::before {
    content: counter(ref);
    position: absolute;
    left: 0;
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.referral-visual img {
    width: 100%;
    border-radius: 20px;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border-radius: 14px;
    padding: 25px 30px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}

.faq-item h4 {
    font-size: 17px;
    color: #fff;
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--muted);
    font-size: 14px;
}

/* Page Hero */
.page-hero {
    background: radial-gradient(ellipse at center top, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
    padding: 140px 0 70px;
    text-align: center;
}

.page-hero h1 {
    font-size: 46px;
    color: #fff;
    margin-bottom: 15px;
}

.page-hero p {
    color: var(--muted);
    font-size: 18px;
}

/* Footer */
footer {
    background: var(--surface);
    padding: 70px 0 30px;
    margin-top: 50px;
}

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

.footer-col h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-col p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: var(--muted);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #64748b;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text p {
        margin: 0 auto 35px;
    }
    
    .btn-row {
        justify-content: center;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .referral-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 34px;
    }
    
    .feature-grid,
    .steps-grid,
    .game-list {
        grid-template-columns: 1fr;
    }
    
    .highlight-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
