/* =============================================================================
   LABA PARTY — UNIFIED LANDING PAGE
   Country selector that links to individual game editions
   ============================================================================= */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #fff9ef;
    --bg-warm: #fff3dd;
    --bg-card: rgba(255, 255, 255, 0.9);
    --ink: #15231c;
    --text-dark: #15231c;
    --text-muted: #647067;
    --text-light: #90988f;
    --border: rgba(21, 35, 28, 0.12);
    --border-hover: rgba(21, 35, 28, 0.22);
    --green: #123225;
    --green-2: #1f6d45;
    --gold: #f2b632;
    --red: #cc3d2b;
    --terracotta: #d96b35;
    --sky: #4a91a8;
    --accent: #1f6d45;
    --accent-light: #f4e7bf;
    --shadow-soft: 0 1px 3px rgba(21, 35, 28, 0.07), 0 8px 30px rgba(21, 35, 28, 0.05);
    --shadow-hover: 0 16px 35px rgba(21, 35, 28, 0.13);
    --radius: 10px;
    --radius-lg: 14px;
    --speed: 180ms;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background:
        radial-gradient(ellipse at 12% 8%, rgba(242, 182, 50, 0.26), transparent 24rem),
        radial-gradient(ellipse at 88% 18%, rgba(74, 145, 168, 0.18), transparent 25rem),
        radial-gradient(ellipse at 42% 70%, rgba(217, 107, 53, 0.1), transparent 22rem),
        linear-gradient(135deg, #fffaf0 0%, #fff1d7 42%, #fdf7e9 72%, #fff9ef 100%);
    color: var(--text-dark);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.38;
    background-image:
        linear-gradient(135deg, rgba(21, 35, 28, 0.045) 25%, transparent 25%),
        linear-gradient(225deg, rgba(21, 35, 28, 0.045) 25%, transparent 25%);
    background-position: 0 0, 12px 0;
    background-size: 24px 24px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 58%);
}

body::after {
    content: '';
    position: fixed;
    inset: -18% -10%;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0 24%, rgba(242, 182, 50, 0.12) 24% 34%, transparent 34% 58%, rgba(31, 109, 69, 0.08) 58% 68%, transparent 68%),
        radial-gradient(circle at 76% 16%, rgba(204, 61, 43, 0.1), transparent 18rem);
    opacity: 0.8;
    animation: backgroundDrift 18s ease-in-out infinite alternate;
}

@keyframes backgroundDrift {
    0% {
        transform: translate3d(-1.5%, -1%, 0) rotate(-1deg);
    }
    100% {
        transform: translate3d(1.5%, 1%, 0) rotate(1deg);
    }
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* --- App Container --- */
.app-container {
    max-width: 1060px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* --- Header --- */
.main-header {
    background: rgba(18, 50, 37, 0.94);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(18, 50, 37, 0.18);
    backdrop-filter: blur(16px);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background:
        linear-gradient(135deg, var(--green-2) 0 34%, var(--gold) 34% 67%, var(--red) 67% 100%);
    border-radius: 8px;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-left-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(45deg);
}

.main-header h1 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
}

.main-header .subtitle {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.auth-area {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.4rem 0.6rem;
    min-width: 0;
}

.account-strip {
    padding: 0.35rem 1.25rem 0;
    background: transparent;
}

.auth-word {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.25rem;
    border: 0;
    background: transparent;
    color: var(--muted, #7a8781);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    cursor: pointer;
    transition: color var(--speed, 160ms);
}

.auth-word:hover:not(:disabled),
.auth-word:focus-visible:not(:disabled) {
    color: var(--green, var(--primary, #1f6d45));
}

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

.auth-copy {
    min-width: 0;
    color: var(--text-dark);
}

.auth-copy span {
    display: block;
    color: var(--green);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.auth-copy strong {
    display: block;
    overflow: hidden;
    font-size: 0.88rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-actions,
.auth-user {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.auth-actions[hidden],
.auth-user[hidden] {
    display: none;
}

.auth-btn {
    min-height: 38px;
    border: 1px solid rgba(31, 109, 69, 0.24);
    border-radius: 8px;
    padding: 0 0.8rem;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--green);
    cursor: pointer;
    transition: transform var(--speed), background var(--speed), border-color var(--speed), opacity var(--speed);
}

.auth-btn:hover:not(:disabled),
.auth-btn:focus-visible:not(:disabled) {
    transform: translateY(-1px);
}

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

.auth-btn.ghost {
    background: #ffffff;
}

.auth-btn.solid {
    border-color: rgba(242, 182, 50, 0.9);
    background: var(--gold);
    color: #1b2118;
}

.auth-user {
    min-height: 38px;
    padding: 0.25rem 0.35rem 0.25rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-user span {
    max-width: 13rem;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.72rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-status {
    grid-column: 1 / -1;
    max-width: 18rem;
    justify-self: end;
    color: var(--text-muted);
    font-size: 0.68rem;
    line-height: 1.2;
    text-align: right;
}

.auth-status:empty {
    display: none;
}

.auth-status[data-state="error"] {
    color: #b42318;
}

.auth-status[data-state="warning"] {
    color: #8a5b00;
}

.auth-prompt {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(18, 50, 37, 0.56);
    backdrop-filter: blur(10px);
}

.auth-prompt.active {
    display: flex;
}

.auth-prompt-card {
    width: min(100%, 390px);
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-lg);
    background: rgba(255, 249, 239, 0.98);
    color: var(--text-dark);
    box-shadow: var(--shadow-hover);
}

.auth-prompt-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    line-height: 1.15;
}

.auth-prompt-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.auth-prompt-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 1rem;
}

.auth-prompt-actions .auth-btn.ghost {
    border-color: rgba(21, 35, 28, 0.18);
    color: var(--text-dark);
    background: white;
}

.auth-prompt-later {
    grid-column: 1 / -1;
    min-height: 38px;
    border: 0;
    color: var(--text-muted);
    background: transparent;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
}

.payment-prompt {
    position: fixed;
    inset: 0;
    z-index: 1210;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(18, 50, 37, 0.62);
    backdrop-filter: blur(10px);
}

.payment-prompt.active {
    display: flex;
}

.payment-prompt-card {
    width: min(100%, 410px);
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-lg);
    background: rgba(255, 249, 239, 0.98);
    color: var(--text-dark);
    box-shadow: var(--shadow-hover);
}

.payment-kicker {
    display: inline-flex;
    margin-bottom: 0.6rem;
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.payment-prompt-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.22rem;
    line-height: 1.15;
}

.payment-prompt-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.payment-prompt-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 1rem;
}

.payment-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid rgba(21, 35, 28, 0.18);
    border-radius: 8px;
    padding: 0 0.75rem;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--speed), background var(--speed), border-color var(--speed), opacity var(--speed);
}

.payment-btn:hover,
.payment-btn:focus-visible {
    transform: translateY(-1px);
}

.payment-btn.primary {
    border-color: rgba(242, 182, 50, 0.9);
    background: var(--gold);
    color: #1b2118;
}

.payment-btn.secondary {
    background: white;
    color: var(--text-dark);
}

/* --- Content Area --- */
.content-area {
    padding: 0 1.25rem 3rem;
}

/* --- Hero --- */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
    padding: 2rem 0 1.25rem;
}

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

.hero-kicker {
    color: var(--green-2);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4.15rem);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0;
    line-height: 0.98;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.5;
}

.unity-visual {
    position: relative;
    width: min(100%, 480px);
    aspect-ratio: 16 / 7;
    margin: 0 auto;
    border: 1px solid rgba(21, 35, 28, 0.12);
    border-radius: 14px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 26%, rgba(242, 182, 50, 0.26), transparent 10rem),
        radial-gradient(circle at 86% 72%, rgba(204, 61, 43, 0.22), transparent 10rem),
        linear-gradient(120deg, rgba(18, 50, 37, 0.95), rgba(31, 109, 69, 0.86));
    box-shadow: var(--shadow-soft);
}

.unity-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.08) 18% 20%, transparent 20% 43%, rgba(255, 255, 255, 0.08) 43% 45%, transparent 45% 70%, rgba(255, 255, 255, 0.08) 70% 72%, transparent 72%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
    opacity: 0.6;
}

.unity-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 50, 37, 0.86), transparent 18%, transparent 82%, rgba(18, 50, 37, 0.86));
    pointer-events: none;
}

.flag-ribbon {
    position: absolute;
    left: -10%;
    right: -10%;
    display: flex;
    align-items: center;
    height: 42px;
    z-index: 1;
}

.ribbon-one {
    top: 19%;
    transform: rotate(-2deg);
}

.ribbon-two {
    top: 43%;
    transform: rotate(1.5deg);
}

.ribbon-three {
    top: 67%;
    transform: rotate(-1deg);
}

.flag-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: max-content;
    animation: flagTravel 18s linear infinite;
}

.ribbon-two .flag-track {
    animation-name: flagTravelReverse;
    animation-duration: 21s;
}

.ribbon-three .flag-track {
    animation-duration: 24s;
}

.flag-emoji {
    width: 46px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    font-size: 1.85rem;
    line-height: 1;
    transform: translateY(0);
    animation: flagBob 3.8s ease-in-out infinite;
}

.flag-emoji:nth-child(2n) {
    animation-delay: -1s;
}

.flag-emoji:nth-child(3n) {
    animation-delay: -2s;
}

@keyframes flagTravel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes flagTravelReverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes flagBob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.identity-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin: 0 0 1.4rem;
}

.identity-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 36px;
    padding: 0.45rem 0.72rem;
    border: 1px solid rgba(21, 35, 28, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: var(--ink);
    font-size: 0.75rem;
    font-weight: 750;
    box-shadow: var(--shadow-soft);
}

.identity-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.identity-dot.green {
    background: var(--green-2);
}

.identity-dot.gold {
    background: var(--gold);
}

.identity-dot.red {
    background: var(--red);
}

/* --- Country Grid --- */
.country-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-bottom: 3rem;
}

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

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

/* --- Country Card --- */
.country-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    overflow: hidden;
    transition: transform var(--speed) ease, border-color var(--speed) ease, box-shadow var(--speed) ease, background var(--speed) ease;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
}

.country-card[data-country="uganda"] {
    --edition-a: #111111;
    --edition-b: #f2cf00;
    --edition-c: #d72f2f;
}

.country-card[data-country="zimbabwe"] {
    --edition-a: #009739;
    --edition-b: #fcd116;
    --edition-c: #de2010;
}

.country-card[data-country="nigeria"] {
    --edition-a: #008753;
    --edition-b: #ffffff;
    --edition-c: #008753;
}

.country-card[data-country="ethiopia"] {
    --edition-a: #078930;
    --edition-b: #fcd116;
    --edition-c: #da121a;
}

.country-card[data-country="ghana"] {
    --edition-a: #ce1126;
    --edition-b: #fcd116;
    --edition-c: #006b3f;
}

.country-card[data-country="kenya"] {
    --edition-a: #000000;
    --edition-b: #bb0000;
    --edition-c: #006600;
}

.country-card[data-country="egypt"] {
    --edition-a: #ce1126;
    --edition-b: #ffffff;
    --edition-c: #000000;
}

.country-card::before {
    content: '';
    position: absolute;
    inset: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--edition-a, var(--green-2)), var(--edition-b, var(--gold)), var(--edition-c, var(--red)));
    opacity: 0.88;
}

.country-card::after {
    content: '';
    position: absolute;
    inset: auto 1rem 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(21, 35, 28, 0.18), transparent);
    opacity: 0;
    transition: opacity var(--speed) ease;
}

.country-card:hover:not(.coming-soon) {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    background: #ffffff;
}

.country-card:hover:not(.coming-soon)::after {
    opacity: 1;
}

.country-card:active:not(.coming-soon) {
    transform: translateY(0);
}

/* Coming Soon state */
.country-card.coming-soon {
    opacity: 0.58;
    cursor: default;
}

.country-card.coming-soon .country-flag {
    filter: grayscale(60%);
}

/* Flag */
.country-flag {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
    border-radius: 50%;
    background: rgba(244, 231, 191, 0.45);
}

.flag-img {
    width: 48px;
    height: 36px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 7px 15px rgba(21, 35, 28, 0.13);
}

/* Card text */
.country-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.country-tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.country-cards-count {
    font-size: 0.65rem;
    color: var(--green-2);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.15rem;
}

.country-cards-count::after {
    content: '\203A';
    font-size: 0.9rem;
}

.coming-soon-badge {
    font-size: 0.6rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(21, 35, 28, 0.07);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-top: 0.15rem;
}

/* --- How to Play --- */
.how-to-play {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

@media (max-width: 500px) {
    .main-header {
        padding: 0.85rem 1rem;
    }

    .account-strip {
        top: 65px;
        padding: 0.75rem 1rem;
    }

    .auth-area {
        grid-template-columns: 1fr;
    }

    .auth-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .auth-status {
        max-width: none;
        justify-self: stretch;
        text-align: left;
    }

    .payment-prompt-actions {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--green);
    color: #fff9ef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    margin: 0 auto 0.75rem;
}

.step-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.step-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* --- Footer --- */
.site-footer {
    text-align: center;
    padding: 2rem 0 1rem;
    border-top: 1px solid var(--border);
}

.site-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.site-footer strong {
    color: var(--text-dark);
    font-weight: 600;
}

.footer-link {
    font-size: 0.75rem;
    color: var(--green-2);
    font-weight: 500;
}

.footer-link:hover {
    text-decoration: underline;
}

.country-confetti {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 200;
    opacity: 0;
    transition: opacity 120ms ease;
}

.country-confetti.active {
    opacity: 1;
}

@media (min-width: 760px) {
    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
        gap: 1.8rem;
        padding: 2.8rem 0 1.7rem;
    }

    .hero-copy {
        text-align: left;
    }

    .hero-subtitle {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- Privacy and Policy Links --- */
.site-footer.privacy-footer {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto 1.5rem;
  padding: 1.25rem 0 1.75rem;
  text-align: center;
  color: #4a5568;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
  margin-bottom: 0.6rem;
}

.footer-legal-links a,
.footer-legal-links button {
  border: 0;
  padding: 0;
  color: var(--primary, #0f6f45);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.site-footer.privacy-footer p {
  margin: 0;
  font-size: 0.82rem;
}

.privacy-choice-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 10000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid rgba(26, 32, 44, 0.18);
  border-radius: 8px;
  color: #17211c;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.privacy-choice-copy strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.privacy-choice-copy p {
  margin: 0 0 0.4rem;
  color: #4a5568;
  font-size: 0.88rem;
  line-height: 1.45;
}

.privacy-choice-copy a {
  margin-right: 0.8rem;
  color: var(--primary, #0f6f45);
  font-size: 0.86rem;
  font-weight: 800;
}

.privacy-choice-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.privacy-btn {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  color: #ffffff;
  background: var(--primary, #0f6f45);
  font-weight: 900;
  cursor: pointer;
}

.privacy-btn.ghost {
  color: #17211c;
  background: #eef2ef;
}

@media (max-width: 720px) {
  .privacy-choice-banner {
    grid-template-columns: 1fr;
  }

  .privacy-choice-actions {
    justify-content: stretch;
  }

  .privacy-btn {
    flex: 1 1 140px;
  }
}

.consent-banner {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    z-index: 1000;
    width: min(680px, calc(100% - 2rem));
    transform: translateX(-50%);
    display: grid;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
}

.consent-copy strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.consent-copy p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

.consent-copy a {
    color: #5a67d8;
    font-weight: 700;
    margin-left: 0.35rem;
}

.consent-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.consent-btn {
    min-height: 2.6rem;
    border-radius: 8px;
    border: 1px solid #cbd5e0;
    cursor: pointer;
    font-weight: 800;
}

.consent-btn.primary {
    background: var(--primary-gradient, var(--green, #1f6d45));
    border-color: var(--green, #1f6d45);
    color: #ffffff;
}

.consent-btn.secondary {
    background: #ffffff;
    color: #2d3748;
}

@media (max-width: 520px) {
    .consent-actions {
        grid-template-columns: 1fr;
    }
}

.consent-options {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.consent-choice {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #2d3748;
    font-size: 0.9rem;
    font-weight: 700;
}

.consent-choice input {
    width: 1.05rem;
    height: 1.05rem;
}


