:root {
    --bg-dark: #020617;
    --bg-card: #0b1120;
    --primary: #22c55e;
    --secondary: #38bdf8;
    --accent: #facc15;
    --text-light: #f9fafb;
    --text-gray: #9ca3af;
    --danger: #ef4444;
    --font-main: 'Inter', sans-serif;
}

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

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

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

ul {
    list-style: none;
}

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

header {
    background-color: var(--bg-card);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    line-height: 1.2;
}

.logo span {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

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

main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: url('../img/hero.png') center center/cover no-repeat;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: #fff;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: var(--bg-dark);
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    margin: 0.5rem;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
}

.disclaimer-small {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 1rem;
    display: block;
}

section {
    margin-bottom: 4rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

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

.card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.step {
    text-align: center;
    max-width: 250px;
}

.step i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    background: rgba(34, 197, 94, 0.1);
    padding: 1.5rem;
    border-radius: 50%;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--bg-dark);
    border: 1px solid #374151;
    border-radius: 0.5rem;
    color: var(--text-light);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
}

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

.success-msg {
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--primary);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: none;
}

.game-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--bg-card);
    border: 1px solid #374151;
    padding: 0.75rem 1.5rem;
    color: var(--text-gray);
    cursor: pointer;
    border-radius: 0.5rem;
}

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

.number-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.num-ball {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

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

.num-ball.selected {
    background: var(--secondary);
    color: var(--bg-dark);
    border-color: var(--secondary);
}

.cart-section {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-top: 2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #374151;
}

.remove-btn {
    color: var(--danger);
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.2rem;
}



.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border: 1px solid #374151;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    padding: 1.5rem;
    z-index: 9000;
    border-top: 1px solid #374151;
    display: none;
}

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

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        border-top: 1px solid #374151;
    }

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

    .menu-toggle {
        display: block;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

.mb-footer {
    background: #080808;
    color: #e5e7eb;
    padding: 32px 16px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mb-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mb-footer-top {
    width: 100%;
    text-align: center;
    font-size: 1.0rem;
    line-height: 1.6;
}

.mb-footer-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.mb-footer-logo {
    display: flex;
    flex-direction: column;
    gap: 8px;  
}

.mb-footer-logo img {
    height: 90px;
    width: auto;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
}

.mb-footer-logo:hover span {
    color: #93c5fd;
}

.mb-footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    padding-top: 16px;
    margin-top: 8px;
    font-size: 0.75rem;
    opacity: 0.85;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

.mb-footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mb-footer-link {
    color: #93c5fd;
    text-decoration: none;
}

.mb-footer-link:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .mb-footer-inner {
        gap: 20px;
    }

    .mb-footer-logos {
        gap: 16px;
    }

    .mb-footer-logo img {
        height: 28px;
    }
}