/* ========== Base / tokens ========== */
:root {
    --brand-black: #000000;
    --brand-yellow: #FFDC1E;
    --text-light: #FFFFFF;

    /* Figma fixed widths for the header */
    --header-viewport: 1440px; /* outer width */
    --header-height: 188px; /* outer height */
    --inner-width: 1262px; /* inner frame */
    --logo-w: 402px;
    --logo-h: 110px;
    --menu-gap: 31px;
}

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

/* kill horizontal gutters but keep vertical overflow visible */
.section-yellow,
.section-signup,
.section-prizes{
    position: relative;
    overflow-x: clip;
    overflow-y: visible; /* allow tall/wide decor to show */
    width: min(100%, calc(var(--band) * 1px));
    margin: 0 auto;
}

@supports (overflow: clip) {
    .section-signup,
    .section-prizes {
        overflow-x: clip; /* preferred when supported */
    }
}

body {
    font-family: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    margin: 0;
    background: #000;
    color: #111;
}

.btn {
    width: 480px;
    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;
    box-sizing: border-box;
    padding: 0;
}

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

/* Desktop default: hide the mobile toggle */
.site-header .nav-toggle {
    display: none;
}

/* Simple page wrapper for regular content */
.page-wrap {
    max-width: var(--inner-width);
    margin-inline: auto;
    padding: 32px 16px;
}

/* Placeholder blocks so you can “see” sections */
.placeholder-box {
    background: #111;
    color: #fff;
    border-radius: 8px;
    padding: 48px;
    text-align: center;
}

.form-error {
    color: red;
}

/* ========== Header ========== */
.site-header {
    background: var(--brand-black);
    border-bottom: 1px solid #000; /* matches Figma */
    height: var(--header-height);
    display: grid;
    place-items: center; /* vertically center the inner frame */
}

/* Outer band with fixed 1440 width and 64px side padding from Figma */
.nav-outer {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-inline: 64px; /* 0 64px in Figma  */
    box-sizing: border-box;
}

/* Inner frame: 1262 × 110, space-between, aligned to bottom */
.nav-inner {
    width: min(var(--inner-width), 100%);
    height: 110px; /* Figma: “Hug 110px” */
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

/* Brand block (402 × 110 in Figma) */
.brand {
    display: inline-flex;
    width: min(var(--logo-w), 45vw);
    height: var(--logo-h);
    align-items: center;
}

.brand img {
    height: 100%;
    width: auto;
    display: block;
}

/* Menu */
.main-menu ul {
    list-style: none;
    display: flex;
    gap: var(--menu-gap); /* 31px */
    margin: 0;
    padding: 0;
    align-items: flex-end;
}

.main-menu a {
    font-weight: 500; /* 500 Medium */
    font-size: 18px; /* 18px */
    line-height: 26px; /* 26px (identical to box height) */
    color: var(--text-light);
    text-decoration: none;
    display: inline-flex;
    height: 26px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

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

.site-footer {
    background: #000;
    color: #fff;
    padding: 40px 64px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center; /* keep items aligned inline */
    flex-wrap: wrap; /* allow wrapping on mobile */
    gap: 20px;
}

.footer-left p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 150%;
    margin: 0;
}

.footer-left .credits {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: white;
    margin-top: 4px;
    display: block;
}

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

.footer-menu ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu a {
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    text-decoration: none;
    color: #fff;
}

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

/* CONTENT STYLES */
/* ===== Yellow section (Layout / 141) ===== */
.section-yellow {
    isolation: isolate;
    background: #FFDC1E;
    padding: 112px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    position: relative;
}

.hero-wrap {
    width: 100%;
    max-width: 1280px; /* container 1280 */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    position: relative; /* keep for later decorative assets */
}

/* ----- Content (centered text block) ----- */
.hero-content {
    width: 100%;
    max-width: 768px; /* content width */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
    font-family: "Roboto", system-ui, sans-serif;
}

.hero-title {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.hero-heading {
    margin: 0;
    width: 100%;
    font-weight: 900;
    font-size: 48px;
    line-height: 120%; /* ~58px */
    text-transform: uppercase;
    color: #000;
}

.hero-sub {
    margin: 0;
    width: 100%;
    font-weight: 900;
    font-size: 20px;
    line-height: 150%; /* 36px */
    text-transform: uppercase;
    color: #000;
}

/* ----- Actions / Button ----- */
.hero-actions {
    width: 480px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ----- Video block ----- */
.hero-video {
    width: 100%;
    max-width: 1280px;
}

.hero-frame {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Section: Cum te înscrii ===== */
.section-steps {
    background: #000;
    color: #fff;
    padding: 64px 64px 196px; /* Figma */
}

.steps-wrap {
    max-width: 1280px; /* Figma container width */
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px; /* Figma gap */
}

/* Heading 48 / 900 / 120% */
.steps-heading {
    margin: 0;
    max-width: 768px;
    text-align: center;
    font-family: "Roboto", system-ui, sans-serif;
    font-weight: 900;
    font-size: 48px;
    line-height: 120%;
    text-transform: uppercase;
    color: #fff;
}

/* Row of three columns (gap 48) */
.steps-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 48px;
}

/* Each column */
.step {
    flex: 1 1 0;
    max-width: 394.67px; /* matches Figma */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px; /* Figma column gap */
}

/* Icon 48×48 */
.step-icon {
    width: 48px;
    height: 48px;
}

/* Title 24 / 700 / 140% uppercase, centered, white */
.step-title {
    margin: 0;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-family: "Roboto", system-ui, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 140%;
    color: #fff;
}

/* CTA block under the columns */
.steps-cta {
    width: 100%;
    max-width: 1312px; /* Figma “Frame 53” width */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.steps-cta-text {
    margin: 0;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-family: "Roboto", system-ui, sans-serif;
    font-weight: 900;
    font-size: 24px;
    line-height: 130%;
    color: #fff;
}

/* ===== Section: Premii (Layout / 219) ===== */
.section-prizes {
    background: var(--brand-yellow);
    padding: 112px 0; /* Figma */
}

.prizes-wrap {
    max-width: 1280px; /* Figma container width */
    margin-inline: auto;
    display: flex;
    align-items: center; /* center vertically relative to gallery */
    gap: 80px; /* Figma gap */
}

/* ----- Left column: two tall photos ----- */
.prizes-gallery {
    width: 600px; /* Figma “Tabs Content” width */
    display: flex;
    flex-direction: column;
    gap: 8px; /* Figma gap between shots */
    flex: 1 1 600px;
}

.prize-shot {
    margin: 0;
    width: 100%;
    /* Each frame is 648×610 in Figma; keep the aspect while being fluid */
    aspect-ratio: 648 / 610;
    background: #eaeaea;
    overflow: hidden;
    border-radius: 0; /* Figma: 0px */
    outline: 2px solid rgba(0, 0, 0, 0.06); /* optional thin edge like screenshot */
}

.prize-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ----- Right column: text blocks ----- */
.prizes-menu {
    width: 600px; /* Figma */
    display: flex;
    flex-direction: column;
    gap: 40px; /* Figma: gap between “tab horizontals” */
    flex: 1 1 600px;
}

/* Big “CÂȘTIGĂ PREMIILE” – 64/900/100% */
.prizes-kicker {
    margin: 0;
    padding-left: 32px; /* Figma: left padding 32 on each tab */
    width: 100%;
    max-width: 568px; /* text box width inside the 600 plane */
    font-family: "Roboto", system-ui, sans-serif;
    font-weight: 900;
    font-size: 64px;
    line-height: 100%;
    color: #000;
}

/* Each “tab” block */
.prizes-block {
    box-sizing: border-box;
    padding-left: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px; /* heading → title → note */
    width: 100%;
    max-width: 600px;
}

/* Label – 32/700/130%, uppercase */
.prizes-label {
    margin: 0;
    width: 100%;
    max-width: 568px;
    font-family: "Roboto", system-ui, sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 130%;
    text-transform: uppercase;
    color: #000;
}

/* Title – 48/900/100% */
.prizes-title {
    margin: 0;
    width: 100%;
    max-width: 568px;
    font-family: "Roboto", system-ui, sans-serif;
    font-weight: 900;
    font-size: 48px;
    line-height: 100%;
    color: #000;
    text-transform: uppercase;
}

/* Body – 16/400/150% */
.prizes-note {
    margin: 0;
    width: 100%;
    max-width: 568px;
    font-family: "Roboto", system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #000;
}

/* The last block in Figma is slightly shorter; optional helper */
.prizes-block--compact .prizes-title {
    line-height: 100%;
}

/* Small CTA under the blocks – 184×48 */
.prizes-cta {
    padding-left: 32px;
}

.btn-cta--sm {
    width: 184px;
    height: 48px;
    border: 1px solid #000;
    text-decoration: none; /* Figma “Button” shows underline on label only */
}

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

/* ===== Section: Înscrie bonul (Sign up / 9) ===== */
.section-signup {
    background: var(--brand-yellow);
    padding: 0; /* Figma: 0px 64px */
}

.signup-wrap {
    max-width: 1280px; /* Figma content width plane */
    margin-inline: auto;
    min-height: auto; /* section height in Figma (optional) */
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 64px; /* from “Content” (64 0 0) */
}

.signup-col {
    width: 480px; /* Figma column width */
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

/* Head */
.signup-head {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.signup-title {
    margin: 0;
    width: 100%;
    text-align: center;
    font-family: "Roboto", system-ui, sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 120%;
    color: #000;
    text-transform: uppercase;
}

.signup-sub {
    margin: 0;
    width: 100%;
    text-align: center;
    font-family: "Roboto", system-ui, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #000;
}

/* Form */
.signup-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px; /* Figma “Form” gap */
}

/* Group */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-family: "Roboto", system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #000;
}

.form-input {
    height: 48px;
    padding: 12px;
    border: 1px solid #000;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    font: 400 16px/150% "Roboto", system-ui, sans-serif;
    color: #000;
}

.form-input::placeholder {
    color: rgba(0, 0, 0, .6);
}

/* Upload row (two 236×48 boxes in Figma) */
.upload-row {
    display: flex;
    gap: 8px;
}

.upload-btn {
    position: relative;
    width: 236px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #000;
    cursor: pointer;
    user-select: none;
    font: 400 16px/150% "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: #fff;
    color: rgba(0, 0, 0, .6);
}

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

/* Note under upload */
.upload-note {
    margin: 0;
    width: 100%;
    max-width: 455px; /* Figma text width */
    font: 400 13px/150% "Roboto", system-ui, sans-serif;
    color: #000;
}

/* Submit */
.form-actions {
    width: 100%;
    margin-bottom: 97px;
}

.form-actions.inline-feedback {
    margin-bottom: 0;
}

.btn-submit {
    width: 100%; /* 480 × 48 */
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    font: 400 16px/150% "Roboto", system-ui, sans-serif;
    margin-bottom: 0;
}

.btn-submit:hover {
    cursor: pointer;
    filter: brightness(0.9);
}

#form-messages {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 97px;
}

.form-success{
    width: 100%;
    margin-top: 16px;
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    color: #fff;
    padding: 10px 24px;
    border-radius: 2px;
    font-size: 1.1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideDown 0.4s ease-out, fadeOut 0.5s ease-in 6s forwards;
}

@keyframes slideDown {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateY(-10px); }
}

.file-previews { margin-top: .5rem; display: grid; gap: .5rem; }
.file-chip{display:flex;align-items:center;gap:.5rem;padding:.5rem .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:.85em;opacity:.7}
.file-chip .remove{margin-left:auto;border:0;background:transparent;cursor:pointer;font-size:14px}

.upload-progress{position:relative;margin-top:.75rem;height:8px;background:#eee;border-radius:999px;overflow:hidden}
.upload-progress .bar{height:100%;width:0%;background:var(--brand-black);transition:width .2s}
.upload-progress .pct{position:absolute;top:100%;left:0;margin-top:.25rem;font-size:.85em}

.signup-form.is-locked { opacity: .7; pointer-events: none; }
.signup-form.is-locked .btn-submit { cursor: progress; }

@media only screen and (orientation: portrait) and (max-width: 540px),
only screen and (orientation: landscape) and (max-height: 540px) {
    .file-chip .name{
        max-width: 184px;
    }

    .section-yellow,
    .section-signup,
    .section-prizes{
        width: auto;
    }
}

/* ======================== =
   MOBILE NAV (portrait + landscape)
   ========================= */
@media (max-width: 480px),
(orientation: landscape) and (max-height: 500px),
(orientation: portrait) and (min-width: 600px) and (max-width: 1024px){

    :root{ --m-header-h: 106px; }

    /* Header size from your Figma specs */
    .site-header {
        background: #000;
        height: 66px;
        padding: 20px;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    body.menu-open .site-header {
        position: relative;
        z-index: 10;
    }

    .nav-outer {
        width: 100%;
        padding: 0;
    }

    .nav-inner {
        width: 100%;
        max-width: 400px; /* 400 inner plane */
        height: 64px;
        padding: 0 12px 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Logo 201 × 54.44 */
    .brand {
        width: 201px;
        height: 54.44px;
        display: flex;
        align-items: center;
    }

    .brand img {
        height: 100%;
        width: auto;
        display: block;
    }

    /* Hamburger button (three lines → X) */
    .nav-toggle {
        -webkit-tap-highlight-color: transparent;
        appearance:none; border:0; background:transparent;
        width:48px; height:48px; position:relative; margin-left:auto;
        display: block !important;
    }

    .nav-toggle .bars,
    .nav-toggle .bars::before,
    .nav-toggle .bars::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 36px;
        height: 2px;
        background: #fff;
        transform: translate(-50%, -50%);
        transition: transform .25s ease, opacity .2s ease;
    }

    .nav-toggle .bars::before {
        transform: translate(-50%, -50%) translateY(-8px);
    }

    .nav-toggle .bars::after {
        transform: translate(-50%, -50%) translateY(8px);
    }

    /* Turn into X when menu is open */
    body.menu-open .nav-toggle .bars {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    body.menu-open .nav-toggle .bars::before {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    body.menu-open .nav-toggle .bars::after {
        opacity: 0;
    }

    /* Mobile menu container */
    .main-menu {
        position: fixed;
        top: var(--m-header-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: #000;
        padding: 32px 20px 24px;
        transform: translateX(100%);
        transition: transform .3s ease;
        z-index: 900;
        overflow: auto;
    }

    .main-menu ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 31px;
        margin: 0;
        padding: 0;
        list-style: none;
        width: 100%;
        text-align: left;
    }

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

    .main-menu a {
        display: inline-block;
        font: 500 18px/21px "Roboto", sans-serif;
        color: #fff;
        text-decoration: none;
        padding-left: 20px;
    }

    body.menu-open .main-menu {
        transform: translateX(0);
    }

    /* Lock page scroll while menu open */
    body.menu-open {
        overflow: hidden;
        touch-action: none;
        position: fixed;
        width: 100%;
    }
}

/* =========================
   YELLOW SECTION (mobile)
   ========================= */
@media (max-width: 480px),
(orientation: landscape) and (max-height: 500px) {
    :root {
        --mw: 400px; /* inner plane from Figma */
    }

    #heroVideo {
        height: 627px !important;
    }

    .section-yellow {
        background: #FFDC1E;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 43px 20px 35px;
        gap: 80px;
        min-height: 100dvh; /* flexible height for portrait & landscape */
    }

    .hero-wrap {
        width: 100%;
        max-width: var(--mw);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 80px;
    }

    .hero-content {
        width: 100%;
        max-width: var(--mw);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .hero-title {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .hero-heading {
        margin: 0;
        width: 100%;
        font-family: "Roboto", system-ui, sans-serif;
        font-weight: 900;
        font-size: 36px; /* 36 / 120% */
        line-height: 120%;
        text-transform: uppercase;
        color: #000;
    }

    .hero-sub {
        margin: 0;
        width: 100%;
        font-family: "Roboto", system-ui, sans-serif;
        font-weight: 900;
        font-size: 20px; /* 24 / 150% */
        line-height: 150%;
        text-transform: uppercase;
        color: #000;
    }

    .hero-actions {
        width: 100%;
        max-width: var(--mw);
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 24px;
    }
}

@media (orientation: landscape)
and (max-height: 540px) {
    .hero-content {
        max-width: 80%;
    }

    #heroVideo {
        height: 90vh !important;
    }
}

/* =========================
   CUM TE ÎNSCRII (mobile)
   ========================= */
@media (max-width: 480px),
(orientation: landscape) and (max-height: 500px) {

    /* Section wrapper */
    .section-steps {
        background: #000;
        padding: 64px 20px 112px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 80px;
    }

    /* Container */
    .steps-wrap {
        width: 100%;
        max-width: 400px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .steps-heading {
        margin: 0;
        width: 80%;
        max-width: 768px;
        text-align: center;
        font-family: "Roboto", system-ui, sans-serif;
        font-weight: 900;
        font-size: 48px;
        line-height: 120%;
        color: #fff;
    }

    .steps-row {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 48px;
    }

    /* Each column */
    .step {
        width: 100%;
        max-width: 400px; /* Figma width */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px; /* Figma column gap */
    }

    /* Icon 48×48 */
    .step-icon {
        width: 48px;
        height: 48px;
    }

    /* Title 24/700/140%, uppercase, centered */
    .step-title {
        margin: 0;
        width: 100%;
        text-align: center;
        text-transform: uppercase;
        font-family: 'Roboto', sans-serif;
        font-weight: 700;
        font-size: 24px;
        line-height: 140%;
        color: #fff;
    }

    /* Hidden body text in Figma (keep off on mobile) */
    .step p {
        display: none;
    }

    /* CTA group under the steps */
    .steps-cta {
        width: 100%;
        max-width: 400px; /* Figma “Frame 53” becomes 400 on mobile */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .steps-cta-text {
        margin: 0;
        width: 100%;
        text-align: center;
        text-transform: uppercase;
        font-family: 'Roboto', sans-serif;
        font-weight: 900;
        font-size: 24px;
        line-height: 130%;
        color: #fff;
    }
}

@media (orientation: landscape)
and (max-height: 540px) {
    .steps-heading {
        width: 100%;
    }
}

/* =========================
   PRIZES (Layout / 219) – mobile
   ========================= */
@media (max-width: 480px),
(orientation: landscape) and (max-height: 500px) {

    /* Section plane: bg + outer padding (47px 20px 0) */
    .section-prizes {
        background: #FFDC1E;
        padding: 86px 20px 0;
    }

    /* Inner container: 400 plane, 80 gap */
    .prizes-wrap {
        width: 100%;
        max-width: 400px; /* Figma inner width */
        margin-inline: auto;
        display: flex;
        flex-direction: column; /* stack text and gallery */
        align-items: center;
        gap: 80px; /* Figma gap */
    }

    /* ----- Tabs Menu / Right column text (now on top) ----- */
    .prizes-menu {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 40px; /* gap between blocks */
        order: 0; /* text first on mobile */
        padding-left: 0; /* remove desktop left padding */
    }

    /* Big kicker “CÂȘTIGĂ PREMIILE” – 64/900/100% */
    .prizes-kicker {
        margin: 0;
        padding-left: 0;
        width: 100%;
        max-width: 285px; /* Figma text box width */
        font-family: "Roboto", sans-serif;
        font-weight: 900;
        font-size: 64px;
        line-height: 100%;
        color: #000;
    }

    /* Each “tab horizontal” block */
    .prizes-block {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        gap: 16px; /* heading → title → note */
        width: 100%;
        max-width: 400px;
        padding-left: 0;
    }

    /* Heading – 32/700/130%, uppercase */
    .prizes-label {
        margin: 0;
        width: 100%;
        font-family: "Roboto", sans-serif;
        font-weight: 700;
        font-size: 32px;
        line-height: 130%;
        text-transform: uppercase;
        color: #000;
    }

    /* Title – 36/900/100% */
    .prizes-title {
        margin: 0;
        width: 100%;
        font-family: "Roboto", sans-serif;
        font-weight: 900;
        font-size: 36px;
        line-height: 100%;
        color: #000;
        text-transform: uppercase;
    }

    /* Note – 16/400/150% */
    .prizes-note {
        margin: 0;
        width: 100%;
        font-family: "Roboto", sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 150%;
        color: #000;
    }

    /* Small CTA under the blocks – full width 400×48 */
    .prizes-cta {
        width: 100%;
        max-width: 400px;
        padding-left: 0;
    }

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

    /* ----- Tabs Content / Left column images (now below) ----- */
    .prizes-gallery {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px; /* Figma gap between two shots */
        order: 1; /* gallery after text on mobile */
    }

    .prize-shot {
        margin: 0;
        width: 100%;
        height: 610px; /* Figma 400×610 */
        aspect-ratio: auto; /* force fixed height as in Figma */
        background: #eaeaea;
        overflow: hidden;
        border-radius: 0;
    }

    .prize-shot img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}

/* =========================
   SIGNUP (Sign up / 9) – mobile
   ========================= */
@media (max-width: 480px),
(orientation: landscape) and (max-height: 500px) {

    /* Section plane */
    .section-signup {
        background: #FFDC1E;
        padding: 0 20px 72px; /* Figma: 0px 20px */
    }

    /* Content frame (400 inner, centered) */
    .signup-wrap {
        width: 100%;
        max-width: 400px; /* Figma inner width */
        margin-inline: auto;
        min-height: auto; /* let content define height */
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 64px; /* Figma: (64 0 0) */
    }

    .signup-col {
        width: 100%;
        max-width: 400px; /* Figma: 400 */
        display: flex;
        flex-direction: column;
        gap: 32px; /* Figma: 32 */
        align-items: center;
    }

    /* ----- Header (H2 + sub) ----- */
    .signup-head {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px; /* Figma: 24 */
    }

    .signup-title {
        margin: 0;
        width: 100%;
        height: auto; /* no fixed 58px */
        text-align: center;
        font-family: "Roboto", sans-serif;
        font-weight: 700;
        font-size: 48px;
        line-height: 120%;
        color: #000;
        text-transform: uppercase;
    }

    .signup-sub {
        margin: 0;
        width: 100%;
        height: auto; /* no fixed 54px */
        text-align: center;
        font-family: "Roboto", sans-serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 150%;
        color: #000;
    }

    /* ----- Form ----- */
    .signup-form {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; /* Figma centers groups */
        gap: 24px; /* Figma “Form” gap */
    }

    .form-group {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px; /* label → input */
    }

    .form-label {
        width: 100%;
        font-family: "Roboto", sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 150%;
        color: #000;
    }

    .form-input {
        width: 100%;
        height: 48px; /* Figma input height */
        padding: 12px;
        border: 1px solid #000;
        background: #fff;
        box-sizing: border-box;
        font: 400 16px/150% "Roboto", sans-serif;
        color: #000;
    }

    .form-input::placeholder {
        color: rgba(0, 0, 0, .6);
    }

    /* Upload row: two boxes 196×48 with 8px gap */
    .upload-row {
        display: flex;
        gap: 8px;
    }

    .upload-btn {
        position: relative;
        width: 196px; /* Figma half width */
        height: 48px;
        display: inline-flex;
        align-items: center;
        min-width: 0;
        gap: 12px;
        padding: 12px;
        box-sizing: border-box;
        border: 1px solid #000;
        cursor: pointer;
        user-select: none;
        font: 400 16px/150% "Roboto", sans-serif;
    }

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

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

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

    .upload-note {
        margin: 0;
        width: 100%;
        max-width: 400px; /* keep within plane */
        font: 400 13px/150% "Roboto", sans-serif;
        color: #000;
    }

    /* Submit */
    .form-actions {
        width: 100%;
    }

    .btn-submit {
        width: 100%; /* 400 × 48 */
        height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 24px;
        border: 1px solid #000;
        background: #000;
        color: #fff;
        font: 400 16px/150% "Roboto", sans-serif;
        margin-bottom: unset;
    }
}

/* ===== Optional: extra-tight landscape (very short viewports) ===== */
@media (orientation: landscape) and (max-height: 420px) {
    .signup-wrap {
        padding-top: 40px;
    }

    .signup-col {
        gap: 24px;
    }

    .signup-head {
        gap: 16px;
    }

    .signup-title {
        font-size: 40px;
    }

    /* slight downscale */
    .signup-sub {
        font-size: 16px;
    }

    /* Allow upload buttons to wrap if horizontal space is tight */
    .upload-row {
        flex-wrap: wrap;
    }

    .upload-btn {
        flex: 1 1 180px;
        min-width: 180px;
    }
}

/* =========================
   MOBILE FOOTER (phones)
   ========================= */
@media (max-width: 480px),
(orientation: landscape) and (max-height: 480px) {

    /* match the 87px black bar from Figma */
    .site-footer {
        background: #000;
        padding: 0; /* kill desktop padding */
        min-height: 87px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-inner {
        width: 100%;
        max-width: 90%; /* Figma artboard width */
        margin: 0 auto;
        padding: 12px 0; /* vertical spacing for the two lines */
        display: block; /* stop the desktop flex row */
        text-align: center;
        gap: 0;
    }

    .footer-left {
        width: 100%;
        padding: 0;
    }

    .footer-left p {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 150%;
        color: #fff;
        margin: 0;
    }

    .footer-left .credits {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 14px; /* same size as the line above per Figma */
        line-height: 150%;
        color: #e6e6e6;
        display: block;
        margin-top: 4px;
    }

    /* Make the studio name bold like in Figma */
    .footer-left .credits a {
        color: #fff;
        font-weight: 700;
        text-decoration: none;
    }

    /* hide the desktop footer links on mobile */
    .footer-menu {
        display: none !important;
    }

    .deco-layer {
        display: none;
    }
}

/* ========== DECOR IMAGES ==========  */
.hero-wrap,
.prizes-wrap,
.signup-wrap {
    --base: 1440; /* ← set to your Figma frame width */
    position: relative;
    width: min(100%, calc(var(--base) * 1px));
    margin-inline: auto;
    background: var(--brand-yellow);
    isolation: isolate;
}

.decor-wrapper-1-mobile,
.decor-wrapper-2-mobile,
.decor-wrapper-3-mobile,
.decor-wrapper-4-mobile,
.decor-wrapper-5-mobile,
.decor-wrapper-6-mobile,
.decor-wrapper-7-mobile,
.decor-wrapper-8-mobile,
.decor-wrapper-9-mobile,
.decor-wrapper-10-mobile,
.decor-wrapper-11-mobile,
.decor-wrapper-12-mobile,
.decor-wrapper-13-mobile {
    display: none;
}

.decor-wrapper-1 {
    position: absolute;
    left: calc(430 / var(--base) * 100%);
    top: calc(-554 / var(--base) * 100%);
    width: calc(336 / var(--base) * 100%);
    aspect-ratio: 336 / 399;
    z-index: 13;
    pointer-events: none;
    
    display: none;
}

.decor-wrapper-1 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-2 {
    position: absolute;
    left: calc(-128 / var(--base) * 100%);
    top: calc(-315 / var(--base) * 100%);
    width: calc(336 / var(--base) * 100%);
    aspect-ratio: 336 / 399;
    z-index: 16;
    pointer-events: none;
}

.decor-wrapper-3 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-3 {
    position: absolute;
    left: calc(-209 / var(--base) * 100%);
    top: calc(-158 / var(--base) * 100%);
    width: calc(402.51 / var(--base) * 100%);
    aspect-ratio: 402.51 / 569.29;
    z-index: 23;
    pointer-events: none;
}

.decor-wrapper-3 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-4 {
    position: absolute;
    left: calc(-249 / var(--base) * 100%);
    top: calc(178 / var(--base) * 100%);
    width: calc(333.88 / var(--base) * 100%);
    aspect-ratio: 333.88 / 336.77;
    z-index: 21;
    pointer-events: none;
}

.decor-wrapper-4 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-5 {
    position: absolute;
    right: calc(50 / var(--base) * 100%);
    top: calc(-115 / var(--base) * 100%);
    width: calc(382.63 / var(--base) * 100%);
    aspect-ratio: 382.63 / 355.22;
    z-index: 18;
    pointer-events: none;
}

.decor-wrapper-5 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-6 {
    position: absolute;
    right: calc(-120 / var(--base) * 100%);
    top: calc(-124 / var(--base) * 100%);
    width: calc(336 / var(--base) * 100%);
    aspect-ratio: 336 / 399;
    z-index: 15;
    pointer-events: none;
}

.decor-wrapper-6 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-7 {
    position: absolute;
    right: calc(-198 / var(--base) * 100%);
    top: calc(221 / var(--base) * 100%);
    width: calc(414 / var(--base) * 100%);
    aspect-ratio: 414 / 384;
    z-index: 17;
    pointer-events: none;
}

.decor-wrapper-7 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-8 {
    position: absolute;
    right: calc(-275 / var(--base) * 100%);
    top: calc(554 / var(--base) * 100%);
    width: calc(414 / var(--base) * 100%);
    aspect-ratio: 414 / 384;
    z-index: 17;
    pointer-events: none;
}

.decor-wrapper-8 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-9 {
    position: absolute;
    right: calc(-67 / var(--base) * 100%);
    top: calc(362 / var(--base) * 100%);
    width: calc(392.07 / var(--base) * 100%);
    aspect-ratio: 392.07 / 554.53;
    z-index: 19;
    pointer-events: none;
}

.decor-wrapper-9 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-10 {
    position: absolute;
    left: calc(534 / var(--base) * 100%);
    bottom: calc(-135 / var(--base) * 100%);
    width: calc(304.28 / var(--base) * 100%);
    aspect-ratio: 304.28 / 306.91;
    z-index: 20;
    pointer-events: none;
}

.decor-wrapper-10 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-11 {
    position: absolute;
    left: calc(-218 / var(--base) * 100%);
    top: calc(-684 / var(--base) * 100%);
    width: calc(392.07 / var(--base) * 100%);
    aspect-ratio: 392.07 / 554.53;
    z-index: 11;
    pointer-events: none;
}

.decor-wrapper-11 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-12 {
    position: absolute;
    left: calc(-37 / var(--base) * 100%);
    top: calc(-485 / var(--base) * 100%);
    width: calc(414 / var(--base) * 100%);
    aspect-ratio: 414 / 384;
    z-index: 10;
    pointer-events: none;
}

.decor-wrapper-12 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-13 {
    position: absolute;
    right: calc(-45 / var(--base) * 100%);
    top: calc(-400 / var(--base) * 100%);
    width: calc(402.51 / var(--base) * 100%);
    aspect-ratio: 402.51 / 569.29;
    z-index: 24;
    pointer-events: none;
}

.decor-wrapper-13 .decor-img {
    position: absolute;
    transform: scale(0.9);
}

.decor-wrapper-14 {
    position: absolute;
    left: calc(151 / var(--base) * 100%);
    bottom: calc(-274 / var(--base) * 100%);
    width: calc(336 / var(--base) * 100%);
    aspect-ratio: 336 / 399;
    z-index: 14;
    pointer-events: none;
}

.decor-wrapper-14 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-15 {
    position: absolute;
    right: calc(109 / var(--base) * 100%);
    bottom: calc(-27 / var(--base) * 100%);
    width: calc(304.28 / var(--base) * 100%);
    aspect-ratio: 304.28 / 306.91;
    z-index: 9;
    pointer-events: none;
}

.decor-wrapper-15 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-16 {
    position: absolute;
    right: calc(138 / var(--base) * 100%);
    bottom: calc(-306 / var(--base) * 100%);
    width: calc(397.54 / var(--base) * 100%);
    aspect-ratio: 397.54 / 562.27;
    z-index: 8;
    pointer-events: none;
}

.decor-wrapper-16 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-17 {
    position: absolute;
    left: calc(-110 / var(--base) * 100%);
    top: calc(236 / var(--base) * 100%);
    width: calc(333.88 / var(--base) * 100%);
    aspect-ratio: 333.88 / 336.77;
    z-index: 26;
    pointer-events: none;
}

.decor-wrapper-17 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-18 {
    position: absolute;
    left: calc(-173 / var(--base) * 100%);
    top: calc(230 / var(--base) * 100%);
    width: calc(402.51 / var(--base) * 100%);
    aspect-ratio: 402.51 / 569.29;
    z-index: 25;
    pointer-events: none;
}

.decor-wrapper-18 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-19 {
    position: absolute;
    left: calc(-118 / var(--base) * 100%);
    top: calc(583 / var(--base) * 100%);
    width: calc(382.63 / var(--base) * 100%);
    aspect-ratio: 382.63 / 355.22;
    z-index: 22;
    pointer-events: none;
}

.decor-wrapper-19 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-20 {
    position: absolute;
    left: calc(-283 / var(--base) * 100%);
    top: calc(387 / var(--base) * 100%);
    width: calc(336 / var(--base) * 100%);
    aspect-ratio: 336 / 399;
    z-index: 7;
    pointer-events: none;
}

.decor-wrapper-20 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-21 {
    position: absolute;
    right: calc(43 / var(--base) * 100%);
    bottom: calc(1 / var(--base) * 100%);
    width: calc(336 / var(--base) * 100%);
    aspect-ratio: 336 / 399;
    z-index: 6;
    pointer-events: none;
}

.decor-wrapper-21 .decor-img {
    position: absolute;
    transform: scale(1);
}

/* === Mobile === */
@media (orientation: portrait)
and (max-width: 540px) {
    .section-yellow, .section-signup, .section-prizes {
        width: auto;
    }

    .hero-wrap,
    .prizes-wrap,
    .signup-wrap {
        --base: 440;
        position: relative;
        width: 100%;
        margin-inline: auto;
    }

    .decor-wrapper-1,
    .decor-wrapper-2,
    .decor-wrapper-3,
    .decor-wrapper-4,
    .decor-wrapper-5,
    .decor-wrapper-6,
    .decor-wrapper-7,
    .decor-wrapper-8,
    .decor-wrapper-9,
    .decor-wrapper-10,
    .decor-wrapper-11,
    .decor-wrapper-12,
    .decor-wrapper-13,
    .decor-wrapper-14,
    .decor-wrapper-15,
    .decor-wrapper-16,
    .decor-wrapper-17,
    .decor-wrapper-18,
    .decor-wrapper-19,
    .decor-wrapper-20,
    .decor-wrapper-21 {
        display: none;
    }

    .decor-wrapper-1-mobile {
        display: block;
        position: absolute;
        left: calc(-119 / var(--base) * 100%);
        top: calc(-43 / var(--base) * 100%);
        width: calc(188.79 / var(--base) * 100%);
        aspect-ratio: 188.79 / 224.36;
        z-index: 10;
        pointer-events: none;
    }

    .decor-wrapper-1-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-2-mobile {
        display: block;
        position: absolute;
        right: calc(-93 / var(--base) * 100%);
        top: calc(19 / var(--base) * 100%);
        width: calc(188.79 / var(--base) * 100%);
        aspect-ratio: 188.79 / 224.36;
        z-index: 15;
        pointer-events: none;
    }

    .decor-wrapper-2-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-3-mobile {
        display: block;
        position: absolute;
        left: calc(-113 / var(--base) * 100%);
        top: calc(165 / var(--base) * 100%);
        width: calc(211 / var(--base) * 100%);
        aspect-ratio: 211 / 196;
        z-index: 12;
        pointer-events: none;
    }

    .decor-wrapper-3-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-4-mobile {
        display: block;
        position: absolute;
        left: calc(-121 / var(--base) * 100%);
        top: calc(164 / var(--base) * 100%);
        width: calc(211.13 / var(--base) * 100%);
        aspect-ratio: 211.13 / 298.62;
        z-index: 13;
        pointer-events: none;
    }

    .decor-wrapper-4-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-5-mobile {
        display: block;
        position: absolute;
        left: calc(-182 / var(--base) * 100%);
        bottom: calc(-20 / var(--base) * 100%);
        width: calc(234.93 / var(--base) * 100%);
        aspect-ratio: 234.93 / 332.28;
        z-index: 14;
        pointer-events: none;
    }

    .decor-wrapper-5-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-6-mobile {
        display: block;
        position: absolute;
        right: calc(-74 / var(--base) * 100%);
        bottom: calc(-10 / var(--base) * 100%);
        width: calc(211 / var(--base) * 100%);
        aspect-ratio: 211 / 196;
        z-index: 11;
        pointer-events: none;
    }

    .decor-wrapper-6-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-7-mobile {
        display: block;
        position: absolute;
        right: calc(-34 / var(--base) * 100%);
        top: calc(-14 / var(--base) * 100%);
        width: calc(188.79 / var(--base) * 100%);
        aspect-ratio: 188.79 / 224.36;
        z-index: 8;
        pointer-events: none;
    }

    .decor-wrapper-7-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-8-mobile {
        display: block;
        position: absolute;
        right: calc(8 / var(--base) * 100%);
        top: calc(-11 / var(--base) * 100%);
        width: calc(234.93 / var(--base) * 100%);
        aspect-ratio: 234.93 / 332.28;
        z-index: 17;
        pointer-events: none;
    }

    .decor-wrapper-8-mobile > img{
        position: absolute;
        transform: scale(0.8);
    }

    .decor-wrapper-9-mobile {
        display: block;
        position: absolute;
        right: calc(-30 / var(--base) * 100%);
        top: calc(49 / var(--base) * 100%);
        width: calc(217.5 / var(--base) * 100%);
        aspect-ratio: 217.5 / 307.62;
        z-index: 9;
        pointer-events: none;
    }

    .decor-wrapper-9-mobile > img{
        position: absolute;
        transform: scale(0.9);
    }

    .decor-wrapper-10-mobile {
        display: block;
        position: absolute;
        right: calc(-37 / var(--base) * 100%);
        top: calc(151 / var(--base) * 100%);
        width: calc(219 / var(--base) * 100%);
        aspect-ratio: 219 / 261;
        z-index: 16;
        pointer-events: none;
    }

    .decor-wrapper-10-mobile > img{
        position: absolute;
        transform: scale(0.9);
    }

    .decor-wrapper-11-mobile {
        display: block;
        position: absolute;
        left: calc(-123 / var(--base) * 100%);
        bottom: calc(-2 / var(--base) * 100%);
        width: calc(234.93 / var(--base) * 100%);
        aspect-ratio: 234.93 / 332.28;
        z-index: 7;
        pointer-events: none;
    }

    .decor-wrapper-11-mobile > img{
        position: absolute;
        transform: scale(0.9);
    }

    .decor-wrapper-12-mobile {
        display: block;
        position: absolute;
        left: calc(-4 / var(--base) * 100%);
        bottom: calc(-21 / var(--base) * 100%);
        width: calc(219 / var(--base) * 100%);
        aspect-ratio: 219 / 261;
        z-index: 6;
        pointer-events: none;
    }

    .decor-wrapper-12-mobile > img{
        position: absolute;
        transform: scale(0.9);
    }

    .decor-wrapper-13-mobile {
        display: block;
        position: relative;
        width: calc(268 / 440 * 100%);
        aspect-ratio: 268 / 94;
        margin-top: 24px;
        top: 35%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.7);
    }

    .decor-wrapper-13-mobile .decor-img {
        position: absolute;
        transform: translate(-50%, -50%);
    }

    .decor-wrapper-13-mobile .decor-img:nth-child(1) {
        top: 50%;
        left: 50%;
        z-index: 3;
    }

    .decor-wrapper-13-mobile .decor-img:nth-child(2) {
        top: 167%;
        left: 50%;
    }

    .decor-wrapper-13-mobile .decor-img:nth-child(3) {
        top: -70%;
        left: 59%;
    }
}

/* A centered color band behind the section */
.section-yellow,
.section-prizes,
.section-signup {
    --band: 1440; /* Figma frame width */
    --band-color: #FFDC1E; /* the yellow */
    position: relative;
    background: transparent; /* let the page’s black show on the sides */
}

.section-yellow::before,
.section-prizes::before,
.section-signup::before {
    content: "";
    position: absolute;
    inset: 0; /* same height as the section */
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, calc(var(--band) * 1px)); /* center-constrained band */
    background: var(--band-color);
    z-index: -1; /* sit behind the content */
}

.hero-wrap, .prizes-wrap, .signup-wrap {
    isolation: initial;           /* was: isolate */
}

@media (orientation: landscape)
and (max-height: 540px) {
    .hero-wrap,
    .poster-wrap,
    .signup-wrap {
        --base: 540 !important;
        position: relative;
        width: 100%;
        max-width: 100vw;  /* ensure it never exceeds viewport width */
        margin-inline: auto;
    }

    .decor-wrapper-1,
    .decor-wrapper-2,
    .decor-wrapper-3,
    .decor-wrapper-4,
    .decor-wrapper-5,
    .decor-wrapper-6,
    .decor-wrapper-7,
    .decor-wrapper-8,
    .decor-wrapper-9,
    .decor-wrapper-10,
    .decor-wrapper-11,
    .decor-wrapper-12,
    .decor-wrapper-13,
    .decor-wrapper-14,
    .decor-wrapper-15,
    .decor-wrapper-16,
    .decor-wrapper-17,
    .decor-wrapper-18,
    .decor-wrapper-19,
    .decor-wrapper-20,
    .decor-wrapper-21 {
        display: none;
    }

    .decor-wrapper-1-mobile {
        display: block;
        position: absolute;
        left: calc(-55 / var(--base) * 100%);
        top: calc(-79 / var(--base) * 100%);
        width: calc(188.79 / var(--base) * 100%);
        aspect-ratio: 188.79 / 224.36;
        z-index: 10;
        pointer-events: none;
    }

    .decor-wrapper-1-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-2-mobile {
        display: block;
        position: absolute;
        right: calc(-111 / var(--base) * 100%);
        top: calc(-32 / var(--base) * 100%);
        width: calc(236.39 / var(--base) * 100%);
        aspect-ratio: 236.39 / 83.04;
        z-index: 9;
        pointer-events: none;
    }

    .decor-wrapper-2-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-3-mobile {
        display: block;
        position: absolute;
        left: calc(-67 / var(--base) * 100%);
        top: calc(228 / var(--base) * 100%);
        width: calc(253.17 / var(--base) * 100%);
        aspect-ratio: 253.17 / 358.07;
        z-index: 8;
        pointer-events: none;
    }

    .decor-wrapper-3-mobile > img {
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-4-mobile {
        display: block;
        position: absolute;
        left: calc(-69 / var(--base) * 100%);
        top: calc(220 / var(--base) * 100%);
        width: calc(211.13 / var(--base) * 100%);
        aspect-ratio: 211.13 / 298.62;
        z-index: 13;
        pointer-events: none;
    }

    .decor-wrapper-4-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-6-mobile {
        display: block;
        position: absolute;
        right: calc(-138 / var(--base) * 100%);
        bottom: calc(-123 / var(--base) * 100%);
        width: calc(211 / var(--base) * 100%);
        aspect-ratio: 211 / 196;
        z-index: 11;
        pointer-events: none;
    }

    .decor-wrapper-6-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-7-mobile {
        display: block;
        position: absolute;
        right: calc(-90 / var(--base) * 100%);
        top: calc(-57 / var(--base) * 100%);
        width: calc(188.79 / var(--base) * 100%);
        aspect-ratio: 188.79 / 224.36;
        z-index: 8;
        pointer-events: none;
    }

    .decor-wrapper-7-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-8-mobile {
        display: block;
        position: absolute;
        right: calc(126 / var(--base) * 100%);
        top: calc(-45 / var(--base) * 100%);
        width: calc(234.93 / var(--base) * 100%);
        aspect-ratio: 234.93 / 332.28;
        z-index: 17;
        pointer-events: none;
    }

    .decor-wrapper-8-mobile > img{
        position: absolute;
        transform: scale(0.8);
    }

    .decor-wrapper-9-mobile {
        display: block;
        position: absolute;
        right: calc(-30 / var(--base) * 100%);
        top: calc(160 / var(--base) * 100%);
        width: calc(217.5 / var(--base) * 100%);
        aspect-ratio: 217.5 / 307.62;
        z-index: 9;
        pointer-events: none;
    }

    .decor-wrapper-9-mobile > img{
        position: absolute;
        transform: scale(0.9);
    }

    .decor-wrapper-10-mobile {
        display: block;
        position: absolute;
        right: calc(-37 / var(--base) * 100%);
        top: calc(495 / var(--base) * 100%);
        width: calc(219 / var(--base) * 100%);
        aspect-ratio: 219 / 261;
        z-index: 16;
        pointer-events: none;
    }

    .decor-wrapper-10-mobile > img{
        position: absolute;
        transform: scale(0.9);
    }

    .decor-wrapper-11-mobile {
        display: block;
        position: absolute;
        left: calc(-320 / var(--base) * 100%);
        bottom: calc(122 / var(--base) * 100%);
        width: calc(234.93 / var(--base) * 100%);
        aspect-ratio: 234.93 / 332.28;
        z-index: 7;
        pointer-events: none;
    }

    .decor-wrapper-11-mobile > img{
        position: absolute;
        transform: scale(0.9);
    }

    .decor-wrapper-12-mobile {
        display: block;
        position: absolute;
        left: calc(77 / var(--base) * 100%);
        bottom: calc(33 / var(--base) * 100%);
        width: calc(219 / var(--base) * 100%);
        aspect-ratio: 219 / 261;
        z-index: 6;
        pointer-events: none;
    }

    .decor-wrapper-12-mobile > img{
        position: absolute;
        transform: scale(0.9);
    }
}

/* Tablets – portrait orientation (iPad, Samsung Tab, etc.) */
@media (orientation: portrait)
and (min-width: 600px)
and (min-height: 800px)
and (max-width: 1024px) {
    .hero-wrap,
    .poster-wrap,
    .signup-wrap {
        --base: 768;
        width: min(100%, calc(var(--base) * 1px));
    }

    .decor-wrapper-1,
    .decor-wrapper-2,
    .decor-wrapper-3,
    .decor-wrapper-4,
    .decor-wrapper-5,
    .decor-wrapper-6,
    .decor-wrapper-7,
    .decor-wrapper-8,
    .decor-wrapper-9,
    .decor-wrapper-10,
    .decor-wrapper-11,
    .decor-wrapper-12,
    .decor-wrapper-13,
    .decor-wrapper-14,
    .decor-wrapper-15,
    .decor-wrapper-16,
    .decor-wrapper-17,
    .decor-wrapper-18,
    .decor-wrapper-19,
    .decor-wrapper-20,
    .decor-wrapper-21 {
        display: none;
    }

    .decor-wrapper-1-mobile {
        display: block;
        position: absolute;
        left: calc(-55 / var(--base) * 100%);
        top: calc(-175 / var(--base) * 100%);
        width: calc(188.79 / var(--base) * 100%);
        aspect-ratio: 188.79 / 224.36;
        z-index: 10;
        pointer-events: none;
    }

    .decor-wrapper-1-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-3-mobile {
        display: block;
        position: absolute;
        left: calc(-102 / var(--base) * 100%);
        top: calc(284 / var(--base) * 100%);
        width: calc(253.17 / var(--base) * 100%);
        aspect-ratio: 253.17 / 358.07;
        z-index: 8;
        pointer-events: none;
    }

    .decor-wrapper-3-mobile > img {
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-4-mobile {
        display: block;
        position: absolute;
        left: calc(-107 / var(--base) * 100%);
        top: calc(279 / var(--base) * 100%);
        width: calc(211.13 / var(--base) * 100%);
        aspect-ratio: 211.13 / 298.62;
        z-index: 13;
        pointer-events: none;
    }

    .decor-wrapper-4-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-5-mobile {
        display: block;
        position: absolute;
        left: calc(-124 / var(--base) * 100%);
        bottom: calc(-138 / var(--base) * 100%);
        width: calc(234.93 / var(--base) * 100%);
        aspect-ratio: 234.93 / 332.28;
        z-index: 14;
        pointer-events: none;
    }

    .decor-wrapper-5-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-6-mobile {
        display: block;
        position: absolute;
        right: calc(-87 / var(--base) * 100%);
        bottom: calc(-50 / var(--base) * 100%);
        width: calc(211 / var(--base) * 100%);
        aspect-ratio: 211 / 196;
        z-index: 11;
        pointer-events: none;
    }

    .decor-wrapper-6-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-11-mobile {
        display: block;
        position: absolute;
        left: calc(-129 / var(--base) * 100%);
        bottom: calc(301 / var(--base) * 100%);
        width: calc(234.93 / var(--base) * 100%);
        aspect-ratio: 234.93 / 332.28;
        z-index: 7;
        pointer-events: none;
    }

    .decor-wrapper-11-mobile > img{
        position: absolute;
        transform: scale(0.9);
    }

    .decor-wrapper-12-mobile {
        display: block;
        position: absolute;
        left: calc(62 / var(--base) * 100%);
        bottom: calc(118 / var(--base) * 100%);
        width: calc(219 / var(--base) * 100%);
        aspect-ratio: 219 / 261;
        z-index: 6;
        pointer-events: none;
    }

    .decor-wrapper-12-mobile > img{
        position: absolute;
        transform: scale(0.9);
    }

    .decor-wrapper-13-mobile {
        display: block;
        position: relative;
        width: calc(268 / 440 * 100%);
        aspect-ratio: 268 / 94;
        margin-top: 24px;
        top: 35%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.7);
    }

    .decor-wrapper-13-mobile .decor-img {
        position: absolute;
        transform: translate(-50%, -50%);
    }

    .decor-wrapper-13-mobile .decor-img:nth-child(1) {
        top: 50%;
        left: 50%;
        z-index: 3;
    }

    .decor-wrapper-13-mobile .decor-img:nth-child(2) {
        top: 167%;
        left: 50%;
    }

    .decor-wrapper-13-mobile .decor-img:nth-child(3) {
        top: -70%;
        left: 59%;
    }
}

/* Tablets – landscape orientation */
@media (orientation: landscape)
and (min-width: 900px)
and (min-height: 600px)
and (max-width: 1366px) {
    .hero-wrap,
    .poster-wrap,
    .signup-wrap {
        --base: 1024;
        width: min(100%, calc(var(--base) * 1px));
    }

    .decor-wrapper-1,
    .decor-wrapper-2,
    .decor-wrapper-3,
    .decor-wrapper-4,
    .decor-wrapper-5,
    .decor-wrapper-6,
    .decor-wrapper-7,
    .decor-wrapper-8,
    .decor-wrapper-9,
    .decor-wrapper-10,
    .decor-wrapper-11,
    .decor-wrapper-12,
    .decor-wrapper-13,
    .decor-wrapper-14,
    .decor-wrapper-15,
    .decor-wrapper-16,
    .decor-wrapper-17,
    .decor-wrapper-18,
    .decor-wrapper-19,
    .decor-wrapper-20,
    .decor-wrapper-21 {
        display: none;
    }

    .decor-wrapper-1-mobile {
        display: block;
        position: absolute;
        left: calc(-55 / var(--base) * 100%);
        top: calc(-175 / var(--base) * 100%);
        width: calc(188.79 / var(--base) * 100%);
        aspect-ratio: 188.79 / 224.36;
        z-index: 10;
        pointer-events: none;
    }

    .decor-wrapper-1-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-3-mobile {
        display: block;
        position: absolute;
        left: calc(-102 / var(--base) * 100%);
        top: calc(284 / var(--base) * 100%);
        width: calc(253.17 / var(--base) * 100%);
        aspect-ratio: 253.17 / 358.07;
        z-index: 8;
        pointer-events: none;
    }

    .decor-wrapper-3-mobile > img {
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-4-mobile {
        display: block;
        position: absolute;
        left: calc(-107 / var(--base) * 100%);
        top: calc(279 / var(--base) * 100%);
        width: calc(211.13 / var(--base) * 100%);
        aspect-ratio: 211.13 / 298.62;
        z-index: 13;
        pointer-events: none;
    }

    .decor-wrapper-4-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-5-mobile {
        display: block;
        position: absolute;
        left: calc(-124 / var(--base) * 100%);
        bottom: calc(-138 / var(--base) * 100%);
        width: calc(234.93 / var(--base) * 100%);
        aspect-ratio: 234.93 / 332.28;
        z-index: 14;
        pointer-events: none;
    }

    .decor-wrapper-5-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-6-mobile {
        display: block;
        position: absolute;
        right: calc(-87 / var(--base) * 100%);
        bottom: calc(-50 / var(--base) * 100%);
        width: calc(211 / var(--base) * 100%);
        aspect-ratio: 211 / 196;
        z-index: 11;
        pointer-events: none;
    }

    .decor-wrapper-6-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-11-mobile {
        display: block;
        position: absolute;
        left: calc(-6 / var(--base) * 100%);
        bottom: calc(-64 / var(--base) * 100%);
        width: calc(234.93 / var(--base) * 100%);
        aspect-ratio: 234.93 / 332.28;
        z-index: 7;
        pointer-events: none;
    }

    .decor-wrapper-11-mobile > img{
        position: absolute;
        transform: scale(0.9);
    }

    .decor-wrapper-12-mobile {
        display: block;
        position: absolute;
        left: calc(91 / var(--base) * 100%);
        bottom: calc(-157 / var(--base) * 100%);
        width: calc(219 / var(--base) * 100%);
        aspect-ratio: 219 / 261;
        z-index: 6;
        pointer-events: none;
    }

    .decor-wrapper-12-mobile > img{
        position: absolute;
        transform: scale(0.9);
    }
}

/* ========= TABLETS — PORTRAIT (iPad / Galaxy Tab portrait) ========= */
@media (orientation: portrait) and (min-width: 600px) and (max-width: 1024px) {
    .section-prizes { padding: 64px 24px; }

    /* Two columns, gallery left (~40%), text right (~60%) */
    .prizes-wrap {
        max-width: 760px;      /* fits 768 portrait nicely */
        margin-inline: auto;
        display: grid;
        grid-template-columns: 0.42fr 0.58fr;
        align-items: start;
        gap: 24px;
    }

    /* Gallery column */
    .prizes-gallery {
        width: auto;           /* stop forcing 600px */
        flex: none;
        display: grid;         /* still stacked, just controlled */
        grid-auto-rows: 1fr;
        gap: 8px;
    }
    .prize-shot { aspect-ratio: 4 / 3; }  /* a bit shorter so text starts higher */
    .prize-shot img { object-position: center; }

    /* Text column */
    .prizes-menu {
        width: auto;
        flex: none;
        gap: 28px;
    }

    .prizes-kicker   { font-size: 52px; line-height: 1.05; padding-left: 16px; max-width: 100%; }
    .prizes-block    { padding-left: 16px; gap: 12px; max-width: 100%; }
    .prizes-label    { font-size: 26px; line-height: 1.3; }
    .prizes-title    { font-size: 40px; line-height: 1.05; }
    .prizes-note     { font-size: 15px; }
    .prizes-cta      { padding-left: 16px; }
    .btn-cta--sm     { width: 200px; }
}

/* ========= TABLETS — LANDSCAPE (iPad / Galaxy Tab landscape) ========= */
@media (min-width: 900px) and (max-width: 1368px) and (orientation: landscape) {
    .section-prizes {
        padding: 96px 32px;
    }
    .prizes-wrap {
        --base: 1120;                         /* landscape plane */
        max-width: 1120px;
        gap: 48px;                            /* less than desktop’s 80 */
    }

    /* keep two columns; give gallery a hair more room */
    .prizes-gallery { flex: 1 1 52%; }
    .prizes-menu    { flex: 1 1 48%; }

    .prizes-kicker {
        padding-left: 24px;
        max-width: 560px;
        font-size: clamp(44px, 4.2vw, 60px);
    }
    .prizes-block { padding-left: 24px; gap: 16px; }
    .prizes-label { font-size: clamp(24px, 2.3vw, 30px); }
    .prizes-title { font-size: clamp(36px, 3.6vw, 44px); }
    .prizes-note  { font-size: 16px; }

    .prizes-cta { padding-left: 24px; }
    .btn-cta--sm { width: 200px; }
}

/* ---- Optional: if text feels cramped on the narrowest tablets,
   stack columns just for really tight widths (e.g. old iPad Mini) ---- */
@media (min-width: 600px) and (max-width: 820px) and (orientation: portrait) {
    .prizes-wrap { flex-direction: column; align-items: stretch; }
    .prizes-gallery, .prizes-menu { flex: none; width: 100%; }
}
