:root {
    --primary-color: #0f2027;
    --primary-gradient: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    --secondary-color: #3498db;
    --accent-color: #f39c12;
    --accent-hover: #d35400;
    --text-color: #2c3e50;
    --text-light: #ecf0f1;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e2e6ea;
    --success-color: #27ae60;
    --warning-color: #c0392b;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --radius: 8px;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

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

.nav-link:hover {
    color: var(--secondary-color);
}

.burger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.hero {
    background: var(--primary-gradient);
    color: var(--text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/hero.png') center center/cover no-repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-header {
    background: var(--primary-color);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background-color: var(--accent-color);
    color: var(--bg-white);
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s, box-shadow 0.3s;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
    width: fit-content;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.6);
}

.btn i {
    margin-right: 8px;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-left: 15px;
    box-shadow: none;
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--bg-white);
    transform: translateY(-2px);
}

.disclaimer-bar {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.game-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-color);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.game-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.game-icon-wrapper img {
    height: 100%;
}

.game-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.game-card p {
    color: #666;
    margin-bottom: 25px;
    min-height: 60px;
}

.results-section {
    background-color: var(--bg-white);
}

.results-table-container {
    overflow-x: auto;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.results-table th,
.results-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.results-table th {
    background-color: #f1f3f5;
    color: var(--primary-color);
    font-weight: 700;
}

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

.ball-display {
    display: flex;
    gap: 8px;
}

.ball {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
}

.ball.bonus {
    background-color: var(--accent-color);
}

.how-it-works {
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.step-box {
    flex: 1;
    min-width: 250px;
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    border: 4px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.step-box h4 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item p {
    padding: 0 20px 20px;
    color: #555;
    border-top: 1px solid #f1f1f1;
    padding-top: 15px;
}

.newsletter {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    border-radius: var(--radius);
    margin-bottom: 80px;
}

.newsletter h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter-form {
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 50px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.newsletter-form button {
    border-radius: 50px;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background-color: var(--accent-hover);
}

.responsible-banner {
    background-color: #e74c3c;
    color: var(--bg-white);
    text-align: center;
    padding: 20px;
}

.footer {
    background-color: #1a1a1a;
    color: #999;
    padding: 70px 0 30px;
    margin-top: auto;
}

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

.footer-col h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
}

.age-warning-text {
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    border: 1px solid var(--accent-color);
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 5px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-box {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    max-width: 550px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    background-color: var(--bg-white);
    padding: 20px 30px;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    display: none;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.buy-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.game-selector,
.cart-panel,
.contact-panel {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
    gap: 10px;
    margin-top: 25px;
}

.num-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.2s;
    font-size: 1rem;
}

.num-btn:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
    transform: scale(1.05);
}

.num-btn.selected {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.3);
}

.auth-container {
    max-width: 450px;
    margin: 80px auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group label i {
    width: 20px;
    text-align: center;
    color: var(--accent-color);
    margin-right: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid #dcdcdc;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: #fdfdfd;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #555;
}

.form-check input {
    margin-top: 4px;
    accent-color: var(--secondary-color);
    width: 18px;
    height: 18px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.map-placeholder {
    width: 100%;
    height: 350px;
    background-color: #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    border-radius: var(--radius);
    margin-top: 0;
    border: 1px solid var(--border-color);
}

.toggle-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 30px;
        gap: 15px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .burger {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .buy-layout {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .results-table th,
    .results-table td {
        padding: 12px;
        font-size: 0.9rem;
    }
}

.bc-footer {
    background: radial-gradient(circle at top left, #0b1120 0, #020617 45%, #000000 100%);
    color: #e5e7eb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding: 32px 16px 20px 16px;
}

.bc-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.bc-footer-logos-wrap {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.bc-footer-logo {
    display: inline-block;
}

.bc-footer-logo img {
    height: 45px;
    display: block;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

.bc-footer-age-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #f97316;
    background: rgba(15, 23, 42, 0.9);
    color: #fed7aa;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 14px;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.bc-footer-links-row {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid #111827;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 12px;
    color: #9ca3af;
}

.bc-footer-links {
    text-align: left;
}

.bc-footer-links a {
    color: #e5e7eb;
    text-decoration: none;
    margin: 0 14px;
}

.bc-footer-links a:first-child {
    margin-left: 0;
}

.bc-footer-links a:last-child {
    margin-right: 0;
}

.bc-footer-separator {
    color: #4b5563;
}

.bc-footer-copy {
    text-align: right;
}

.bc-footer-text {
    margin-top: 18px;
    text-align: left;
}

.bc-footer-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #9ca3af;
    margin: 0 0 14px 0;
    text-align: center;
}

.bc-footer-paragraph-main {
    margin: 0 0 10px 0;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
    color: #f9fafb;
}

.bc-footer-paragraph {
    margin: 0 0 10px 0;
    font-size: 13px;
    line-height: 1.7;
    color: #d1d5db;
    text-align: center;
}

.bc-footer-paragraph-19 {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #fbbf24;
    text-align: center;
}

.bc-footer-text a {
    color: #60a5fa;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .bc-footer-links-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .bc-footer-copy {
        text-align: left;
    }

    .bc-footer-inner {
        text-align: left;
    }

    .bc-footer-logos-wrap {
        justify-content: flex-start;
    }
}

.legal-content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    color: #0f2027;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.legal-content h3 {
    color: #2c3e50;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.legal-content p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.7;
}

.legal-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #555;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content ul {
    list-style: none;
    margin-bottom: 20px;
    color: #555;
}

.legal-content ul li {
    margin-bottom: 12px;
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

.legal-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success-color);
}

.warning-list li::before {
    content: '\f071';
    color: var(--warning-color);
}

.myth-box {
    background-color: #f8f9fa;
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
}

.myth-title {
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.fact-text {
    color: #555;
}

.help-box {
    background-color: #e8f6f3;
    border: 1px solid #d1f2eb;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    margin-top: 40px;
}

.help-phone {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--success-color);
    margin: 10px 0;
    display: block;
}