﻿/* =========================
   FC 27 — SETEC ARENA 2026
   ========================= */
html,body { margin:0; padding:0; background:#08090b; }

/* PAGE / HERO */
.arena-page.fc27-page {
    position:relative; width:100%; height:100vh; height:100dvh; min-height:640px;
    overflow:hidden; box-sizing:border-box; background:#08090b;
    font-family:'TT Norms Pro',Arial,sans-serif; color:#fff;
    animation:none;
}
.fc27-hero {
    position:absolute; inset:0; z-index:0; display:block; width:100%; height:100%;
    object-fit:cover; object-position:center; pointer-events:none;
}
.fc27-atmosphere {
    position:absolute; inset:0; z-index:1; pointer-events:none;
    background:linear-gradient(90deg,rgba(0,0,0,.45),rgba(0,0,0,.1) 32%,rgba(0,0,0,.1) 68%,rgba(0,0,0,.55)),
               linear-gradient(0deg,rgba(0,0,0,.68),rgba(0,0,0,.08) 45%,rgba(0,0,0,.18));
}

/* STADIUM FLOODLIGHT FLASHES — START IMMEDIATELY */
.fc27-atmosphere::before,
.fc27-atmosphere::after {
    content:""; position:absolute; inset:0; pointer-events:none;
    opacity:0; mix-blend-mode:screen;
}
.fc27-atmosphere::before {
    background:radial-gradient(ellipse 20% 18% at 26% 14%,rgba(255,255,255,.88),rgba(225,242,255,.35) 22%,rgba(225,242,255,.08) 49%,transparent 75%);
    animation:fc27FloodlightLeft 6s linear 0s infinite;
}
.fc27-atmosphere::after {
    background:radial-gradient(ellipse 20% 18% at 70% 13%,rgba(255,255,255,.88),rgba(225,242,255,.35) 22%,rgba(225,242,255,.08) 49%,transparent 75%);
    animation:fc27FloodlightRight 7s linear 0s infinite;
}

/* SHARED HEADER */
.fc27-page .arena-header { position:absolute; z-index:10; top:0; left:0; right:0; width:100%; box-sizing:border-box; }
.fc27-back-btn {
    display:inline-flex; align-items:center; justify-content:center; min-height:38px;
    padding:0 18px; border:1px solid #ff8500; border-radius:4px;
    background:rgba(0,0,0,.35); color:#ff8500; font-size:12px; font-weight:800;
    text-decoration:none; box-sizing:border-box; transition:background .2s,color .2s;
}
.fc27-back-btn:hover { background:#ff8500; color:#08090b; }

/* LEFT INTRO */
.fc27-intro {
    position:absolute; z-index:3; left:5%; top:24%; width:460px; max-width:36%;
    color:#fff; animation:fc27IntroReveal 1.5s cubic-bezier(.22,1,.36,1) 2s both;
}
.fc27-kicker { display:block; margin-bottom:14px; color:#ff8e2c; font-size:14px; font-weight:900; letter-spacing:4px; }
.fc27-intro h1 {
    margin:0; color:#f4f4f4; font:800 clamp(58px,6vw,94px)/.92 'Barlow Condensed',Impact,sans-serif;
    letter-spacing:1px; text-shadow:0 8px 28px rgba(0,0,0,.45);
}
.fc27-intro h1 span { color:#6fe09f; }
.fc27-intro-line {
    width:110px; height:4px; margin:18px 0 24px;
    background:linear-gradient(90deg,#ff8e2c,#ff4c24); box-shadow:0 0 16px rgba(255,100,35,.3);
}
.fc27-intro h2 {
    margin:0 0 14px; color:#fff; font-family:'Barlow Condensed','TT Norms Pro',Arial,sans-serif;
    font-size:25px; font-weight:700; line-height:1.25; text-shadow:0 4px 16px rgba(0,0,0,.6);
}
.fc27-intro p { margin:0; max-width:350px; color:#d7ddd8; font-size:13px; line-height:1.65; }

/* MATCHDAY STRIP — SOFT FRAME, THREE AREAS */
.fc27-strip {
    position:absolute; z-index:4; left:50%; bottom:28px; transform:translateX(-50%);
    display:grid; grid-template-columns:135px minmax(0,1fr) 150px;
    width:calc(100% - 70px); max-width:1600px; box-sizing:border-box;
    overflow:hidden; border:1px solid rgba(255,138,46,.17); border-top:1px solid rgba(255,138,46,.5);
    border-radius:8px; background:rgba(7,8,12,.93);
    box-shadow:0 18px 58px rgba(0,0,0,.48); backdrop-filter:blur(6px);
    animation:fc27StripReveal 1.5s cubic-bezier(.22,1,.36,1) 3s both;
}
.fc27-strip-side { position:relative; min-height:142px; pointer-events:none; background-repeat:no-repeat; background-size:contain; }
.fc27-strip-side-left { background-image:url('../Content/Images/t.png'); background-position:left bottom; }
.fc27-strip-side-right { background-image:url('../Content/Images/s.png'); background-position:right bottom; }
.fc27-strip-center { position:relative; z-index:2; min-width:0; padding:0; }
.fc27-strip-head { padding:14px 10px 10px; border-bottom:1px solid rgba(255,255,255,.045); }
.fc27-strip-title { display:flex; align-items:center; gap:10px; color:#fff; font-size:12px; font-weight:900; letter-spacing:.8px; }
.fc27-strip-title span { color:#ff8b2d; font-size:26px; line-height:1; }
.fc27-strip-form {
    display:grid; grid-template-columns:1.22fr 1fr .95fr 1.13fr 1fr 1fr 165px;
    gap:11px; align-items:end; padding:14px 10px 17px;
}
.fc27-field { min-width:0; }
.fc27-field label { display:block; margin-bottom:7px; color:#cfd2d6; font-size:10px; font-weight:800; letter-spacing:.8px; }
.fc27-field input {
    display:block; width:100%; height:42px; padding:0 10px; box-sizing:border-box;
    border:1px solid rgba(255,255,255,.105); border-radius:3px; outline:none;
    background:rgba(4,5,9,.85); color:#fff; font-family:inherit;
    font-size:12px; transition:border-color .2s,box-shadow .2s;
}
.fc27-field input::placeholder { color:#848894; }
.fc27-field input:focus { border-color:rgba(255,140,46,.75); box-shadow:0 0 0 2px rgba(255,140,46,.08); }
.fc27-strip-btn-wrap { min-width:0; align-self:end; margin:0; padding:0; }
.fc27-submit-btn {
    display:flex; align-items:center; justify-content:center; gap:9px; width:100%; height:42px; margin:0; padding:0 10px; box-sizing:border-box; vertical-align:bottom;
    border:0; border-radius:4px; background:linear-gradient(135deg,#ff8e2c,#d94c1d);
    color:#fff; font-family:inherit; font-size:12px; font-weight:900; letter-spacing:.6px;
    box-shadow:0 0 18px rgba(255,100,30,.10);
}
.fc27-submit-btn:disabled { opacity:.72; cursor:not-allowed; }

/* SMALLER DESKTOP / TABLET — ALLOW FIELDS TO WRAP */
@media(max-width:1450px) and (min-width:901px) {
    .arena-page.fc27-page { min-height:760px; }
    .fc27-intro { top:19%; }
    .fc27-strip { grid-template-columns:110px minmax(0,1fr) 125px; }
    .fc27-strip-side { min-height:190px; }
    .fc27-strip-form { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .fc27-strip-btn-wrap { grid-column:1/-1; }
}

/* TABLET / MOBILE — NORMAL VERTICAL SCROLLING */
@media(max-width:900px) {
    .arena-page.fc27-page { height:auto; min-height:100dvh; overflow:visible; padding-bottom:28px; }
    .fc27-hero { position:fixed; inset:0; height:100dvh; }
    .fc27-atmosphere { position:fixed; inset:0; }
    .fc27-page .arena-header { position:relative; }
    .fc27-intro {
        position:relative; top:auto; left:auto; width:calc(100% - 28px); max-width:550px;
        margin:28px auto 20px;
    }
    .fc27-strip {
        position:relative; left:auto; bottom:auto; transform:none;
        width:calc(100% - 28px); max-width:650px; margin:0 auto;
        grid-template-columns:minmax(0,1fr);
        animation:fc27MobileStripReveal 1s cubic-bezier(.22,1,.36,1) 3s both;
    }
    .fc27-strip-side { display:none; }
    .fc27-strip-center { min-width:0; }
    .fc27-strip-head { padding:14px 16px 10px; }
    .fc27-strip-form { grid-template-columns:repeat(2,minmax(0,1fr)); padding:14px 16px 18px; gap:12px; }
    .fc27-team-name,.fc27-strip-btn-wrap { grid-column:1/-1; }
    .fc27-page .arena-nav { display:none; }
    .fc27-back-btn { min-height:34px; padding:0 10px; font-size:10px; }
}

/* PHONE — TWO NAV ROWS, ONE-COLUMN FORM */
@media(max-width:700px) {
    .fc27-page .arena-header { display:flex; flex-direction:column; height:auto; min-height:0; background:rgba(5,6,9,.96); }
    .fc27-page .arena-header-inner {
        display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
        width:calc(100% - 24px); height:auto; min-height:60px;
        gap:0; padding:8px 0 0; box-sizing:border-box;
    }
    .fc27-page .arena-nav {
        display:flex; order:3; width:100%; height:44px; justify-content:center; align-items:center;
        gap:clamp(8px,4vw,18px); margin-top:8px; border-top:1px solid rgba(255,255,255,.08);
    }
    .fc27-page .arena-nav a { display:inline-flex; align-items:center; justify-content:center; height:100%; font-size:10px; white-space:nowrap; }
    .fc27-page .arena-nav a.active { color:#ff8500; }
    .fc27-intro { max-width:none; margin:22px auto 20px; }
    .fc27-kicker { font-size:11px; letter-spacing:3px; }
    .fc27-intro h1 { font-size:55px; }
    .fc27-intro-line { width:86px; height:3px; margin:14px 0 18px; }
    .fc27-intro h2 { font-size:19px; line-height:1.3; }
    .fc27-intro p { font-size:13px; line-height:1.65; }
    .fc27-strip-form { grid-template-columns:1fr; }
    .fc27-team-name,.fc27-strip-btn-wrap { grid-column:auto; }
    .fc27-field input,.fc27-submit-btn { height:44px; }
}

/* ANIMATIONS */
@keyframes fc27FloodlightLeft {
    0% { opacity:.9; }
    3% { opacity:.15; }
    6% { opacity:1; }
    10%,72% { opacity:0; }
    75% { opacity:.85; }
    79%,100% { opacity:0; }
}
@keyframes fc27FloodlightRight {
    0% { opacity:.65; }
    4% { opacity:0; }
    9% { opacity:1; }
    13%,51% { opacity:0; }
    55% { opacity:.95; }
    59%,100% { opacity:0; }
}
@keyframes fc27IntroReveal { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
@keyframes fc27StripReveal { from { opacity:0; transform:translate(-50%,22px); } to { opacity:1; transform:translate(-50%,0); } }
@keyframes fc27MobileStripReveal { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
@media(prefers-reduced-motion:reduce) {
    .arena-page.fc27-page,.fc27-intro,.fc27-strip,.fc27-atmosphere::before,.fc27-atmosphere::after { animation:none; }
}
/* FC27 — SOFTER REGISTRATION PANEL */
.fc27-strip {
    border:1px solid rgba(255,130,35,.12);
    border-top:1px solid rgba(255,130,35,.22);
    border-radius:12px;
    background:rgba(6,8,12,.91);
    box-shadow:0 20px 55px rgba(0,0,0,.55);
}

.fc27-strip-head {
    border-bottom:1px solid rgba(255,255,255,.04);
}

/* BLEND GOAL AND STRIKER */
.fc27-strip-side {
    border:none;
    opacity:.8;
}

.fc27-strip-side-left {
    background-position:left bottom;
    background-size:cover;
    -webkit-mask-image:linear-gradient(to right,#000 35%,transparent 100%);
    mask-image:linear-gradient(to right,#000 35%,transparent 100%);
}

.fc27-strip-side-right {
    background-position:right bottom;
    background-size:cover;
    -webkit-mask-image:linear-gradient(to left,#000 35%,transparent 100%);
    mask-image:linear-gradient(to left,#000 35%,transparent 100%);
}

/* QUIETER INPUT BORDERS */
.fc27-field input {
    border:1px solid rgba(255,255,255,.09);
    background:rgba(3,5,9,.85);
}
/* FC27 — FINAL ARTWORK BLENDING */
.fc27-strip-side-left {
    opacity:.72;
    -webkit-mask-image:linear-gradient(to right,#000 0%,#000 20%,rgba(0,0,0,.5) 55%,transparent 95%);
    mask-image:linear-gradient(to right,#000 0%,#000 20%,rgba(0,0,0,.5) 55%,transparent 95%);
}

.fc27-strip-side-right {
    opacity:.72;
    -webkit-mask-image:linear-gradient(to left,#000 0%,#000 20%,rgba(0,0,0,.5) 55%,transparent 95%);
    mask-image:linear-gradient(to left,#000 0%,#000 20%,rgba(0,0,0,.5) 55%,transparent 95%);
}

@media(max-width:700px) {
    .fc27-atmosphere::before,
    .fc27-atmosphere::after {
        animation:none !important;
        opacity:0 !important;
    }
}
/* FC27 REGISTRATION NOTE */
.fc27-strip-center .arena-registration-note {
    display:block;
    width:100%;
    margin:0;
    padding:0 10px 12px;
    box-sizing:border-box;
    border:0;
    text-align:center;
}

.fc27-strip-center .arena-registration-note p {
    max-width:none;
    margin:0 0 4px;
    color:#c6cac8;
    font-size:11px;
    line-height:1.5;
}

.fc27-strip-center .arena-registration-note .arena-note-age {
    margin:0;
    color:#78e9a0;
    font-weight:700;
}

.fc27-strip {
    border-top:0;
}

.fc27-submit-btn{
    cursor:pointer;
    font-family:inherit;
}
.fc27-submit-btn:hover{
    filter:brightness(1.12);
}
/* ALIGN FC27 SUBMIT BUTTON WITH THE INPUT ROW (DESKTOP ONLY) */
@media (min-width:1451px) {
    .fc27-strip-btn-wrap { transform:translateY(3px); }
}
@media (min-width: 1451px) {
    .fc27-strip-btn-wrap {
        transform: translateY(9px);
    }
}