:root {
    --bg-dark: #020617;
    --bg-card: #0f172a;
    --primary: #0ea5e9;
    --primary-hover: #0284c7;
    --accent: #2dd4bf;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #1e293b;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 80px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--nav-height);
}

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

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}


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

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

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

.section-padding {
    padding: 80px 0;
}


header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

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

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

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


.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, #1e293b, #020617);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.2), transparent 70%);
    filter: blur(80px);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero-text .badge {
    background: rgba(14, 165, 233, 0.2);
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin: 20px 0;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}


.ticket-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.draw-info h3 {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.countdown {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
}

.time-box {
    text-align: center;
    flex: 1;
}

.time-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

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

.ticket-selector {
    margin-top: 20px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.qty-btn {
    background: var(--border);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
}

.qty-display {
    font-size: 1.2rem;
    font-weight: bold;
}

.btn-block {
    width: 100%;
    text-align: center;
}


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

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.2s;
}

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

.icon-box {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}


.results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-row {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.ball {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: white;
    color: var(--bg-dark);
    font-weight: 800;
    border-radius: 50%;
    margin-right: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

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

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

th {
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
}


.login-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--border);
}

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

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

.form-group input {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg-dark);
    color: white;
}

.form-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-footer a {
    color: var(--primary);
}

.responsible-strip {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #f59e0b;
    font-size: 0.9rem;
}


.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.98);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.modal-content {
    max-width: 500px;
    padding: 40px;
}

.modal h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.modal-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

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


@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .result-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

.ln-footer {
    background-color: #05080e;
    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;
    }
}