:root {
    --color-charcoal: #1E1E1E;
    --color-white: #FFFFFF;
    --color-emerald-teal: #00A398;
    --color-warm-orange: #FF8C00;
    --color-light-grey: #F5F5F5;
    --color-medium-grey: #666666;
    --color-success: #00A398;
    --color-error: #CC0000;


    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --border-radius: 8px;
    --box-shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.08);

    --accent: #00A398;
    --accent-ink: #ffffff;
    --bg: #ffffff;
    --ink: #0f172a;
    --muted: #6b7280;
    --ring: rgba(0, 163, 152, 0.35);
    --shadow: 0 8px 30px rgba(2, 28, 45, 0.12);
    --radius: 14px;
}


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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-medium-grey);
    background-color: var(--color-white);
    min-width: 320px;
}

main {
    padding-top: 80px;
}

a {
    color: var(--color-emerald-teal);
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s;
}

a:hover,
a:focus {
    color: var(--color-warm-orange);
}

h1,
h2,
h3,
h4 {
    color: var(--color-charcoal);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: var(--spacing-lg);
}

h3 {
    font-size: 1.5rem;
}


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

.section {
    padding: var(--spacing-lg) 0;
}

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

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

.text-white {
    color: var(--color-white) !important;
}

.text-white a {
    color: var(--color-warm-orange);
}


.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

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

.btn-primary:hover,
.btn-primary:focus {
    background-color: #008f84;
    box-shadow: 0 4px 10px rgba(0, 163, 152, 0.4);
}

.btn-secondary {
    background-color: var(--color-warm-orange);
    color: var(--color-white);
    border-color: var(--color-warm-orange);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #e67d00;
    border-color: #e67d00;
}

.btn-card {
    width: 100%;
    margin-top: auto;
    padding: 0.75rem 1rem;
}


.main-header {
    background-color: var(--color-white);
    box-shadow: var(--box-shadow-subtle);
    padding: var(--spacing-sm) 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-charcoal);
    text-decoration: none;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
}

.nav-list a {
    color: var(--color-charcoal);
    padding: 0.5rem;
    font-weight: 500;
    position: relative;
}

.nav-list a.active {
    color: var(--color-emerald-teal);
    border-bottom: 3px solid var(--color-emerald-teal);
}

.nav-list a:hover {
    color: var(--color-emerald-teal);
}

.cta-link {
    background-color: var(--color-warm-orange);
    color: var(--color-white) !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.cta-link:hover {
    background-color: #e67d00;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-charcoal);
    cursor: pointer;
}


.hero {
    display: flex;
    align-items: center;
    padding: var(--spacing-lg) 0;
    padding-top: calc(var(--spacing-lg) + 80px);
    background-color: var(--color-light-grey);
    position: relative;
    overflow: hidden;
}



.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    max-width: 80%;
}

.hero-ctas .btn {
    margin-right: var(--spacing-sm);
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-subtle);
}


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

.draw-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.draw-card {
    background-color: var(--color-white);
    border: 1px solid #e0e0e0;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-subtle);
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s;
}

.draw-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

.draw-icon {
    font-size: 2rem;
    color: var(--color-emerald-teal);
    margin-bottom: var(--spacing-sm);
}

.draw-details {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-md);
}

.draw-details li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.draw-details .fas {
    color: var(--color-warm-orange);
    margin-right: 0.5rem;
}


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

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.step {
    padding: var(--spacing-md);
    text-align: center;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--color-emerald-teal);
    margin-bottom: var(--spacing-sm);
}


.why-choose-us {
    text-align: center;
}

.value-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.value-point {
    padding: var(--spacing-md);
    border: 1px solid #eaeaea;
    border-radius: var(--border-radius);
    transition: background-color 0.3s;
}

.value-point:hover {
    background-color: var(--color-light-grey);
}

.value-point .fas {
    font-size: 2rem;
    color: var(--color-warm-orange);
    margin-bottom: var(--spacing-sm);
}


.responsible-play .disclaimers {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
}

.responsible-play p {
    margin-bottom: 1rem;
}

.trust-compliance {
    text-align: center;
    background-color: var(--color-light-grey);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.badge {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: var(--color-charcoal);
}

.badge .fas {
    font-size: 1.5rem;
    color: var(--color-emerald-teal);
    margin-right: 0.5rem;
}


.main-footer {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
    font-size: 0.9rem;
}

.main-footer h4 {
    color: var(--color-warm-orange);
    margin-bottom: var(--spacing-sm);
}

.main-footer a {
    color: var(--color-white);
    display: block;
    margin-bottom: 0.5rem;
}

.main-footer a:hover {
    color: var(--color-emerald-teal);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column .fas {
    color: var(--color-warm-orange);
    margin-right: 0.5rem;
}

.social-links a {
    display: inline-block;
    font-size: 1.5rem;
    margin-right: var(--spacing-sm);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-sm);
}

.disclaimer-small {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}


@media (max-width: 992px) {

    .hero {
        flex-direction: column;
    }

    .hero-image {
        width: 100%;
        max-width: 100%;
        margin-top: var(--spacing-md);
    }

    .tagline {
        max-width: 100%;
    }

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

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        padding: var(--spacing-sm) 0;
        text-align: center;
        z-index: 999;
    }

    .nav-list.open {
        display: flex;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--color-light-grey);
    }

    .nav-list a {
        display: block;
        padding: 1rem;
        border-bottom: none !important;
    }

    .nav-list a.active {
        border-bottom: none;
    }

    .burger-menu {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column a {
        display: inline-block;
        margin: 0 0.5rem 0.5rem 0;
    }

    .footer-column.contact-info p {
        text-align: left;
        margin: 0.5rem 0;
    }

    .trust-badges {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

.breadcrumbs {
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    padding: 0;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: var(--color-medium-grey);
}

.card {
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-subtle);
    border: 1px solid #eaeaea;
}


.contact-grid,
.buy-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.auth-form-container {
    max-width: 500px;
    margin: var(--spacing-lg) auto;
}

.input-field {
    width: 100%;
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-field:focus {
    border-color: var(--color-emerald-teal);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 163, 152, 0.3);
}

.input-error {
    border-color: var(--color-error) !important;
    box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.3);
}

.form-error-message,
.form-success-message {
    padding: 10px;
    margin-bottom: var(--spacing-sm);
    border-radius: 4px;
    font-weight: bold;
}

.form-error-message {
    background-color: #ffe0e0;
    color: var(--color-error);
    border: 1px solid var(--color-error);
}

.form-success-message {
    background-color: #e0fff0;
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.checkbox-group input {
    margin-right: 10px;
}


.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

.info-item .fas {
    font-size: 1.2rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.icon-teal {
    color: var(--color-emerald-teal);
}

.static-map-div {
    width: 100%;
    height: 250px;
    background-color: #e0e0e0;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: var(--spacing-md);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: var(--color-medium-grey);
}



.buy-grid {
    grid-template-columns: 2fr 1fr;
    align-items: flex-start;
}

.number-picker-container {
    border: 1px solid #e0e0e0;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
}

.number-selection-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: var(--spacing-sm) 0 var(--spacing-md) 0;
}

.number-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--color-medium-grey);
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s, border-color 0.2s;
    user-select: none;
}

.number-circle:hover {
    border-color: var(--color-emerald-teal);
}

.number-circle.selected {
    background-color: var(--color-emerald-teal);
    color: var(--color-white);
    border-color: var(--color-emerald-teal);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #e0e0e0;
    padding: 10px 0;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price {
    font-weight: bold;
    color: var(--color-charcoal);
}

.cart-summary {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid #e0e0e0;
    line-height: 1.8;
}


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

.modal-content {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-medium-grey);
}

.modal-icon {
    font-size: 3rem;
    color: var(--color-emerald-teal);
    margin-bottom: var(--spacing-sm);
}


@media (max-width: 992px) {

    .contact-grid,
    .buy-grid {
        grid-template-columns: 1fr;
    }
}

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

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

.content-section {
    padding: 40px 0;
    margin-top: 30px;
    margin-bottom: 30px;
}

.content-section h1,
.content-section h2 {
    color: #00A398;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.content-section h2 {
    font-size: 1.8em;
    margin-top: 30px;
}

.content-section ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}

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

.last-updated {
    display: block;
    margin-top: 40px;
    font-style: italic;
    color: #777;
}

@media (max-width: 600px) {
    .content-section {
        padding: 20px 0;
    }
}

.hidden {
    display: none !important
}

.btn {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: .8rem 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: .2s transform ease, .2s box-shadow ease;
}

.btn:active {
    transform: translateY(1px)
}

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

.btn--outline {
    background: #fff;
    color: var(--accent);
    outline: 2px solid var(--accent)
}

.btn--ghost {
    background: transparent;
    color: var(--ink)
}

.btn+.btn {
    margin-left: .5rem
}

.switch {
    position: relative;
    width: 48px;
    height: 28px;
    background: #e5e7eb;
    border-radius: 999px;
    cursor: pointer;
    flex: 0 0 48px;
}

.switch input {
    display: none
}

.switch i {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    transition: .2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}

.switch input:checked+i {
    left: 23px;
    background: var(--accent)
}

.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 14, 22, .55);
    backdrop-filter: saturate(120%) blur(4px);
    z-index: 1000;
    padding: 24px;
}

.list {
    margin: .8rem 0 1rem;
    padding-left: 1.2rem;
    color: #334155
}

.footer {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end
}

.cookiebar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    width: min(940px, 92vw);
    z-index: 900;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px 18px;
}

.cookiebar__row {
    display: flex;
    gap: 16px;
    align-items: center
}

.cookiebar__text {
    flex: 1;
    min-width: 220px
}

.cookiebar__title {
    margin: 0 0 .4rem;
    font-weight: 700
}

.cookiebar__desc {
    margin: 0;
    color: var(--muted)
}

.cookiebar__actions {
    white-space: nowrap
}

@media (max-width:720px) {
    .cookiebar__row {
        flex-direction: column;
        align-items: stretch
    }

    .cookiebar__actions {
        display: flex;
        flex-wrap: wrap;
        gap: .5rem
    }

    .btn+.btn {
        margin-left: 0
    }
}

.panel {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 950;
    background: rgba(2, 14, 22, .5);
    backdrop-filter: blur(3px);
}

.panel__body {
    width: min(820px, 92vw);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px
}

.rows {
    display: grid;
    gap: 14px;
    margin: 14px 0 18px
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #eef2f7;
    border-radius: 12px;
}

.row__meta b {
    display: block
}

.row__meta small {
    color: var(--muted)
}

.badge {
    display: inline-block;
    padding: .22rem .55rem;
    border-radius: 999px;
    background: rgba(0, 163, 152, .08);
    color: var(--accent);
    font-weight: 600;
    font-size: .8rem;
    margin-left: .4rem
}

.notice {
    font-size: .9rem;
    color: var(--muted)
}

:focus {
    outline: 3px solid var(--ring);
    outline-offset: 2px
}