:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-alt: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 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;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.header {
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.logo .subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu li.mobile-only {
    display: none;
}

.telegram-menu-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--gradient);
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 0.5rem;
}

.telegram-menu-btn::after {
    display: none;
}

.telegram-menu-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white !important;
    opacity: 0.95;
}

.telegram-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-left: 1rem;
}

.telegram-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    opacity: 0.95;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    background: var(--gradient);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.hero .container {
    position: relative;
}

.hero-mobile-wrapper {
    display: none;
    position: relative;
    width: 100%;
}

.hero-mobile-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 1;
}

.hero-mobile-image {
    display: none;
    width: 100%;
    height: auto;
    margin: 0;
}

.telegram-btn-mobile {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 10;
}

.telegram-btn-mobile:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

.mobile-only {
    display: none;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-alt {
    background-color: var(--bg-secondary);
}

.content-block {
    margin-bottom: 3rem;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.content-block h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.content-block h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.content-block p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 1.0625rem;
}

.content-block .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.content-block strong {
    color: var(--text-primary);
    font-weight: 600;
}

.text-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.text-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-color);
}

/* Intro Image */
.intro-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    display: block;
}

.intro-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: block;
}

.telegram-btn-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 10;
}

.telegram-btn-overlay:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
}

.desktop-only {
    display: block;
}

/* Steps Box */
.steps-box {
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.steps-box h4 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.steps-list {
    margin-left: 1.5rem;
    color: var(--text-secondary);
}

.steps-list li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.game-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.game-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    margin-top: 0;
}

.game-card .provider {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.game-card p {
    font-size: 0.9375rem;
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.bonus-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    font-size: 0.9375rem;
}

.bonus-table thead {
    background: var(--gradient);
    color: white;
}

.bonus-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bonus-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.bonus-table tbody tr:hover {
    background: var(--bg-secondary);
}

.bonus-table tbody tr:last-child td {
    border-bottom: none;
}

/* Risks List */
.risks-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.risks-list li {
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent-color);
    border-radius: 6px;
    color: var(--text-secondary);
}

.risks-list li strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

/* Pros/Cons */
.pros-cons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.pros-box, .cons-box {
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.pros-box {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-left: 4px solid #10b981;
}

.cons-box {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-left: 4px solid #ef4444;
}

.pros-box h3, .cons-box h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pros-box ul {
    list-style: none;
    padding: 0;
}

.pros-box li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.pros-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.25rem;
}

.cons-box p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-text {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-warning {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .hero {
        padding: 0;
        background: transparent;
    }

    .hero .container {
        padding: 0;
        position: relative;
    }

    .hero-mobile-wrapper {
        display: block;
        position: relative;
        width: 100%;
    }

    .hero-mobile-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        pointer-events: none;
        z-index: 1;
    }

    .hero-mobile-image {
        display: block;
        width: 100%;
        height: auto;
    }

    .telegram-btn-mobile {
        position: relative;
        display: inline-block;
        margin-top: 1.5rem;
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
        white-space: nowrap;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
        transform: none;
    }

    .telegram-btn-mobile:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    }

    .hero-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        text-align: center;
        padding: 1rem;
        z-index: 2;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .hero-subtitle {
        font-size: 1rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-primary);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 1rem;
    }

    .nav-menu li.mobile-only {
        display: block !important;
        margin-top: 1rem;
        width: 100%;
    }

    .telegram-menu-btn {
        width: 100%;
        display: block;
        text-align: center;
    }

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

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

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

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .content-block h2 {
        font-size: 1.75rem;
    }

    .content-block h3 {
        font-size: 1.5rem;
    }

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

    .pros-cons {
        grid-template-columns: 1fr;
    }

    .table-wrapper {
        font-size: 0.875rem;
    }

    .bonus-table th,
    .bonus-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2.5rem 0;
    }

    .section {
        padding: 2.5rem 0;
    }

    .content-block h2 {
        font-size: 1.5rem;
    }

    .steps-box {
        padding: 1.5rem;
    }
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth animations */
@media (prefers-reduced-motion: no-preference) {
    * {
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }
}

