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

:root {
    --color-bg: #fdfdfd;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-primary: #DAA520;
    --color-secondary: #4CAF50;
    --color-accent: #FF8C00;
    --color-white: #ffffff;
    --color-grey-light: #eeeeee;
    --color-grey-dark: #2c2c2c;
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.05);
    --radius: 8px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-group {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

.main-nav a {
    font-weight: 500;
    color: var(--color-grey-dark);
}

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

.age-badge {
    font-size: 0.75rem;
    background-color: var(--color-grey-light);
    padding: 5px 10px;
    border-radius: 20px;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #e07b00;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: #3d8b40;
}

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

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

.hero {
    background-color: #fffcf5;
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--color-grey-light);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-grey-dark);
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto 40px;
}

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

.disclaimer-small {
    font-size: 0.85rem;
    color: #999;
}

.section {
    padding: 80px 0;
}

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

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

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

.card {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.lotto-logo {
    height: 60px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--color-primary);
}

.card p {
    color: var(--color-text-light);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    display: flex;
    gap: 20px;
    background: var(--color-white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.feature-card i {
    font-size: 2rem;
    color: var(--color-primary);
}

.responsible-section {
    background-color: #f0f7f1;
    text-align: center;
}

.faq-item {
    background: var(--color-white);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--color-grey-light);
}

.faq-item h4 {
    margin-bottom: 10px;
    color: var(--color-grey-dark);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 20px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.info-item i {
    color: var(--color-accent);
    width: 25px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.form-check input {
    margin-top: 5px;
}

.game-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background: var(--color-white);
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.buy-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.game-board {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

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

.grand-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.num-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.num-btn:hover {
    border-color: var(--color-secondary);
}

.num-btn.selected {
    background: var(--color-secondary);
    color: white;
    border-color: var(--color-secondary);
}

.game-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.cart-panel {
    background: var(--color-white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    height: fit-content;
}

.cart-items {
    margin: 20px 0;
    min-height: 100px;
}

.cart-item {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    position: relative;
}

.remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #e74c3c;
    cursor: pointer;
    background: none;
    border: none;
}

.cart-total {
    border-top: 1px solid #eee;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.login-container {
    max-width: 450px;
    margin: 50px auto;
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}


.responsible-msg {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.85rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    max-width: 500px;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.alert-box {
    padding: 15px;
    margin-top: 15px;
    border-radius: 4px;
    display: none;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: row;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-group {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-group.open {
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
    }

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

    .features-grid,
    .buy-layout,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .cart-panel {
        order: -1;
        margin-bottom: 20px;
    }
}

.footer-imgs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-imgs img {
    padding: 12px;
    margin: 12px;
    height: 55px;
    background: white;
    border-radius: 10px;
}

.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-modal {
    background: #ffffff;
    color: #2c2c2c;
    max-width: 420px;
    width: 90%;
    padding: 24px 24px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.age-modal h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.age-modal p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.age-note {
    margin-top: 12px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.age-buttons {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    border: none;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: #2c2c2c;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: #1f1f1f;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: #ffffff;
    color: #2c2c2c;
    border: 1px solid #2c2c2c;
}

.btn-secondary:hover {
    background: #f5f5f5;
}


.cookie-settings-trigger {
    position: fixed;
    bottom: 18px;
    left: 18px;
    z-index: 8000;
    background: #ffffff;
    color: #2c2c2c;
    border: 1px solid #2c2c2c;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.cookie-settings-trigger:hover {
    background: #f5f5f5;
}

/* Cookie backdrop */

.cookie-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 8998;
}

/* Cookie banner */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    color: #2c2c2c;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
    padding: 16px 20px;
    z-index: 8999;
    transform: translateY(100%);
    transition: transform 0.25s ease-out;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-text h3 {
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.cookie-text p {
    margin: 0 0 6px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-link {
    font-size: 0.85rem;
    margin-right: 14px;
    text-decoration: underline;
    color: #2c2c2c;
}

.cookie-link:hover {
    text-decoration: none;
}

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


.cookie-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9000;
}

.cookie-modal.open {
    display: flex;
}

.cookie-modal-content {
    background: #ffffff;
    color: #2c2c2c;
    max-width: 520px;
    width: 92%;
    padding: 22px 22px 20px;
    border-radius: 14px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}

.cookie-modal-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.cookie-modal-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 14px;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
}

.cookie-option:first-of-type {
    border-top: none;
}

.cookie-option strong {
    font-size: 0.95rem;
}

.cookie-option p {
    margin-top: 4px;
    margin-bottom: 0;
}


.cookie-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #e0e0e0;
    border-radius: 999px;
    transition: 0.2s;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    top: 3px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: 0.2s;
}

.cookie-switch input:checked+.cookie-slider {
    background-color: #2c2c2c;
}

.cookie-switch input:checked+.cookie-slider:before {
    transform: translateX(18px);
}

.cookie-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}


@media (max-width: 640px) {
    .cookie-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-settings-trigger {
        left: 12px;
        bottom: 12px;
    }

    .age-modal {
        padding: 20px 18px 16px;
    }
}