 :root {
     --bg-dark: #0f172a;
     --bg-card: #1e293b;
     --primary: #10b981;
     --primary-hover: #059669;
     --secondary: #f59e0b;
     --text-main: #e2e8f0;
     --text-muted: #94a3b8;
     --danger: #ef4444;
     --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
     --spacing-std: 1rem;
     --header-height: 80px;
     --bg-main: #0f172a;
     --accent: #10b981;
     --border-subtle: #1f2937;
 }

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

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

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

 ul {
     list-style: none;
 }

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

 h1,
 h2,
 h3,
 h4 {
     color: #ffffff;
     margin-bottom: 1rem;
     font-weight: 700;
 }

 h1 {
     font-size: 2.5rem;
     line-height: 1.2;
 }

 h2 {
     font-size: 2rem;
     color: var(--primary);
 }

 p {
     margin-bottom: 1rem;
     color: var(--text-muted);
 }

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

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

 .mt-2 {
     margin-top: 2rem;
 }

 .mb-2 {
     margin-bottom: 2rem;
 }

 .btn {
     display: inline-block;
     padding: 12px 24px;
     border-radius: 6px;
     font-weight: 600;
     cursor: pointer;
     border: none;
     font-size: 1rem;
 }

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

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

 .btn-secondary {
     background-color: transparent;
     border: 2px solid var(--primary);
     color: var(--primary);
 }

 .btn-secondary:hover {
     background-color: var(--primary);
     color: #fff;
 }

 .btn-small {
     padding: 8px 16px;
     font-size: 0.9rem;
 }


 header {
     background-color: var(--bg-card);
     height: var(--header-height);
     display: flex;
     align-items: center;
     position: sticky;
     top: 0;
     z-index: 1000;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
 }

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

 .logo {
     font-size: 1.5rem;
     font-weight: 800;
     color: #fff;
 }

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

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

 .nav-menu a {
     font-size: 0.95rem;
     color: var(--text-main);
 }

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

 .header-right {
     display: flex;
     align-items: center;
     gap: 15px;
 }

 .compliance-badge {
     font-size: 0.75rem;
     background: #334155;
     padding: 4px 8px;
     border-radius: 4px;
     color: #cbd5e1;
     display: none;
 }

 .mobile-toggle {
     display: none;
     font-size: 1.5rem;
     cursor: pointer;
 }


 .hero {
     background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('../img/hero.png');
     background-size: cover;
     background-position: center;
     padding: 80px 0;
     text-align: center;
 }

 .hero-content {
     max-width: 800px;
     margin: 0 auto;
 }

 .hero-buttons {
     display: flex;
     gap: 15px;
     justify-content: center;
     margin-top: 20px;
 }

 .legal-line {
     font-size: 0.8rem;
     margin-top: 15px;
     opacity: 0.7;
 }


 section {
     padding: 60px 0;
 }

 section.bg-offset {
     background-color: var(--bg-card);
 }

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

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

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

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

 .card img {
     width: 100%;
     margin-bottom: 25px;
 }

 .licence-info {
     border-left: 4px solid var(--secondary);
     background: #1e293b;
     padding: 20px;
     margin-top: 20px;
 }

 .prize-table {
     width: 100%;
     border-collapse: collapse;
     margin-top: 20px;
 }

 .prize-table th,
 .prize-table td {
     padding: 15px;
     text-align: left;
     border-bottom: 1px solid #334155;
 }

 .prize-table th {
     color: var(--primary);
 }

 .prize-amount {
     color: var(--secondary);
     font-weight: bold;
 }

 .game-disclaimer {
     font-size: 0.85rem;
     background: rgba(245, 158, 11, 0.1);
     border: 1px solid var(--secondary);
     padding: 15px;
     margin-bottom: 30px;
     border-radius: 6px;
     color: #ffd700;
 }


 .fund-bar-wrapper {
     margin-bottom: 15px;
 }

 .fund-label {
     display: flex;
     justify-content: space-between;
     margin-bottom: 5px;
 }

 .progress {
     height: 10px;
     background: #334155;
     border-radius: 5px;
     overflow: hidden;
 }

 .progress-bar {
     height: 100%;
     background: var(--primary);
 }

 .progress-bar.prizes {
     background: var(--secondary);
     width: 40%;
 }

 .progress-bar.ops {
     background: #64748b;
     width: 10%;
 }

 .progress-bar.charity {
     background: var(--primary);
     width: 50%;
 }


 .faq-item {
     margin-bottom: 15px;
     border-bottom: 1px solid #334155;
     padding-bottom: 15px;
 }

 .faq-question {
     font-weight: 600;
     color: #fff;
     cursor: pointer;
     display: flex;
     justify-content: space-between;
 }

 .faq-answer {
     display: none;
     margin-top: 10px;
     color: var(--text-muted);
 }

 .faq-item.active .faq-answer {
     display: block;
 }

 .faq-item.active .faq-question {
     color: var(--primary);
 }


 .auth-container {
     max-width: 450px;
     margin: 50px auto;
     padding: 40px;
     background: var(--bg-card);
     border-radius: 8px;
     border: 1px solid #334155;
 }

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

 .form-group label {
     display: block;
     margin-bottom: 8px;
     color: #fff;
 }

 .form-control {
     width: 100%;
     padding: 12px;
     background: #0f172a;
     border: 1px solid #334155;
     border-radius: 4px;
     color: #fff;
     font-size: 1rem;
 }

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

 .checkbox-group {
     display: flex;
     align-items: flex-start;
     gap: 10px;
     font-size: 0.9rem;
 }

 .checkbox-group input {
     margin-top: 4px;
 }

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

 .success-msg {
     color: var(--primary);
     font-size: 0.9rem;
     display: none;
     margin-top: 10px;
     border: 1px solid var(--primary);
     padding: 10px;
 }


 .ticket-selector {
     display: grid;
     grid-template-columns: 2fr 1fr;
     gap: 30px;
 }

 .numbers-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
     gap: 10px;
     margin-top: 20px;
 }

 .lotto-ball {
     width: 50px;
     height: 50px;
     border-radius: 50%;
     background: #334155;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     font-weight: bold;
     transition: 0.2s;
     user-select: none;
 }

 .lotto-ball:hover {
     background: #475569;
 }

 .lotto-ball.selected {
     background: var(--primary);
     color: #fff;
     transform: scale(1.1);
     box-shadow: 0 0 10px var(--primary);
 }

 .cart-summary {
     background: var(--bg-card);
     padding: 20px;
     border-radius: 8px;
     position: sticky;
     top: 100px;
     height: fit-content;
 }

 footer {
     background-color: #020617;

     padding: 60px 0 40px;
     margin-top: auto;
     border-top: 1px solid #1e293b;
     font-size: 0.85rem;
     color: #94a3b8;

 }

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

 .footer-legal-text p {
     margin-bottom: 15px;
     line-height: 1.6;
 }

 .footer-legal-text strong {
     color: #cbd5e1;

 }

 .footer-legal-text a {
     color: var(--primary);
     text-decoration: underline;
 }

 .footer-divider {
     border: 0;
     border-top: 1px solid #334155;
     margin: 25px auto;
     width: 60%;
     opacity: 0.5;
 }

 .footer-links {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 15px;
     font-weight: 600;
 }

 .footer-links a {
     color: #cbd5e1;
     text-decoration: none;
     transition: color 0.2s;
 }

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

 .separator {
     color: #475569;
     user-select: none;
 }

 @media (max-width: 600px) {
     .footer-links {
         flex-direction: column;
         gap: 10px;
     }

     .separator {
         display: none;
     }


 }

 footer {
     background-color: #020617;

     padding: 60px 0 40px;
     margin-top: auto;
     border-top: 1px solid #1e293b;
     font-size: 0.85rem;
     color: #94a3b8;

 }

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

 .footer-legal-text p {
     margin-bottom: 15px;
     line-height: 1.6;
 }

 .footer-legal-text strong {
     color: #cbd5e1;

 }

 .footer-legal-text a {
     color: var(--primary);
     text-decoration: underline;
 }

 .footer-divider {
     border: 0;
     border-top: 1px solid #334155;
     margin: 25px auto;
     width: 60%;
     opacity: 0.5;
 }

 .footer-links {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 15px;
     font-weight: 600;
 }

 .footer-links a {
     color: #cbd5e1;
     text-decoration: none;
     transition: color 0.2s;
 }

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

 .separator {
     color: #475569;
     user-select: none;
 }

 @media (max-width: 600px) {
     .footer-links {
         flex-direction: column;
         gap: 10px;
     }

     .separator {
         display: none;
     }

 }

 .copyright {
     text-align: center;
     border-top: 1px solid #1e293b;
     padding-top: 20px;
     font-size: 0.8rem;
     color: #64748b;
 }

 @media (max-width: 768px) {

     .header-right .btn,
     .compliance-badge {
         display: none;
     }

     .mobile-toggle {
         display: block;
         color: #fff;
     }

     .nav-menu {
         position: absolute;
         top: var(--header-height);
         left: 0;
         width: 100%;
         background: var(--bg-card);
         flex-direction: column;
         padding: 20px;
         display: none;
         border-bottom: 2px solid var(--primary);
     }

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

     .ticket-selector {
         grid-template-columns: 1fr;
     }

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

 @media (min-width: 769px) {
     .header-right .btn-mobile-only {
         display: none;
     }
 }

 .game-tabs {
     display: flex;
     justify-content: center;
     gap: 10px;
     margin-bottom: 20px;
     border-bottom: 2px solid #334155;
     padding-bottom: 10px;
 }

 .tab-btn {
     background: transparent;
     border: none;
     color: var(--text-muted);
     font-size: 1.1rem;
     padding: 10px 20px;
     cursor: pointer;
     font-weight: 600;
     transition: 0.3s;
     border-bottom: 3px solid transparent;
 }

 .tab-btn:hover {
     color: #fff;
 }

 .tab-btn.active {
     color: var(--primary);
     border-bottom-color: var(--primary);
 }

 .ticket-selector {
     display: grid;
     grid-template-columns: 2fr 1fr;
     gap: 30px;
 }

 .controls-row {
     display: flex;
     gap: 10px;
     margin-top: 20px;
 }

 .numbers-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
     gap: 8px;
     margin-top: 20px;
 }

 .lotto-ball {
     width: 45px;
     height: 45px;
     border-radius: 50%;
     background: #1e293b;
     border: 1px solid #334155;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     font-weight: bold;
     transition: 0.2s;
     user-select: none;
     color: #cbd5e1;
 }

 .lotto-ball:hover {
     background: #334155;
     border-color: var(--primary);
 }

 .lotto-ball.selected {
     background: var(--primary);
     color: #fff;
     border-color: var(--primary);
     transform: scale(1.1);
     box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
 }


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

     .cart-summary {
         margin-top: 30px;
         position: static;
     }
 }


 .numbers-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
     gap: 10px;
     margin-top: 20px;
     perspective: 1000px;
 }

 .lotto-ball {
     width: 42px;
     height: 42px;
     border-radius: 50%;

     background: radial-gradient(circle at 30% 30%, #475569, #0f172a);
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), inset 0 2px 5px rgba(255, 255, 255, 0.1);
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     font-weight: 700;
     font-size: 0.9rem;
     color: #e2e8f0;
     transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
     user-select: none;
     position: relative;
 }

 .lotto-ball:hover {
     transform: translateY(-2px) scale(1.05);
     box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
     background: radial-gradient(circle at 30% 30%, #64748b, #1e293b);
 }


 .lotto-ball.selected {
     background: radial-gradient(circle at 30% 30%, #34d399, #059669);
     color: #fff;
     transform: scale(1.1);
     box-shadow: 0 0 15px rgba(16, 185, 129, 0.6), inset 0 2px 5px rgba(255, 255, 255, 0.3);
     border: 1px solid #10b981;
     text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
     z-index: 10;
 }


 .game-tabs {
     display: inline-flex;
     background: #0f172a;
     padding: 5px;
     border-radius: 50px;
     border: 1px solid #334155;
     margin-bottom: 25px;
     position: relative;
     left: 50%;
     transform: translateX(-50%);
 }

 .tab-btn {
     background: transparent;
     border: none;
     color: #94a3b8;
     padding: 10px 25px;
     border-radius: 50px;
     font-size: 1rem;
     font-weight: 600;
     cursor: pointer;
     transition: 0.3s ease;
 }

 .tab-btn.active {
     background: var(--primary);
     color: #fff;
     box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
 }


 .cart-summary {
     background: linear-gradient(145deg, #1e293b, #0f172a);
     border: 1px solid #334155;
     padding: 25px;
     border-radius: 12px;
     position: sticky;
     top: 100px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
 }

 .selected-nums-box {
     background: rgba(0, 0, 0, 0.3);
     padding: 15px;
     border-radius: 8px;
     min-height: 3.5rem;
     display: flex;
     flex-wrap: wrap;
     gap: 5px;
     align-items: center;
 }

 .small-ball {
     width: 25px;
     height: 25px;
     background: var(--primary);
     color: #fff;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 0.75rem;
     font-weight: bold;
     animation: popIn 0.3s ease forwards;
 }

 @keyframes popIn {
     from {
         transform: scale(0);
         opacity: 0;
     }

     to {
         transform: scale(1);
         opacity: 1;
     }
 }


 #toast-container {
     position: fixed;
     top: 20px;
     right: 20px;
     z-index: 9999;
     display: flex;
     flex-direction: column;
     gap: 10px;
 }

 .toast {
     background: #1e293b;
     color: #fff;
     padding: 15px 20px;
     border-radius: 8px;
     border-left: 5px solid var(--primary);
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
     min-width: 280px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     animation: slideIn 0.3s ease forwards;
 }

 .toast.error {
     border-left-color: var(--danger);
 }

 .toast i {
     margin-right: 10px;
     font-size: 1.2rem;
 }

 @keyframes slideIn {
     from {
         transform: translateX(100%);
         opacity: 0;
     }

     to {
         transform: translateX(0);
         opacity: 1;
     }
 }

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

     .game-tabs {
         width: 100%;
         display: flex;
         border-radius: 8px;
     }

     .tab-btn {
         flex: 1;
         border-radius: 6px;
     }
 }

 .cart-items-container {
     max-height: 300px;
     overflow-y: auto;
     margin-bottom: 20px;
     padding-right: 5px;

     scrollbar-width: thin;
     scrollbar-color: #334155 #0f172a;
 }

 .cart-items-container::-webkit-scrollbar {
     width: 6px;
 }

 .cart-items-container::-webkit-scrollbar-track {
     background: #0f172a;
 }

 .cart-items-container::-webkit-scrollbar-thumb {
     background-color: #334155;
     border-radius: 10px;
 }

 .ticket-item {
     background: rgba(255, 255, 255, 0.05);
     border: 1px solid #334155;
     border-radius: 6px;
     padding: 10px;
     margin-bottom: 10px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     animation: slideIn 0.3s ease;
 }

 .ticket-info {
     flex-grow: 1;
 }

 .ticket-game-name {
     font-size: 0.75rem;
     color: var(--primary);
     text-transform: uppercase;
     font-weight: bold;
     margin-bottom: 4px;
 }

 .ticket-numbers {
     font-family: monospace;
     color: #e2e8f0;
     font-size: 0.95rem;
     word-break: break-all;
 }

 .delete-btn {
     background: transparent;
     border: none;
     color: #ef4444;
     cursor: pointer;
     padding: 5px 10px;
     margin-left: 10px;
     font-size: 1rem;
     transition: 0.2s;
     opacity: 0.7;
 }

 .delete-btn:hover {
     opacity: 1;
     transform: scale(1.1);
 }

 .empty-cart-msg {
     text-align: center;
     color: #64748b;
     font-style: italic;
     padding: 20px 0;
     border: 1px dashed #334155;
     border-radius: 6px;
 }


 .controls-row {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 10px;
     margin-bottom: 15px;
 }

 .add-btn-row {
     margin-top: 15px;
 }

 .age-gate-overlay {
     position: fixed;
     inset: 0;
     background: rgba(15, 23, 42, 0.96);
     display: none;
     align-items: center;
     justify-content: center;
     z-index: 9999;
 }

 .age-gate-modal {
     max-width: 480px;
     width: 90%;
     background: #0b1120;
     border-radius: 16px;
     padding: 24px 24px 18px;
     box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
     color: var(--text-main);
     border: 1px solid rgba(148, 163, 184, 0.35);
 }

 .age-gate-modal h2 {
     margin: 0 0 12px;
 }

 .age-gate-modal p {
     margin: 0 0 16px;
     color: var(--text-muted);
 }

 .age-gate-buttons {
     display: flex;
     gap: 10px;
     margin-bottom: 10px;
     flex-wrap: wrap;
 }

 .age-gate-buttons button {
     flex: 1 1 150px;
     padding: 9px 14px;
     border-radius: 999px;
     border: none;
     cursor: pointer;
     font-weight: 600;
 }

 #ageConfirmBtn {
     background: var(--accent);
     color: #022c22;
 }

 #ageConfirmBtn:hover {
     background: #22c38f;
 }

 #ageDenyBtn.secondary {
     background: transparent;
     color: var(--text-main);
     border: 1px solid rgba(148, 163, 184, 0.6);
 }

 .age-gate-modal small {
     display: block;
     color: var(--text-muted);
     font-size: 0.75rem;
     margin-top: 6px;
 }

 .age-gate-modal small a {
     color: var(--accent);
 }



 .cookie-banner {
     position: fixed;
     inset-inline: 0;
     bottom: 0;
     z-index: 9998;
     padding: 12px;
     display: none;
 }

 .cookie-banner-inner {
     max-width: 1080px;
     margin: 0 auto;
     background: #020617;
     border-radius: 16px;
     padding: 16px 18px;
     display: flex;
     gap: 16px;
     align-items: center;
     border: 1px solid rgba(148, 163, 184, 0.45);
     box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
 }

 .cookie-banner-text h3 {
     margin: 0 0 6px;
     color: var(--text-main);
     font-size: 1rem;
 }

 .cookie-banner-text p {
     margin: 0;
     font-size: 0.85rem;
     color: var(--text-muted);
     line-height: 1.5;
 }

 .cookie-banner-actions {
     display: flex;
     flex-direction: column;
     gap: 8px;
     margin-left: auto;
 }

 .cookie-banner-actions button {
     padding: 9px 14px;
     border-radius: 999px;
     border: none;
     cursor: pointer;
     font-size: 0.9rem;
     font-weight: 600;
     transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;
     white-space: nowrap;
 }

 #cookieAcceptAllBtn {
     background: var(--accent);
     color: #022c22;
     box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
 }

 #cookieAcceptAllBtn:hover {
     background: #22c38f;
 }

 .cookie-banner-actions .secondary {
     background: transparent;
     color: var(--text-main);
     border: 1px solid rgba(148, 163, 184, 0.6);
 }

 .cookie-banner-actions .secondary:hover {
     background: rgba(15, 23, 42, 0.7);
 }



 .cookie-settings-overlay {
     position: fixed;
     inset: 0;
     background: rgba(15, 23, 42, 0.9);
     display: none;
     align-items: center;
     justify-content: center;
     z-index: 9999;
 }

 .cookie-settings-modal {
     width: 95%;
     max-width: 520px;
     background: #020617;
     border-radius: 18px;
     padding: 18px 18px 14px;
     border: 1px solid rgba(148, 163, 184, 0.45);
     box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
     color: var(--text-main);
 }

 .cookie-settings-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 8px;
 }

 .cookie-settings-header h3 {
     margin: 0;
     font-size: 1.1rem;
 }

 .cookie-close-btn {
     background: transparent;
     border: none;
     color: var(--text-main);
     font-size: 1.4rem;
     line-height: 1;
     cursor: pointer;
 }

 .cookie-settings-intro {
     margin: 0 0 14px;
     font-size: 0.85rem;
     color: var(--text-muted);
 }

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

 .cookie-setting-item h4 {
     margin: 0 0 3px;
     font-size: 0.95rem;
 }

 .cookie-setting-item p {
     margin: 0;
     font-size: 0.8rem;
     color: var(--text-muted);
 }

 .badge {
     background: rgba(16, 185, 129, 0.12);
     color: var(--accent);
     padding: 4px 10px;
     border-radius: 999px;
     font-size: 0.75rem;
     font-weight: 600;
 }


 .switch {
     position: relative;
     display: inline-block;
     width: 44px;
     height: 22px;
 }

 .switch input {
     opacity: 0;
     width: 0;
     height: 0;
 }

 .slider.round {
     position: absolute;
     cursor: pointer;
     inset: 0;
     background-color: #111827;
     border-radius: 34px;
     transition: 0.2s;
 }

 .slider.round:before {
     position: absolute;
     content: "";
     height: 16px;
     width: 16px;
     left: 3px;
     bottom: 3px;
     background-color: #e5e7eb;
     border-radius: 50%;
     transition: 0.2s;
 }

 .switch input:checked+.slider.round {
     background-color: var(--accent);
 }

 .switch input:checked+.slider.round:before {
     transform: translateX(20px);
 }

 .cookie-settings-footer {
     display: flex;
     justify-content: flex-end;
     gap: 10px;
     margin-top: 14px;
 }

 .cookie-settings-footer button {
     padding: 8px 14px;
     border-radius: 999px;
     border: none;
     cursor: pointer;
     font-size: 0.85rem;
     font-weight: 600;
 }

 #cookieSavePreferencesBtn {
     background: var(--accent);
     color: #022c22;
 }

 #cookieSavePreferencesBtn:hover {
     background: #22c38f;
 }

 #cookieAcceptAllFromSettingsBtn.secondary {
     background: transparent;
     color: var(--text-main);
     border: 1px solid rgba(148, 163, 184, 0.6);
 }

 #cookieAcceptAllFromSettingsBtn.secondary:hover {
     background: rgba(15, 23, 42, 0.7);
 }



 .cookie-manage-btn {
     position: fixed;
     bottom: 16px;
     left: 16px;
     z-index: 9997;
     padding: 8px 14px;
     border-radius: 999px;
     border: 1px solid rgba(148, 163, 184, 0.6);
     background: rgba(15, 23, 42, 0.9);
     color: var(--text-main);
     font-size: 0.8rem;
     cursor: pointer;
     display: none;
 }

 .cookie-manage-btn:hover {
     background: #020617;
 }



 @media (max-width: 768px) {
     .cookie-banner-inner {
         flex-direction: column;
         align-items: flex-start;
     }

     .cookie-banner-actions {
         width: 100%;
         flex-direction: row;
         justify-content: flex-end;
     }

     .cookie-banner-actions button {
         flex: 1 1 auto;
         text-align: center;
     }
 }.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #334155;
    color: #cbd5e1;
}

.legal-content h2 {
    color: #fff;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.legal-content h3 {
    color: var(--primary);
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    text-align: justify;
}

.legal-content ul, .legal-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    padding-left: 10px;
}
 
.legal-content li::marker {
    color: var(--secondary);
}

@media (max-width: 768px) {
    .legal-container {
        padding: 20px;
    }
}.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.03);
}

.cookie-table th, .cookie-table td {
    border: 1px solid #334155;
    padding: 12px 15px;
    text-align: left;
    color: #cbd5e1;
}

.cookie-table th {
    background-color: #1e293b;
    color: var(--primary);
    font-weight: 700;
}

.cookie-table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}
 
@media (max-width: 600px) {
    .cookie-table {
        display: block;
        overflow-x: auto;
    }
}.help-resource-box {
    background: rgba(16, 185, 129, 0.1);  
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.help-icon {
    font-size: 2.5rem;
    color: var(--primary);
    background: rgba(0,0,0,0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.help-details h4 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.2rem;
}

.help-details p {
    margin-bottom: 10px;
    color: #cbd5e1;
}

.warning-box {
    background: rgba(239, 68, 68, 0.1); 
    border-left: 4px solid #ef4444;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

@media (max-width: 600px) {
    .help-resource-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}