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

:root {
    --primary-blue: #0056b3;
    --primary-dark: #002b5c;
    --accent: #00a8e8;
    --bg-light: #f8f9fa;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --white: #ffffff;
    --danger: #dc3545;
    --success: #28a745;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

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

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

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

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

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

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

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

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

.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

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

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 15px;
}

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

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-dark);
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

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

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

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

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.timeline-step {
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
}

.warning-banner {
    background-color: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
    margin-top: auto;
}

.footer {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 60px 0 30px;
}

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

.footer h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

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

.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.age-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 2000;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.cookie-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    z-index: 2001;
    width: 90%;
    max-width: 500px;
    display: none;
}

.switch-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    align-items: center;
}

.contact-form, .auth-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.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: 6px;
    font-family: inherit;
}

.error-msg {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.success-msg {
    color: var(--success);
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
}

.buy-interface {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.tabs {
    display: flex;
    background: #f1f1f1;
}

.tab-btn {
    flex: 1;
    padding: 20px;
    border: none;
    background: none;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

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

.game-area {
    padding: 30px;
    display: none;
}

.game-area.active {
    display: block;
}

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

.num-ball {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
}

.num-ball.selected {
    background: var(--primary-blue);
    color: var(--white);
}

.cart-summary {
    margin-top: 30px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 6px;
}

.ticket-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

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

    .timeline {
        flex-direction: column;
        align-items: center;
    }
}

.ns-footer {
    background: #212121;
    color: #e5e7eb;
    padding: 24px 16px; 
    font-size: 14px;
    text-align: center;
}

.ns-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.ns-footer-main {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap; 
    align-items: center;
    border-bottom: 1px solid #1f2933;
    padding-bottom: 16px;
    margin-bottom: 12px;
}

 .footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 30px auto;
 }

.ns-footer-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
    align-items: center; 
    flex: 0 0 auto;
}

.ns-footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;    
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.ns-footer-logo img {
    height: 68px;  
    background: #ffffff;
    padding: 10px;
    border-radius: 8px;

}

.ns-footer-logo:hover {
    transform: translateY(-1px);
    border-color: #3b82f6;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.7);
}

.ns-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #9ca3af;
}

.ns-footer-bottom span {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .ns-footer-main {
        align-items: flex-start;
    }

    .ns-footer-logos {
        justify-content: flex-start;
    }
}
.legal-content h2 {
            margin-top: 30px;
            margin-bottom: 15px;
            color: var(--primary-dark);
            font-size: 1.5rem;
        }
        .legal-content h3 {
            margin-top: 20px;
            margin-bottom: 10px;
            font-size: 1.2rem;
            color: var(--primary-blue);
        }
        .legal-content p {
            margin-bottom: 15px;
            color: #444;
            text-align: justify;
        }
        .legal-content ul {
            margin-bottom: 20px;
            padding-left: 20px;
            list-style-type: disc;
        }
        .legal-content li {
            margin-bottom: 8px;
            color: #444;
        }.cookie-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            font-size: 0.9rem;
        }
        .cookie-table th, .cookie-table td {
            border: 1px solid #ddd;
            padding: 12px;
            text-align: left;
        }
        .cookie-table th {
            background-color: var(--primary-dark);
            color: var(--white);
        }
        .cookie-table tr:nth-child(even) {
            background-color: #f9f9f9;
        }.rp-header {
            background-color: var(--primary-dark);
            color: var(--white);
            padding: 60px 0;
            text-align: center;
        }
        .rp-content h2 {
            color: var(--primary-blue);
            margin-top: 40px;
            margin-bottom: 20px;
            font-size: 1.8rem;
            border-bottom: 2px solid #eee;
            padding-bottom: 10px;
        }
        .rp-content h3 {
            margin-top: 25px;
            margin-bottom: 15px;
            color: var(--text-dark);
            font-size: 1.3rem;
        }
        .rp-content p {
            margin-bottom: 15px;
            line-height: 1.8;
            color: #444;
        }
        .rp-content ul {
            margin-bottom: 25px;
            padding-left: 20px;
        }
        .rp-content li {
            margin-bottom: 10px;
            color: #444;
        }
        .help-box {
            background-color: #e3f2fd;
            border-left: 5px solid var(--primary-blue);
            padding: 30px;
            margin: 40px 0;
            border-radius: 4px;
        }
        .myth-box {
            background-color: #f9f9f9;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
        }
        .myth-title {
            font-weight: 700;
            color: var(--danger);
            display: block;
            margin-bottom: 5px;
        }
        .fact-title {
            font-weight: 700;
            color: var(--success);
            display: block;
            margin-bottom: 5px;
        }