 :root {

     --primary: #00B140;
     --primary-hover: #008C33;
     --alert: #E31837;


     --text-main: #111827;
     --text-muted: #6B7280;
     --bg-main: #FFFFFF;
     --bg-light: #F9FAFB;
     --bg-dark: #1F2937;


     --border-color: #E5E7EB;
     --radius: 12px;
     --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
     --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
     --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
     --shadow-modal: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
 }

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

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

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

 img {
     max-width: 100%;
     height: auto;
 }


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

 .bg-light {
     background-color: var(--bg-light);
 }

 .bg-dark {
     background-color: var(--bg-dark);
     color: white;
 }

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

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

 .w-100 {
     width: 100%;
 }

 .section {
     padding: 80px 0;
 }

 .section-title {
     text-align: center;
     font-size: 2rem;
     margin-bottom: 48px;
     font-weight: 700;
 }

 .page-title {
     font-size: 2.5rem;
     color: var(--text-main);
     font-weight: 700;
 }


 .card {
     background: var(--bg-main);
     border-radius: var(--radius);
     padding: 32px;
     box-shadow: var(--shadow-md);
     border: 1px solid var(--border-color);
 }


 .grid-3,
 .grid-4 {
     display: grid;
     grid-template-columns: 1fr;
     gap: 24px;
 }

 .btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     font-weight: 600;
     border-radius: 8px;
     transition: all 0.2s ease;
     cursor: pointer;
     border: none;
     font-family: inherit;
     text-align: center;
 }

 .btn:disabled {
     opacity: 0.5;
     cursor: not-allowed;
 }

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

 .btn-primary:hover:not(:disabled) {
     background: var(--primary-hover);
     transform: translateY(-1px);
     box-shadow: var(--shadow-md);
 }

 .btn-outline {
     background: white;
     border: 1px solid #D1D5DB;
     color: var(--text-main);
 }

 .btn-outline:hover:not(:disabled) {
     background: var(--bg-light);
     border-color: #9CA3AF;
 }

 .btn-large {
     padding: 16px 32px;
     font-size: 1.125rem;
 }

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


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

 .form-label {
     display: block;
     font-weight: 600;
     margin-bottom: 8px;
     color: var(--text-main);
 }

 .form-control,
 .select-input {
     width: 100%;
     padding: 12px;
     border: 1px solid #D1D5DB;
     border-radius: 8px;
     font-family: inherit;
     font-size: 1rem;
     transition: border-color 0.2s;
     background: white;
 }

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

 .header {
     position: sticky;
     top: 0;
     left: 0;
     width: 100%;
     z-index: 1000;
     background-color: var(--bg-main);
     border-bottom: 1px solid var(--border-color);
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
 }

 .header-inner {
     display: flex;
     justify-content: space-between;
     align-items: center;
     height: 72px;
 }

 .logo {
     font-size: 1.25rem;
     font-weight: 700;
     display: flex;
     align-items: center;
     gap: 8px;
 }

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

 .age-badge {
     background: var(--alert);
     color: white;
     font-size: 0.7rem;
     padding: 2px 6px;
     border-radius: 4px;
 }

 .nav-links {
     display: flex;
     gap: 24px;
     font-weight: 500;
 }

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

 .hamburger {
     display: none;
     background: none;
     border: none;
     font-size: 1.5rem;
     color: var(--text-main);
     cursor: pointer;
     transition: color 0.2s;
 }

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


 .hero {
     position: relative;
     text-align: center;
     padding: 120px 0;
     background: url('../img/hero.jpeg') center center/cover no-repeat;
     color: #FFFFFF;
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: hidden;
 }


 .hero::before {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.7);
     z-index: 1;
 }


 .hero .container {
     position: relative;
     z-index: 2;
 }

 .hero h1 {
     font-size: 3.5rem;
     font-weight: 800;
     max-width: 850px;
     margin: 0 auto 24px;
     line-height: 1.1;
     text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
 }

 .hero p {
     font-size: 1.25rem;
     color: rgba(255, 255, 255, 0.9);
     max-width: 650px;
     margin: 0 auto 40px;
     line-height: 1.6;
 }


 @media (max-width: 768px) {
     .hero {
         padding: 80px 0;
     }

     .hero h1 {
         font-size: 2.25rem;
         padding: 0 10px;
     }

     .hero p {
         font-size: 1.1rem;
         padding: 0 15px;
     }
 }

 .trust-bar {
     border-top: 1px solid var(--border-color);
     border-bottom: 1px solid var(--border-color);
     padding: 24px 0;
     background: #FAFAFA;
 }

 .trust-item {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 12px;
     font-weight: 600;
     color: var(--text-muted);
 }

 .trust-item i {
     color: var(--primary);
     font-size: 1.25rem;
 }

 .step-card,
 .tool-card {
     background: white;
     padding: 32px 24px;
     border-radius: var(--radius);
     text-align: center;
     box-shadow: var(--shadow-sm);
     border: 1px solid var(--border-color);
     transition: box-shadow 0.2s;
 }

 .step-card:hover,
 .tool-card:hover {
     box-shadow: var(--shadow-lg);
 }

 .icon-wrapper {
     width: 64px;
     height: 64px;
     background: #Edf7ED;
     color: var(--primary);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.5rem;
     margin: 0 auto 20px;
 }

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

 .step-card h3,
 .tool-card h3 {
     margin-bottom: 12px;
     font-size: 1.25rem;
 }

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

 .feature-item {
     text-align: center;
     padding: 20px;
 }

 .feature-item i {
     font-size: 2.5rem;
     color: var(--primary);
     margin-bottom: 16px;
 }

 .table-responsive {
     overflow-x: auto;
     background: white;
     border-radius: var(--radius);
     box-shadow: var(--shadow-sm);
     border: 1px solid var(--border-color);
 }

 .data-table {
     width: 100%;
     border-collapse: collapse;
     text-align: left;
 }

 .data-table th,
 .data-table td {
     padding: 20px;
     border-bottom: 1px solid var(--border-color);
 }

 .data-table th {
     background: var(--bg-light);
     font-weight: 600;
     color: var(--text-muted);
     text-transform: uppercase;
     font-size: 0.85rem;
     letter-spacing: 0.05em;
 }

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

 .ball-group {
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
     align-items: center;
 }

 .ball {
     width: 36px;
     height: 36px;
     border-radius: 50%;
     background: #F3F4F6;
     border: 1px solid #D1D5DB;
     display: flex;
     align-items: center;
     justify-content: center;
     font-weight: 700;
     font-size: 0.9rem;
     color: var(--text-main);
 }

 .ball-label {
     font-size: 0.8rem;
     color: var(--text-muted);
     font-weight: 600;
     margin: 0 4px;
 }

 .ball.bonus {
     background: #FEF08A;
     border-color: #FACC15;
     color: #854D0E;
 }

 .ball.powerball {
     background: var(--alert);
     border-color: var(--alert);
     color: white;
 }

 .buy-layout {
     display: grid;
     grid-template-columns: 1fr;
     gap: 24px;
     align-items: start;
 }

 .game-selector {
     display: flex;
     overflow-x: auto;
     gap: 8px;
     padding-bottom: 16px;
     border-bottom: 1px solid var(--border-color);
     margin-bottom: 24px;
     scrollbar-width: none;
 }

 .game-selector::-webkit-scrollbar {
     display: none;
 }

 .game-tab {
     padding: 10px 20px;
     background: #F3F4F6;
     border: 1px solid var(--border-color);
     border-radius: 24px;
     font-weight: 600;
     color: var(--text-muted);
     cursor: pointer;
     white-space: nowrap;
     transition: all 0.2s;
 }

 .game-tab:hover {
     background: var(--border-color);
 }

 .game-tab.active {
     background: var(--primary);
     color: white;
     border-color: var(--primary);
     box-shadow: var(--shadow-sm);
 }

 .ticket-controls {
     display: flex;
     flex-wrap: wrap;
     justify-content: space-between;
     gap: 16px;
     margin-bottom: 24px;
     background: var(--bg-light);
     padding: 16px;
     border-radius: 8px;
     border: 1px solid var(--border-color);
 }

 .control-group {
     display: flex;
     gap: 12px;
     align-items: center;
 }

 .number-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
     gap: 10px;
 }

 .num-btn {
     aspect-ratio: 1;
     border-radius: 50%;
     border: 1px solid #D1D5DB;
     background: white;
     font-weight: 600;
     font-size: 1.1rem;
     cursor: pointer;
     transition: all 0.15s ease;
     color: var(--text-main);
 }

 .num-btn:hover:not(:disabled) {
     border-color: var(--primary);
     background: #Edf7ED;
 }

 .num-btn.selected {
     background: var(--primary);
     color: white;
     border-color: var(--primary);
     box-shadow: 0 0 10px rgba(0, 177, 64, 0.4);
     transform: scale(1.05);
 }

 .num-btn:disabled {
     opacity: 0.4;
     cursor: not-allowed;
     background: #F3F4F6;
 }

 .powerball-title {
     color: var(--alert);
     margin-bottom: 16px;
     font-size: 1.25rem;
 }

 .powerball-grid .num-btn.selected {
     background: var(--alert);
     border-color: var(--alert);
     box-shadow: 0 0 10px rgba(227, 24, 55, 0.4);
 }

 .cart-sidebar {
     position: sticky;
     top: 90px;
 }

 .cart-items {
     min-height: 100px;
     margin-bottom: 24px;
 }

 .cart-item {
     display: flex;
     justify-content: space-between;
     padding: 12px 0;
     border-bottom: 1px dashed var(--border-color);
     font-size: 0.95rem;
 }

 .cart-item-title {
     font-weight: 600;
 }

 .cart-item-desc {
     color: var(--text-muted);
     font-size: 0.85rem;
 }

 .cart-item-price {
     font-weight: 600;
 }

 .cart-summary {
     border-top: 2px solid var(--border-color);
     padding-top: 16px;
 }

 .summary-row {
     display: flex;
     justify-content: space-between;
     margin-bottom: 12px;
     font-weight: 500;
 }

 .total-row {
     font-size: 1.5rem;
     font-weight: 700;
     color: var(--primary);
     margin-top: 16px;
     border-top: 1px dashed var(--border-color);
     padding-top: 16px;
 }


 .contact-layout {
     display: grid;
     grid-template-columns: 1fr;
     gap: 32px;
     margin-top: 32px;
 }

 .faq-item {
     margin-bottom: 24px;
     padding-bottom: 16px;
     border-bottom: 1px solid var(--border-color);
 }

 .faq-item:last-child {
     border-bottom: none;
     margin-bottom: 0;
     padding-bottom: 0;
 }

 .faq-question {
     font-weight: 600;
     color: var(--text-main);
     margin-bottom: 8px;
     display: flex;
     gap: 8px;
     align-items: flex-start;
 }

 .faq-question i {
     color: var(--primary);
     margin-top: 4px;
 }

 .faq-answer {
     color: var(--text-muted);
     line-height: 1.6;
     padding-left: 24px;
 }

 .modal-overlay {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(17, 24, 39, 0.7);
     backdrop-filter: blur(4px);
     display: flex;
     align-items: center;
     justify-content: center;
     z-index: 9999;
     opacity: 0;
     visibility: hidden;
     transition: all 0.3s ease;
 }

 .modal-overlay.active {
     opacity: 1;
     visibility: visible;
 }

 .modal-content {
     background: var(--bg-main);
     width: 90%;
     max-width: 480px;
     position: relative;
     transform: translateY(20px);
     transition: all 0.3s ease;
     box-shadow: var(--shadow-modal);
 }

 .modal-overlay.active .modal-content {
     transform: translateY(0);
 }

 .modal-close {
     position: absolute;
     top: 16px;
     right: 20px;
     background: none;
     border: none;
     font-size: 1.75rem;
     color: var(--text-muted);
     cursor: pointer;
     line-height: 1;
     transition: color 0.2s;
 }

 .modal-close:hover {
     color: var(--alert);
 }


 .footer {
     background-color: var(--bg-dark);
     color: #D1D5DB;
     padding: 64px 0 32px;
     margin-top: auto;
     border-top: 4px solid var(--primary);
 }

 .footer-compliance {
     text-align: center;
     max-width: 800px;
     margin: 0 auto 48px;
 }

 .compliance-slogan {
     color: #FFFFFF;
     font-size: 1.5rem;
     font-weight: 700;
     margin-bottom: 24px;
 }

 .help-box {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 12px;
     background-color: rgba(255, 255, 255, 0.05);
     padding: 16px 24px;
     border-radius: var(--radius);
     border: 1px solid rgba(255, 255, 255, 0.1);
     margin-bottom: 24px;
 }

 .help-box i {
     color: var(--primary);
     font-size: 1.25rem;
 }

 .help-box p {
     margin: 0;
     font-size: 1rem;
 }

 .help-box a {
     color: var(--primary);
     font-weight: 600;
     text-decoration: underline;
 }

 .help-box a:hover {
     color: var(--primary-hover);
 }

 .disclaimer {
     font-size: 0.875rem;
     line-height: 1.6;
     margin-bottom: 32px;
     color: #9CA3AF;
 }

 .age-warning {
     color: var(--alert);
     display: block;
     margin-top: 8px;
 }

 .footer-badges {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 16px;
     margin-bottom: 32px;
 }

 .badge-box {
     background-color: #FFFFFF;
     color: #111827;
     padding: 8px 16px;
     border-radius: 6px;
     font-weight: 700;
     font-size: 0.85rem;
     display: flex;
     align-items: center;
     justify-content: center;
     min-width: 80px;
     height: 40px;
     transition: opacity 0.2s;
 }

 .badge-box:hover {
     opacity: 0.8;
 }

 .badge-box img {
     max-height: 24px;
     width: auto;
     object-fit: contain;
 }

 .badge-18 {
     background-color: var(--alert);
     color: #FFFFFF;
     font-size: 1.25rem;
     border-radius: 50%;
     width: 48px;
     height: 48px;
     min-width: unset;
     padding: 0;
 }

 .footer-bottom {
     border-top: 1px solid rgba(255, 255, 255, 0.1);
     padding-top: 32px;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 24px;
 }

 .footer-links {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     align-items: center;
     gap: 16px;
     font-size: 0.9rem;
 }

 .footer-links a {
     color: #D1D5DB;
     transition: color 0.2s ease;
 }

 .footer-links a:hover {
     color: #FFFFFF;
 }

 .separator {
     color: #4B5563;
 }

 .footer-copyright {
     text-align: center;
     font-size: 0.85rem;
     color: #6B7280;
 }

 .footer-copyright .tagline {
     margin-top: 4px;
     font-style: italic;
 }


 @media (min-width: 768px) {
     .grid-3 {
         grid-template-columns: repeat(3, 1fr);
     }

     .grid-4 {
         grid-template-columns: repeat(2, 1fr);
     }

     .trust-bar .grid-4 {
         grid-template-columns: repeat(4, 1fr);
     }
 }

 @media (min-width: 992px) {
     .grid-4 {
         grid-template-columns: repeat(4, 1fr);
     }

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

     .contact-layout {
         grid-template-columns: 3fr 2fr;
         gap: 48px;
     }
 }

 @media (max-width: 768px) {
     .hero {
         padding: 60px 0;
     }

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

     .hamburger {
         display: block;
     }

     .nav-links {
         position: absolute;
         top: 100%;
         left: 0;
         width: 100%;
         background-color: var(--bg-main);
         flex-direction: column;
         align-items: center;
         padding: 24px 0;
         box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
         border-top: 1px solid var(--border-color);
         gap: 20px;
         display: none;
     }

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

     .help-box {
         flex-direction: column;
         text-align: center;
     }

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

     .separator {
         display: none;
     }
 }

 .page-wrapper {
     padding-top: 40px;
     padding-bottom: 80px;
 }

 .article-container {
     max-width: 800px;
     margin: 0 auto;
     padding: 48px 32px;
 }

 .article-title {
     font-size: 2.5rem;
     margin-bottom: 24px;
     color: var(--text-main);
     line-height: 1.2;
 }

 .article-lead {
     font-size: 1.125rem;
     color: var(--text-muted);
     margin-bottom: 32px;
     line-height: 1.8;
 }

 .article-heading {
     font-size: 1.75rem;
     margin-top: 40px;
     margin-bottom: 16px;
     border-bottom: 2px solid var(--border-color);
     padding-bottom: 8px;
     color: var(--text-main);
 }

 .article-text {
     margin-bottom: 16px;
     color: var(--text-muted);
     line-height: 1.8;
 }

 .article-text:last-of-type {
     margin-bottom: 32px;
 }


 .feature-list {
     list-style: none;
     padding-left: 0;
     margin-bottom: 32px;
 }

 .feature-list-item {
     margin-bottom: 20px;
     display: flex;
     align-items: flex-start;
     gap: 12px;
 }

 .feature-icon {
     color: var(--primary);
     font-size: 1.25rem;
     margin-top: 4px;
 }

 .feature-title {
     color: var(--text-main);
     display: block;
     margin-bottom: 4px;
 }

 .feature-desc {
     color: var(--text-muted);
     line-height: 1.6;
     display: block;
 }


 .help-banner {
     background: var(--bg-light);
     padding: 32px 24px;
     border-radius: var(--radius);
     border: 1px solid var(--border-color);
     text-align: center;
     margin-top: 48px;
 }

 .help-banner h3 {
     margin-bottom: 12px;
     font-size: 1.5rem;
 }

 .help-banner p {
     color: var(--text-muted);
     margin-bottom: 24px;
 }


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

     .article-title {
         font-size: 2rem;
     }

     .article-heading {
         font-size: 1.5rem;
         margin-top: 32px;
     }
 }

 .success-message {
     display: none;
     align-items: flex-start;
     gap: 12px;
     background: #Edf7ED;
     border: 1px solid var(--primary);
     color: var(--primary-hover);
     padding: 16px;
     border-radius: var(--radius);
     margin-bottom: 24px;
 }

 .success-icon {
     font-size: 1.25rem;
     margin-top: 2px;
 }

 .contact-list {
     list-style: none;
     padding: 0;
 }

 .contact-list-item {
     margin-bottom: 16px;
     display: flex;
     align-items: center;
     gap: 12px;
     color: var(--text-muted);
 }

 .contact-list-item.align-start {
     align-items: flex-start;
 }

 .contact-icon {
     color: var(--primary);
     font-size: 1.2rem;
 }

 .contact-icon.offset-top {
     margin-top: 4px;
 }

 .contact-note {
     font-size: 0.9rem;
     line-height: 1.5;
 }

 .age-overlay {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: var(--bg-dark);
     z-index: 10000;
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 20px;
     visibility: hidden;
     opacity: 0;
     transition: opacity 0.4s ease;
 }

 .age-overlay.active {
     visibility: visible;
     opacity: 1;
 }

 .age-card {
     background: white;
     max-width: 450px;
     width: 100%;
     padding: 48px 32px;
     border-radius: var(--radius);
     text-align: center;
     box-shadow: var(--shadow-modal);
 }

 .age-logo-icon {
     font-size: 3rem;
     color: var(--primary);
     margin-bottom: 24px;
 }

 .age-card h2 {
     font-size: 1.75rem;
     margin-bottom: 16px;
 }

 .age-card p {
     color: var(--text-muted);
     margin-bottom: 32px;
     line-height: 1.5;
 }

 .age-buttons {
     display: flex;
     flex-direction: column;
     gap: 12px;
 }

 .age-footer {
     margin-top: 24px;
     font-size: 0.75rem !important;
     color: #9CA3AF !important;
 }

 .cookie-banner {
     position: fixed;
     bottom: 24px;
     left: 50%;
     transform: translateX(-50%) translateY(150%);
     width: calc(100% - 40px);
     max-width: 800px;
     background: white;
     box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1), var(--shadow-lg);
     border-radius: var(--radius);
     z-index: 9998;
     padding: 20px;
     transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
     border: 1px solid var(--border-color);
 }

 .cookie-banner.active {
     transform: translateX(-50%) translateY(0);
 }

 .cookie-container {
     display: flex;
     flex-direction: column;
     gap: 16px;
     align-items: center;
 }

 .cookie-text p {
     font-size: 0.9rem;
     color: var(--text-main);
     margin: 0;
 }

 .cookie-text i {
     color: var(--primary);
     margin-right: 8px;
 }

 .cookie-actions {
     display: flex;
     gap: 12px;
 }


 .cookie-setting-item {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 16px 0;
     border-bottom: 1px solid var(--border-color);
 }

 .setting-info {
     display: flex;
     flex-direction: column;
     gap: 4px;
     padding-right: 20px;
 }

 .setting-info strong {
     font-size: 1rem;
     color: var(--text-main);
 }

 .setting-info span {
     font-size: 0.8rem;
     color: var(--text-muted);
 }


 .cookie-setting-item input[type="checkbox"] {
     width: 20px;
     height: 20px;
     accent-color: var(--primary);
     cursor: pointer;
 }

 @media (min-width: 768px) {
     .cookie-container {
         flex-direction: row;
         justify-content: space-between;
     }
 }