/* ========== Base / tokens ========== */
:root {
    --brand-black: #000;
    --brand-yellow: #ffdc1e;
    --header-max-width: 1280px;
    --header-side-padding: clamp(18px, 4.5vw, 64px);
    --caravana-mobile-header-h: 84px;
    --sunrays-image: url("/campanii/caravana-din-dragoste/img/sunrays.jpg");
    --sunrays-width: clamp(1280px, 118vw, 4200px);
    --sunrays-render-width: max(100vw, var(--sunrays-width));
    --sunrays-opacity: 0.1;
    --sunrays-scale-y: 1.12;
    --sunrays-center-y: 50vh;
    --sunrays-half-height-ratio: 0.4267578125;
    --sunrays-top: calc(var(--sunrays-center-y) - (var(--sunrays-render-width) * var(--sunrays-half-height-ratio)));
    --sunrays-fade: radial-gradient(ellipse 116% 86% at 50% 50%, #000 58%, transparent 100%);
    --sunrays-glow-width: clamp(620px, 66vw, 1220px);
    --sunrays-glow-height: clamp(420px, 56vh, 860px);
    --sunrays-glow-opacity: 0.95;
    --sunrays-glow: radial-gradient(50% 50% at 50% 50%, #fffbe8 0%, #ffefb0 38%, rgba(255, 220, 30, 0) 100%);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    min-height: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: #111;
    background-color: var(--brand-yellow);
}

body.menu-open {
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: var(--sunrays-top);
    left: 50%;
    width: var(--sunrays-render-width);
    aspect-ratio: 4096 / 3496;
    transform: translateX(-50%) scaleY(var(--sunrays-scale-y));
    transform-origin: center center;
    background-image: var(--sunrays-image);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    opacity: var(--sunrays-opacity);
    filter: saturate(0);
    mix-blend-mode: luminosity;
    -webkit-mask-image: var(--sunrays-fade);
    mask-image: var(--sunrays-fade);
    pointer-events: none;
    z-index: 1;
}

body::after {
    content: "";
    position: fixed;
    left: 50%;
    top: var(--sunrays-center-y);
    width: var(--sunrays-glow-width);
    height: var(--sunrays-glow-height);
    transform: translate(-50%, -50%);
    background: var(--sunrays-glow);
    opacity: var(--sunrays-glow-opacity);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 2;
}

#content {
    flex: 1 0 auto;
}

.btn {
    width: min(480px, 100%);
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    font: 400 16px / 150% "Roboto", system-ui, sans-serif;
    padding: 0;
}

.btn:hover,
.btn:focus {
    filter: brightness(0.97);
}

.form-error {
    color: #c50000;
}

.caravana-view[hidden] {
    display: none !important;
}

body:not(.caravana-ready) .caravana-view {
    display: none !important;
}

.caravana-flash {
    width: 100%;
    border: 1px solid #000;
    padding: 10px 12px;
    font-family: "Roboto", "Jost", system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.35;
    text-align: center;
    white-space: pre-line;
}

.caravana-flash--success {
    background: rgba(59, 178, 115, 0.18);
}

.caravana-flash--error {
    background: rgba(197, 0, 0, 0.13);
}

/* ========== Header ========== */
.site-header {
    background: transparent;
    padding: clamp(20px, 3.5vw, 42px) 0;
    position: relative;
    z-index: 70;
}

.nav-outer {
    width: 100%;
    padding-inline: var(--header-side-padding);
}

.nav-inner {
    max-width: var(--header-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    z-index: 71;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand img {
    display: block;
    width: clamp(160px, 20vw, 280px);
    height: auto;
}

.main-menu {
    margin-left: auto;
}

.menu-hero-visual {
    display: none;
}

.menu-overlay-footer {
    display: none;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    background: #000;
    color: #fff;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.nav-toggle-bars {
    width: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle-bars span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center center;
}

.main-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(12px, 1.25vw, 22px);
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.main-menu a {
    color: var(--brand-black);
    font-size: clamp(12px, 0.92vw, 16px);
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.main-menu a.is-active {
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 700;
}

.main-menu a:hover,
.main-menu a:focus {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.live-link,
.live-form-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: #fff;
    font-size: clamp(12px, 0.92vw, 16px);
    line-height: 1;
    white-space: nowrap;
}

.live-link svg,
.live-form-link svg {
    flex: 0 0 auto;
    overflow: visible;
}

.live-link svg {
    width: 19px;
    height: 19px;
}

.live-form-link svg {
    width: 21px;
    height: 21px;
}

.live-link:hover,
.live-link:focus,
.live-form-link:hover,
.live-form-link:focus {
    text-decoration: none;
    filter: brightness(0.96);
}

.live-link.is-active,
.live-form-link.is-active {
    box-shadow: 0 0 0 2px #000;
}

.site-footer {
    background: #000;
    color: #fff;
    padding: 36px 0 42px;
    margin-top: auto;
}

.footer-inner {
    width: min(100%, 1440px);
    max-width: 1440px;
    margin: 0 auto;
    padding-inline: clamp(24px, 5vw, 86px);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 44px;
}

.footer-left p {
    font-family: "Roboto", "Jost", system-ui, sans-serif;
    font-size: 12px;
    line-height: 1.3;
    margin: 0;
    white-space: nowrap;
}

.footer-left .credits {
    font-family: "Roboto", "Jost", system-ui, sans-serif;
    font-size: 12px;
    color: white;
    margin-top: 2px;
    display: block;
}

.footer-left .credits-heart {
    color: #ff3b30;
}

.footer-left .credits > a {
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.footer-menu-list {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.25vw, 22px);
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    justify-content: flex-end;
    max-width: none;
    white-space: nowrap;
}

.footer-menu a {
    font-family: "Jost", system-ui, sans-serif;
    font-size: clamp(12px, 0.92vw, 16px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
}

.footer-menu-link {
    padding-top: 2px;
}

.footer-menu a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-menu a.is-active {
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 700;
}

.footer-menu .footer-live-link,
.footer-menu .footer-live-form-link {
    color: #000;
    text-transform: none;
    border: 0;
    background: #fff;
    padding: 12px 14px;
    min-height: 48px;
    font-size: clamp(12px, 0.92vw, 16px);
    font-weight: 600;
    letter-spacing: 0;
    box-shadow: none;
}

.footer-menu-action {
    margin-left: 2px;
}

.footer-menu .footer-live-link.is-active,
.footer-menu .footer-live-form-link.is-active {
    box-shadow: 0 0 0 2px #ffdc1e;
}

.footer-menu .footer-live-link:hover,
.footer-menu .footer-live-link:focus,
.footer-menu .footer-live-form-link:hover,
.footer-menu .footer-live-form-link:focus {
    text-decoration: none;
    filter: brightness(0.96);
}

@media (max-width: 900px) {
    .nav-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .main-menu {
        width: 100%;
    }

    .main-menu ul {
        width: 100%;
        justify-content: flex-start;
        gap: 14px;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .footer-menu-list {
        justify-content: flex-start;
        max-width: none;
        flex-wrap: wrap;
    }

    .footer-left p {
        white-space: normal;
    }
}

@media (max-width: 640px),
    (max-width: 1024px) and (max-height: 520px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
    :root {
        --sunrays-width: clamp(1000px, 178vw, 2200px);
        --sunrays-opacity: 0.12;
        --sunrays-scale-y: 1.08;
        --sunrays-center-y: 48vh;
        --sunrays-fade: radial-gradient(ellipse 128% 90% at 50% 50%, #000 56%, transparent 100%);
        --sunrays-glow-width: clamp(360px, 90vw, 760px);
        --sunrays-glow-height: clamp(300px, 52vh, 580px);
        --sunrays-glow-opacity: 0.92;
    }

    .site-header {
        padding: 16px 0 12px;
    }

    .nav-outer {
        padding-inline: 14px;
    }

    .nav-inner {
        position: relative;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .brand img {
        width: clamp(100px, 34vw, 132px);
    }

    .nav-toggle {
        display: inline-flex;
        flex: 0 0 auto;
    }

    body.menu-open .nav-toggle-bars span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    body.menu-open .nav-toggle-bars span:nth-child(2) {
        opacity: 0;
    }

    body.menu-open .nav-toggle-bars span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .main-menu {
        position: fixed;
        top: var(--caravana-mobile-header-h);
        left: 0;
        right: 0;
        bottom: 0;
        margin-left: 0;
        display: none;
        z-index: 60;
        background: var(--brand-yellow);
        padding: 34px 0 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.menu-open .main-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .main-menu ul {
        width: min(400px, 100%);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 30px;
        background: transparent;
        border: 0;
        padding: 0 52px;
        margin: 0 auto;
        flex: 0 0 auto;
    }

    .main-menu li {
        width: 100%;
    }

    .main-menu a {
        display: inline-flex;
        align-items: center;
        width: auto;
        color: #000;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.45;
        padding: 0;
        text-decoration: none;
    }

    .main-menu a:hover,
    .main-menu a:focus {
        text-decoration: none;
    }

    .main-menu .live-link,
    .main-menu .live-form-link {
        margin: 4px 0 0;
        width: 100%;
        max-width: 248px;
        justify-content: center;
        color: #000;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.1);
        padding: 12px 16px;
        font-size: 15px;
        line-height: 1;
    }

    .main-menu .live-link.is-active,
    .main-menu .live-form-link.is-active {
        box-shadow: 0 0 0 2px #000;
    }

    .menu-hero-visual {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        flex: 0 0 auto;
        margin: 26px auto 18px;
        overflow: visible;
    }

    .menu-hero-visual img {
        display: block;
        width: 132%;
        max-width: none;
        height: auto;
        margin: 0 auto;
        transform: none;
    }

    .menu-overlay-footer {
        display: block;
        width: 100%;
        background: #000;
        color: #fff;
        text-align: center;
        padding: 12px 14px 14px;
        flex: 0 0 auto;
        margin-top: auto;
        box-shadow: 0 1px 0 #000;
    }

    .menu-overlay-footer p {
        margin: 0;
        font-family: "Roboto", "Jost", system-ui, sans-serif;
        font-size: 14px;
        line-height: 1.5;
    }

    .menu-overlay-footer .credits {
        margin-top: 2px;
        display: block;
        font-family: "Roboto", "Jost", system-ui, sans-serif;
        font-size: 14px;
        line-height: 1.5;
        color: #fff;
    }

    .menu-overlay-footer .credits a {
        color: #fff;
        text-decoration: none;
        font-weight: 700;
        font-size: inherit;
        line-height: inherit;
    }

    .footer-menu-list {
        gap: 16px;
    }

    .footer-menu .footer-live-link,
    .footer-menu .footer-live-form-link {
        width: 100%;
        justify-content: center;
    }
}

/* CONTENT STYLES */
/* ===== Yellow section (Layout / 141) ===== */
.section-yellow {
    isolation: isolate;
    background: transparent;
    padding: clamp(8px, 1.6vw, 22px) 0 clamp(56px, 8vw, 112px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(24px, 3.6vw, 56px);
    position: relative;
}

.section-live {
    text-align: center;
}

.live-container {
    width: min(920px, 100%);
    margin: 0 auto;
    padding-inline: clamp(14px, 2.4vw, 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(14px, 2vw, 24px);
}

.live-head h1 {
    margin: 0 0 8px;
    font-family: "Ubuntu", "Jost", system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(30px, 3.8vw, 44px);
    line-height: 1.2;
    color: #000;
}

.live-head h2 {
    margin: 0 0 12px;
    font-family: "Ubuntu", "Jost", system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #000;
}

.live-head p {
    margin: 0;
    font-family: "Roboto", "Jost", system-ui, sans-serif;
    font-size: clamp(15px, 1.7vw, 18px);
    line-height: 1.45;
    color: #000;
}

.live-actions {
    margin-top: clamp(10px, 2vw, 18px);
}

.section-signup-page {
    isolation: isolate;
    background: transparent;
    padding: clamp(18px, 2.4vw, 30px) 0 clamp(52px, 7vw, 96px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(42px, 6vw, 72px);
}

.signup-page-container {
    width: min(520px, 100%);
    margin: 0 auto;
    padding-inline: clamp(14px, 2.4vw, 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(20px, 2.6vw, 28px);
}

.signup-page-head {
    width: 100%;
    text-align: center;
}

.signup-page-head h1 {
    margin: 0 0 10px;
    font-family: "Ubuntu", "Jost", system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(34px, 4.2vw, 48px);
    line-height: 1.2;
    color: #000;
}

.signup-page-head p {
    margin: 0;
    font-family: "Roboto", "Jost", system-ui, sans-serif;
    font-size: clamp(14px, 1.45vw, 17px);
    font-weight: 400;
    line-height: 1.4;
    color: #000;
}

.signup-page-container-closed {
    width: min(680px, 100%);
    gap: clamp(18px, 2.8vw, 28px);
    padding-top: clamp(8px, 1.8vw, 18px);
}

.signup-page-head-closed h1 {
    font-family: "Ubuntu", "Jost", system-ui, sans-serif;
    font-size: clamp(30px, 3.8vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
}

.signup-page-head-closed p,
.signup-page-head-closed-note p {
    font-family: "Roboto", "Jost", system-ui, sans-serif;
    font-size: clamp(15px, 1.7vw, 18px);
    font-weight: 400;
    line-height: 1.45;
}

.form-actions-closed .btn {
    width: min(480px, 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.form-actions-closed .btn-cta-secondary {
    width: min(206px, 100%);
    min-width: 206px;
    min-height: 48px;
    height: auto;
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: #fff;
    color: #000;
    font-family: "Jost", system-ui, sans-serif;
    font-size: clamp(12px, 0.92vw, 16px);
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.winners-section {
    padding: clamp(24px, 3vw, 40px) var(--header-side-padding) clamp(72px, 8vw, 110px);
}

.winners-wrap {
    max-width: var(--header-max-width);
    margin: 0 auto;
}

.winners-table-card {
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: rgba(255, 251, 232, 0.76);
    backdrop-filter: blur(4px);
    overflow: hidden;
}

.winners-table-scroll {
    overflow-x: auto;
}

.winners-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}

.winners-table th,
.winners-table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
    text-align: left;
    vertical-align: top;
    font-size: 16px;
    line-height: 1.4;
}

.winners-table th {
    font-family: "Ubuntu", "Jost", system-ui, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 220, 30, 0.4);
}

.winners-table td {
    font-family: "Jost", system-ui, sans-serif;
    font-weight: 400;
}

.winners-table tbody tr:last-child td {
    border-bottom: 0;
}

.winners-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    background: #000;
    color: #fff;
    font-family: "Roboto", "Jost", system-ui, sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.35;
}

.winners-empty {
    padding: 28px 24px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: rgba(255, 251, 232, 0.76);
    font-family: "Roboto", "Jost", system-ui, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.45;
}

@media (max-width: 640px) {
    .winners-section {
        padding-top: 12px;
        padding-bottom: 56px;
    }

    .winners-table th,
    .winners-table td {
        padding: 14px 12px;
        font-size: 14px;
    }
}

.hero-visual {
    width: min(899px, calc(100% - 28px));
    margin: 0 auto;
}

.hero-visual-signup {
    margin-top: clamp(2px, 1vw, 12px);
}

.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.landing-container {
    width: min(920px, 100%);
    margin: 0 auto;
    padding-inline: clamp(14px, 2.4vw, 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(36px, 5vw, 64px);
}

.campaign-copy {
    width: 100%;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(24px, 3vw, 38px);
    text-align: center;
    font-family: "Ubuntu", "Jost", system-ui, sans-serif;
    color: #000;
}

.campaign-title,
.campaign-subtitle,
.campaign-prizes,
.campaign-prize-main {
    margin: 0;
    font-weight: 700;
    font-size: clamp(36px, 4.2vw, 48px);
    line-height: 1.2;
}

.campaign-prizes,
.campaign-prize-main {
    text-transform: uppercase;
}

.campaign-body {
    margin: 0;
    font-weight: 500;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
}

.campaign-prize {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.campaign-prize-note {
    margin: 0;
    font-weight: 700;
    font-size: clamp(34px, 3.8vw, 48px);
    line-height: 1.2;
}

.underline-vector {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.underline-vector::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: clamp(150px, 34vw, 232px);
    height: 10px;
    transform: translateX(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 232 10' fill='none'%3E%3Cpath d='M225.452 8.07713C230.324 8.44628 232.474 9.0857 231.915 10.002C214.203 7.84641 196.761 6.1391 178.496 5.20963C128.594 2.67173 81.5725 3.73303 36.1679 7.51682C25.8391 8.38036 16.5952 9.26369 5.85216 9.34279C3.78114 9.35597 1.53919 8.55835 0.592434 7.89256C-3.64165 4.93277 16.0363 3.36388 21.0396 2.95518C83.0584 -2.11403 156.846 -0.82201 225.452 8.07713Z' fill='%23221F1F'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.campaign-cta {
    margin-top: clamp(10px, 2vw, 18px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.btn-cta {
    width: clamp(280px, 34vw, 480px);
}

.btn-cta-secondary {
    width: clamp(280px, 34vw, 480px);
    background: #fff;
    color: #000;
}

.signup-form {
    width: min(760px, 100%);
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2vw, 24px);
}

.signup-form-standalone {
    width: min(480px, 100%);
    gap: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 1.4vw, 16px);
}

.form-grid-single {
    grid-template-columns: 1fr;
    gap: 10px;
}

.form-grid .form-field:last-child {
    grid-column: 1 / -1;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-field label {
    font-family: "Ubuntu", "Jost", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
}

.form-field-note {
    margin: 2px 0 0;
    font-family: "Roboto", "Jost", system-ui, sans-serif;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(0, 0, 0, 0.88);
}

.form-field input {
    width: 100%;
    height: 48px;
    border: 1px solid #221f1f;
    background: rgba(255, 255, 255, 0.85);
    color: #000;
    padding: 0 14px;
    font-family: "Jost", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.2;
}

.form-field input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(34, 31, 31, 0.15);
}

.form-field-checkbox {
    gap: 12px;
    font-family: "Roboto", "Jost", system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.form-field-checkbox a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.checkbox-card {
    position: relative;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    width: 100%;
    min-height: 60px;
    padding: 13px 14px;
    border: 1px solid rgba(73, 62, 23, 0.34);
    background: rgba(241, 236, 214, 0.88);
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.checkbox-card:hover {
    background: rgba(245, 239, 221, 0.96);
    border-color: rgba(73, 62, 23, 0.44);
}

.checkbox-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-indicator {
    position: relative;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border: 1px solid #000;
    background: #f7f3df;
}

.checkbox-indicator::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 5px;
    width: 7px;
    height: 12px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    opacity: 0;
    transform: rotate(45deg);
}

.checkbox-copy {
    display: block;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

.checkbox-card input[type="checkbox"]:checked + .checkbox-indicator {
    background: #f7f3df;
}

.checkbox-card input[type="checkbox"]:checked + .checkbox-indicator::after {
    opacity: 1;
}

.checkbox-card input[type="checkbox"]:focus + .checkbox-indicator,
.checkbox-card:focus-within {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.18);
}

#caravana-register-form .upload-row,
#caravana-live-register-form .upload-row {
    grid-template-columns: 1fr;
    gap: 8px;
}

#caravana-register-form .upload-btn,
#caravana-live-register-form .upload-btn {
    min-height: 50px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 400;
}

#caravana-register-form .upload-btn--light,
#caravana-live-register-form .upload-btn--light {
    background: #fff;
    color: #000;
}

#caravana-register-form .upload-btn--dark,
#caravana-live-register-form .upload-btn--dark {
    justify-content: flex-start;
}

#caravana-register-form .form-field-checkbox,
#caravana-live-register-form .form-field-checkbox {
    gap: 16px;
}

#caravana-register-form .checkbox-card,
#caravana-live-register-form .checkbox-card {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

#caravana-register-form .checkbox-card:hover,
#caravana-live-register-form .checkbox-card:hover {
    background: transparent;
    border-color: transparent;
}

#caravana-register-form .checkbox-indicator,
#caravana-live-register-form .checkbox-indicator {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background: #fff;
}

#caravana-register-form .checkbox-copy,
#caravana-live-register-form .checkbox-copy {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
}

#caravana-register-form .checkbox-card + .form-error,
#caravana-live-register-form .checkbox-card + .form-error {
    margin-top: 2px;
}

.upload-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.upload-btn {
    position: relative;
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    box-sizing: border-box;
    border: 1px solid #000;
    cursor: pointer;
    user-select: none;
    font: 500 16px/1.15 "Roboto", system-ui, sans-serif;
}

.upload-btn svg {
    flex: 0 0 24px;
}

.upload-btn input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-btn--light {
    background: #d9d9d9;
    color: rgba(0, 0, 0, 0.55);
}

.upload-btn--dark {
    background: #000;
    color: #fff;
}

.upload-btn--dark svg path {
    fill: #ffdc1e;
}

.file-previews {
    margin-top: 0.5rem;
    display: grid;
    gap: 0.5rem;
}

.file-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e5e5;
}

.file-chip img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    flex: none;
}

.file-chip .meta {
    line-height: 1.2;
}

.file-chip .name {
    font-weight: 600;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-chip .size {
    font-size: 0.85em;
    opacity: 0.7;
}

.file-chip .remove {
    margin-left: auto;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
}

.ui-datepicker {
    padding: 10px 10px 8px;
    border: 1px solid #221f1f;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    border-radius: 6px;
    font-family: "Roboto", "Jost", system-ui, sans-serif;
    z-index: 9999 !important;
}

.ui-datepicker .ui-datepicker-header {
    border: 1px solid #221f1f;
    background: #fff;
    color: #111;
    border-radius: 6px;
    padding: 6px 8px;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    top: 6px;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    border: 1px solid #221f1f;
    background: #fff;
}

.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
    background: #ffdc1e;
}

.ui-datepicker .ui-datepicker-title select {
    background: #fffef8;
    color: #111;
    border: 1px solid #221f1f;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 12px;
    margin: 0 4px;
}

.ui-datepicker table {
    margin: 8px 0 4px;
    font-size: 13px;
}

.ui-datepicker th {
    color: #111;
    font-weight: 600;
    padding: 4px 0 6px;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.04em;
}

.ui-datepicker td span,
.ui-datepicker td a {
    text-align: center;
    border-radius: 6px;
    padding: 4px 0;
}

.ui-datepicker .ui-state-default {
    background: #fffef8;
    border: 1px solid #221f1f;
    color: #111;
}

.ui-datepicker .ui-state-hover {
    background: #ffdc1e;
    border-color: #221f1f;
    color: #111;
}

.ui-datepicker .ui-state-active {
    background: #221f1f;
    color: #fff;
    border-color: #221f1f;
}

.ui-datepicker .ui-state-highlight {
    background: #fff1a6;
    border-color: #221f1f;
    font-weight: 700;
}

.ui-datepicker .ui-datepicker-current-day .ui-state-active {
    background: #ffdc1e;
    color: #111;
    border-color: #221f1f;
    font-weight: 700;
}

.form-field-file input[type="file"] {
    height: auto;
    padding: 12px 14px;
    background: #fff;
}

.form-actions {
    display: flex;
    justify-content: center;
}

.btn-submit-dark {
    width: 100%;
    max-width: 100%;
    background: #000;
    color: #fff;
    border-color: #000;
    font-family: "Roboto", "Jost", system-ui, sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.btn-submit-dark:hover,
.btn-submit-dark:focus {
    filter: brightness(1.08);
}

.section-howto {
    background: #000;
    padding: 64px clamp(18px, 4.5vw, 64px) 112px;
}

.howto-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.howto-heading {
    width: min(768px, 100%);
    margin: 0;
    font-family: "Roboto", "Jost", system-ui, sans-serif;
    font-style: normal;
    font-weight: 900;
    font-size: clamp(36px, 3.6vw, 48px);
    line-height: 1.2;
    text-align: center;
    color: #fff;
}

.howto-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
}

.howto-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.howto-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffdc1e;
}

.howto-icon svg {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.howto-title {
    margin: 0;
    width: 100%;
    font-family: "Roboto", "Jost", system-ui, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
}

.howto-title--normal {
    text-transform: none;
}

@media (max-width: 900px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid .form-field:last-child {
        grid-column: auto;
    }

    .signup-page-container {
        width: min(520px, 100%);
    }

    .signup-form-standalone {
        width: min(440px, 100%);
    }

    .site-footer {
        padding: 34px 0 64px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .footer-menu {
        width: 100%;
    }

    .footer-menu-list {
        justify-content: flex-start;
        gap: 18px;
    }

    .section-howto {
        padding: 56px 20px 84px;
    }

    .howto-row {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .howto-column {
        max-width: 520px;
        margin: 0 auto;
    }

    .upload-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .section-yellow {
        padding: 4px 0 52px;
    }

    .landing-container {
        width: 100%;
        padding-inline: 14px;
        gap: 28px;
    }

    #caravana-view-landing .hero-visual,
    #caravana-view-live .hero-visual-live {
        width: calc(100% + 120px);
        margin-inline: -60px;
    }

    .campaign-copy {
        max-width: 360px;
        gap: 18px;
    }

    .signup-page-head h1 {
        font-size: clamp(29px, 8.8vw, 40px);
    }

    .signup-page-head p {
        font-size: 13px;
    }

    .signup-form-standalone {
        width: 100%;
    }

    .campaign-title,
    .campaign-subtitle,
    .campaign-prizes,
    .campaign-prize-main {
        font-size: clamp(20px, 8vw, 36px);
    }

    .campaign-body {
        font-size: clamp(14px, 5vw, 22px);
    }

    .campaign-prize-note {
        font-size: clamp(14px, 6vw, 30px);
    }

    .underline-vector {
        padding-bottom: 12px;
    }

    .underline-vector::after {
        height: 8px;
    }

    .section-howto {
        padding: 34px 14px 40px;
    }

    .site-footer {
        padding: 20px 0 26px;
    }

    .footer-inner {
        padding-inline: 14px;
        gap: 8px;
        align-items: center;
    }

    .footer-menu {
        display: none;
    }

    .footer-left {
        width: 100%;
        text-align: center;
    }

    .footer-left p,
    .footer-left .credits {
        font-size: 14px;
        line-height: 1.5;
        text-align: center;
    }

    .howto-heading {
        font-size: clamp(22px, 8.8vw, 40px);
    }

    .howto-row {
        gap: 26px;
    }

    .howto-column {
        gap: 14px;
    }

    .howto-icon {
        width: 42px;
        height: 42px;
    }

    .howto-title {
        font-size: clamp(14px, 4.8vw, 22px);
        line-height: 1.35;
    }

    .btn-cta,
    .btn-submit-dark {
        height: 44px;
        font-size: 14px;
    }

    .signup-page-head-closed h1 {
        font-size: clamp(29px, 8.8vw, 40px);
        line-height: 1.2;
    }

    .signup-page-head-closed p,
    .signup-page-head-closed-note p {
        font-size: 13px;
        line-height: 1.45;
    }

    .checkbox-card {
        min-height: 0;
        padding: 10px 0;
        border: 0;
        background: transparent;
    }

    .checkbox-card:hover {
        background: transparent;
        border-color: transparent;
    }

    .checkbox-copy {
        font-size: 13px;
        font-weight: 400;
        line-height: 1.45;
    }

    .upload-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .upload-btn {
        min-height: 50px;
        padding: 12px 14px;
        font-size: 15px;
    }
}

@media (max-width: 1024px) and (max-height: 520px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
    .section-yellow {
        padding: 2px 0 40px;
        gap: 18px;
    }

    #caravana-view-landing .hero-visual,
    #caravana-view-live .hero-visual-live {
        width: min(560px, 68vw);
        margin: 0 auto;
    }

    #caravana-view-register .hero-visual-signup {
        width: min(460px, 62vw);
        margin: 8px auto 0;
    }

    .landing-container {
        gap: 24px;
        padding-inline: 16px;
    }

    .campaign-copy {
        max-width: 640px;
        gap: 16px;
    }

    .campaign-title,
    .campaign-subtitle,
    .campaign-prizes,
    .campaign-prize-main {
        font-size: clamp(24px, 3.5vw, 34px);
    }

    .campaign-body {
        font-size: clamp(16px, 2.35vw, 22px);
    }

    .campaign-prize-note {
        font-size: clamp(16px, 2.45vw, 24px);
    }

    .btn-cta {
        width: clamp(260px, 36vw, 380px);
    }

    .main-menu ul {
        gap: 22px;
        padding-inline: 40px;
    }

    .menu-hero-visual {
        margin: 18px auto 10px;
    }

    .menu-hero-visual img {
        width: min(82%, 520px);
        max-width: 520px;
    }

    .menu-overlay-footer {
        padding: 10px 14px 12px;
    }

    .menu-overlay-footer p,
    .menu-overlay-footer .credits {
        font-size: 12px;
        line-height: 1.4;
    }

    .section-howto {
        padding: 44px 16px 56px;
    }

    .howto-container {
        gap: 22px;
    }

    .howto-heading {
        font-size: clamp(26px, 3.2vw, 34px);
    }

    .howto-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(12px, 2vw, 22px);
    }

    .howto-column {
        max-width: none;
        gap: 12px;
    }

    .howto-icon {
        width: 42px;
        height: 42px;
    }

    .howto-title {
        font-size: clamp(14px, 1.8vw, 18px);
        line-height: 1.3;
    }

    .site-footer {
        padding: 26px 0 30px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    .footer-left p,
    .footer-left .credits {
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
    }

    .footer-left {
        width: 100%;
        text-align: center;
    }

    .footer-menu {
        display: none;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .nav-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .main-menu {
        width: auto;
        margin-left: auto;
    }

    .main-menu ul {
        width: auto;
        justify-content: flex-end;
        gap: 16px;
        flex-wrap: nowrap;
    }

    .main-menu a {
        font-size: 14px;
    }

    .live-link {
        padding: 10px 12px;
        font-size: 14px;
    }

    .section-yellow {
        padding: 10px 0 70px;
        gap: 28px;
    }

    #caravana-view-landing .hero-visual,
    #caravana-view-live .hero-visual-live {
        width: min(700px, 82vw);
        margin: 0 auto;
    }

    .landing-container {
        gap: 34px;
    }

    .campaign-copy {
        max-width: 680px;
    }

    #caravana-view-register .hero-visual-signup {
        width: min(560px, 72vw);
        margin: 10px auto 0;
    }

    .section-howto {
        padding: 48px 20px 70px;
    }

    .howto-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .howto-column {
        max-width: none;
        gap: 16px;
    }

    .howto-icon {
        width: 44px;
        height: 44px;
    }

    .howto-title {
        font-size: clamp(18px, 2.1vw, 22px);
        line-height: 1.32;
    }

    .site-footer {
        padding: 30px 0 40px;
    }

    .footer-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .footer-left p,
    .footer-left .credits {
        font-size: 12px;
        line-height: 1.45;
    }

    .footer-menu {
        width: auto;
    }

    .footer-menu-list {
        justify-content: flex-end;
        gap: 14px;
        flex-wrap: nowrap;
    }

    .footer-menu a {
        font-size: clamp(14px, 1.65vw, 18px);
    }

    .footer-menu .footer-live-link {
        padding: 10px 12px;
        font-size: 14px;
    }
}

@media (min-width: 641px) and (max-width: 1024px) and (orientation: landscape) {
    .section-yellow {
        padding-top: 6px;
        gap: 22px;
    }

    #caravana-view-landing .hero-visual,
    #caravana-view-live .hero-visual-live {
        width: min(620px, 63vw);
    }

    #caravana-view-register .hero-visual-signup {
        width: min(500px, 56vw);
        margin-top: 8px;
    }
}

@media (min-width: 1025px) and (max-width: 1366px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
    #caravana-view-register .hero-visual-signup {
        width: min(440px, 42vw);
        margin-top: 6px;
    }
}
