 :root {
   --navy-dark: #0a192f;
   --navy-light: #112240;
   --navy-lighter: #233554;
   --slate: #8892b0;
   --white: #e6f1ff;
   --gold: #ffd700;
   --turquoise: #64ffda;
   --danger: #ff6b6b;
   --font-heading: 'Montserrat', sans-serif;
   --font-body: 'Inter', sans-serif;
   --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
   --max-width: 1200px;
 }


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

 body {
   background-color: var(--navy-dark);
   color: var(--slate);
   font-family: var(--font-body);
   line-height: 1.6;
   font-size: 16px;
   overflow-x: hidden;
 }

 h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
   color: var(--white);
   font-family: var(--font-heading);
   font-weight: 700;
   line-height: 1.1;
   margin-bottom: 20px;
 }

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

 a:hover {
   color: var(--gold);
 }

 ul {
   list-style: none;
 }

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

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


 .btn {
   display: inline-block;
   padding: 12px 24px;
   border-radius: 4px;
   font-family: var(--font-heading);
   font-weight: 600;
   text-transform: uppercase;
   font-size: 14px;
   cursor: pointer;
   border: 1px solid var(--turquoise);
   background: transparent;
   color: var(--turquoise);
   transition: var(--transition);
 }

 .btn:hover {
   background: rgba(100, 255, 218, 0.1);
 }

 .btn-primary {
   background-color: var(--turquoise);
   color: var(--navy-dark);
   border-color: var(--turquoise);
 }

 .btn-primary:hover {
   background-color: var(--gold);
   border-color: var(--gold);
   color: var(--navy-dark);
 }


 header {
   background-color: rgba(10, 25, 47, 0.95);
   backdrop-filter: blur(10px);
   position: sticky;
   top: 0;
   z-index: 1000;
   border-bottom: 1px solid var(--navy-lighter);
   padding: 15px 0;
 }

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

 .logo {
   font-family: var(--font-heading);
   font-size: 1.5rem;
   font-weight: 800;
   color: var(--white);
   display: flex;
   align-items: center;
   gap: 10px;
 }

 .badge-19 {
   background-color: var(--danger);
   color: white;
   font-size: 0.7rem;
   padding: 2px 6px;
   border-radius: 4px;
   font-weight: 700;
   vertical-align: middle;
 }

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

 .mobile-toggle {
   display: none;
   font-size: 1.5rem;
   color: var(--turquoise);
   cursor: pointer;
 }


 .hero {
   padding: 80px 0;
   background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(17, 34, 64, 0.8) 100%),
     url('../img/hero.png') center center/cover no-repeat;
   min-height: 80vh;
   display: flex;
   align-items: center;
 }

 .hero-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 50px;
   align-items: center;
 }

 .hero-content h1 {
   font-size: 3rem;
   margin-bottom: 20px;
 }

 .countdown-box {
   background: var(--navy-lighter);
   padding: 15px;
   border-radius: 8px;
   display: inline-block;
   margin: 20px 0;
   border: 1px solid var(--turquoise);
 }

 .timer {
   font-family: monospace;
   font-size: 1.5rem;
   color: var(--turquoise);
   font-weight: 700;
 }


 .game-card {
   background-color: var(--navy-light);
   border: 1px solid var(--navy-lighter);
   border-radius: 10px;
   padding: 40px;
   text-align: center;
   box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
 }

 .jackpot-amount {
   font-size: 3.5rem;
   color: var(--gold);
   font-weight: 800;
   line-height: 1;
   margin: 10px 0;
 }

 .ticket-selector {
   background: var(--navy-dark);
   padding: 15px;
   border-radius: 8px;
   margin: 20px 0;
   display: flex;
   justify-content: space-between;
   align-items: center;
 }

 .qty-controls button {
   background: var(--navy-lighter);
   border: none;
   color: var(--white);
   width: 30px;
   height: 30px;
   border-radius: 50%;
   cursor: pointer;
   font-weight: bold;
 }

 .qty-controls span {
   margin: 0 10px;
   color: var(--white);
   font-weight: bold;
 }


 section {
   padding: 80px 0;
 }

 .section-alt {
   background-color: var(--navy-light);
 }

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

 .feature-card {
   background: var(--navy-dark);
   padding: 30px;
   border-radius: 8px;
   transition: var(--transition);
 }

 .feature-card:hover {
   transform: translateY(-5px);
 }

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


 .results-table-container {
   overflow-x: auto;
 }

 table {
   width: 100%;
   border-collapse: collapse;
   margin-top: 20px;
   background-color: var(--navy-light);
 }

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

 th {
   color: var(--turquoise);
   font-family: var(--font-heading);
   text-transform: uppercase;
   font-size: 0.85rem;
 }

 td {
   color: var(--slate);
 }

 .winning-numbers span {
   display: inline-block;
   width: 30px;
   height: 30px;
   line-height: 30px;
   text-align: center;
   background-color: var(--white);
   color: var(--navy-dark);
   border-radius: 50%;
   font-weight: bold;
   margin-right: 5px;
   font-size: 0.9rem;
 }


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

 .login-card {
   background: var(--navy-light);
   padding: 40px;
   border-radius: 8px;
   width: 100%;
   max-width: 450px;
   border: 1px solid var(--navy-lighter);
 }

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

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

 .form-control {
   width: 100%;
   padding: 12px;
   background-color: var(--navy-dark);
   border: 1px solid var(--navy-lighter);
   border-radius: 4px;
   color: var(--white);
   font-family: var(--font-body);
 }

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

 .legal-text {
   font-size: 0.8rem;
   color: #586380;
   margin-top: 20px;
 }

 .responsible-logo-row {
   display: flex;
   justify-content: center;
   gap: 20px;
   margin: 20px 0;
   opacity: 0.6;
 }

 .mock-logo {
   border: 1px solid #586380;
   padding: 5px 10px;
   border-radius: 4px;
   font-size: 0.7rem;
 }


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

 .age-gate-modal {
   background: var(--navy-light);
   padding: 40px;
   border-radius: 8px;
   max-width: 500px;
   text-align: center;
   border: 1px solid var(--turquoise);
   box-shadow: 0 0 50px rgba(100, 255, 218, 0.1);
 }

 .hidden {
   display: none !important;
 }


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

   .hero-content h1 {
     font-size: 2rem;
   }

   .nav-links {
     display: none;
     position: absolute;
     top: 100%;
     left: 0;
     width: 100%;
     background-color: var(--navy-light);
     flex-direction: column;
     padding: 20px;
     border-bottom: 1px solid var(--turquoise);
   }

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

   .mobile-toggle {
     display: block;
   }
 }

 .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;
   }
 }

 .tabs-nav {
   display: flex;
   justify-content: center;
   gap: 10px;
   margin-bottom: 30px;
   border-bottom: 1px solid var(--navy-lighter);
   padding-bottom: 20px;
 }

 .tab-btn {
   background: transparent;
   border: 1px solid var(--navy-lighter);
   color: var(--slate);
   padding: 10px 25px;
   border-radius: 20px;
   cursor: pointer;
   font-weight: 600;
   transition: var(--transition);
 }

 .tab-btn:hover {
   border-color: var(--turquoise);
   color: var(--turquoise);
 }

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


 .featured-result {
   background: linear-gradient(145deg, var(--navy-light) 0%, var(--navy-dark) 100%);
   border: 1px solid var(--turquoise);
   border-radius: 12px;
   padding: 40px;
   text-align: center;
   margin-bottom: 40px;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
   position: relative;
   overflow: hidden;
 }

 .featured-result::before {
   content: 'LATEST';
   position: absolute;
   top: 20px;
   right: -30px;
   background: var(--gold);
   color: var(--navy-dark);
   padding: 5px 40px;
   transform: rotate(45deg);
   font-weight: 800;
   font-size: 0.8rem;
 }

 .draw-date {
   color: var(--turquoise);
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 1px;
   margin-bottom: 10px;
 }


 .ball-container {
   display: flex;
   justify-content: center;
   gap: 15px;
   margin: 30px 0;
   flex-wrap: wrap;
 }

 .ball {
   width: 50px;
   height: 50px;
   background: radial-gradient(circle at 30% 30%, #ffffff, #e6e6e6);
   color: var(--navy-dark);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: 800;
   font-size: 1.2rem;
   box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.3);
   border: 2px solid var(--white);
 }

 .ball.bonus {
   background: radial-gradient(circle at 30% 30%, var(--gold), #d4af37);
   color: var(--navy-dark);
   border-color: var(--gold);
 }


 .breakdown-table {
   width: 100%;
   margin-top: 20px;
   border-collapse: separate;
   border-spacing: 0 5px;
 }

 .breakdown-table th {
   background: transparent;
   color: var(--slate);
   font-weight: 600;
   padding: 10px;
   border: none;
 }

 .breakdown-table td {
   background: rgba(17, 34, 64, 0.5);
   padding: 15px;
   border: none;
 }

 .breakdown-table tr:first-child td {
   border-top: 1px solid var(--navy-lighter);
 }


 .checker-box {
   background: var(--navy-light);
   padding: 30px;
   border-radius: 12px;
   max-width: 600px;
   margin: 0 auto;
   border: 1px dashed var(--slate);
 }

 .input-grid {
   display: flex;
   justify-content: center;
   gap: 10px;
   margin: 20px 0;
 }

 .num-input {
   width: 45px;
   height: 45px;
   text-align: center;
   font-size: 1.2rem;
   border-radius: 8px;
   border: 1px solid var(--slate);
   background: var(--navy-dark);
   color: var(--white);
   font-weight: bold;
 }

 .num-input:focus {
   border-color: var(--turquoise);
   outline: none;
   box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.2);
 }

 .result-message {
   margin-top: 20px;
   padding: 15px;
   border-radius: 8px;
   display: none;
 }

 .result-message.win {
   background: rgba(100, 255, 218, 0.1);
   border: 1px solid var(--turquoise);
   color: var(--turquoise);
 }

 .result-message.lose {
   background: rgba(255, 107, 107, 0.1);
   border: 1px solid var(--danger);
   color: var(--danger);
 }


 @media (max-width: 600px) {
   .ball {
     width: 40px;
     height: 40px;
     font-size: 1rem;
   }

   .tabs-nav {
     flex-direction: column;
   }

   .input-grid {
     flex-wrap: wrap;
   }
 }

 .legal-container {
   display: grid;
   grid-template-columns: 280px 1fr;
   gap: 60px;
   padding: 60px 0;
   align-items: start;
 }


 .legal-sidebar {
   position: sticky;
   top: 100px;
   background: var(--navy-light);
   padding: 25px;
   border-radius: 8px;
   border: 1px solid var(--navy-lighter);
 }

 .legal-sidebar h3 {
   font-size: 1.1rem;
   color: var(--white);
   margin-bottom: 20px;
   border-bottom: 2px solid var(--turquoise);
   padding-bottom: 10px;
   display: inline-block;
 }

 .legal-nav li {
   margin-bottom: 12px;
 }

 .legal-nav a {
   color: var(--slate);
   font-size: 0.95rem;
   display: block;
   transition: var(--transition);
 }

 .legal-nav a:hover,
 .legal-nav a.active {
   color: var(--turquoise);
   padding-left: 5px;
 }


 .legal-content {
   color: var(--slate);
   font-size: 1rem;
   background: var(--navy-light);
   padding: 50px;
   border-radius: 8px;
   border: 1px solid var(--navy-lighter);
 }

 .legal-content h2 {
   color: var(--white);
   font-size: 1.8rem;
   margin-top: 40px;
   margin-bottom: 20px;
   padding-bottom: 10px;
   border-bottom: 1px solid var(--navy-lighter);
 }

 .legal-content h2:first-child {
   margin-top: 0;
 }

 .legal-content h3 {
   color: var(--turquoise);
   font-size: 1.3rem;
   margin-top: 30px;
   margin-bottom: 15px;
 }

 .legal-content p,
 .legal-content ul {
   margin-bottom: 20px;
   line-height: 1.8;
 }

 .legal-content ul {
   padding-left: 20px;
   list-style: disc;
 }

 .legal-content li {
   margin-bottom: 10px;
 }

 .last-updated {
   font-style: italic;
   font-size: 0.9rem;
   color: var(--slate);
   margin-bottom: 30px;
   display: block;
 }


 @media (max-width: 900px) {
   .legal-container {
     grid-template-columns: 1fr;
     gap: 30px;
   }

   .legal-sidebar {
     position: relative;
     top: 0;
     width: 100%;
   }

   .legal-content {
     padding: 25px;
   }
 }