/* UCPL Season 3 page — forged from the official Season 3 lockup */

:root {
    --s3-bg: #f7f4ef;
    --s3-bg-deep: #efeae2;
    --s3-ink: #1c1c1c;
    --s3-muted: #5c5c5c;
    --s3-line: rgba(28, 28, 28, 0.1);
    --s3-orange: #ff6b00;
    --s3-flame: #ff4500;
    --s3-gold: #ffb347;
    --s3-white: #ffffff;
}

body.season3-page {
    background: var(--s3-bg);
    color: var(--s3-ink);
    font-family: 'Poppins', sans-serif;
}

main.s3-main {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}

.s3-wrap {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}

/* ---- Hero ---- */
.s3-hero {
    position: relative;
    overflow: hidden;
    padding: 150px 20px 72px;
    background:
        radial-gradient(ellipse 55% 45% at 0% 0%, rgba(255, 120, 40, 0.3), transparent 70%),
        radial-gradient(ellipse 50% 42% at 100% 0%, rgba(255, 90, 30, 0.24), transparent 68%),
        radial-gradient(ellipse 55% 48% at 0% 100%, rgba(255, 70, 20, 0.28), transparent 72%),
        radial-gradient(ellipse 58% 50% at 100% 100%, rgba(255, 110, 35, 0.32), transparent 70%),
        radial-gradient(ellipse at 50% 40%, #fff 0%, var(--s3-bg) 75%);
    text-align: center;
}

.s3-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image: radial-gradient(rgba(28, 28, 28, 0.08) 0.7px, transparent 0.7px);
    background-size: 4px 4px;
}

.s3-embers {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 179, 71, 0.35) 0 2px, transparent 3px),
        radial-gradient(circle at 72% 18%, rgba(255, 107, 0, 0.28) 0 1.5px, transparent 3px),
        radial-gradient(circle at 84% 62%, rgba(255, 69, 0, 0.24) 0 2px, transparent 3px),
        radial-gradient(circle at 28% 78%, rgba(255, 179, 71, 0.22) 0 1.5px, transparent 3px);
    animation: s3-ember-drift 8s ease-in-out infinite alternate;
}

@keyframes s3-ember-drift {
    from { transform: translateY(0); opacity: 0.75; }
    to { transform: translateY(-10px); opacity: 1; }
}

/* Soft fire orbs — Season 3 page only (no blur) */
.s3-flame {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0.9;
}

.s3-flame-tl {
    width: min(380px, 52vw);
    height: min(380px, 52vw);
    top: -130px;
    left: -100px;
    background:
        radial-gradient(circle at 40% 40%,
            rgba(255, 220, 120, 0.95) 0%,
            rgba(255, 140, 40, 0.85) 35%,
            rgba(255, 69, 0, 0.5) 62%,
            transparent 75%);
    animation: s3-orb-tl 7.5s ease-in-out infinite;
}

.s3-flame-tr {
    width: min(340px, 48vw);
    height: min(340px, 48vw);
    top: -120px;
    right: -90px;
    background:
        radial-gradient(circle at 55% 35%,
            rgba(255, 200, 90, 0.9) 0%,
            rgba(255, 110, 30, 0.8) 40%,
            rgba(230, 50, 0, 0.45) 65%,
            transparent 78%);
    animation: s3-orb-tr 8.2s ease-in-out infinite;
    animation-delay: -1.5s;
}

.s3-flame-bl {
    width: min(400px, 56vw);
    height: min(400px, 56vw);
    bottom: -140px;
    left: -110px;
    background:
        radial-gradient(circle at 45% 50%,
            rgba(255, 180, 70, 0.88) 0%,
            rgba(255, 90, 20, 0.75) 38%,
            rgba(200, 30, 0, 0.4) 66%,
            transparent 78%);
    animation: s3-orb-bl 9s ease-in-out infinite;
    animation-delay: -2.4s;
}

.s3-flame-br {
    width: min(440px, 60vw);
    height: min(440px, 60vw);
    bottom: -150px;
    right: -100px;
    background:
        radial-gradient(circle at 50% 45%,
            rgba(255, 230, 140, 0.95) 0%,
            rgba(255, 150, 45, 0.9) 32%,
            rgba(255, 80, 10, 0.6) 58%,
            rgba(180, 20, 0, 0.3) 72%,
            transparent 82%);
    animation: s3-orb-br 7.8s ease-in-out infinite;
    animation-delay: -0.9s;
}

@keyframes s3-orb-tl {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.78; }
    50% { transform: scale(1.08) translate(8px, 6px); opacity: 0.98; }
}
@keyframes s3-orb-tr {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.72; }
    50% { transform: scale(1.1) translate(-6px, 8px); opacity: 0.94; }
}
@keyframes s3-orb-bl {
    0%, 100% { transform: scale(1.05) translate(0, 0); opacity: 0.7; }
    50% { transform: scale(1.12) translate(10px, -6px); opacity: 0.9; }
}
@keyframes s3-orb-br {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.82; }
    50% { transform: scale(1.09) translate(-8px, -8px); opacity: 1; }
}

.s3-hero-inner {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    margin: 0 auto;
}

.s3-eyebrow {
    margin: 0 0 10px;
    color: var(--s3-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.s3-title {
    margin: 0;
    font-family: 'Oswald', 'Poppins', sans-serif;
    font-size: clamp(3.2rem, 10vw, 5.6rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--s3-ink);
    line-height: 0.95;
}

.s3-tagline {
    margin: 14px 0 28px;
    color: var(--s3-ink);
    font-size: clamp(0.95rem, 2.4vw, 1.15rem);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.55;
}

.s3-hero-banner {
    margin: 0 auto 28px;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 0, 0.18);
    box-shadow:
        0 24px 60px rgba(255, 107, 0, 0.16),
        0 8px 24px rgba(0, 0, 0, 0.06);
    background: var(--s3-white);
    animation: s3-rise 0.8s ease both;
}

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

@keyframes s3-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.s3-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    animation: s3-rise 0.9s ease 0.08s both;
}

.s3-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.s3-btn:hover {
    transform: translateY(-1px);
}

.s3-btn-primary {
    background: linear-gradient(135deg, var(--s3-orange), var(--s3-flame));
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 107, 0, 0.28);
}

.s3-btn-primary:hover {
    box-shadow: 0 14px 30px rgba(255, 107, 0, 0.36);
}

.s3-btn-ghost {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--s3-line);
    color: var(--s3-ink);
}

.s3-btn-ghost:hover {
    border-color: rgba(255, 107, 0, 0.4);
    color: var(--s3-orange);
}

.s3-btn-block {
    width: 100%;
}

/* ---- Story ---- */
.s3-story {
    padding: 64px 0 28px;
    background:
        linear-gradient(180deg, transparent, rgba(255, 107, 0, 0.04)),
        var(--s3-bg);
}

.s3-section-title {
    margin: 0 0 12px;
    font-family: 'Oswald', 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--s3-ink);
}

.s3-section-lead {
    margin: 0;
    color: var(--s3-muted);
    font-size: 1.02rem;
    line-height: 1.65;
    max-width: 58ch;
}

.s3-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 36px;
    align-items: start;
}

.s3-pillars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.s3-pillars li {
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid var(--s3-line);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.s3-pillar-label {
    display: block;
    margin-bottom: 4px;
    color: var(--s3-orange);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.s3-pillar-copy {
    color: var(--s3-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* ---- Forms ---- */
.s3-forms {
    padding: 36px 0 72px;
}

.s3-forms-head {
    margin-bottom: 28px;
}

.s3-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.s3-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(255, 107, 0, 0.14);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 240, 0.92));
    box-shadow: 0 16px 36px rgba(255, 107, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.s3-form-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(255, 107, 0, 0.14);
}

.s3-form-panel-top {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
}

.s3-form-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 107, 0, 0.18), rgba(255, 179, 71, 0.28));
    color: var(--s3-orange);
    font-size: 1.05rem;
}

.s3-form-panel h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--s3-ink);
}

.s3-form-panel p {
    margin: 0;
    color: var(--s3-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ---- Contact ---- */
.s3-contact {
    padding: 0 0 88px;
}

.s3-contact-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: 28px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 0, 0.16);
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 107, 0, 0.12), transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(255, 69, 0, 0.1), transparent 40%),
        #1c1c1c;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.s3-contact .s3-section-title {
    color: #fff;
}

.s3-contact .s3-section-lead {
    color: rgba(255, 255, 255, 0.72);
}

.s3-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.s3-contact .s3-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.s3-contact .s3-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffb347;
}

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

@media (max-width: 768px) {
    .s3-hero {
        padding: 130px 16px 56px;
    }

    .s3-contact-inner {
        padding: 24px 20px;
    }

    .s3-flame-tl,
    .s3-flame-tr {
        width: min(260px, 62vw);
        height: min(260px, 62vw);
    }

    .s3-flame-bl,
    .s3-flame-br {
        width: min(290px, 70vw);
        height: min(290px, 70vw);
    }
}
