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

:root {
    --bg-dark: #0f172a;
    --bg-deep: #020617;
    --primary: #06b6d4;
    --primary-glow: rgba(6, 182, 212, 0.5);
    --secondary: #3b82f6;
    --accent-gold: #fbbf24;
    --accent-gold-glow: rgba(251, 191, 36, 0.5);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --card-bg: rgba(30, 41, 59, 0.7);
    --card-border: rgba(255, 255, 255, 0.1);
    --danger: #ef4444;
    --success: #10b981;
    --font-stack: 'Poppins', sans-serif;
}

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

body {
    background: radial-gradient(circle at top, #1e293b, #0f172a, #020617);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

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


.btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

.btn:active {
    transform: translateY(0);
}

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

.btn-secondary:hover {
    background: rgba(6, 182, 212, 0.1);
    color: #fff;
    box-shadow: 0 0 15px var(--primary-glow);
    border-color: #fff;
}

.btn:disabled {
    background: #334155;
    cursor: not-allowed;
    box-shadow: none;
    color: #64748b;
}


header {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(6, 182, 212, 0.3);
}

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

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

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s;
}

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

.burger {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

main {
    flex: 1;
    margin-top: 80px;
}




.hero {
    background: linear-gradient(rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.9)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}


.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #fff;
}

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

.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}


.lotto-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lotto-logo {
    height: 80px;
    margin-bottom: 25px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.lotto-card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #fff;
}

.lotto-info {
    text-align: left;
    margin: 20px 0;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
    flex-grow: 1;
}

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

.lotto-info li i {
    color: var(--primary);
}


.step-card {
    text-align: center;
    background: transparent;
    border: none;
    box-shadow: none;
}

.step-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 25px;
    display: inline-block;
}

.step-card h3 {
    color: #fff;
    margin-bottom: 15px;
}


.feature-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    transition: background 0.3s;
}

.feature-block:hover {
    background: rgba(255, 255, 255, 0.03);
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--accent-gold);
    min-width: 50px;
    text-align: center;
    text-shadow: 0 0 15px var(--accent-gold-glow);
}

.feature-block h4 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.responsible-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--primary);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}


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

.form-label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(15, 23, 42, 0.8);
    border: 1px solid #334155;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-stack);
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
    background-color: rgba(15, 23, 42, 1);
}

.form-control:disabled {
    background-color: #1e293b;
    border-color: #334155;
    color: #64748b;
}

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

.auth-container {
    max-width: 480px;
    margin: 60px auto;
    padding: 40px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--card-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    transition: color 0.3s;
}

.input-icon-wrap input:focus+i,
.input-icon-wrap:focus-within i {
    color: var(--primary);
}

.input-icon-wrap input {
    padding-left: 50px;
}


.tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--card-border);
    padding: 15px 25px;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    font-weight: 500;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.4);
}

.tab-img {
    height: 35px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

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

.num-cell {
    aspect-ratio: 1;
    background: #1e293b;
    border: 2px solid #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
    font-size: 1.1rem;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.num-cell:hover {
    border-color: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.num-cell.selected {
    background: linear-gradient(135deg, var(--accent-gold), #d97706);
    color: #000;
    border-color: transparent;
    box-shadow: 0 0 15px var(--accent-gold-glow);
    transform: scale(1.1);
}

.buy-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.cart-summary {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    position: sticky;
    top: 100px;
    backdrop-filter: blur(10px);
}

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

.cart-item:last-child {
    border-bottom: none;
}

.cart-total {
    margin-top: 25px;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: right;
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-box {
    background: #1e293b;
    padding: 50px;
    border-radius: 16px;
    max-width: 550px;
    text-align: center;
    border: 1px solid var(--primary);
    box-shadow: 0 0 50px rgba(6, 182, 212, 0.2);
    position: relative;
    overflow: hidden;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid var(--primary);
    padding: 25px;
    z-index: 9990;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

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

.hidden {
    display: none !important;
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 500;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #0f172a;
        padding: 30px;
        border-bottom: 1px solid var(--card-border);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

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

    .burger {
        display: block;
    }

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

    .buy-layout {
        grid-template-columns: 1fr;
    }

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

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

.footer-legal-block {
    max-width: 900px;
    margin: 0 auto 16px auto;
    line-height: 1.6;
}

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

.footer-logo img {
    height: 65px;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    display: block;
}
.footer-links {
      display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid #111827;
    padding-top: 12px;
    font-size: 12px;
    color: #9ca3af;
}