:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #f43f5e;
    --accent-light: #fb7185;
    --bg-dark: #0c0c14;
    --bg-section: #111119;
    --bg-alt: #16161f;
    --text-primary: #f1f1f4;
    --text-secondary: #9898a6;
    --text-muted: #6b6b7a;
    --border: rgba(99, 102, 241, 0.15);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 17px;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(12, 12, 20, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    max-width: 1200px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 38px;
    width: auto;
}

.brand-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.brand-ua {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
    border-radius: 2px;
}

.btn {
    padding: 10px 22px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(99, 102, 241, 0.1);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: 14px;
}

.main-content {
    padding-top: 70px;
}

.article-content {
    padding: 80px 0 60px;
}

.article-content h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-content .lead {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 70px;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 50px 0 25px;
    color: var(--text-primary);
    line-height: 1.3;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.article-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.article-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.slots-showcase {
    margin: 40px 0;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.slot-card {
    background: var(--bg-section);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
    text-align: center;
}

.slot-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

.slot-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.slot-card span {
    display: block;
    padding: 12px 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cta-block {
    margin-top: 50px;
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.footer {
    background: var(--bg-section);
    padding: 50px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-content {
    text-align: center;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 5px 0;
}

@media (max-width: 1024px) {
    .slots-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 67px;
        flex-direction: column;
        background: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        border-top: 1px solid var(--border);
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    body {
        font-size: 16px;
    }

    .article-content {
        padding: 60px 0 50px;
    }

    .article-content h1 {
        font-size: 28px;
    }

    .article-content .lead {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-bottom: 50px;
    }

    .article-content h2 {
        font-size: 24px;
        margin: 40px 0 20px;
    }

    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .slot-card span {
        font-size: 11px;
        padding: 10px 6px;
    }
}

@media (max-width: 480px) {
    .article-content h1 {
        font-size: 24px;
    }

    .article-content h2 {
        font-size: 22px;
    }

    .article-content p {
        font-size: 15px;
    }

    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .container {
        padding: 0 16px;
    }

    .btn-large {
        width: 100%;
        padding: 14px 28px;
    }
}
