:root {
    --bg: #050608;
    --panel: rgba(15, 17, 21, 0.78);
    --panel-strong: rgba(20, 23, 29, 0.92);
    --text: #f7f9fb;
    --muted: #a9b0bb;
    --line: rgba(255, 255, 255, 0.14);
    --soft-line: rgba(255, 255, 255, 0.08);
    --blue: #3b9cff;
    --blue-deep: #0d63d8;
    --pink: #ff477e;
    --green: #34f5a6;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    --inner: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: "Manrope", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 50% 5%, rgba(59, 156, 255, 0.22), transparent 24rem),
        radial-gradient(circle at 12% 22%, rgba(255, 71, 126, 0.13), transparent 18rem),
        linear-gradient(180deg, #0c0d11 0%, var(--bg) 42%, #000000 100%);
    letter-spacing: 0;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, #000000 0%, transparent 78%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.08) 42.2%, transparent 42.6%),
        linear-gradient(22deg, transparent 0 62%, rgba(59, 156, 255, 0.09) 62.2%, transparent 62.5%);
    animation: softDrift 8s ease-in-out infinite alternate;
    pointer-events: none;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

main {
    min-height: 100vh;
}

.morphism-nav {
    position: fixed;
    top: 22px;
    left: 50%;
    z-index: 30;
    width: min(1120px, calc(100% - 28px));
    min-height: 68px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 12px 16px 12px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(8, 9, 12, 0.72);
    box-shadow:
        var(--shadow),
        0 8px 0 rgba(59, 156, 255, 0.08),
        var(--inner);
    backdrop-filter: blur(22px) saturate(135%);
    transform: translateX(-50%);
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    width: 174px;
    min-width: 132px;
}

.nav-brand img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 24px rgba(59, 156, 255, 0.18));
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.nav-links a,
.nav-cta {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 0 14px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.07);
}

.nav-cta {
    min-width: 104px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--blue-deep));
    box-shadow: 0 14px 28px rgba(59, 156, 255, 0.25);
}

.nav-subbrand {
    display: none;
}

.mobile-label {
    display: none;
}

.efootball-nav {
    border-color: rgba(156, 255, 67, 0.22);
    background:
        linear-gradient(90deg, rgba(11, 28, 18, 0.86), rgba(5, 7, 10, 0.82)),
        rgba(4, 5, 7, 0.84);
    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.56),
        0 8px 0 rgba(156, 255, 67, 0.12),
        var(--inner);
}

.efootball-nav .nav-brand {
    gap: 10px;
    width: 238px;
}

.efootball-nav .nav-brand img {
    width: 138px;
}

.efootball-nav .nav-subbrand {
    display: inline-flex;
    min-width: max-content;
    color: #cfff45;
    font-family: "Roboto Mono", monospace;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.efootball-nav .nav-links a:hover {
    color: #cfff45;
    background: rgba(156, 255, 67, 0.1);
}

.efootball-nav .nav-cta {
    color: #071009;
    background: linear-gradient(135deg, #cfff45, #23f7d0);
    box-shadow: 0 14px 30px rgba(156, 255, 67, 0.22);
}

.morphism-stage {
    position: relative;
    width: min(1180px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    padding: 128px 18px 72px;
}

.morph-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 52px 52px;
    opacity: 0.72;
}

.shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.9;
}

.shape-star {
    width: 42px;
    height: 42px;
    background: #ffffff;
    clip-path: polygon(50% 0, 58% 36%, 100% 50%, 58% 64%, 50% 100%, 42% 64%, 0 50%, 42% 36%);
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.3));
    animation: floaty 4.6s ease-in-out infinite;
}

.shape-plus {
    width: 66px;
    height: 66px;
    background: var(--blue);
    clip-path: polygon(42% 0, 58% 0, 58% 38%, 100% 38%, 100% 62%, 58% 62%, 58% 100%, 42% 100%, 42% 62%, 0 62%, 0 38%, 42% 38%);
    filter: drop-shadow(0 0 26px rgba(59, 156, 255, 0.34));
    animation: spinFloat 7s linear infinite;
}

.shape-line {
    width: 160px;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
    transform: rotate(25deg);
    animation: slideLine 6s ease-in-out infinite;
}

.shape-one {
    top: 27%;
    left: 8%;
}

.shape-two {
    top: 31%;
    right: 8%;
}

.shape-three {
    bottom: 27%;
    left: 14%;
}

.hero-center {
    width: min(900px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.soft-pill,
.status-badge,
.feed-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid var(--soft-line);
    border-radius: 999px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: var(--inner), 0 16px 34px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(14px);
    font-weight: 800;
}

.soft-pill span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 18px rgba(59, 156, 255, 0.8);
}

.soft-pill.danger span {
    background: var(--pink);
    box-shadow: 0 0 18px rgba(255, 71, 126, 0.8);
}

h1,
h2,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 24px 0 0;
    font-size: clamp(3rem, 9.2vw, 6.1rem);
    font-family: "Sora", "Manrope", Arial, sans-serif;
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 span {
    display: block;
}

.hero-accent {
    color: var(--blue);
    text-shadow: 0 0 36px rgba(59, 156, 255, 0.18);
}

.hero-text {
    max-width: 560px;
    margin: 18px auto 0;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.16rem);
    line-height: 1.55;
}

.morphism-action-card,
.feed-tools,
.jump-card,
.no-ideas {
    border: 1px solid var(--line);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        var(--panel);
    box-shadow: var(--shadow), var(--inner);
    backdrop-filter: blur(22px) saturate(140%);
}

.morphism-action-card {
    width: min(640px, 100%);
    margin: 24px auto 0;
    padding: 18px;
    text-align: left;
    animation: riseIn 0.55s ease both;
}

.field-label {
    display: block;
    margin: 0 0 9px;
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
}

.jump-input,
.text-field,
.idea-search {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    outline: none;
    color: var(--text);
    background: rgba(0, 0, 0, 0.44);
    box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.28);
}

.jump-input {
    min-height: 116px;
    resize: vertical;
    padding: 17px 18px;
    font-size: clamp(1.12rem, 3.5vw, 1.6rem);
    font-weight: 700;
    line-height: 1.12;
}

.text-field,
.idea-search {
    min-height: 54px;
    padding: 14px 16px;
    font-size: 1rem;
}

.plan-field {
    min-height: 138px;
    resize: vertical;
    line-height: 1.45;
}

.jump-input:focus,
.text-field:focus,
.idea-search:focus {
    border-color: rgba(59, 156, 255, 0.9);
    box-shadow:
        0 0 0 4px rgba(59, 156, 255, 0.16),
        0 0 30px rgba(59, 156, 255, 0.12);
}

.commit-actions,
.lock-actions,
.vote-form {
    display: flex;
    gap: 12px;
}

.commit-actions,
.lock-actions {
    margin-top: 14px;
}

.action-button,
.vote-action,
.feed-cta {
    min-height: 56px;
    border: 0;
    border-radius: 16px;
    padding: 0 18px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.primary-action,
.feed-cta,
.vote-action.push {
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), #55b4ff);
    box-shadow:
        0 8px 0 #112237,
        0 20px 34px rgba(59, 156, 255, 0.26);
    position: relative;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.primary-action {
    flex: 1;
    animation: buttonGlow 2.2s ease-in-out infinite;
}

.primary-action::after,
.feed-cta::after,
.vote-action.push::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    transform: translateX(-120%);
    animation: shine 2.8s ease-in-out infinite;
}

.primary-action > *,
.feed-cta > *,
.vote-action.push > * {
    position: relative;
    z-index: 1;
}

.primary-action:hover,
.feed-cta:hover,
.vote-action.push:hover {
    transform: translateY(-2px);
}

.primary-action:active,
.feed-cta:active,
.vote-action.push:active {
    transform: translateY(5px);
    box-shadow:
        0 3px 0 #112237,
        0 12px 20px rgba(59, 156, 255, 0.18);
}

.primary-action.is-firing {
    animation: fireButton 0.32s ease both;
}

.ghost-action,
.vote-action.stop {
    color: var(--text);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
}

.button-mark {
    min-width: 44px;
    padding: 7px 8px;
    border-radius: 10px;
    color: var(--blue);
    background: #ffffff;
    font-family: "Roboto Mono", monospace;
    font-size: 0.78rem;
    text-align: center;
}

.step-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.step-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.step-row b {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--blue);
    font-size: 0.78rem;
}

.form-stage {
    display: grid;
    place-items: start center;
}

.lock-form {
    width: min(760px, 100%);
}

.commit-preview {
    margin: 20px 0 26px;
    text-align: center;
}

.commit-preview h1 {
    margin-top: 8px;
    font-size: clamp(2.2rem, 7vw, 4.8rem);
}

.eyebrow {
    margin: 0;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 14px;
}

.field-block {
    display: block;
    margin-bottom: 16px;
}

.field-group {
    display: block;
    margin-bottom: 16px;
}

.form-error {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 71, 126, 0.42);
    border-radius: 14px;
    color: #ffffff;
    background: rgba(255, 71, 126, 0.16);
    font-weight: 800;
}

.efootball-stage {
    max-width: 1180px;
    isolation: isolate;
}

.efootball-stage::before {
    content: "";
    position: absolute;
    inset: 118px 18px 34px;
    z-index: -3;
    border: 1px solid rgba(156, 255, 67, 0.14);
    border-radius: 28px;
    background:
        linear-gradient(90deg, rgba(156, 255, 67, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(156, 255, 67, 0.07) 1px, transparent 1px),
        radial-gradient(circle at 50% 18%, rgba(35, 247, 208, 0.17), transparent 24rem),
        linear-gradient(135deg, rgba(6, 36, 16, 0.7), rgba(1, 4, 6, 0.92) 62%);
    background-size: 86px 86px, 86px 86px, auto, auto;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 0 80px rgba(156, 255, 67, 0.08),
        0 32px 90px rgba(0, 0, 0, 0.56);
}

.efootball-stage::after {
    content: "";
    position: absolute;
    top: 34%;
    left: 50%;
    z-index: -2;
    width: min(420px, 70vw);
    aspect-ratio: 1;
    border: 1px solid rgba(156, 255, 67, 0.18);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 0 1px rgba(35, 247, 208, 0.07),
        inset 0 0 42px rgba(156, 255, 67, 0.04);
}

.pitch-grid {
    opacity: 0.38;
    background-image:
        linear-gradient(rgba(156, 255, 67, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35, 247, 208, 0.06) 1px, transparent 1px);
    animation: pitchScan 9s linear infinite;
}

.stadium-light {
    position: absolute;
    top: 112px;
    z-index: -1;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 255, 199, 0.48), rgba(156, 255, 67, 0.12) 30%, transparent 66%);
    filter: blur(2px);
    opacity: 0.46;
    animation: stadiumPulse 2.8s ease-in-out infinite alternate;
    pointer-events: none;
}

.light-left {
    left: -60px;
}

.light-right {
    right: -60px;
    animation-delay: 0.7s;
}

.pitch-orbit {
    position: absolute;
    right: 8%;
    bottom: 20%;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(35, 247, 208, 0.22);
    border-radius: 50%;
    opacity: 0.7;
    animation: orbitSpin 12s linear infinite;
    pointer-events: none;
}

.pitch-orbit::before,
.pitch-orbit::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #cfff45;
    box-shadow: 0 0 24px rgba(207, 255, 69, 0.76);
}

.pitch-orbit::after {
    transform: translate(-92px, 34px);
    background: #23f7d0;
}

.form-orbit {
    left: 7%;
    right: auto;
    bottom: 12%;
}

.football-token {
    position: absolute;
    z-index: -1;
    width: 52px;
    height: 52px;
    border: 3px solid #efffc7;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, #0b1110 0 16%, transparent 17%),
        linear-gradient(30deg, transparent 45%, #efffc7 46% 53%, transparent 54%),
        linear-gradient(150deg, transparent 45%, #efffc7 46% 53%, transparent 54%),
        #111615;
    box-shadow: 0 0 28px rgba(207, 255, 69, 0.22);
    animation: ballFloat 5s ease-in-out infinite;
    pointer-events: none;
}

.token-one {
    top: 28%;
    left: 8%;
}

.token-two {
    right: 11%;
    top: 48%;
    width: 36px;
    height: 36px;
    animation-delay: 0.9s;
}

.match-hero {
    width: min(940px, 100%);
    margin: 0 auto 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.compact-match-hero {
    margin-bottom: 24px;
}

.scoreboard-strip {
    width: min(520px, 100%);
    min-height: 54px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin: 0 auto 18px;
    padding: 8px 10px;
    border: 1px solid rgba(156, 255, 67, 0.22);
    border-radius: 12px;
    color: #efffc7;
    background:
        linear-gradient(180deg, rgba(156, 255, 67, 0.11), rgba(10, 14, 13, 0.76)),
        rgba(3, 6, 6, 0.86);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42), var(--inner);
    font-family: "Roboto Mono", monospace;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.scoreboard-strip strong {
    display: grid;
    place-items: center;
    min-width: 72px;
    min-height: 38px;
    border-radius: 8px;
    color: #061009;
    background: linear-gradient(135deg, #cfff45, #23f7d0);
    font-size: 1rem;
    box-shadow: 0 0 28px rgba(156, 255, 67, 0.24);
}

.match-pill {
    border-color: rgba(156, 255, 67, 0.2);
    color: #f5ffe6;
    background: rgba(156, 255, 67, 0.08);
}

.match-pill span {
    background: #cfff45;
    box-shadow: 0 0 18px rgba(207, 255, 69, 0.88);
}

.efootball-hero h1,
.thanks-hero h1 {
    font-size: clamp(3.1rem, 9.5vw, 7rem);
    overflow-wrap: normal;
}

.compact-match-hero h1 {
    font-size: clamp(2.8rem, 8vw, 5.4rem);
    overflow-wrap: normal;
}

.efootball-stage .hero-accent {
    color: #cfff45;
    text-shadow: 0 0 38px rgba(207, 255, 69, 0.2);
}

.efootball-stage .hero-text {
    color: #c7d2c3;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.match-cta,
.match-submit {
    color: #061009;
    background: linear-gradient(135deg, #cfff45, #23f7d0);
    box-shadow:
        0 8px 0 #163018,
        0 22px 38px rgba(156, 255, 67, 0.25);
}

.match-cta:hover,
.match-submit:hover {
    box-shadow:
        0 8px 0 #163018,
        0 28px 48px rgba(35, 247, 208, 0.28);
}

.pitch-ghost {
    border-color: rgba(156, 255, 67, 0.24);
    color: #efffc7;
    background: rgba(156, 255, 67, 0.055);
}

.match-stats {
    width: min(760px, 100%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.match-stats div {
    min-height: 104px;
    padding: 16px;
    border: 1px solid rgba(156, 255, 67, 0.16);
    border-radius: 16px;
    background: rgba(2, 7, 5, 0.68);
    box-shadow: var(--inner);
    animation: cardEnter 0.5s ease both;
}

.match-stats span,
.registered-time {
    color: #23f7d0;
    font-family: "Roboto Mono", monospace;
    font-size: 0.78rem;
    font-weight: 900;
}

.match-stats strong {
    display: block;
    margin-top: 8px;
    color: #ffffff;
    font-family: "Sora", "Manrope", Arial, sans-serif;
    font-size: 1.05rem;
}

.match-stats small {
    display: block;
    margin-top: 4px;
    color: #aeb9aa;
    font-weight: 800;
}

.efootball-panel {
    width: min(1020px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.rule-card {
    position: relative;
    min-height: 230px;
    padding: 20px;
    border: 1px solid rgba(156, 255, 67, 0.18);
    border-radius: 18px;
    background:
        linear-gradient(155deg, rgba(156, 255, 67, 0.12), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        rgba(4, 8, 7, 0.82);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.42),
        var(--inner);
    backdrop-filter: blur(20px) saturate(140%);
    overflow: hidden;
    animation: cardEnter 0.48s ease both;
}

.rule-card::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -28px;
    width: 90px;
    height: 90px;
    border: 1px solid rgba(156, 255, 67, 0.22);
    border-radius: 50%;
}

.rule-card:nth-child(2) {
    animation-delay: 0.06s;
}

.rule-card:nth-child(3) {
    animation-delay: 0.12s;
}

.rule-card:nth-child(4) {
    animation-delay: 0.18s;
}

.rule-card span,
.jersey-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    color: #071009;
    background: linear-gradient(135deg, #cfff45, #23f7d0);
    box-shadow: 0 0 24px rgba(156, 255, 67, 0.2);
    font-family: "Roboto Mono", monospace;
    font-weight: 900;
}

.rule-card h2 {
    margin: 18px 0 10px;
    font-family: "Sora", "Manrope", Arial, sans-serif;
    font-size: 1.12rem;
    line-height: 1.15;
}

.rule-card p {
    margin: 0;
    color: #b4c0af;
    line-height: 1.5;
}

.tournament-form {
    width: min(840px, 100%);
    border-color: rgba(156, 255, 67, 0.2);
    background:
        linear-gradient(135deg, rgba(156, 255, 67, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(7, 14, 10, 0.94), rgba(3, 5, 6, 0.9));
}

.tournament-form .form-grid {
    grid-template-columns: 1fr 1fr;
}

.form-scoreboard {
    margin-bottom: 18px;
}

.tournament-form .commit-preview p:not(.eyebrow) {
    max-width: 500px;
    margin: 12px auto 0;
    color: #b4c0af;
    line-height: 1.5;
    text-align: center;
}

.tournament-form .field-label {
    color: #efffc7;
}

.tournament-form .text-field {
    border-color: rgba(156, 255, 67, 0.16);
    background:
        linear-gradient(90deg, rgba(156, 255, 67, 0.035) 1px, transparent 1px),
        rgba(0, 0, 0, 0.46);
    background-size: 22px 100%;
}

.tournament-form .text-field:focus {
    border-color: rgba(207, 255, 69, 0.9);
    box-shadow:
        0 0 0 4px rgba(156, 255, 67, 0.14),
        0 0 32px rgba(35, 247, 208, 0.12);
}

.applicants-stage {
    padding-bottom: 92px;
}

.applicant-grid {
    width: min(1040px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.applicant-card,
.empty-applicants {
    border: 1px solid rgba(156, 255, 67, 0.18);
    border-radius: 18px;
    background:
        linear-gradient(160deg, rgba(35, 247, 208, 0.1), transparent 36%),
        rgba(4, 8, 7, 0.84);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.42), var(--inner);
    backdrop-filter: blur(18px) saturate(140%);
    animation: cardEnter 0.48s ease both;
}

.applicant-card {
    padding: 18px;
}

.applicant-card h2,
.empty-applicants h2 {
    margin: 9px 0 0;
    font-family: "Sora", "Manrope", Arial, sans-serif;
    font-size: 1.18rem;
    line-height: 1.2;
}

.applicant-details {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
}

.applicant-details div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.applicant-details dt {
    color: #879184;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.applicant-details dd {
    margin: 0;
    color: #f5ffe6;
    font-weight: 900;
    text-align: right;
}

.registered-time {
    margin: 16px 0 0;
}

.empty-applicants {
    width: min(520px, 100%);
    margin: 0 auto;
    padding: 30px;
    text-align: center;
}

.empty-applicants .jersey-mark {
    margin-bottom: 12px;
}

.empty-applicants p {
    color: #b4c0af;
}

.feed-stage {
    max-width: 980px;
}

.feed-hero {
    width: min(840px, 100%);
    margin: 0 auto 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feed-hero h1 {
    font-size: clamp(2.6rem, 8.5vw, 5.9rem);
}

.feed-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 154px;
    margin-top: 24px;
}

.feed-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px;
}

.idea-search {
    flex: 1;
}

.feed-count {
    color: var(--blue);
    border-color: rgba(59, 156, 255, 0.36);
}

.jump-feed {
    display: grid;
    gap: 16px;
}

.jump-card {
    padding: clamp(17px, 4vw, 24px);
    animation: cardEnter 0.48s ease both;
}

.jump-card:nth-child(2) {
    animation-delay: 0.06s;
}

.jump-card:nth-child(3) {
    animation-delay: 0.12s;
}

.jump-card:nth-child(4) {
    animation-delay: 0.18s;
}

.card-topline,
.idea-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.status-badge {
    min-height: 32px;
    padding: 0 12px;
    color: var(--blue);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.countdown {
    color: var(--blue);
    font-family: "Roboto Mono", monospace;
    font-weight: 700;
    white-space: nowrap;
    animation: timerBlink 1s steps(2, start) infinite;
}

.countdown.expired {
    color: var(--muted);
}

.idea-main h2 {
    margin: 18px 0 6px;
    font-size: clamp(1.45rem, 5vw, 2.25rem);
    line-height: 1.04;
    font-weight: 900;
}

.jump-owner,
.idea-preview,
.stakes-line,
.idea-meta {
    color: var(--text);
}

.jump-owner {
    margin: 0 0 13px;
    color: var(--muted);
    font-weight: 800;
}

.idea-preview {
    margin: 0;
    line-height: 1.45;
}

.stakes-line {
    margin: 15px 0;
    padding: 12px 14px;
    border-left: 4px solid var(--pink);
    background: rgba(255, 71, 126, 0.08);
    font-weight: 800;
}

.idea-meta {
    margin: 16px 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.hidden {
    display: none;
}

.toggle-btn {
    border: 0;
    padding: 0;
    color: var(--blue);
    background: transparent;
    cursor: pointer;
    font-weight: 900;
}

.voting {
    margin-top: 14px;
}

.vote-form {
    width: 100%;
}

.vote-action {
    flex: 1;
}

.vote-action.stop:hover {
    border-color: var(--pink);
    color: var(--pink);
}

.no-ideas {
    padding: 52px 18px;
    color: var(--muted);
    text-align: center;
}

footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 5;
    text-align: center;
    pointer-events: none;
}

footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.75rem;
    font-weight: 700;
}

.efootball-footer {
    position: static;
    padding: 24px 0 18px;
    background: #010403;
    pointer-events: auto;
}

.efootball-footer p {
    color: rgba(239, 255, 199, 0.48);
}

@keyframes softDrift {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(18px);
    }
}

@keyframes floaty {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-18px) rotate(8deg);
    }
}

@keyframes spinFloat {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes slideLine {
    0%, 100% {
        transform: translateX(0) rotate(25deg);
        opacity: 0.25;
    }
    50% {
        transform: translateX(36px) rotate(25deg);
        opacity: 0.75;
    }
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes buttonGlow {
    0%, 100% {
        box-shadow:
            0 8px 0 #112237,
            0 20px 34px rgba(59, 156, 255, 0.26);
    }
    50% {
        box-shadow:
            0 8px 0 #112237,
            0 26px 42px rgba(59, 156, 255, 0.4);
    }
}

@keyframes shine {
    0%, 46% {
        transform: translateX(-120%);
    }
    72%, 100% {
        transform: translateX(120%);
    }
}

@keyframes fireButton {
    0% {
        transform: scale(1);
    }
    60% {
        transform: scale(0.97);
    }
    100% {
        transform: scale(1.03);
    }
}

@keyframes timerBlink {
    50% {
        opacity: 0.62;
    }
}

@keyframes pitchScan {
    from {
        background-position: 0 0, 0 0;
    }
    to {
        background-position: 0 104px, 104px 0;
    }
}

@keyframes stadiumPulse {
    from {
        opacity: 0.28;
        transform: scale(0.98);
    }
    to {
        opacity: 0.58;
        transform: scale(1.08);
    }
}

@keyframes orbitSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes ballFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-18px) rotate(16deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none;
        transition: none;
    }
}

@media (max-width: 820px) {
    .morphism-nav {
        top: 12px;
        width: calc(100% - 20px);
        min-height: 62px;
        grid-template-columns: auto 1fr;
        padding: 10px 12px;
    }

    .nav-brand {
        width: 136px;
    }

    .nav-links {
        justify-content: flex-end;
    }

    .nav-links a {
        min-height: 38px;
        padding: 0 10px;
        font-size: 0.84rem;
    }

    .nav-cta {
        display: none;
    }

    .morphism-stage {
        padding: 98px 10px 64px;
    }

    .shape-one {
        top: 19%;
        left: 4%;
    }

    .shape-two {
        top: 38%;
        right: 3%;
    }

    .shape-three {
        display: none;
    }

    .shape-star {
        width: 26px;
        height: 26px;
    }

    .shape-plus {
        width: 42px;
        height: 42px;
    }

    h1 {
        margin-top: 18px;
        font-size: clamp(2.7rem, 13.2vw, 4.4rem);
    }

    .morphism-action-card {
        padding: 14px;
        margin-top: 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .tournament-form .form-grid {
        grid-template-columns: 1fr;
    }

    .efootball-panel {
        grid-template-columns: repeat(2, 1fr);
    }

    .efootball-nav {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .efootball-nav .nav-brand {
        width: 154px;
        min-width: 154px;
    }

    .efootball-nav .nav-brand img {
        width: 118px;
    }

    .efootball-nav .nav-subbrand {
        display: none;
    }

    .efootball-nav .nav-links {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .efootball-nav .nav-links::-webkit-scrollbar {
        display: none;
    }

    .match-stats,
    .applicant-grid {
        grid-template-columns: 1fr;
    }

    .scoreboard-strip {
        width: min(440px, 100%);
    }
}

@media (max-width: 560px) {
    .morphism-nav {
        border-radius: 16px;
    }

    .nav-brand {
        width: 118px;
        min-width: 118px;
    }

    .nav-links {
        gap: 3px;
    }

    .nav-links a {
        padding: 0 7px;
        font-size: 0.74rem;
    }

    .desktop-label {
        display: none;
    }

    .mobile-label {
        display: inline;
    }

    .efootball-nav {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px;
    }

    .efootball-nav .nav-brand {
        width: 118px;
        min-width: 118px;
    }

    .efootball-nav .nav-links {
        width: 100%;
        justify-content: space-between;
        overflow: visible;
    }

    .efootball-nav .nav-links a {
        flex: 1;
        min-height: 34px;
        padding: 0 4px;
        font-size: 0.72rem;
    }

    .efootball-stage {
        padding-top: 142px;
    }

    .soft-pill {
        min-height: 36px;
        padding: 0 14px;
        font-size: 0.86rem;
    }

    .hero-text {
        margin-top: 14px;
    }

    .jump-input {
        min-height: 94px;
    }

    .commit-actions,
    .lock-actions,
    .vote-form,
    .feed-tools {
        flex-direction: column;
    }

    .action-button,
    .vote-action,
    .feed-cta {
        width: 100%;
    }

    .step-row {
        gap: 8px;
        margin-top: 14px;
    }

    .step-row span {
        min-height: 38px;
        padding: 0 11px;
        font-size: 0.9rem;
    }

    .feed-tools {
        padding: 12px;
    }

    .feed-count {
        width: 100%;
    }

    .efootball-hero {
        margin-bottom: 20px;
    }

    .efootball-hero h1,
    .thanks-hero h1 {
        font-size: clamp(2.55rem, 12vw, 3.25rem);
        line-height: 0.96;
    }

    .efootball-panel {
        grid-template-columns: 1fr;
    }

    .rule-card {
        min-height: auto;
        padding: 17px;
    }

    .efootball-stage::before {
        inset: 92px 10px 24px;
        border-radius: 18px;
    }

    .stadium-light {
        width: 150px;
        height: 150px;
        top: 88px;
    }

    .pitch-orbit,
    .football-token {
        display: none;
    }

    .scoreboard-strip {
        min-height: 48px;
        gap: 8px;
        font-size: 0.68rem;
    }

    .scoreboard-strip strong {
        min-width: 56px;
        min-height: 34px;
    }

    .hero-actions {
        width: 100%;
        margin-top: 18px;
    }

    .match-stats {
        margin-top: 20px;
    }

    .match-stats div {
        min-height: 88px;
        padding: 14px;
    }

    .tournament-form {
        padding: 14px;
    }

    .applicant-details div {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .applicant-details dd {
        text-align: left;
    }

    .card-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    footer {
        display: none;
    }
}
