@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600;700&display=swap');

:root {
    --primary: #38C5B5;
    --primary-dark: #2ba395;
    --secondary: #9aca41;
    --gradient: linear-gradient(135deg, #9aca41, #38C5B5);
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --border-radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

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

.bg-light {
    background-color: var(--bg-light);
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 18px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 20px 0;
}

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

.site-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.main-nav {
    display: flex;
    gap: 36px;
}

.main-nav a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 16px;
}

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

/* Hero */
.hero {
    background: var(--bg-light);
    padding: 120px 0 140px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56,197,181,0.08) 0%, rgba(154,202,65,0.0) 40%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(56,197,181,0.2);
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(56,197,181,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(56,197,181,0.4);
    color: var(--white);
}

.btn-outline {
    background: var(--white);
    color: var(--text-main);
    border: 2px solid #e2e8f0;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

/* Grids */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

/* Cards */
.category-card {
    background: var(--white);
    padding: 48px 32px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02), 0 10px 15px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
    display: block;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(56,197,181,0.12);
    border-color: rgba(56,197,181,0.3);
}

.category-icon {
    font-size: 56px;
    margin-bottom: 24px;
    display: inline-block;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 26px;
    margin-bottom: 16px;
}

.category-card p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 16px;
}

.game-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02), 0 4px 10px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
    display: block;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.game-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 15px;
    flex-grow: 1;
}

.text-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.category-card:hover .text-link,
.game-card:hover .text-link {
    color: var(--primary-dark);
}

/* How to play */
.how-container {
    max-width: 800px;
}

.how-content {
    background: var(--white);
    padding: 64px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

.how-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.how-content > p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.steps-premium {
    list-style: none;
    counter-reset: custom-step;
}

.steps-premium li {
    position: relative;
    padding-left: 72px;
    margin-bottom: 40px;
}

.steps-premium li:last-child {
    margin-bottom: 0;
}

.steps-premium li::before {
    counter-increment: custom-step;
    content: counter(custom-step);
    position: absolute;
    left: 0;
    top: -4px;
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(56,197,181,0.1);
}

.steps-premium strong {
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.steps-premium p {
    color: var(--text-muted);
}

/* FAQ */
.faq-container {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid #f1f5f9;
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

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

.faq-item a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: var(--transition);
}

.faq-item a:hover {
    text-decoration-color: var(--primary);
}

/* Footer */
.footer {
    background: #0f172a;
    color: var(--white);
    padding: 80px 0 32px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 64px;
}

.footer-logo {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-content p {
    color: #94a3b8;
    font-size: 18px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 32px;
    text-align: center;
    color: #64748b;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 52px; }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 16px;
    }
    
    .main-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 8px;
        justify-content: center;
    }

    .hero {
        padding: 80px 0 100px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-ctas {
        flex-direction: column;
        padding: 0 20px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    section {
        padding: 64px 0;
    }

    .how-content {
        padding: 40px 24px;
    }
    
    .steps-premium li {
        padding-left: 64px;
    }
    
    .faq-item {
        padding: 24px;
    }
}
