/* Defaiflo Lotteries — single stylesheet */

:root {
    --navy: #0e2540;
    --navy-soft: #1a3358;
    --cream: #f6f1e7;
    --cream-dark: #ece3cf;
    --gold: #d4a24c;
    --gold-deep: #b8852e;
    --charcoal: #141821;
    --muted: #5b6270;
    --success: #2e7d5b;
    --line: #e1d9c4;
    --white: #ffffff;
    --shadow-sm: 0 4px 14px rgba(14, 37, 64, 0.06);
    --shadow-md: 0 10px 30px rgba(14, 37, 64, 0.08);
    --shadow-lg: 0 20px 50px rgba(14, 37, 64, 0.14);
    --radius: 18px;
    --radius-sm: 10px;
    --radius-lg: 26px;
    --container: 1200px;
    --font:
        -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto,
        'Helvetica Neue', Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--charcoal);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.18s ease;
}
a:hover {
    color: var(--gold-deep);
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin: 0 0 0.6em;
    letter-spacing: -0.01em;
}
h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}
h2 {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
}
h3 {
    font-size: 1.25rem;
}

p {
    margin: 0 0 1em;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.97rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
    text-align: center;
    line-height: 1;
}
.btn--primary {
    background: var(--gold);
    color: var(--charcoal);
    border-color: var(--gold);
}
.btn--primary:hover {
    background: var(--gold-deep);
    border-color: var(--gold-deep);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn--ghost {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn--ghost:hover {
    background: var(--navy);
    color: #fff;
    transform: translateY(-1px);
}
.btn--light {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}
.btn--light:hover {
    background: var(--cream-dark);
    color: var(--navy);
}
.btn--small {
    padding: 0.55rem 1.1rem;
    font-size: 0.88rem;
}
.btn--wide {
    padding-left: 2.4rem;
    padding-right: 2.4rem;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 14px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: var(--navy);
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
}
.brand span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.brand img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.brand span small {
    display: block;
    font-size: 0.68rem;
    color: var(--gold-deep);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin-left: auto;
}
.nav a {
    font-weight: 500;
    color: var(--navy);
    font-size: 0.95rem;
    padding: 6px 2px;
    position: relative;
}
.nav a.is-active,
.nav a:hover {
    color: var(--gold-deep);
}
.nav a.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    height: 3px;
    background: var(--gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.header-actions .js-auth-links {
    display: inline-flex;
    gap: 0.6rem;
    align-items: center;
}
.header-actions .js-auth-user {
    display: none;
    align-items: center;
    gap: 0.6rem;
}
.is-logged-in .header-actions .js-auth-links {
    display: none;
}
.is-logged-in .header-actions .js-auth-user {
    display: inline-flex;
}
.header-actions .js-auth-user strong {
    color: var(--navy);
    font-weight: 700;
}

/* Mobile burger auth block (injected by site.js, shown on mobile only) */
.nav__auth {
    display: none;
    width: 100%;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.nav__auth .js-auth-links,
.nav__auth .js-auth-user {
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.nav__auth .js-auth-links {
    display: flex;
}
.nav__auth .js-auth-user {
    display: none;
}
.is-logged-in .nav__auth .js-auth-links {
    display: none;
}
.is-logged-in .nav__auth .js-auth-user {
    display: flex;
}
.nav__auth .btn {
    width: 100%;
    justify-content: center;
}
.nav__auth-greeting {
    font-size: 0.95rem;
    color: var(--muted);
    padding: 4px 0 2px;
}
.nav__auth-greeting strong {
    color: var(--navy);
    font-weight: 700;
}
.header-actions .cart-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cream);
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
}
.header-actions .cart-btn:hover {
    background: var(--gold);
    color: #fff;
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: var(--navy);
}
.menu-toggle svg {
    width: 26px;
    height: 26px;
}

@media (max-width: 960px) {
    .header-inner {
        gap: 1rem;
    }
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        margin-left: 0;
    }
    .nav.is-open {
        transform: translateY(0);
    }
    .nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
    }
    .nav a.is-active::after {
        display: none;
    }
    .menu-toggle {
        display: inline-flex;
    }
    .header-actions .cart-btn {
        display: none;
    }
    .brand span {
        font-size: 0.95rem;
    }
}

@media (max-width: 640px) {
    .header-inner {
        gap: 0.6rem;
        padding: 10px 0;
    }
    .header-actions {
        gap: 0.4rem;
        margin-left: auto;
    }
    .header-actions .js-auth-links,
    .header-actions .js-auth-user,
    .is-logged-in .header-actions .js-auth-links,
    .is-logged-in .header-actions .js-auth-user {
        display: none !important;
    }
    .nav__auth {
        display: block;
    }
    .brand {
        gap: 9px;
        font-size: 0.98rem;
        min-width: 0;
        flex: 0 1 auto;
        overflow: hidden;
    }
    .brand img {
        width: 36px;
        height: 36px;
    }
    .brand span small {
        display: none;
    }
}

@media (max-width: 420px) {
    .container {
        padding: 0 14px;
    }
    .header-inner {
        gap: 0.4rem;
    }
    .brand {
        font-size: 0.88rem;
        gap: 8px;
    }
    .brand img {
        width: 34px;
        height: 34px;
    }
    .menu-toggle {
        width: 36px;
        height: 36px;
    }
    .menu-toggle svg {
        width: 22px;
        height: 22px;
    }
    .nav {
        top: 60px;
        padding: 12px 16px 20px;
    }
    .cookie-bar {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 1rem 1.1rem;
    }
    .cookie-bar__actions {
        margin-left: 0;
        width: 100%;
    }
    .cookie-bar__actions .btn {
        flex: 1;
    }
    .age-gate__panel {
        padding: 1.5rem 1.2rem;
    }
    .page-banner {
        padding: 2.2rem 0 2.4rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .countdown {
        flex-wrap: wrap;
        gap: 6px;
        padding: 10px 12px;
    }
    .countdown__label {
        flex-basis: 100%;
        margin-bottom: 4px;
    }
    .countdown__cell {
        min-width: 54px;
        padding: 5px 8px;
    }
    .hero__cta .btn {
        flex: 1 1 auto;
    }
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 70%);
    color: #fff;
    padding: clamp(3rem, 7vw, 6rem) 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 520px;
    height: 520px;
    background: radial-gradient(
        closest-side,
        rgba(212, 162, 76, 0.35),
        transparent 70%
    );
    pointer-events: none;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
}
.hero__eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid rgba(212, 162, 76, 0.55);
    color: var(--gold);
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    font-weight: 600;
}
.hero h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 0.8rem;
}
.hero h1 em {
    font-style: normal;
    color: var(--gold);
}
.hero__lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 52ch;
    margin-bottom: 1.6rem;
}
.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2rem;
}
.hero__media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(212, 162, 76, 0.3);
}
.hero__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.hero__media-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--gold);
    color: var(--charcoal);
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
@media (max-width: 840px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }
}

/* Countdown */
.countdown {
    display: inline-flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    margin-bottom: 1.6rem;
}
.countdown__label {
    align-self: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-right: 6px;
}
.countdown__cell {
    min-width: 58px;
    text-align: center;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}
.countdown__cell strong {
    display: block;
    font-size: 1.3rem;
    color: var(--gold);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.countdown__cell span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ---------- Sections ---------- */
.section {
    padding: clamp(3rem, 6vw, 5.5rem) 0;
}
.section--light {
    background: #fff;
}
.section--cream {
    background: var(--cream);
}
.section--navy {
    background: var(--navy);
    color: #fff;
}
.section--navy h2,
.section--navy h3 {
    color: #fff;
}

.section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}
.section__eyebrow {
    color: var(--gold-deep);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: inline-block;
}
.section__lead {
    color: var(--muted);
    font-size: 1.05rem;
}

/* ---------- Cards grid ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.6rem;
}
.card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}
.card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--cream-dark);
}
.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card:hover .card__media img {
    transform: scale(1.04);
}
.card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--gold);
    color: var(--charcoal);
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.card__tag--dark {
    background: var(--navy);
    color: #fff;
}
.card__body {
    padding: 1.5rem 1.5rem 1.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}
.card__body small {
    color: var(--gold-deep);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 700;
}
.card__body h3 {
    margin: 0.2rem 0;
    font-size: 1.25rem;
}
.card__body p {
    color: var(--muted);
    margin: 0;
    font-size: 0.95rem;
}
.card__cta {
    margin-top: auto;
    padding-top: 1rem;
}

/* ---------- Features / Info strip ---------- */
.info-strip {
    background: var(--gold);
    color: var(--charcoal);
    text-align: center;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}
.info-strip strong {
    letter-spacing: 0.04em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}
.feature {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.6rem;
    border: 1px solid var(--line);
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}
.feature:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}
.feature__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--cream);
    color: var(--gold-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.feature__icon svg {
    width: 26px;
    height: 26px;
}
.feature h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}
.feature p {
    color: var(--muted);
    font-size: 0.93rem;
    margin: 0;
}

/* ---------- Movement / two column ---------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.two-col__media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1 / 1;
    background: var(--cream-dark);
}
.two-col__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 860px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ---------- Results / list ---------- */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.2rem;
}
.result {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
    border: 1px solid var(--line);
}
.result__top {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
}
.result__number {
    display: inline-block;
    background: var(--navy);
    color: var(--gold);
    font-weight: 800;
    font-size: 1.4rem;
    padding: 8px 18px;
    border-radius: 12px;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
    margin: 0.3rem 0 0.7rem;
}
.result__meta {
    color: var(--charcoal);
    font-weight: 600;
}
.result__link {
    display: inline-block;
    margin-top: 0.7rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-deep);
}

/* ---------- Winner stories ---------- */
.story {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.story:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.story__media {
    aspect-ratio: 4 / 3;
    background: var(--cream-dark);
    overflow: hidden;
}
.story__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.story__body {
    padding: 1.3rem 1.4rem 1.5rem;
}
.story__body small {
    color: var(--gold-deep);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 700;
}
.story__body h3 {
    font-size: 1.05rem;
    margin: 0.35rem 0 0.5rem;
}
.story__body p {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
}

/* ---------- Help / support cards ---------- */
.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.4rem;
}
.help-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.8rem;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    border: 1px solid var(--line);
}
.help-card__icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: var(--cream);
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.help-card__icon img {
    width: 78%;
    height: 78%;
    object-fit: contain;
}
.help-card__icon svg {
    width: 34px;
    height: 34px;
    color: var(--gold-deep);
}
.help-card h3 {
    margin: 0 0 0.35rem;
}
.help-card p {
    color: var(--muted);
    margin: 0 0 0.6rem;
    font-size: 0.95rem;
}
.help-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.help-card__links a {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.9rem;
}

/* ---------- Forms ---------- */
.form-shell {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 3vw, 2.4rem);
    box-shadow: var(--shadow-md);
    max-width: 520px;
    margin: 0 auto;
}
.form-shell--wide {
    max-width: 840px;
}
.form-row {
    margin-bottom: 1.1rem;
}
.form-row--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.1rem;
}
.form-row label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.3rem;
}
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--line);
    background: var(--cream);
    font-size: 1rem;
    font-family: inherit;
    color: var(--charcoal);
    transition:
        border-color 0.18s ease,
        background 0.18s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: #fff;
}
.form-row textarea {
    min-height: 120px;
    resize: vertical;
}
.form-row__hint {
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}
.form-row__check {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--muted);
}
.form-row__check input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}
.form-alert {
    background: #fff4d6;
    border: 1px solid var(--gold);
    color: #5a3a08;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    margin-bottom: 1rem;
    display: none;
}
.form-alert.is-error {
    background: #fde4e4;
    border-color: #d34b4b;
    color: #8a1e1e;
}
.form-alert.is-ok {
    background: #e1f2ea;
    border-color: var(--success);
    color: #144b34;
}
.form-alert.is-visible {
    display: block;
}

/* ---------- Table ---------- */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.data-table th,
.data-table td {
    padding: 1rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
}
.data-table th {
    background: var(--cream);
    color: var(--navy);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}
.data-table tr:last-child td {
    border-bottom: 0;
}
.data-table td strong {
    color: var(--navy);
}

/* ---------- FAQ ---------- */
.faq {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 0.8rem;
}
.faq details {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    padding: 1rem 1.4rem;
    transition: border-color 0.2s ease;
}
.faq details[open] {
    border-color: var(--gold);
}
.faq summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--navy);
    list-style: none;
    padding: 0.4rem 0;
    font-size: 1.02rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq summary::-webkit-details-marker {
    display: none;
}
.faq summary::after {
    content: '+';
    font-size: 1.6rem;
    color: var(--gold-deep);
    transition: transform 0.2s ease;
    line-height: 1;
    font-weight: 400;
}
.faq details[open] summary::after {
    content: '−';
}
.faq details p {
    margin: 0.6rem 0 0.4rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ---------- Membership tiers ---------- */
.tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.4rem;
}
.tier {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem 1.8rem;
    border: 2px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
.tier:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.tier--featured {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}
.tier__media {
    margin: -2rem -1.8rem 0.6rem;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--cream-dark);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.tier__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.tier:hover .tier__media img {
    transform: scale(1.04);
}
.tier__name {
    color: var(--gold-deep);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    font-weight: 700;
}
.tier__price {
    font-size: 2.2rem;
    color: var(--navy);
    font-weight: 800;
}
.tier__price small {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
}
.tier ul {
    list-style: none;
    padding: 0;
    margin: 0.6rem 0 1.2rem;
    display: grid;
    gap: 0.6rem;
}
.tier li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.94rem;
    color: var(--charcoal);
}
.tier li::before {
    content: '✓';
    color: var(--success);
    font-weight: 800;
    line-height: 1.4;
}
.tier .btn {
    margin-top: auto;
}

/* ---------- Gallery ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    background: var(--cream-dark);
}
.gallery img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

/* ---------- Prose (legal/about) ---------- */
.prose {
    max-width: 820px;
    margin: 0 auto;
    color: var(--charcoal);
    line-height: 1.75;
}
.prose h2 {
    margin-top: 2.4rem;
}
.prose h3 {
    margin-top: 1.8rem;
}
.prose ul,
.prose ol {
    padding-left: 1.2rem;
}
.prose li {
    margin-bottom: 0.4rem;
}
.prose a {
    color: var(--gold-deep);
    font-weight: 600;
}
.prose a:hover {
    text-decoration: underline;
}

/* ---------- Page banner ---------- */
.page-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
    color: #fff;
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(
        closest-side,
        rgba(212, 162, 76, 0.3),
        transparent 70%
    );
}
.page-banner h1 {
    color: #fff;
    position: relative;
    margin-bottom: 0.6rem;
}
.page-banner p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 620px;
    margin: 0 auto;
    position: relative;
}

.breadcrumbs {
    padding: 18px 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    font-size: 0.87rem;
    color: var(--muted);
}
.breadcrumbs a {
    color: var(--muted);
}
.breadcrumbs a:hover {
    color: var(--gold-deep);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.78);
    padding: 4rem 0 2rem;
}
.site-footer h4 {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 1.2rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 2.4rem;
    padding-bottom: 2.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-top p {
    color: rgba(255, 255, 255, 0.72);
    margin: 0.8rem 0 0;
    font-size: 0.92rem;
    line-height: 1.65;
}
.footer-brand {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 0.2rem;
}
.footer-brand img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}
.footer-brand strong {
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}
.footer-col a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}
.footer-col a:hover {
    color: var(--gold);
}

.footer-support {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius);
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}
.footer-support span {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.3rem;
}
.footer-support strong {
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.footer-wellbeing {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}
.footer-wellbeing h4 {
    margin-bottom: 0.6rem;
}
.footer-wellbeing p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 680px;
    margin: 0 auto 1.4rem;
    font-size: 0.93rem;
}
.partner-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    justify-content: center;
    align-items: center;
}
.partner-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 18px;
    border-radius: 12px;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
    min-height: 58px;
}
.partner-row a:hover {
    background: #fff;
    transform: translateY(-2px);
}
.partner-row img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-bottom {
    padding-top: 1.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
}
.footer-bottom a {
    color: rgba(255, 255, 255, 0.78);
}
.footer-bottom a:hover {
    color: var(--gold);
}

@media (max-width: 840px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
}

/* ---------- Cookie bar ---------- */
.cookie-bar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 50;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1.2rem 1.4rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    border: 1px solid var(--line);
    max-width: 620px;
}
.cookie-bar[hidden] {
    display: none;
}
.cookie-bar p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--charcoal);
    flex: 1 1 280px;
}
.cookie-bar__actions {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

/* ---------- Age gate ---------- */
.age-gate {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(14, 37, 64, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(6px);
}
.age-gate[hidden] {
    display: none;
}
.age-gate__panel {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem 2.2rem;
    max-width: 440px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.age-gate__panel img {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 14px;
}
.age-gate__panel h2 {
    margin-bottom: 0.6rem;
}
.age-gate__panel p {
    color: var(--muted);
    font-size: 0.95rem;
}
.age-gate__actions {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 1.4rem;
    flex-wrap: wrap;
}

/* ---------- Utility ---------- */
.text-center {
    text-align: center;
}
.mt-2 {
    margin-top: 2rem;
}
.mt-3 {
    margin-top: 3rem;
}
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* package selector for buy-tickets */
.packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.package {
    background: #fff;
    border: 2px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.package input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.package__tickets {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
}
.package__price {
    color: var(--gold-deep);
    font-weight: 700;
    margin-top: 0.2rem;
}
.package:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}
.package.is-selected {
    border-color: var(--gold);
    background: var(--cream);
    box-shadow: var(--shadow-sm);
}

/* Winner detail row on winners page */
.winner-row {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1rem;
    align-items: center;
    background: #fff;
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
    border: 1px solid var(--line);
}
.winner-row img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
}
.winner-row__meta small {
    color: var(--gold-deep);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: 0.74rem;
}
.winner-row__meta h3 {
    margin: 0.25rem 0 0.2rem;
    font-size: 1.05rem;
}
.winner-row__meta p {
    color: var(--muted);
    margin: 0;
    font-size: 0.9rem;
}
.winner-row__amount {
    color: var(--navy);
    font-weight: 800;
    font-size: 1.2rem;
    text-align: right;
}
@media (max-width: 640px) {
    .winner-row {
        grid-template-columns: 80px 1fr;
    }
    .winner-row__amount {
        grid-column: span 2;
        text-align: left;
    }
}
