:root {
    --forest-900: #0c2317;
    --forest-800: #123321;
    --forest-700: #17402a;
    --forest-600: #1e4f34;
    --forest-500: #274f3b;   /* base */
    --forest-400: #3c6b4d;
    --footer-hover-green: rgb(36 98 39);
    --title-green: #15442c;
    --cta-green: #018443;
    --mint-50: #f3faf5;
    --mint-100: #e6f3ea;
    --white: #ffffff;

    --gold-400: #f8ce63;
    --gold-500: #eeaf1f;
    --gold-600: #cf8f0e;

    --red-600: #e31e24;

    --brand-facebook: #1877f2;
    --brand-whatsapp: #25d366;
    --brand-viber: #7360f2;

    --accent-green: #ff7dbd;
    --accent-blue: #00a4ee;
    --accent-orange: #ff9400;

    --ink-900: #122019;
    --ink-700: #33453c;
    --ink-500: #62766c;

    --border: #dbe8e0;
    --success-bg: #eaf7ee;
    --success-border: #bfe3c9;
    --success-ink: #155724;
    --error: #d1303c;
    --error-bg: #fbeaec;
    --info-bg: #eaf3ff;
    --info-ink: #1c5ea8;

    --shadow-sm: 0 2px 10px rgba(12, 35, 23, 0.07);
    --shadow-md: 0 12px 28px rgba(12, 35, 23, 0.10);
    --shadow-lg: 0 24px 50px rgba(12, 35, 23, 0.18);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --container-max: 1140px;

    --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--mint-50);
    color: var(--ink-900);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    padding-bottom: 0;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.hidden {
    display: none !important;
}

/* ============ HERO ============ */
.hero-header {
    position: relative;
    width: 100%;
    padding-top: 30px;
    text-align: center;
    color: #ffffff;
    background:
        radial-gradient(560px 320px at 15% -10%, rgba(255, 255, 255, 0.10), transparent 60%),
        radial-gradient(480px 300px at 100% 0%, rgba(255, 255, 255, 0.08), transparent 55%),
        linear-gradient(180deg, var(--forest-800) 0%, var(--forest-500) 100%);
    overflow: hidden;
}

.hero-content {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-inline: clamp(20px, 6vw, 48px);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-logo-wrap {
    width: 100%;
    margin-bottom: 10px;
}

.hero-logo {
    width: min(81%, 660px);
    height: auto;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25));
    margin-left: -30px;
}

/* HERO animate */
.hero-logo #green-top,  .hero-logo #text1,
.hero-logo #green2,     .hero-logo #text2,
.hero-logo #blue,       .hero-logo #text3,
.hero-logo #orange,     .hero-logo #text4,
.hero-logo #green-last, .hero-logo #text5 {
    opacity: 0;
    animation: ribbon-in 0.6s ease-out forwards;
}

.hero-logo #green-top,  .hero-logo #text1  { animation-delay: 0.15s; }
.hero-logo #green2,     .hero-logo #text2  { animation-delay: 0.27s; }
.hero-logo #blue,       .hero-logo #text3  { animation-delay: 0.39s; }
.hero-logo #orange,     .hero-logo #text4  { animation-delay: 0.51s; }
.hero-logo #green-last, .hero-logo #text5  { animation-delay: 0.63s; }

@keyframes ribbon-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo #green-top,  .hero-logo #text1,
    .hero-logo #green2,     .hero-logo #text2,
    .hero-logo #blue,       .hero-logo #text3,
    .hero-logo #orange,     .hero-logo #text4,
    .hero-logo #green-last, .hero-logo #text5 {
        opacity: 1;
        animation: none;
    }
}

.campaign-pill {
    display: none; 
    align-items: center;
    gap: 6px;
    background-color: var(--red-600);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.35);
}

.campaign-pill svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.hero-header h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.products-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
    margin: 6px 0 14px;
    width: 100%;
}

.products-showcase img {
    position: relative;
    z-index: 1;
    width: min(100%, 920px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.30));
}

.hero-subtext {
    font-size: clamp(14px, 0.6vw + 13px, 18px);
    opacity: 0.92;
    line-height: 1.5;
    max-width: 420px;
    margin-top: 18px;
    margin-bottom: 40px;
}

.btn-hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--forest-900);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(15px, 0.4vw + 14px, 17px);
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    transition: transform 0.15s ease;
}

.btn-hero-cta:active {
    transform: scale(0.97);
}

.btn-hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(238, 175, 31, 0.55);
    animation: cta-pulse-ring 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes cta-pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(238, 175, 31, 0.55); }
    70% { box-shadow: 0 0 0 16px rgba(238, 175, 31, 0); }
    100% { box-shadow: 0 0 0 0 rgba(238, 175, 31, 0); }
}

.btn-hero-cta svg {
    width: 16px;
    height: 16px;
    animation: cta-arrow-nudge 1.8s ease-in-out infinite;
}

@keyframes cta-arrow-nudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

@media (prefers-reduced-motion: reduce) {
    .btn-hero-cta::before,
    .btn-hero-cta svg {
        animation: none;
    }
}

.hero-wave {
    width: 100%;
    height: 100px;
    margin-top: 22px;
    margin-bottom: -1px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 74' preserveAspectRatio='none'><path fill='%23f3faf5' d='M0 40c240 30 480 34 720 20s480-34 720-6v20H0Z'/></svg>");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: bottom;
}

@media (min-width: 900px) {
    .hero-header {
        padding-top: 48px;
    }

    .hero-logo-wrap {
        margin-bottom: .7em;
    }

    .products-showcase {
        margin: 10px 0 24px;
    }

    .hero-subtext {
        max-width: 600px;
    }
}

/* ============ BENEFIT STRIP ============ */
.benefits-strip {
    width: 100%;
    max-width: clamp(500px, 60vw, 760px);
    padding: 0 14px;
    margin-top: -70px;
    position: relative;
    z-index: 3;
}

.benefits-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 2px 8px 28px rgb(17 69 55 / 10%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: clamp(7px, 1.13vw, 14px) 6px clamp(11px, 1.5vw, 19px);
    text-align: center;
    border-right: 1px solid var(--border);
    background: linear-gradient(142deg, #ffffff, 55%, #d9e3e7);
}

.benefit-item:last-child {
    border-right: none;
}

.benefit-item svg {
    width: clamp(25px, 3.2vw, 42px);
    height: clamp(25px, 3.2vw, 42px);
    color: var(--forest-500);
}

.benefit-item:nth-child(1) svg { color: var(--accent-orange); }
.benefit-item:nth-child(2) svg { color: var(--accent-blue); }
.benefit-item:nth-child(3) svg { color: var(--accent-green); }

.benefit-item strong {
    font-size: clamp(15px, 2.2vw, 28px);
    color: var(--ink-900);
    font-weight: 600;
}

.benefit-item span {
    font-size: clamp(11px, 1.3vw, 15px);
    color: var(--ink-500);
    line-height: 1.2;
}

/* ============ MAIN LAYOUT ============ */
.main-wrapper {
    width: 100%;
    max-width: clamp(500px, 82vw, var(--container-max));
    padding: 0 14px;
}

/* vw = floor*0.1, from mobile ~1000px viewport to desktop */
.section {
    padding: clamp(50px, 5vw, 160px) 0;
    scroll-margin-top: 20px;
}

.section-head {
    text-align: center;
    margin-bottom: clamp(17px, 1.5vw, 30px);
}

.section-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 700;
    color: #04aa0c;
    margin-bottom: 6px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(19px, 1.6vw + 1rem, 34px);
    font-weight: 800;
    color: var(--title-green);
    margin-bottom: 6px;
}

.section-subtitle {
    font-size: clamp(13.5px, 0.5vw + 12px, 16px);
    color: var(--ink-500);
    line-height: 1.5;
    max-width: 510px;
    margin: 0 auto;
}

/* ============ PRIZES ============ */
.main-prize-card,
.prizes-grid {
    max-width: 760px;
    margin-inline: auto;
}

.main-prize-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.65vw, 26px);
    background: linear-gradient(135deg, var(--forest-600), var(--forest-800));
    color: #fff;
    border-radius: var(--radius-md);
    padding: clamp(18px, 2vw, 28px) clamp(16px, 2vw, 26px);
    margin-bottom: 10px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.main-prize-card::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.10), transparent 70%);
}

.main-prize-ribbon {
    position: absolute;
    top: 30px;
    right: -34px;
    transform: rotate(40deg);
    background: var(--gold-500);
    color: var(--forest-900);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 3px 38px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.prize-icon {
    flex-shrink: 0;
    width: clamp(56px, 5vw, 76px);
    height: clamp(56px, 5vw, 76px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prize-icon svg {
    width: clamp(30px, 2.6vw, 40px);
    height: clamp(30px, 2.6vw, 40px);
    color: var(--gold-400);
}

.main-prize-card .prize-count {
    font-family: var(--font-display);
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 800;
    color: var(--gold-400);
    line-height: 1;
    margin-bottom: 2px;
}

.main-prize-card h3 {
    font-size: clamp(15.5px, 1.4vw, 20px);
    font-weight: 700;
    margin-bottom: 2px;
}

.main-prize-card p {
    font-size: clamp(12px, 1vw, 14px);
    opacity: 0.85;
}

.prizes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(10px, 1.4vw, 18px);
}

.prize-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: clamp(16px, 2vw, 26px) 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.prize-card .prize-icon {
    width: clamp(48px, 4.4vw, 66px);
    height: clamp(48px, 4.4vw, 66px);
    margin: 0 auto 8px;
    background: var(--mint-100);
}

.prize-card .prize-icon svg {
    width: clamp(24px, 2.2vw, 32px);
    height: clamp(24px, 2.2vw, 32px);
    color: var(--forest-500);
}

.prize-card .prize-count {
    font-family: var(--font-display);
    font-size: clamp(19px, 1.8vw, 26px);
    font-weight: 800;
    color: var(--forest-500);
    margin-bottom: 2px;
}

.prize-card h3 {
    font-size: clamp(13px, 1.2vw, 16px);
    color: var(--ink-900);
    font-weight: 700;
    margin-bottom: 2px;
}

.prize-card p {
    font-size: clamp(11px, 1vw, 13px);
    color: var(--ink-500);
    line-height: 1.3;
}

/* ============ MECHANICS / STEPS ============ */
.mechanics-band {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(160deg, #def3e6 0%, #c3e0d1 100%);
    padding-top: clamp(32px, 3.2vw, 110px);
    padding-bottom: clamp(64px, 6.4vw, 220px);
    scroll-margin-top: 20px;
}

.mechanics-inner {
    width: 100%;
    max-width: clamp(500px, 82vw, var(--container-max));
    margin-inline: auto;
    padding-inline: 14px;
}

.mechanics-band .section-eyebrow {
    color: #ee8d00;
}

.mechanics-band .section-title {
    color: var(--title-green);
}

.mechanics-section {
    display: flex;
    gap: clamp(8px, 1.6vw, 24px);
    counter-reset: step;
}

.step-item {
    position: relative;
    flex: 1;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: clamp(16px, 2.2vw, 30px) clamp(6px, 1.4vw, 16px) clamp(12px, 1.8vw, 22px);
    text-align: center;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    counter-increment: step;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, border-width 0.25s ease;
}

.step-item:nth-child(1) { --step-accent: var(--accent-orange); }
.step-item:nth-child(2) { --step-accent: var(--accent-blue); }
.step-item:nth-child(3) { --step-accent: var(--accent-green); }

.step-item:hover {
    border-width: 2px;
    border-color: var(--step-accent);
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(23, 64, 42, 0.16);
}

.step-item::before {
    content: counter(step);
    position: absolute;
    top: -0.12em;
    right: -0.08em;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(64px, 9vw, 120px);
    line-height: 1;
    color: var(--mint-100);
    z-index: 0;
    pointer-events: none;
    user-select: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.step-item:hover::before {
    color: color-mix(in srgb, var(--step-accent) 22%, white);
    transform: translateX(-10px);
}

.step-icon,
.step-item p {
    position: relative;
    z-index: 1;
}

.step-icon {
    position: relative;
    width: clamp(44px, 4.4vw, 64px);
    height: clamp(44px, 4.4vw, 64px);
    margin: 0 auto 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest-500), var(--forest-700));
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: clamp(22px, 2.2vw, 32px);
    height: clamp(22px, 2.2vw, 32px);
    color: #fff;
}

.step-num {
    position: absolute;
    top: -5px;
    right: -7px;
    width: 24px;
    height: 24px;
    background: var(--gold-500);
    color: var(--forest-900);
    border-radius: 50%;
    font-weight: 800;
    font-size: 16px;
    line-height: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.step-item p {
    font-size: clamp(11.5px, 1.1vw, 15px);
    color: var(--ink-700);
    line-height: 1.35;
    font-weight: 600;
    max-width: 19em;
    margin-inline: auto;
}

@media (max-width: 680px) {
    .step-item::before {
        display: none;
    }

    .step-item:hover {
        border-width: 1px;
        border-color: var(--border);
        transform: none;
        box-shadow: var(--shadow-lg);
    }
}

/* ============ REGISTRATION FORM ============ */
.registration-section {
    display: none; /* скрита след обявяване на печелившите (#winners) */
    scroll-margin-top: 16px;
    padding-top: clamp(50px, 5vw, 160px);
}

.registration-container {
    max-width: 620px;
    margin-inline: auto;
    background-color: var(--white);
    padding: clamp(24px, 2.4vw, 36px) clamp(18px, 2.4vw, 32px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(18, 51, 33, 0.08);
}

.form-group {
    margin-bottom: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.form-row .form-group {
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 13px;
    color: var(--ink-900);
}

/* .form-group--floating: :focus / :placeholder-shown + (+) */
.form-group--floating {
    position: relative;
}

.form-group--floating > label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
    max-width: calc(100% - 28px);
    margin: 0;
    padding: 0 4px;
    background: transparent;
    color: #9fb0a7;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease, font-size 0.25s ease;
}

.form-group--floating > input:focus + label,
.form-group--floating > input:not(:placeholder-shown) + label {
    top: 0;
    transform: translateY(-50%) scale(0.82);
    background: var(--white);
    color: var(--ink-500);
}

.form-group--floating > input:focus + label {
    color: var(--forest-500);
}

.form-group--floating > input::placeholder {
    color: transparent;
    transition: color 0.18s ease;
}

.form-group--floating > input:focus::placeholder {
    color: #9fb0a7;
}

/* "* requireds"  */
.form-group--floating > input:required:placeholder-shown:not(:focus) {
    border-color: rgba(238, 175, 31, 0.55);
    background-color: #fffaf0;
}

.label-alert {
    color: var(--red-600);
    text-align: center;
    margin-inline: auto;
}

#manualReceiptGroup {
    text-align: center;
    margin-bottom: 24px;
}

.manual-receipt-field {
    display: inline-block;
    max-width: 100%;
}

.manual-receipt-field input {
    width: 100%;
    text-align: center;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--ink-900);
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    background-color: var(--mint-50);
}

input::placeholder {
    color: #9fb0a7;
}

input:focus {
    outline: none;
    border-color: var(--forest-500);
    box-shadow: 0 0 0 4px rgba(39, 79, 59, 0.14);
    background-color: #ffffff;
}

.file-input-hidden {
    display: none !important;
}

.camera-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 14px;
    border: 2px dashed var(--forest-400);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, var(--mint-100), var(--mint-50));
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s, border-color 0.2s, transform 0.1s;
}

.camera-trigger:active {
    background-color: var(--mint-100);
    transform: scale(0.98);
}

.camera-icon {
    border-radius: 50%;
    background: #ffffffb3;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    padding: 8px;
}

.camera-icon svg {
    width: 120px;
    fill: var(--forest-500);
}

.camera-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--forest-600);
    margin-top: 2px;
}

.camera-subtext {
    font-size: 11.5px;
    color: var(--ink-500);
    margin-top: 3px;
    font-weight: 500;
}

.checkbox-group {
    margin-top: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12.5px;
    font-weight: normal;
    color: var(--ink-700);
    line-height: 1.4;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 19px;
    height: 19px;
    margin-top: 1px;
    accent-color: #22771d;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--forest-500);
    font-weight: 600;
    text-decoration: underline;
}

/* Preview Image */
.image-preview-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.image-preview-container img {
    width: 100%;
    display: block;
    border-radius: var(--radius-md);
    margin-top: 8px;
    border: 1px solid var(--border);
    transform: scaleY(0.95);
    transform-origin: top;
    transition: filter 0.25s ease;
}

.image-preview-container.photo-error img {
    filter: brightness(0.55) blur(1.5px);
}

.photo-error-ring {
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-md);
    box-shadow: inset 0 0 0 3px var(--red-600);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.image-preview-container.photo-error .photo-error-ring {
    opacity: 1;
}

.change-photo-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--red-600);
    color: #fff59f;
    padding: 12px 22px;
    border-radius: 18px;
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    cursor: pointer;
    z-index: 10;
    user-select: none;
    transition: transform 0.2s ease;
}

.change-photo-btn:active {
    transform: translateX(-50%) scale(0.94);
}

@media (max-width: 480px) {
    .change-photo-btn {
        max-width: calc(100% - 6px);
        width: 80%;
        white-space: normal;
        line-height: 1.35;
        font-size: 12.5px;
        padding: 15px 13px 15px 13px;
    }
}

/* покана "Имате ли друга бележка" */
.change-photo-btn.suggest {
    background-color: var(--forest-500);
}

.change-photo-btn:not(.suggest) {
    padding-top: 12px;
}

.change-photo-btn:not(.suggest)::before {
    content: '';
    position: absolute;
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--red-600);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='%23ffffff'><path d='M33.9 85.5h3v7.3c0 1.1.7 2 1.8 2.2h41.6c1.3 0 2.2-.9 2.2-2.3v-7.2c.3-.1 2.2-.1 3 0v15.6c0 3.4-2.1 6.6-5.3 7.9q-1.5.6-3.3.6H42.2c-2.1 0-4-.7-5.6-2.1-1.5-1.3-2.5-3-2.8-5-.1-.5-.1-1-.1-1.5V86.1c.2-.3.2-.4.2-.6m25.9 12c-2.3-.1-4.2 1.9-4.3 4.2 0 2.2 1.7 4.3 4.2 4.3s4.3-2 4.2-4.3c.1-2.3-1.9-4.2-4.1-4.2M77.4 56.5c.1 9.6-7.9 17.8-18 17.6-4.8-.1-8.9-2-12.2-5.4s-4.9-7.5-4.9-12.2c0-4.9 1.8-9.2 5.4-12.6 3.5-3.4 7.7-5 12.5-4.9 9.5.1 17.2 7.9 17.2 17.5m-5 4.1c.6-1.6 1-4 .5-6.4-.4-2.1-1.3-4-2.6-5.8-2.5 4.1-4.9 8.1-7.4 12.2zm-7.4-5c1.6-2.7 3.2-5.3 4.8-8-2.2-2.4-4.9-3.8-8.1-4.3-1.2-.2-3.3-.2-3.6.1 2.2 4 4.5 8.1 6.9 12.2m-7.3 6c1.6 2.7 3.1 5.3 4.6 7.9 4.7-.8 8.5-4.4 9.7-7.9zm-7.9 3.3c1.6 1.9 3.5 3.2 5.9 4q2.7.9 5.7.6c-2.4-4.1-4.7-8.1-7.1-12.2-1.6 2.6-3 5.1-4.5 7.6M57 43.5c-2.8.6-5.3 2.1-7.1 4.3-1 1.1-2 2.9-2.1 3.4.6.1 13.3 0 13.6 0-1.5-2.6-2.9-5.1-4.4-7.7m-7.9 20.6c.4-.5 6.8-11.6 6.9-11.9h-8.6c-1.3 4.3-.8 8.2 1.7 11.9M36.9 27.4h-3v-8.6c0-1.9.7-3.6 1.9-5.1q2.25-2.7 5.7-3c.4 0 .7-.1 1.1-.1h34.2c1.4 0 2.8.3 4 .9 1.5.8 2.7 1.9 3.6 3.4.8 1.3 1.2 2.8 1.2 4.4v8.2h-3v-7.1c0-.5-.1-1-.4-1.4-.4-.6-1-.9-1.7-.9H39.3c-.5 0-.9.1-1.3.3-.7.4-1 1.1-1 1.9V27c-.1 0-.1.2-.1.4m22.8-11.5h4.9c.2 0 .3 0 .5-.1.4-.1.7-.5.6-.9 0-.4-.3-.8-.7-.8H54.5c-.5.1-.8.5-.8.9 0 .5.4.8.8.9h5.2M34 35.1h2.9c.1.3.1 42.2 0 42.7h-3c0-.3 0-42.4.1-42.7M82.7 35.1h2.9c.1.3.1 42.1 0 42.7h-3c0-.3 0-42.2.1-42.7'/><path d='M44.5 29.9v2.7H29.4v8.8h-2.7V29.9zM74.9 32.6v-2.7h17.8v11.5H90v-8.7c-5-.1-10-.1-15.1-.1M26.7 83V71.5h2.7v8.8h15V83zM92.7 83H74.9c-.1-.3-.1-2.2 0-2.7H90v-8.8h2.7z'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-position-y: 16px;
    background-size: 70%;
    z-index: -1;
}

.change-photo-btn .cpb-icon {
    position: absolute;
    top: -57px;
    left: calc(50% - 16px);
    transform: translate(-50%, -50%) scaleY(1.5);
    font-size: 22px;
    line-height: 1;
    animation: cpb-icon-flash 1.4s ease-in-out infinite;
}

@keyframes cpb-icon-flash {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    }
    50% {
        filter: brightness(1.8) drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
    }
}

/* (pop + shake) */
.change-photo-btn.cpb-pop {
    animation: cpb-pop 0.5s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes cpb-pop {
    0%   { transform: translateX(-50%) scale(0.85); }
    45%  { transform: translateX(-50%) scale(1.06); }
    65%  { transform: translateX(-54%) scale(1.02); }
    80%  { transform: translateX(-46%) scale(1.02); }
    100% { transform: translateX(-50%) scale(1); }
}

.help-text {
    color: var(--ink-500);
    font-size: 11.5px;
    margin-top: 5px;
    display: block;
}

/* Buttons */
.btn {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, var(--cta-green), var(--forest-700));
    
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.2s, transform 0.1s;
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    filter: brightness(1.06);
}

.btn:active {
    transform: scale(0.99);
}

.btn:disabled {
    background: #a9c2b1;
    cursor: not-allowed;
    filter: none;
}

.btn-success {
    font-size: 14px;
    background: linear-gradient(135deg, var(--success-ink), #009805);
    gap: 4px;
}

.btn-plus-icon {
    color: #d9f0a3;
}

.trust-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-top: 25px;
    font-size: 11px;
    color: var(--ink-500);
    text-align: center;
    line-height: 1.4;
}

.trust-note svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--forest-400);
}

/* Success Card */
.success-card {
    background: var(--success-bg);
    padding: 25px 30px 30px 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--success-border);
    text-align: center;
    scroll-margin-top: 24px; /* scrollIntoView({block:'start'}) from app.js */
}

.success-icon-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto 10px;
}

.success-check {
    width: 64px;
    height: 64px;
    display: block;
    overflow: visible;
}

.success-check__circle {
    stroke: var(--forest-500);
    stroke-width: 3;
    stroke-dasharray: 145;
    stroke-dashoffset: 145;
    animation: success-circle-draw .5s cubic-bezier(.65, 0, .45, 1) forwards;
}

.success-check__mark {
    stroke: var(--forest-500);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 34;
    stroke-dashoffset: 34;
    animation: success-check-draw .35s cubic-bezier(.65, 0, .45, 1) .45s forwards;
}

.confetti-piece {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 10px;
    margin: -5px 0 0 -3.5px;
    opacity: 0;
    animation: confetti-burst .8s ease-out forwards;
}

.confetti-piece:nth-child(odd) { border-radius: 50%; }

.c1  { background: var(--gold-500);   --tx: -90px;  --ty: -48px;  --rot: -110deg; animation-delay: .35s; }
.c2  { background: var(--accent-blue); --tx: -62px;  --ty: -90px;  --rot: 140deg;  animation-delay: .38s; }
.c3  { background: var(--accent-orange); --tx: -20px; --ty: -104px; --rot: -150deg; animation-delay: .32s; }
.c4  { background: var(--gold-400);   --tx: 28px;   --ty: -100px; --rot: 90deg;   animation-delay: .40s; }
.c5  { background: var(--accent-green); --tx: 70px;   --ty: -76px;  --rot: -80deg;  animation-delay: .34s; }
.c6  { background: var(--forest-400); --tx: 95px;   --ty: -35px;  --rot: 160deg;  animation-delay: .42s; }
.c7  { background: var(--gold-600);   --tx: 98px;   --ty: 14px;   --rot: -140deg; animation-delay: .36s; }
.c8  { background: var(--accent-blue); --tx: 77px;   --ty: 63px;   --rot: 100deg;  animation-delay: .44s; }
.c9  { background: var(--gold-500);   --tx: 28px;   --ty: 91px;   --rot: -200deg; animation-delay: .33s; }
.c10 { background: var(--accent-orange); --tx: -28px; --ty: 95px;   --rot: 120deg;  animation-delay: .41s; }
.c11 { background: var(--accent-green); --tx: -77px;  --ty: 67px;   --rot: -100deg; animation-delay: .37s; }
.c12 { background: var(--gold-400);   --tx: -98px;  --ty: 21px;   --rot: 80deg;   animation-delay: .43s; }

@keyframes success-circle-draw {
    to { stroke-dashoffset: 0; }
}

@keyframes success-check-draw {
    to { stroke-dashoffset: 0; }
}

@keyframes confetti-burst {
    0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
    65% { opacity: 1; }
    100% { opacity: 0; transform: translate(var(--tx), calc(var(--ty) + 35px)) rotate(var(--rot)) scale(.6); }
}

@media (prefers-reduced-motion: reduce) {
    .success-check__circle,
    .success-check__mark,
    .confetti-piece {
        animation: none;
    }
    .success-check__circle,
    .success-check__mark {
        stroke-dashoffset: 0;
    }
}

.success-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--success-ink);
    margin-bottom: 10px;
}

.success-subtitle {
    font-size: 13.5px;
    color: var(--ink-700);
    font-weight: 500;
}

.success-code {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--forest-600);
    margin: 14px 0;
    padding: 12px 12px 10px 12px;
    background: #ffffff;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--forest-500);
    word-break: normal;
    overflow-wrap: break-word;
}

.success-note {
    font-size: 13.5px;
    color: var(--ink-700);
    margin-bottom: 22px;
    font-weight: 500;
}

/* Съобщението на мястото на формата след края на играта (index.html #registration) */
.success-card--end-game {
    /* светло в центъра → златисто към краищата */
    background: radial-gradient(ellipse at 50% 40%, rgb(238 175 31 / 6%) 0%, rgb(238 175 31 / 28%) 100%);
    border-color: rgb(238 175 31 / 50%);
}

.end-game-note {
    font-size: 14px;
    color: #0c2317;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    margin-top: 13px;
    hyphens: auto;
}

.share-cta {
    background: #f5faf5;
    /* border: 1px solid var(--success-border); */
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 8px;
}

.share-cta-text {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-500);
    margin-bottom: 12px;
}

.share-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.share-btn svg {
    width: 28px;
    height: 28px;
}

.share-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: var(--shadow-md);
}

.share-btn--fb {
    background: #1877f2;
}

.share-btn--whatsapp {
    background: #25d366;
}

.share-btn--viber {
    background: #7360f2;
}

#statusDiv {
    margin-top: 12px;
    text-align: center;
    font-size: 13.5px;
}

.status-message {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    text-align: center;
}

.status-message.info {
    background: var(--info-bg);
    color: var(--info-ink);
}

.status-message.error {
    background: var(--error-bg);
    color: var(--error);
    margin-top: 20px !important;
    margin-bottom: 35px;
}

/* Spinner Animation */
.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: btn-spin 0.8s linear infinite;
    margin-right: 8px;
}

@keyframes btn-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* restrict hide green btn */
#submitBtn:has(~ #statusDiv:not(:empty)) {
    display: none !important;
}


/* ============ FOOTER ============ */
.main-footer {
    width: 100%;
    background: var(--forest-900);
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    padding: clamp(40px, 5vw, 64px) 16px;
    margin-top: clamp(40px, 4vw, 140px);
}

.footer-badges {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.footer-deadline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(238, 175, 31, 0.4);
    color: var(--gold-400);
    font-weight: 700;
    font-size: clamp(12px, 1vw, 14px);
    padding: 8px 18px;
    border-radius: 999px;
}

.footer-deadline strong {
    color: #ffffff;
    margin-left: auto;
}

.footer-deadline svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.footer-deadline--draw {
    border-color: rgba(255, 255, 255, 0.22);
}

.footer-rules-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    width: 100%;
    box-sizing: border-box;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(12.5px, 1vw, 14.5px);
    padding: 8px 20px;
    border-radius: 999px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.footer-rules-link:hover {
    background: var(--footer-hover-green);
    border-color: rgba(255, 255, 255, 0.45);
}

.footer-rules-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .footer-deadline {
        font-size: 11px;
    }

    .footer-rules-link {
        font-size: 11.5px;
    }
}

.main-footer p {
    font-size: clamp(11.5px, 0.7vw + 9px, 13px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
    max-width: 440px;
    margin-inline: auto;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.footer-social-link svg {
    width: 14px;
    height: 14px;
}

.footer-social-link:hover {
    color: var(--gold-400);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.footer-social-link.footer-social-link--facebook:hover {
    color: #ffffff;
    background: var(--brand-facebook);
    border-color: var(--brand-facebook);
}

.footer-social-link.footer-social-link--whatsapp:hover {
    color: #ffffff;
    background: var(--brand-whatsapp);
    border-color: var(--brand-whatsapp);
}

.footer-social-link.footer-social-link--viber:hover {
    color: #ffffff;
    background: var(--brand-viber);
    border-color: var(--brand-viber);
}

.footer-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.footer-col-right {
    display: none;
}

@media (min-width: 880px) {
    .footer-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 82px;
        width: fit-content;
        margin-inline: auto;
        margin-bottom: 45px;
        position: relative;
    }

    .footer-columns::after {
        content: '';
        position: absolute;
        top: 6px;
        bottom: 6px;
        left: 50%;
        width: 1px;
        background: rgba(255, 255, 255, 0.21);
    }

    .footer-col-left {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        text-align: left;
    }

    .footer-col-right {
        display: block;
        text-align: left;
    }

    .footer-qr-block {
        display: flex;
        align-items: center;
        gap: 18px;
        padding-left: 5.5px;
    }

    .footer-qr {
        flex-shrink: 0;
        width: 134px;
        height: 134px;
        padding: 8px;
        background: #ffffff;
        border-radius: 12px;
    }

    .footer-qr-block .footer-qr-text {
        margin: 0;
        max-width: 210px;
        color: rgba(255, 255, 255, 0.65);
        font-size: 12.5px;
        line-height: 1.5;
    }
}

.footer-note a {text-decoration: none;}
.footer-note a:hover {color: white;}


.rules-dialog {
    width: 92vw;
    height: 88vh;
    max-width: 720px;
    margin: auto;
    padding: 0;
    border: none;
    border-radius: var(--radius-lg);
    background: var(--white);
    color: var(--ink-900);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.rules-dialog::backdrop {
    background: rgba(12, 35, 23, 0.55);
    backdrop-filter: blur(2px);
}

.rules-dialog-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--mint-100);
    color: var(--forest-800);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.rules-dialog-close:hover {
    background: var(--border);
}

.rules-dialog-content {
    height: 100%;
    overflow-y: auto;
    padding: 24px 28px 36px;
    text-align: left;
    font-size: 14px;
    line-height: 1.65;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.rules-dialog-content::-webkit-scrollbar {
    width: 8px;
}

.rules-dialog-content::-webkit-scrollbar-track {
    background: transparent;
}

.rules-dialog-content::-webkit-scrollbar-thumb {
    background: rgba(18, 51, 33, 0.15);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.rules-dialog-content:hover::-webkit-scrollbar-thumb {
    background: rgba(18, 51, 33, 0.55);
}

.rules-dialog-content h1 {
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.35;
    text-align: center;
    margin: 0 0 22px;
    color: var(--forest-800);
}

.rules-dialog-content h2 {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--forest-700);
    margin-top: 24px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 6px;
}

.rules-dialog-content p,
.rules-dialog-content ul {
    margin: 10px 0;
    color: #000000;
    hyphens: auto;
}

.rules-dialog-content ul {
    padding-left: 18px;
}

.rules-dialog-content li {
    margin-bottom: 6px;
}

.rules-dialog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.rules-dialog-content th,
.rules-dialog-content td {
    border: 1px solid var(--border);
    padding: 6px 10px;
    text-align: left;
}

.rules-dialog-content th {
    background: var(--mint-100);
}

.rules-dialog-content strong {
    color: var(--forest-800);
}

.rules-dialog-loading {
    text-align: center;
    color: var(--ink-500);
}

/* ============ STICKY CTA ============ */
.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 22px rgba(12, 35, 23, 0.10);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.is-visible {
    transform: translateY(0);
}

@media (min-width: 900px) {
    .sticky-cta {
        display: none;
    }
}

.sticky-cta-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.sticky-cta-text strong {
    font-size: 13px;
    color: var(--ink-900);
}

.sticky-cta-text span {
    font-size: 10.5px;
    color: var(--ink-500);
}

.btn-sticky {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--forest-500), var(--forest-700));
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    padding: 11px 18px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
}

.btn-sticky svg {
    width: 14px;
    height: 14px;
}

/* ============ NAV TOGGLE + DRAWER ============ */
body.nav-open {
    overflow: hidden;
}

.nav-toggle {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    right: 13px;
    z-index: 1002;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-toggle.is-solid {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-md);
}

.nav-toggle-bar {
    width: 24px;
    height: 2.5px;
    border-radius: 2px;
    background: #ffffff;
    transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.25s ease;
}

.nav-toggle.is-solid .nav-toggle-bar {
    background: var(--forest-600);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
    background: var(--forest-600);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 35, 23, 0.5);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(78vw, 320px);
    background: #ffffff;
    z-index: 1001;
    box-shadow: -12px 0 36px rgba(12, 35, 23, 0.18);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 22px 20px calc(20px + env(safe-area-inset-bottom));
}

.site-nav.is-open {
    transform: translateX(0);
}

.site-nav-head {
    margin-bottom: 18px;
}

.site-nav-logo {
    width: 120px;
    height: auto;
    margin-left: 8px;
}

.site-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-link {
    display: block;
    padding: 15px 10px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--ink-900);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}

.nav-link:active {
    background: var(--mint-100);
}

.nav-link.nav-link-cta {
    background: linear-gradient(135deg, var(--cta-green), var(--forest-700));
    color: #ffffff;
    text-align: center;
    border-radius: 999px;
    border-bottom: none;
    margin-top: 10px;
}

.nav-link.nav-link-cta:active {
    background: var(--forest-600);
}

.nav-link.nav-link-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #171f19;
    border-bottom: none;
    border-top: 1px solid var(--border);
    border-radius: 0;
    margin-top: 8px;
    padding-top: 18px;
}

.nav-link.nav-link-secondary svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--ink-500);
}

/* ============ WINNERS ============ */
.winners-section {
    scroll-margin-top: 16px;
}

.winners-groups {
    max-width: 760px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.4vw, 18px);
}

.winners-group {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: clamp(16px, 2vw, 26px) clamp(16px, 2vw, 26px);
    box-shadow: var(--shadow-sm);
}

.winners-group-head {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.4vw, 18px);
    padding-bottom: clamp(12px, 1.2vw, 16px);
    margin-bottom: clamp(12px, 1.2vw, 16px);
    border-bottom: 1px solid var(--border);
}

.winners-group .prize-icon {
    width: clamp(48px, 4.4vw, 60px);
    height: clamp(48px, 4.4vw, 60px);
    background: var(--mint-100);
}

.winners-group .prize-icon svg {
    width: clamp(24px, 2.2vw, 30px);
    height: clamp(24px, 2.2vw, 30px);
    color: var(--forest-500);
}

.winners-group-title {
    font-size: clamp(15px, 1.3vw, 19px);
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1.25;
    margin-bottom: 2px;
}

.winners-group-count {
    font-size: clamp(12px, 1vw, 13.5px);
    font-weight: 600;
    color: var(--ink-500);
}

.winners-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 6px 16px;
}

.winners-list li {
    position: relative;
    padding-left: 14px;
    font-size: clamp(13.5px, 1.1vw, 15px);
    font-weight: 500;
    color: var(--ink-700);
}

.winners-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-500);
}

/* СПА уикенд — топ наградата, в стила на .main-prize-card */
.winners-group--top {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--forest-600), var(--forest-800));
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.winners-group--top::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.10), transparent 70%);
    pointer-events: none;
}

.winners-group--top .winners-group-head {
    border-bottom-color: rgba(255, 255, 255, 0.15);
    padding-right: 56px; /* място за лентата „Топ награда“ */
}

.winners-group--top .prize-icon {
    background: rgba(255, 255, 255, 0.14);
}

.winners-group--top .prize-icon svg {
    color: var(--gold-400);
}

.winners-group--top .winners-group-title {
    color: #fff;
}

.winners-group--top .winners-group-count {
    color: var(--gold-400);
}

/* двете имена като равни плочки по цялата ширина */
.winners-group--top .winners-list {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(10px, 1.2vw, 14px);
}

.winners-group--top .winners-list li {
    padding: clamp(12px, 1.2vw, 16px) 16px clamp(12px, 1.2vw, 16px) 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgb(248 206 99 / 45%);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: clamp(15px, 1.3vw, 18px);
    font-weight: 700;
}

.winners-group--top .winners-list li::before {
    content: '★';
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: var(--gold-400);
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 480px) {
    .winners-group--top .winners-list {
        grid-template-columns: 1fr;
    }
}

/* ============ RESPONSIVE ============ */

.title-break {display: none;}

@media (max-width: 708px) {
    .title-break {display: inline;}
}
@media (min-width: 400px) {
    .products-showcase {gap: 18px;}
}
@media (max-width: 348px) {
    .benefit-item strong {font-size: 13.5px;}
}
