:root {
    --color-bg-dark: #0f172a;
    --color-bg-card: #1e293b;
    --color-primary: #E31837;
    --color-primary-hover: #b91c32;
    --color-accent: #FFC107;
    --color-text-main: #f8fafc;
    --color-text-muted: #94a3b8;
    --font-main: 'Inter', sans-serif;
    --container-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
}


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

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

.text-gold {
    color: var(--color-accent);
}

.hidden {
    display: none !important;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    width: auto;
}

.btn-full {
    width: 100%;
}

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

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

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

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}


header {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--color-primary);
}

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

.main-nav a {
    font-weight: 500;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

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

.auth-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hamburger {
    display: none;
    background: none;
    color: white;
    font-size: 1.5rem;
}


.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--color-bg-card);
    padding: 20px;
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 99;
    border-bottom: 2px solid var(--color-primary);
}

.mobile-menu.open {
    transform: translateY(0);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


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

.age-gate-card {
    background: var(--color-bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.age-gate-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}


.hero {
    padding: 60px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: url('../img/hero.png') center center/cover no-repeat;
}

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

.hero-badge {
    background: var(--color-primary);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
}

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

.countdown-container {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.countdown-block {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    min-width: 80px;
    text-align: center;
}

.count-val {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    color: var(--color-accent);
}

.count-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
}


.product-card {
    flex: 0 0 400px;
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.jackpot-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin: 10px 0;
}

.product-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 8px;
}

.qty-selector button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 4px;
}

.qty-display {
    margin: 0 15px;
    font-weight: 600;
}


.login-wrapper {
    max-width: 450px;
    margin: 80px auto;
    background: var(--color-bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.form-input {
    width: 100%;
    padding: 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.auth-links a:hover {
    color: var(--color-primary);
}


.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.info-card {
    background: var(--color-bg-card);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-primary);
}

.info-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}


.table-responsive {
    overflow-x: auto;
    margin: 40px 0;
}

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

th,
td {
    text-align: left;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}


.result-card {
    background: var(--color-bg-card);
    margin-bottom: 20px;
    padding: 20px;
    border-radius: var(--border-radius);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.balls-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ball {
    width: 36px;
    height: 36px;
    background: white;
    color: var(--color-bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

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


.accordion-item {
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 15px 20px;
    background: var(--color-bg-card);
    color: white;
    text-align: left;
    display: flex;
    justify-content: space-between;
}

.accordion-body {
    padding: 20px;
    background: rgba(15, 23, 42, 0.5);
    display: none;
    color: var(--color-text-muted);
}

.accordion-item.active .accordion-body {
    display: block;
}

.accordion-item.active .accordion-header {
    color: var(--color-accent);
}

.responsible-badges {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.badge-placeholder {
    background: #334155;
    color: #94a3b8;
    padding: 5px 10px;
    font-size: 0.7rem;
    border-radius: 4px;
    border: 1px solid #475569;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    color: #475569;
    font-size: 0.8rem;
}


@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .product-card {
        flex: 1 1 100%;
    }

    .nav-container .main-nav,
    .nav-container .auth-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .balls-row {
        margin-top: 10px;
    }
}

.ln-footer {
    background-color: #060a13;
    color: #f9fafb;
    padding: 40px 16px 32px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

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

.ln-footer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 40px;
}

.ln-footer-logos a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ln-footer-logo {
    height: 50px;
    width: auto;
    display: block;
}

.ln-footer-text {
    margin-bottom: 8px;
    color: #e5e7eb;
}

.ln-footer-text a {
    color: #ffffff;
    text-decoration: underline;
}

.ln-footer-warning {
    margin: 22px 0 26px;
    font-weight: 600;
    color: #ff3737;
}

.ln-footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.ln-footer-copy span {
    font-weight: 600;
}

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

.ln-footer-links a {
    color: #e5e7eb;
    text-decoration: none;
}

.ln-footer-links a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .ln-footer {
        padding: 48px 24px 32px;
    }

    .ln-footer-bottom {
        flex-direction: row;
    }
}

.legal-content {
    background: var(--color-bg-card);
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-section {
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.legal-section:last-child {
    border-bottom: none;
}