:root {
    --red: #EA7624;
    --red-dk: #c01020;
    --navy: #C62369;
    --navy-lt: #C62369;
    --gold: #F5A623;
    --white: #FFFFFF;
    --off: #F7F8FC;
    --muted: #6B7280;
    --border: #E5E8F0;
    --green: #22C55E;
    --shadow: 0 4px 24px rgba(26, 36, 86, .10);
    --shadow-lg: 0 8px 40px rgba(26, 36, 86, .16);
    --r: 16px;
    --r-sm: 10px;
    --transition: .22s cubic-bezier(.4, 0, .2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Inter', sans-serif;
    background: #f0f2f8;
    color: #C62369;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════
   LAYOUT SHELL
═══════════════════════════════════════════ */
.app-shell {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 0;
}

/* On desktop: centered card */
@media(min-width:768px) {
    .app-shell {
        background: linear-gradient(135deg, #EA7624 0%, #C62369 40%, #c01020 100%);
        padding: 40px 20px;
        align-items: center;
    }
}

/* ═══════════════════════════════════════════
   CARD WRAPPER (mobile = full width, desktop = card)
═══════════════════════════════════════════ */
.card-wrap {
    width: 100%;
    max-width: 480px;
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
}

@media(min-width:768px) {
    .card-wrap {
        border-radius: 28px;
        min-height: auto;
        box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    }
}

/* ═══════════════════════════════════════════
   PAGES
═══════════════════════════════════════════ */
.page {
    display: none;
    flex-direction: column;
    min-height: 100vh;
}

.page.active {
    display: flex;
}

@media(min-width:768px) {
    .page {
        min-height: auto;
    }
}

/* ═══════════════════════════════════════════
   HEADER (common)
═══════════════════════════════════════════ */
.hdr {
    position: relative;
    padding: 28px 24px 0;
    background: #fff;
    z-index: 2;
}

.logo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 52px;
    height: 52px;
}

.logo-text {}

.logo-text .brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 17px;
    color: var(--red);
    line-height: 1.1;
}

.logo-text .sub {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 9px;
    color: var(--navy);
    letter-spacing: .5px;
}

.logo-text .city {
    font-size: 8px;
    color: var(--muted);
    letter-spacing: 2px;
    font-weight: 600;
    border-top: 1px solid var(--border);
    margin-top: 2px;
    padding-top: 2px;
}

.ball-decor {
    position: absolute;
    top: -10px;
    right: 12px;
    width: 90px;
    opacity: .92;
    transform: rotate(-12deg);
    filter: drop-shadow(2px 4px 12px rgba(232, 25, 44, .25));
}

.campaign-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 16px auto 0;
    background: linear-gradient(135deg, #fff 0%, #f0f2f8 100%);
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 7px 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: var(--navy);
    box-shadow: 0 2px 8px rgba(26, 36, 86, .08);
}

.campaign-badge span {
    color: var(--red);
}

.hdr-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ═══════════════════════════════════════════
   STEP INDICATOR
═══════════════════════════════════════════ */
.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 20px 24px 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin-top: -18px;
}

.step-line.done {
    background: var(--red);
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    border: 2px solid var(--border);
    background: #fff;
    color: var(--muted);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.step-circle.done {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.step-circle.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(232, 25, 44, .18);
}

.step-label {
    font-size: 9px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: .3px;
    text-align: center;
    margin-top: 4px;
}

.step-label.active {
    color: var(--navy);
    font-weight: 700;
}

.step-item-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ═══════════════════════════════════════════
   HERO TEXT
═══════════════════════════════════════════ */
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.1;
    text-align: center;
    padding: 24px 24px 0;
    color: var(--navy);
}

.hero-title .accent {
    color: var(--red);
    font-style: italic;
}

.hero-sub {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    padding: 8px 32px 0;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════
   FORM INPUTS
═══════════════════════════════════════════ */
.form-wrap {
    padding: 20px 20px 0;
}

.field {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--off);
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    padding: 14px 16px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.field:focus-within {
    border-color: var(--red);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(232, 25, 44, .10);
}

.field-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--red);
}

.field input,
.field select {
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--navy);
    flex: 1;
    min-width: 0;
}

.field input::placeholder,
.field select option[value=""] {
    color: #adb5bd;
}

.field select {
    cursor: pointer;
}

.hint-text {
    font-size: 10px;
    color: var(--muted);
    text-align: center;
    padding: 0 8px 8px;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dk) 100%);
    color: #fff;
    border: none;
    border-radius: var(--r-sm);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .5px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(232, 25, 44, .35);
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(232, 25, 44, .4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px;
    background: #fff;
    color: var(--navy);
    border: 2px solid var(--navy);
    border-radius: var(--r-sm);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .5px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-secondary:hover {
    background: var(--navy);
    color: #fff;
}

.btn-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--red);
}

.btn-text svg {
    width: 14px;
    height: 14px;
}

/* ═══════════════════════════════════════════
   ACTION CARDS (Choose Action page)
═══════════════════════════════════════════ */
.action-cards {
    padding: 20px 20px 0;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    padding: 18px;
    margin-bottom: 14px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--red);
    transform: scaleY(0);
    transition: var(--transition);
    transform-origin: bottom;
}

.action-card:hover {
    border-color: var(--red);
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
}

.action-card:hover::before {
    transform: scaleY(1);
}

.action-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.action-icon.red {
    background: linear-gradient(135deg, #ff6b6b, var(--red));
}

.action-icon.navy {
    background: linear-gradient(135deg, var(--navy-lt), var(--navy));
}

.action-icon.pink {
    background: linear-gradient(135deg, #ff8fab, var(--red));
}

.action-icon svg {
    width: 26px;
    height: 26px;
    color: #fff;
}

.action-info {
    flex: 1;
}

.action-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 15px;
    color: var(--navy);
    margin-bottom: 3px;
}

.action-title.red {
    color: var(--red);
}

.action-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.4;
}

.action-desc strong {
    color: var(--red);
}

.action-chevron {
    color: var(--muted);
    flex-shrink: 0;
}

.action-chevron svg {
    width: 18px;
    height: 18px;
}

/* ═══════════════════════════════════════════
   OFFICE GRID
═══════════════════════════════════════════ */
.office-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px 20px 0;
}

.office-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    padding: 14px 12px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(26, 36, 86, .06);
}

.office-card:hover {
    border-color: var(--red);
    box-shadow: 0 4px 16px rgba(232, 25, 44, .14);
}

.office-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(232, 25, 44, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.office-icon svg {
    width: 20px;
    height: 20px;
    color: var(--red);
}

.office-info {}

.office-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: var(--navy);
}

.office-addr {
    font-size: 10px;
    color: var(--muted);
}

.office-chev {
    margin-left: auto;
    color: var(--muted);
}

.office-chev svg {
    width: 14px;
    height: 14px;
}

/* ═══════════════════════════════════════════
   SUCCESS / GOAL KICK PAGE
═══════════════════════════════════════════ */
.success-header {
    background: linear-gradient(160deg, var(--navy) 0%, #C62369 60%, var(--red) 100%);
    padding: 40px 24px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.success-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='25'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.confetti-row {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 20px;
}

.check-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 0 0 12px rgba(34, 197, 94, .2), 0 8px 32px rgba(34, 197, 94, .4);
    animation: pulse-check .6s ease .2s both;
}

@keyframes pulse-check {
    0% {
        transform: scale(0);
        opacity: 0
    }

    60% {
        transform: scale(1.15)
    }

    100% {
        transform: scale(1);
        opacity: 1
    }
}

.check-circle svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

.goal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(42px, 12vw, 56px);
    color: #fff;
    letter-spacing: 2px;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, .3);
}

.goal-sub-text {
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
    margin-top: 8px;
    font-weight: 500;
}

.goal-info-card {
    margin: 20px 20px 0;
    background: linear-gradient(135deg, #fff8f8, #fff);
    border: 1.5px solid rgba(232, 25, 44, .2);
    border-radius: var(--r);
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.goal-info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.goal-info-icon svg {
    width: 48px;
    height: 48px;
}

.goal-info-text {}

.goal-info-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--red);
    margin-bottom: 4px;
}

.goal-info-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}

.action-buttons {
    padding: 20px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prize-banner {
    margin: 20px 20px 0;
    background: linear-gradient(135deg, #fff8e1, #fff3cd);
    border: 1.5px solid #f5c518;
    border-radius: var(--r-sm);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.prize-banner-text {
    font-size: 13px;
    color: #92400e;
    font-weight: 600;
    flex: 1;
}

.prize-banner-text strong {
    color: var(--red);
}

/* ═══════════════════════════════════════════
   SCOREBOARD PAGE
═══════════════════════════════════════════ */
.score-form {
    padding: 20px 20px 0;
}

.scoreboard-card {
    margin: 16px 20px 0;
    background: linear-gradient(135deg, var(--navy) 0%, #C62369 100%);
    border-radius: var(--r);
    padding: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.scoreboard-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}

.scoreboard-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(232, 25, 44, .15);
}

.sb-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.trophy-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f5a623, #e8891a);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(245, 166, 35, .4);
}

.trophy-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.sb-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #fff;
}

.sb-title span {
    color: var(--gold);
}

.sb-rows {
    position: relative;
    z-index: 1;
}

.sb-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.sb-row:last-child {
    border-bottom: none;
}

.sb-row-icon {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, .6);
    flex-shrink: 0;
}

.sb-row-label {
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
    flex: 1;
}

.sb-row-val {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.sb-row-val.gold {
    color: var(--gold);
}

.sb-row-val.big {
    font-size: 22px;
    color: #fff;
}

.progress-wrap {
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 6px;
}

.progress-bar {
    height: 8px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .15);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    width: 35%;
    transition: width 1s ease;
}

.sb-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px 20px 0;
}

.sb-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    border-radius: var(--r-sm);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.sb-action-btn.outline-red {
    border-color: var(--red);
    color: var(--red);
    background: #fff;
}

.sb-action-btn.outline-red:hover {
    background: var(--red);
    color: #fff;
}

.sb-action-btn.outline-navy {
    border-color: var(--navy);
    color: var(--navy);
    background: #fff;
}

.sb-action-btn.outline-navy:hover {
    background: var(--navy);
    color: #fff;
}

.sb-action-btn svg {
    width: 16px;
    height: 16px;
}

/* ═══════════════════════════════════════════
   REGISTRATION PAGE
═══════════════════════════════════════════ */
.reg-hero {
    background: linear-gradient(160deg, var(--navy) 0%, #C62369 100%);
    padding: 32px 24px 28px;
    position: relative;
    overflow: hidden;
}

.reg-hero::before {
    content: '⚽';
    font-size: 120px;
    position: absolute;
    right: -20px;
    top: -20px;
    opacity: .08;
    filter: grayscale(1);
    line-height: 1;
}

.reg-hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(36px, 10vw, 48px);
    color: #fff;
    letter-spacing: 2px;
    line-height: 1;
}

.reg-hero-title span {
    color: var(--red);
}

.reg-hero-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
    margin-top: 8px;
    line-height: 1.5;
}

.reg-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 11px;
    color: rgba(255, 255, 255, .9);
    font-weight: 600;
    margin-bottom: 12px;
}

/* ═══════════════════════════════════════════
   FOOTER (common)
═══════════════════════════════════════════ */
.page-footer {
    margin-top: auto;
    background: linear-gradient(135deg, var(--navy) 0%, #C62369 100%);
    padding: 20px 24px;
}

.refer-score-win {
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 12px;
}

.refer-score-win span {
    color: var(--white);
}

.refer-score-win span.r {
    color: var(--red);
}

.footer-services {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    margin-bottom: 14px;
}

.footer-service {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, .7);
}

.footer-service svg {
    width: 14px;
    height: 14px;
    color: var(--red);
}

.footer-service-label {
    font-weight: 500;
}

.footer-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 6px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, .8);
    font-weight: 600;
}

.contact-item svg {
    width: 14px;
    height: 14px;
    color: var(--red);
}

.footer-addr {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
}

.footer-uk {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #C62369, #12204f);
    border-top: 2px solid rgba(232, 25, 44, .4);
    padding: 14px 24px;
}

.uk-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .3);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.uk-text {}

.uk-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #fff;
}

.uk-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, .6);
}

/* ═══════════════════════════════════════════
   PRIVACY NOTE
═══════════════════════════════════════════ */
.privacy-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 20px 0;
    padding: 10px 14px;
    background: rgba(26, 36, 86, .04);
    border-radius: 8px;
    font-size: 10px;
    color: var(--muted);
    line-height: 1.4;
}

.privacy-note svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--muted);
}

/* ═══════════════════════════════════════════
   DIVIDER
═══════════════════════════════════════════ */
.or-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    margin: 8px 0;
    font-size: 12px;
    color: var(--muted);
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.fade-in {
    animation: fadeInUp .4s ease both;
}

.fade-in-1 {
    animation: fadeInUp .4s ease .05s both;
}

.fade-in-2 {
    animation: fadeInUp .4s ease .1s both;
}

.fade-in-3 {
    animation: fadeInUp .4s ease .15s both;
}

.fade-in-4 {
    animation: fadeInUp .4s ease .2s both;
}

/* Page transitions */
.page-enter {
    animation: fadeInUp .35s ease both;
}

/* ═══════════════════════════════════════════
   TROPHY ANIMATION
═══════════════════════════════════════════ */
.trophy-center {
    display: flex;
    justify-content: center;
    padding: 8px 0 0;
}

.trophy-wrap {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trophy-wrap::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--red), var(--navy), var(--gold), var(--red));
    animation: spin 4s linear infinite;
    z-index: 0;
}

.trophy-wrap::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: #fff;
    z-index: 1;
}

.trophy-wrap svg {
    position: relative;
    z-index: 2;
    width: 28px;
    height: 28px;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

/* Spacer */
.spacer {
    height: 20px;
}

.spacer-sm {
    height: 12px;
}

/* ═══════════════════════════════════════════
   STEP CONNECTOR (horizontal between step items)
═══════════════════════════════════════════ */
.steps-row {
    display: flex;
    align-items: flex-start;
    padding: 20px 32px 0;
    gap: 0;
}

.step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin-top: 17px;
}

.step-connector.done {
    background: var(--red);
}

/* ═══════════════════════════════════════════
   MOBILE SAFE AREA
═══════════════════════════════════════════ */
.bottom-spacer {
    height: 16px;
}

/* ═══════════════════════════════════════════
   PRIZES PAGE
═══════════════════════════════════════════ */
.prizes-hero {
    background: linear-gradient(160deg, #0d1430 0%, #C62369 45%, #8b0e1a 100%);
    padding: 36px 24px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.prizes-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(232, 25, 44, .25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(245, 166, 35, .15) 0%, transparent 60%);
}

.prizes-hero::after {
    content: '⚽';
    position: absolute;
    right: -18px;
    bottom: -10px;
    font-size: 130px;
    opacity: .06;
    line-height: 1;
    filter: grayscale(1);
}

.prizes-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 11px;
    color: rgba(255, 255, 255, .8);
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    transition: var(--transition);
    border: none;
}

.prizes-back-btn:hover {
    background: rgba(255, 255, 255, .18);
}

.prizes-hero-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.prizes-hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(44px, 12vw, 60px);
    letter-spacing: 3px;
    line-height: 1;
    color: #fff;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 30px rgba(0, 0, 0, .4);
}

.prizes-hero-title span {
    color: var(--gold);
}

.prizes-hero-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
    margin-top: 10px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Trophy podium visual */
.podium-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    position: relative;
    z-index: 1;
}

.podium-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.podium-medal {
    font-size: 28px;
    margin-bottom: 4px;
}

.podium-block {
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    color: #fff;
    letter-spacing: 1px;
    width: 70px;
}

.podium-block.first {
    height: 64px;
    background: linear-gradient(135deg, #f5a623, #e8891a);
    box-shadow: 0 -4px 20px rgba(245, 166, 35, .5);
}

.podium-block.second {
    height: 48px;
    background: linear-gradient(135deg, #c0c8d8, #8898aa);
    box-shadow: 0 -4px 16px rgba(192, 200, 216, .3);
}

.podium-block.third {
    height: 36px;
    background: linear-gradient(135deg, #cd7f32, #a0522d);
    box-shadow: 0 -4px 14px rgba(205, 127, 50, .3);
}

/* Prize cards */
.prize-cards {
    padding: 24px 20px 0;
}

.prize-card {
    border-radius: 20px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: var(--transition);
}

.prize-card:hover {
    transform: translateY(-3px);
}

/* 1st place */
.prize-card.gold-card {
    background: linear-gradient(135deg, #C62369 0%, #0d1430 100%);
    border: 2px solid rgba(245, 166, 35, .4);
}

.prize-card.silver-card {
    background: linear-gradient(135deg, #1e2535 0%, #111827 100%);
    border: 2px solid rgba(192, 200, 216, .3);
}

.prize-card.bronze-card {
    background: linear-gradient(135deg, #2a1a10 0%, #1a0f08 100%);
    border: 2px solid rgba(205, 127, 50, .3);
}

.prize-card-inner {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.prize-rank-strip {
    width: 64px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
    position: relative;
}

.prize-rank-strip.gold {
    background: linear-gradient(180deg, #f5a623, #e8891a);
}

.prize-rank-strip.silver {
    background: linear-gradient(180deg, #b0bec5, #78909c);
}

.prize-rank-strip.bronze {
    background: linear-gradient(180deg, #cd7f32, #8b4513);
}

.prize-rank-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    color: #fff;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.prize-rank-label {
    font-size: 8px;
    font-weight: 700;
    color: rgba(255, 255, 255, .8);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

.prize-content {
    flex: 1;
    padding: 20px 16px 20px 20px;
}

.prize-place-tag {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.prize-place-tag.gold {
    color: var(--gold);
}

.prize-place-tag.silver {
    color: #b0bec5;
}

.prize-place-tag.bronze {
    color: #cd7f32;
}

.prize-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(22px, 6vw, 28px);
    letter-spacing: 1px;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 6px;
}

.prize-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, .55);
    line-height: 1.4;
}

.prize-value {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    background: rgba(255, 255, 255, .08);
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
}

.prize-value.gold {
    color: var(--gold);
}

.prize-value.silver {
    color: #c8d6e0;
}

.prize-value.bronze {
    color: #e09a5a;
}

.prize-icon-area {
    padding: 20px 20px 20px 0;
    font-size: clamp(42px, 11vw, 56px);
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .3));
}

/* Glow effects */
.prize-card.gold-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(245, 166, 35, .12);
    filter: blur(20px);
}

.prize-card.silver-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(192, 200, 216, .08);
    filter: blur(16px);
}

.prize-card.bronze-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(205, 127, 50, .1);
    filter: blur(16px);
}

/* How to win section */
.how-to-win {
    margin: 8px 20px 0;
    background: linear-gradient(135deg, #f0f2f8, #e8ebf4);
    border-radius: var(--r);
    border: 1.5px solid var(--border);
    padding: 20px;
}

.htw-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 14px;
    text-align: center;
}

.htw-title span {
    color: var(--red);
}

.htw-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.htw-step {
    display: flex;
    align-items: center;
    gap: 12px;
}

.htw-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--red), var(--red-dk));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 12px;
    color: #fff;
}

.htw-step-text {
    font-size: 12px;
    color: var(--navy);
    line-height: 1.4;
}

.htw-step-text strong {
    color: var(--red);
}

/* CTA in prizes page */
.prizes-cta {
    padding: 20px 20px 0;
}

/* Trophy footer button */
.trophy-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    transition: var(--transition);
}

.trophy-btn:hover .trophy-wrap {
    transform: scale(1.1);
}

.trophy-btn-label {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, .5);
    letter-spacing: 1px;
    text-transform: uppercase;
}