:root {
    --bg-primary: #121212;
    --bg-secondary: #1f1f1f;
    --bg-card: #181818;
    --text-primary: #f5f5f5;
    --text-secondary: #e0e0e0;
    --accent-gold: #ff9800;
    --accent-red: #e53935;
    --border-color: #333;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffb74d;
}

button {
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--text-primary);
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: #f44336;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
}

.btn-secondary:hover {
    background-color: #f39c12;
    transform: translateY(-1px);
}

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

header {
    background-color: var(--bg-secondary);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 8px;
}

.nav-links {
    display: none;
    list-style: none;
}

.nav-links a {
    padding: 8px 15px;
    font-weight: 500;
    display: block;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-links .active a {
    color: var(--accent-gold);
    border-bottom: 2px solid var(--accent-gold);
}

.burger-menu {
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .nav-links li {
        margin-left: 20px;
    }

    .nav-links a {
        padding: 0;
    }

    .nav-links .active a {
        border-bottom: 2px solid var(--accent-gold);
        padding-bottom: 5px;
    }

    .burger-menu {
        display: none;
    }
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 10px 0;
    display: none;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0 15px;
}

.mobile-menu li {
    padding: 10px 0;
    border-bottom: 1px solid #282828;
}

.mobile-menu li:last-child {
    border-bottom: none;
}

.mobile-menu a {
    display: block;
    color: var(--text-secondary);
    font-weight: 500;
}

.mobile-menu .active a {
    color: var(--accent-gold);
}

.hero {
    background: var(--bg-secondary) url('../img/hero.png') no-repeat center center/cover;
    min-height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
    margin: 10px;
    min-width: 200px;
    display: inline-block;
}

.hero-disclaimer {
    font-size: 0.8rem;
    margin-top: 20px;
    color: #ffcdd2;
}

section {
    padding: 50px 0;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--accent-gold);
}

.card {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

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

.lotto-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.lotto-card img {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 4px;
}

.lotto-card h3 {
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.lotto-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.lotto-card .btn-secondary {
    width: 100%;
}

@media (min-width: 992px) {
    .lotto-cards {
        flex-direction: row;
        justify-content: space-between;
    }

    .lotto-card {
        flex-basis: calc(33.333% - 20px);
    }
}

.how-it-works,
.features {
    text-align: center;
}

.steps-grid,
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

.step-item,
.feature-card {
    padding: 20px;
    background-color: var(--bg-card);
    border-radius: 8px;
}

.step-item i,
.feature-card i {
    font-size: 3rem;
    color: var(--accent-red);
    margin-bottom: 15px;
}

.step-item h4,
.feature-card h4 {
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.steps-note {
    background-color: #2e1a1a;
    padding: 15px;
    border-left: 5px solid var(--accent-red);
    margin-top: 30px;
    border-radius: 4px;
    color: var(--text-secondary);
}

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

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.responsible-gaming {
    background-color: var(--bg-secondary);
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
}

.responsible-gaming h2 {
    color: var(--accent-red);
}

.responsible-gaming ul {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
}

.responsible-gaming li {
    background-color: var(--bg-card);
    padding: 10px 15px;
    margin-bottom: 10px;
    border-left: 3px solid var(--accent-gold);
    border-radius: 4px;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    text-align: left;
}

.faq-question {
    display: block;
    background: var(--bg-card);
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #282828;
}

.faq-answer {
    background-color: var(--bg-card);
    padding: 15px;
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 5px 5px;
    display: none;
    color: var(--text-secondary);
}

.about-content {
    text-align: left;
}

.about-content h3 {
    color: var(--accent-gold);
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 5px;
}

.about-content ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.about-content li {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.key-facts {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid var(--accent-gold);
}

.key-facts h4 {
    color: var(--accent-red);
    margin-bottom: 15px;
}

.key-facts ul {
    list-style: none;
    padding: 0;
}

.key-facts li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
    color: var(--text-primary);
}

.key-facts li:last-child {
    border-bottom: none;
}

.key-facts li i {
    color: var(--accent-gold);
    margin-right: 10px;
    font-size: 1.1rem;
}

.contact-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: left;
}

.contact-info,
.contact-form-container {
    flex: 1;
}

.contact-info p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-detail i {
    color: var(--accent-red);
    font-size: 1.2rem;
    margin-right: 15px;
    width: 20px;
}

.contact-detail a {
    color: var(--text-primary);
}

.contact-detail a:hover {
    color: var(--accent-gold);
}

.contact-form-container {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 4px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input[type="checkbox"] {
    margin-right: 10px;
}

.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
    font-weight: bold;
}

.form-message.success {
    background-color: #388e3c;
    color: var(--text-primary);
}

.form-message.error {
    background-color: #d32f2f;
    color: var(--text-primary);
}

@media (min-width: 992px) {
    .contact-layout {
        flex-direction: row;
    }
}

.login-register-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background-color: var(--bg-card);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.login-register-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--accent-gold);
}

.login-register-container .btn-primary {
    width: 100%;
    margin-top: 10px;
}

.disclaimer-note {
    font-size: 0.9rem;
    margin-top: 20px;
    padding: 15px;
    background-color: #2e1a1a;
    border-left: 3px solid var(--accent-red);
    border-radius: 4px;
    color: var(--text-secondary);
}

.buy-intro {
    text-align: center;
    margin-bottom: 40px;
}

.buy-intro .strong-note {
    font-weight: bold;
    color: var(--accent-red);
    display: block;
    margin-top: 15px;
    padding: 15px;
    background-color: #2e1a1a;
    border-radius: 5px;
}

.buy-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.lotto-selection {
    flex: 3;
}

.lotto-game {
    background-color: var(--bg-card);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.lotto-game h3 {
    color: var(--accent-gold);
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.number-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.number-circle {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.number-circle.selected {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
}

.number-circle.grand {
    background-color: var(--accent-red);
}

.number-circle.grand.selected {
    background-color: #f44336;
}

.lotto-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    align-items: center;
}

.lotto-actions span {
    font-weight: bold;
}

.selected-numbers-display {
    margin-top: 15px;
    padding: 10px;
    background-color: #282828;
    border-radius: 4px;
    min-height: 40px;
}

.cart-summary {
    flex: 1;
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
    border: 1px solid var(--accent-gold);
}

.cart-summary h3 {
    color: var(--accent-gold);
    margin-bottom: 20px;
}

#cart-items {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

#cart-items li {
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    font-size: 0.9rem;
}

#cart-items li button {
    background-color: var(--accent-red);
    color: var(--text-primary);
    border-radius: 4px;
    padding: 3px 8px;
    margin-left: 10px;
    font-size: 0.75rem;
}

#cart-total {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--accent-red);
}

.cart-summary .btn-primary {
    width: 100%;
}

@media (min-width: 992px) {
    .buy-content {
        flex-direction: row;
    }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.modal-content h4 {
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    padding: 5px;
}

.welcome-message {
    padding: 10px;
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 5px;
    display: none;
}

footer {
    background-color: var(--bg-secondary);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-message {
    font-size: 1rem;
    font-weight: bold;
    color: var(--accent-gold);
}

.footer-disclaimer,
.footer-age {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-age {
    color: var(--accent-red);
    font-weight: bold;
}

.footer-links a {
    margin: 0 10px;
    color: var(--text-secondary);
}

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

.footer-copyright {
    font-size: 0.8rem;
    margin-top: 10px;
    color: #777;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        flex: 1;
    }

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

    .footer-right {
        text-align: right;
    }

    .footer-links {
        margin-top: 0;
    }

    .footer-links a {
        display: block;
        margin: 5px 0;
    }
}

.footer-imgs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-imgs img {
    padding: 12px;
    margin: 12px;
    height: 55px;
    background: white;
    border-radius: 10px;
}

.hidden {
    display: none;
}

.age-gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-gate-box {
    background: #1f1f1f;
    color: #f5f5f5;
    padding: 24px 28px;
    border-radius: 12px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.age-gate-box h2 {
    margin-bottom: 12px;
    font-size: 1.6rem;
}

.age-gate-box p {
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e0e0e0;
}

.age-gate-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.age-gate-buttons button {
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    font-weight: 600;
}

#ageYes {
    background: #ff9800;
    color: #1f1f1f;
}

#ageYes:hover {
    opacity: 0.9;
}

.age-gate-secondary {
    background: transparent;
    color: #ff9800;
    border: 1px solid #ff9800;
}

.age-gate-secondary:hover {
    background: #2a2a2a;
}

.age-gate-note {
    font-size: 0.8rem;
    color: #bdbdbd;
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: #1f1f1f;
    color: #f5f5f5;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    z-index: 9000;
}

.cookie-banner-text h3 {
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.cookie-banner-text p {
    font-size: 0.9rem;
    color: #e0e0e0;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

.cookie-btn-primary,
.cookie-btn-secondary {
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.cookie-btn-primary {
    background: #ff9800;
    color: #1f1f1f;
}

.cookie-btn-primary:hover {
    opacity: 0.9;
}

.cookie-btn-secondary {
    background: transparent;
    color: #ff9800;
    border: 1px solid #ff9800;
}

.cookie-btn-secondary:hover {
    background: #2a2a2a;
}

@media (min-width: 768px) {
    .cookie-banner {
        max-width: 900px;
        margin: 0 auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cookie-preferences-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9500;
}

.cookie-preferences-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.cookie-preferences-panel {
    position: relative;
    background: #1f1f1f;
    color: #f5f5f5;
    padding: 20px 22px;
    border-radius: 12px;
    max-width: 520px;
    width: 90%;
    max-height: 80vh;
    overflow: auto;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75);
}

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

.cookie-preferences-header h3 {
    font-size: 1.2rem;
}

.cookie-close {
    background: transparent;
    border: none;
    color: #ff9800;
    font-size: 1.4rem;
    cursor: pointer;
}

.cookie-preferences-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.cookie-category h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.cookie-category p {
    font-size: 0.85rem;
    color: #e0e0e0;
    margin-bottom: 8px;
}

.cookie-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.cookie-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cookie-toggle .slider {
    width: 40px;
    height: 20px;
    border-radius: 999px;
    background: #555555;
    position: relative;
    transition: background 0.2s ease;
}

.cookie-toggle .slider::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.2s ease;
}

.cookie-toggle input:checked+.slider {
    background: #ff9800;
}

.cookie-toggle input:checked+.slider::before {
    transform: translateX(20px);
}

.cookie-toggle .label-text {
    font-size: 0.9rem;
}

.cookie-toggle.disabled {
    cursor: default;
    color: #bdbdbd;
}

.cookie-preferences-footer {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
}

.cookie-preferences-footer .cookie-btn-primary {
    min-width: 150px;
} 
.policy-section {
  padding: 50px 0;
}

.policy-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--accent-gold);
}

.policy-content {
  background-color: var(--bg-card);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.policy-content h3 {
  color: var(--accent-red);
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 5px;
}

.policy-content p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.policy-content ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 25px;
}

.policy-content li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.policy-content a {
    font-weight: bold;
}
 
.key-facts {
    margin: 20px 0;
}