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


:root {
    --primary-color: #003366;

    --primary-dark: #002244;

    --accent-color: #0056b3;

    --text-main: #2c3e50;

    --text-light: #6c757d;

    --bg-body: #f4f6f9;

    --bg-white: #ffffff;

    --border-color: #e9ecef;

    --success-bg: #d4edda;
    --success-text: #155724;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius-sm: 6px;
    --radius-md: 12px;
}


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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-body);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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


header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
    padding: 5px 0;
    position: relative;
}

.nav-links a:hover {
    opacity: 1;
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: width 0.3s;
}

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


.hero {
    background: url('../img/hero.png') center center/cover no-repeat;
    color: #fff;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    max-width: 750px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.btn-neutral {
    display: inline-block;
    padding: 12px 30px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-neutral:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


main {
    flex: 1;
    padding: 3rem 0 !important;
}

section {
    background: var(--bg-white);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

section:hover {
    box-shadow: var(--shadow-md);
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-body);
}

.section-title i {
    color: var(--accent-color);
    background: rgba(0, 86, 179, 0.1);
    padding: 10px;
    border-radius: 8px;
    font-size: 1.2rem;
}

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

ul.info-list li {
    margin-bottom: 0.8rem;
    padding-left: 20px;
    position: relative;
}

ul.info-list li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}


.legal-notice-box {
    background-color: #fff;
    border-left: 5px solid var(--primary-color);
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    box-shadow: var(--shadow-sm);
}

.legal-notice-box h3,
.legal-notice-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}


.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fcfcfc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
    background-color: #fff;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    cursor: pointer;
}

.btn-submit {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 51, 102, 0.2);
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 10px rgba(0, 51, 102, 0.25);
}


.grid-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}


.lotto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
    gap: 12px;
    margin-bottom: 1rem;
}

.number-btn {
    width: 45px;
    height: 45px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: var(--text-main);
    border-radius: 50%;

    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.number-btn:hover {
    border-color: var(--accent-color);
    transform: scale(1.1);
    z-index: 10;
}

.number-btn.selected {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 51, 102, 0.4);
    transform: scale(1.05);
}


.cart-summary {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.auth-container {
    max-width: 480px;
    margin: 2rem auto;
}

.alert-box {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-sm);
    display: none;
    font-size: 0.95rem;
    display: none;

    animation: fadeIn 0.5s ease;
}

.alert-success {
    background-color: var(--success-bg);
    color: var(--success-text);
    border: 1px solid #c3e6cb;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

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

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

    .nav-links {

        position: static;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 15px;
        display: none;

    }


    /*
    .nav-links {
        display: flex;
        background: rgba(255,255,255,0.1);
        padding: 10px;
        width: 100%;
        border-radius: 8px;
    }
    */

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        margin-bottom: 10px;
    }

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

    .section-title {
        font-size: 1.4rem;
    }

    .cart-summary {
        position: static;
        order: -1;

        margin-bottom: 2rem;
    }
}

@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
    }
}

footer {
    background-color: #1a1a1a;
    color: #a0a0a0;
    padding: 60px 0 20px;
    margin-top: auto;
    border-top: 5px solid var(--accent-color);
    font-size: 0.9rem;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d0d0d0;
}

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

.age-warning {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.badge-18 {
    background-color: var(--danger);
    color: white;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 0.8rem;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #a0a0a0;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.legal-text {
    text-align: center;
}

.legal-img {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.legal-img img {
    height: 40px;
    background: #fff;
    border-radius: 10px;
    padding: 5px;
}


.contact-page .grid-wrapper {
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
}


.contact-info-box {
    background-color: #f8f9fa;
    border-left: 4px solid var(--accent-color);
    padding: 2rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    height: 100%;
}


.legal-notice-box p {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: baseline;
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.5;
}


.legal-notice-box p i {
    color: var(--accent-color);
    font-size: 1.1rem;
    min-width: 30px;
    text-align: center;
    margin-right: 10px;
    background: rgba(0, 86, 179, 0.08);
    padding: 8px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


.legal-notice-box p strong {
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 8px;
}


.contact-form-wrapper h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.4rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}


textarea#message {
    resize: vertical;
    min-height: 120px;
}


.form-group label input[type="checkbox"] {
    accent-color: var(--primary-color);
    transform: scale(1.1);
    margin-right: 12px;
}

.form-group label {
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
}


@media (max-width: 768px) {
    .contact-page .grid-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .legal-notice-box {
        margin-bottom: 2rem;
    }
}

.prob-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.95rem;
}

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

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

.prob-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.warning-box {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
    display: flex;
    align-items: start;
    gap: 15px;
}

.legal-doc p {
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-doc h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.legal-doc ul {
    margin-left: 20px;
    margin-bottom: 1.5rem;
}

.legal-doc li {
    margin-bottom: 0.5rem;
}

.intro-box {
    background-color: #e9ecef;
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.legal-doc p {
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-doc h3 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.legal-doc ul {
    margin-left: 20px;
    margin-bottom: 1.5rem;
}

.legal-doc li {
    margin-bottom: 0.8rem;
}

.article-number {
    color: var(--accent-color);
    font-weight: 700;
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.overlay-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInOverlay 0.5s forwards;
}

@keyframes fadeInOverlay {
    to {
        opacity: 1;
    }
}


.modal-box {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    border-top: 5px solid var(--primary-color);
}

.modal-icon {
    font-size: 3rem;
    color: #e67e22;
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 2rem;
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 9000;
    display: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content {
    flex: 1;
    min-width: 300px;
}

.cookie-content h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.cookie-content p {
    font-size: 0.9rem;
    color: #555;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

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


.settings-box {
    max-width: 600px;
    padding: 0;
    overflow: hidden;
}

.modal-header {
    padding: 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.cookie-options {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    background: #fcfcfc;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.cookie-option:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.option-info strong {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.option-info p {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
    max-width: 350px;
}


.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

input:disabled+.slider {
    background-color: #9addfb;
    cursor: not-allowed;
    opacity: 0.6;
}


@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}