 :root {

     --primary-navy: #0A2540;
     --primary-light: #183B5E;
     --accent-red: #D62828;
     --accent-red-hover: #B01E1E;


     --bg-body: #F4F7F9;
     --bg-white: #FFFFFF;
     --text-main: #1D3557;
     --text-muted: #6C757D;
     --border-color: #E9ECEF;


     --shadow-sm: 0 4px 6px rgba(10, 37, 64, 0.05);
     --shadow-md: 0 10px 20px rgba(10, 37, 64, 0.08);
     --shadow-lg: 0 20px 40px rgba(10, 37, 64, 0.12);
     --radius-md: 12px;
     --radius-lg: 20px;
     --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);


     --font-head: 'Montserrat', sans-serif;
     --font-body: 'Open Sans', sans-serif;
 }

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

 body {
     font-family: var(--font-body);
     background-color: var(--bg-body);
     color: var(--text-main);
     line-height: 1.7;
     display: flex;
     flex-direction: column;
     min-height: 100vh;
     -webkit-font-smoothing: antialiased;
 }

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

 ul {
     list-style: none;
 }

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

 h1,
 h2,
 h3,
 h4 {
     font-family: var(--font-head);
     color: var(--primary-navy);
     font-weight: 700;
     line-height: 1.2;
     margin-bottom: 1rem;
 }

 h1 {
     font-size: 2.5rem;
     letter-spacing: -1px;
 }

 h2 {
     font-size: 2rem;
     margin-top: 2.5rem;
     position: relative;
     display: inline-block;
 }


 h2::after {
     content: '';
     display: block;
     width: 60px;
     height: 4px;
     background: var(--accent-red);
     margin-top: 8px;
     border-radius: 2px;
 }

 p {
     margin-bottom: 1.2rem;
 }

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

 .text-small {
     font-size: 0.875rem;
     color: var(--text-muted);
 }

 .text-red {
     color: var(--accent-red);
     font-weight: 700;
 }

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

 .text-large {
     font-size: 1.2rem;
     font-weight: 500;
 }



 .btn {
     display: inline-flex;
     justify-content: center;
     align-items: center;
     padding: 14px 28px;
     border-radius: 50px;
     font-family: var(--font-head);
     font-weight: 700;
     cursor: pointer;
     border: none;
     font-size: 1rem;
     transition: var(--transition);
     text-transform: uppercase;
     letter-spacing: 0.5px;
 }

 .btn:active {
     transform: scale(0.98);
 }

 .btn-primary {
     background-color: var(--primary-navy);
     color: var(--bg-white);
     box-shadow: 0 4px 15px rgba(10, 37, 64, 0.3);
 }

 .btn-primary:hover {
     background-color: var(--primary-light);
     transform: translateY(-2px);
 }

 .btn-accent {
     background: linear-gradient(135deg, var(--accent-red) 0%, #a00000 100%);
     color: var(--bg-white);
     width: 100%;
     max-width: 320px;
     box-shadow: 0 4px 15px rgba(214, 40, 40, 0.4);
 }

 .btn-accent:hover {
     filter: brightness(1.1);
     transform: translateY(-2px);
     box-shadow: 0 8px 20px rgba(214, 40, 40, 0.5);
 }

 .btn-outline {
     border: 2px solid var(--primary-navy);
     color: var(--primary-navy);
     background: transparent;
     border-radius: 8px;
 }

 .btn-outline:hover {
     background: var(--primary-navy);
     color: var(--bg-white);
 }


 .container {
     max-width: 1140px;
     margin: 0 auto;
     padding: 0 24px;
 }


 .section {
     padding: 60px 0;
 }

 .hidden {
     display: none !important;
 }


 .hero-card,
 .login-card,
 section[style*="background: #fff"] {
     background: var(--bg-white) !important;
     border-radius: var(--radius-md);
     box-shadow: var(--shadow-md);
     border: 1px solid rgba(0, 0, 0, 0.03);
     transition: var(--transition);
 }

 header {
     background-color: rgba(255, 255, 255, 0.95);
     backdrop-filter: blur(10px);
     box-shadow: var(--shadow-sm);
     position: sticky;
     top: 0;
     z-index: 1000;
 }

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

 .logo {
     font-family: var(--font-head);
     font-size: 1.6rem;
     font-weight: 800;
     color: var(--primary-navy);
     text-transform: uppercase;
     letter-spacing: -0.5px;
     display: flex;
     align-items: center;
 }

 .logo span {
     color: var(--accent-red);
     margin-left: 2px;
 }

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

 .nav-link {
     font-family: var(--font-head);
     font-weight: 600;
     color: var(--primary-navy);
     font-size: 0.95rem;
     position: relative;
     padding: 5px 0;
 }


 .nav-link::before {
     content: '';
     position: absolute;
     width: 0;
     height: 2px;
     bottom: 0;
     left: 0;
     background-color: var(--accent-red);
     transition: var(--transition);
 }

 .nav-link:hover::before,
 .nav-link.active::before {
     width: 100%;
 }

 .nav-btn-login {
     border: 2px solid var(--primary-navy);
     padding: 8px 24px;
     border-radius: 50px;
     transition: var(--transition);
 }

 .nav-btn-login:hover {
     background-color: var(--primary-navy);
     color: white;
 }

 .nav-btn-login::before {
     display: none;
 }

 .hamburger {
     display: none;
     cursor: pointer;
     font-size: 1.8rem;
     color: var(--primary-navy);
 }

 .hero {
     background: radial-gradient(circle at center, #1a4269 0%, #051626 100%);
     color: white;
     padding: 80px 0 100px;
     text-align: center;
     position: relative;
     overflow: hidden;
 }


 .hero::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
     background-size: 30px 30px;
     opacity: 0.5;
 }

 .hero h3 {
     color: rgba(255, 255, 255, 0.9);
     font-weight: 500;
     font-size: 1.2rem;
 }


 .countdown {
     display: flex;
     justify-content: center;
     gap: 20px;
     margin: 30px 0;
 }

 .time-block {
     background: rgba(255, 255, 255, 0.1);
     backdrop-filter: blur(5px);
     border: 1px solid rgba(255, 255, 255, 0.2);
     padding: 15px 20px;
     border-radius: 8px;
     min-width: 90px;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
 }

 .time-val {
     font-size: 2.5rem;
     font-weight: 700;
     display: block;
     line-height: 1;
     font-family: var(--font-head);
 }

 .time-label {
     font-size: 0.75rem;
     text-transform: uppercase;
     letter-spacing: 1px;
     opacity: 0.8;
     margin-top: 5px;
     display: block;
 }


 .hero-card {
     max-width: 550px;
     margin: 40px auto 0;
     padding: 40px;
     border-top: 6px solid var(--accent-red);
     position: relative;
     z-index: 10;
 }

 .hero-card h2 {
     margin-top: 0;
     font-size: 1.8rem;
     border-bottom: none;
 }

 .hero-card h2::after {
     display: none;
 }

 .jackpot-amount {
     font-size: 3rem;
     font-weight: 800;
     color: var(--primary-navy);
     margin: 15px 0;
     font-family: var(--font-head);
     background: -webkit-linear-gradient(45deg, var(--primary-navy), #2b5585);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
 }

 .quantity-selector {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 0;
     margin: 25px 0;
     background: #f1f3f5;
     border-radius: 50px;
     display: inline-flex;
     padding: 5px;
 }

 .qty-btn {
     width: 40px;
     height: 40px;
     background: white;
     border-radius: 50%;
     border: none;
     font-weight: bold;
     cursor: pointer;
     color: var(--primary-navy);
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
     transition: var(--transition);
 }

 .qty-btn:hover {
     background: var(--accent-red);
     color: white;
 }

 .qty-input {
     width: 60px;
     text-align: center;
     border: none;
     background: transparent;
     font-weight: 700;
     font-size: 1.2rem;
     color: var(--primary-navy);
 }

 .table-responsive {
     overflow-x: auto;
     border-radius: var(--radius-md);
     box-shadow: var(--shadow-sm);
 }

 table {
     width: 100%;
     border-collapse: separate;
     border-spacing: 0;
     background: var(--bg-white);
 }

 th {
     background-color: var(--primary-navy);
     color: white;
     font-weight: 600;
     text-transform: uppercase;
     font-size: 0.85rem;
     letter-spacing: 1px;
     padding: 18px 24px;
 }

 td {
     padding: 18px 24px;
     border-bottom: 1px solid var(--border-color);
     color: var(--text-main);
     font-weight: 500;
 }

 tr:last-child td {
     border-bottom: none;
 }

 tr:nth-child(even) {
     background-color: #f8f9fa;
 }

 tr:hover td {
     background-color: #f1f3f5;
 }

 .login-card {
     max-width: 450px;
     margin: 60px auto;
     padding: 50px;
 }

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

 .form-group label {
     display: block;
     margin-bottom: 8px;
     font-weight: 600;
     color: var(--primary-navy);
     font-size: 0.9rem;
 }

 .form-control {
     width: 100%;
     padding: 12px 16px;
     border: 2px solid var(--border-color);
     border-radius: 8px;
     font-size: 1rem;
     transition: var(--transition);
     font-family: var(--font-body);
 }

 .form-control:focus {
     border-color: var(--primary-navy);
     outline: none;
     box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.1);
 }

 .form-actions {
     display: flex;
     justify-content: space-between;
     font-size: 0.9rem;
     margin-bottom: 30px;
     align-items: center;
 }

 #age-gate {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(10, 37, 64, 0.98);
     z-index: 9999;
     display: flex;
     justify-content: center;
     align-items: center;
 }

 .age-gate-content {
     background: white;
     padding: 50px 40px;
     border-radius: var(--radius-lg);
     text-align: center;
     max-width: 500px;
     width: 90%;
     box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
     position: relative;
     border-top: 8px solid var(--accent-red);
 }

 .age-gate-content h2 {
     margin-top: 0;
     border: none;
 }

 .age-gate-content h2::after {
     display: none;
 }

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

 .age-gate-buttons .btn {
     min-width: 120px;
 }

 footer {
     background-color: var(--primary-navy);
     color: rgba(255, 255, 255, 0.8);
     padding: 60px 0 30px;
     margin-top: auto;
     font-size: 0.95rem;
 }

 .footer-content {
     display: flex;
     flex-wrap: wrap;
     justify-content: space-between;
     align-items: center;
     gap: 30px;
     border-bottom: 1px solid rgba(255, 255, 255, 0.1);
     padding-bottom: 30px;
     margin-bottom: 30px;
 }

 .badge-19 {
     background: var(--accent-red);
     color: white;
     padding: 6px 12px;
     font-weight: 800;
     border-radius: 4px;
     display: inline-block;
     margin-right: 12px;
     font-size: 1rem;
 }

 .footer-links a {
     margin-right: 25px;
     color: white;
     font-weight: 600;
     opacity: 0.8;
 }

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


 @media (max-width: 768px) {
     .nav-container {
         padding: 0 20px;
     }

     .nav-menu {
         position: fixed;
         top: 80px;
         right: -100%;
         background: var(--bg-white);
         flex-direction: column;
         width: 100%;
         height: calc(100vh - 80px);
         padding: 40px 20px;
         transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
         border-top: 1px solid var(--border-color);
         box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
     }

     .nav-menu.active {
         right: 0;
     }

     .hamburger {
         display: block;
     }

     h1 {
         font-size: 2rem;
     }

     h2 {
         font-size: 1.6rem;
     }

     .hero {
         padding: 40px 0 60px;
     }

     .hero-card {
         margin-top: 20px;
         padding: 30px 20px;
     }

     .jackpot-amount {
         font-size: 2.2rem;
     }

     .countdown {
         gap: 10px;
     }

     .time-block {
         padding: 10px;
         min-width: 70px;
     }

     .time-val {
         font-size: 1.8rem;
     }

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

     .footer-links {
         display: flex;
         flex-direction: column;
         gap: 15px;
     }
 }

 .ln-footer {
     background-color: #083625;
     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;
     }
 }.result-ball {
            display: inline-block;
            width: 50px; height: 50px;
            line-height: 50px;
            background: white;
            color: var(--primary-navy);
            border-radius: 50%;
            font-weight: 800;
            margin: 0 5px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            font-family: var(--font-head);
            font-size: 1.4rem;
        }
        .breakdown-card {
            background: #fff;
            border-radius: 12px;
            padding: 30px;
            margin-top: 30px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        .checker-tool {
            background: var(--primary-light);
            color: white;
            padding: 40px;
            border-radius: 12px;
            margin-bottom: 40px;
        }
        .checker-inputs {
            display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 20px 0;
        }
        .checker-input {
            width: 50px; height: 50px;
            border: 2px solid rgba(255,255,255,0.3);
            background: rgba(255,255,255,0.1);
            color: white;
            text-align: center;
            font-size: 1.2rem;
            border-radius: 8px;
        }.step-card {
            background: white;
            padding: 40px;
            border-radius: 12px;
            height: 100%;
            border-bottom: 4px solid transparent;
            transition: 0.3s;
            box-shadow: var(--shadow-sm);
        }
        .step-card:hover {
            transform: translateY(-5px);
            border-bottom-color: var(--accent-red);
            box-shadow: var(--shadow-md);
        }
        .step-number {
            font-size: 3rem;
            font-weight: 800;
            color: rgba(10, 37, 64, 0.1);
            line-height: 1;
            margin-bottom: 10px;
        }
        .faq-details {
            background: white;
            margin-bottom: 15px;
            border-radius: 8px;
            border: 1px solid var(--border-color);
        }
        .faq-details summary {
            padding: 20px;
            font-weight: 700;
            cursor: pointer;
            list-style: none;
            position: relative;
        }
        .faq-details summary::after {
            content: '+';
            position: absolute;
            right: 20px;
            font-weight: normal;
        }
        .faq-details[open] summary::after { content: '-'; }
        .faq-content {
            padding: 0 20px 20px 20px;
            color: var(--text-muted);
        }.legal-content {
            background: white;
            padding: 50px;
            border-radius: 12px;
            box-shadow: var(--shadow-sm);
            margin-top: -40px; /* Накладання на Hero */
            position: relative;
            z-index: 10;
        }
        .legal-content h3 {
            margin-top: 30px;
            font-size: 1.4rem;
            color: var(--primary-navy);
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 10px;
        }
        .legal-content h4 {
            margin-top: 20px;
            font-size: 1.1rem;
            color: var(--text-main);
        }
        .legal-content p, .legal-content li {
            color: #4a5568;
            font-size: 0.95rem;
            margin-bottom: 15px;
            text-align: justify;
        }
        .legal-content ul {
            list-style: disc;
            padding-left: 20px;
            margin-bottom: 20px;
        }
        .last-updated {
            font-style: italic;
            color: var(--text-muted);
            margin-bottom: 30px;
            display: block;
        }