/* =========================================================
   FCM — Football Capital Markets landing page
   ========================================================= */

@font-face {
    font-family: "FCM Impact";
    src: url("fonts/Impact.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-0: #000000;
    --bg-1: #05060a;
    --bg-2: #0a1430;
    --bg-3: #102b86;
    --brand: #c0ff04;
    --brand-soft: #a9e203;
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.72);
    --text-dim: rgba(255, 255, 255, 0.55);
    --border: rgba(255, 255, 255, 0.08);
    --chip-bg: rgba(255, 255, 255, 0.04);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg-0);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 16px 24px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 1600px;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.brand-mark {
    width: 22px;
    height: 22px;
}

.brand-text {
    line-height: 1;
}

.brand-dot {
    color: var(--brand);
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: 8px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    opacity: 0.9;
    padding: 6px 2px;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover {
    color: var(--brand);
    opacity: 1;
}

.search-box {
    position: relative;
    flex: 0 1 220px;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 6px 12px 6px 32px;
    margin-left: 6px;
}

.search-icon {
    position: absolute;
    left: 10px;
    width: 14px;
    height: 14px;
    color: var(--text-dim);
}

.search-box input {
    width: 100%;
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--text);
    font-size: 12px;
}

.search-box input::placeholder {
    color: var(--text-dim);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--brand);
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    transition: border-color 0.2s ease;
}

.btn-download:hover {
    border-color: var(--brand);
}

.fire-icon {
    width: 14px;
    height: 14px;
}

.marketcap-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: var(--text);
}

.marketcap-coin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand);
    color: #000;
    font-weight: 800;
    font-size: 12px;
}

.marketcap-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.marketcap-label {
    font-size: 9px;
    color: var(--brand);
    font-weight: 600;
    letter-spacing: 0.2px;
}

.marketcap-value {
    font-size: 11px;
    color: var(--text);
    font-weight: 700;
}

.btn-signin {
    padding: 8px 18px;
    background: var(--brand);
    color: #000;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    transition: transform 0.15s ease, background 0.2s ease;
}

.btn-signin:hover {
    background: var(--brand-soft);
    transform: translateY(-1px);
}

/* Token strip (under header on the right) */
.token-strip {
    display: flex;
    justify-content: flex-end;
    max-width: 1600px;
    margin: 8px auto 0;
}

.token-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

.token-chip-logo {
    width: 22px;
    height: 22px;
}

.token-chip-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.token-chip-title {
    font-size: 9px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.2px;
}

.token-chip-sub {
    font-size: 10px;
    color: var(--brand);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.token-chip-copy {
    color: var(--text-dim);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.55) 100%),
        url("bg.png") center center / cover no-repeat,
        #04081f;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-light,
.hero-bg-glow,
.hero-bg-grid {
    display: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 130px 48px 120px;
    display: grid;
    grid-template-columns: 1.05fr 1fr 0.8fr;
    align-items: start;
    gap: 32px;
}

.hero-headline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
}

.hero-title {
    margin: 0;
    font-family: "FCM Impact", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
    font-weight: 400;
    font-size: clamp(56px, 8vw, 140px);
    line-height: 0.95;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow:
        0 0 30px rgba(192, 255, 4, 0.35),
        0 0 60px rgba(192, 255, 4, 0.2);
}

.hero-title-line {
    display: block;
}

.btn-claim {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
    padding: 14px 32px;
    background: var(--brand);
    color: #000;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-align: center;
    border-radius: 999px;
    text-transform: uppercase;
    box-shadow:
        0 0 0 1px rgba(192, 255, 4, 0.4),
        0 10px 30px rgba(192, 255, 4, 0.25);
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-claim:hover {
    background: var(--brand-soft);
    transform: translateY(-1px);
    box-shadow:
        0 0 0 1px rgba(192, 255, 4, 0.6),
        0 14px 36px rgba(192, 255, 4, 0.35);
}

.btn-claim-icon {
    width: 22px;
    height: 22px;
}

/* Middle column reserved for the background-image player */
.hero-player {
    position: relative;
    height: 75vh;
    min-height: 520px;
}

.hero-tagline {
    margin: 0;
    align-self: end;
    justify-self: end;
    text-align: right;
    font-family: "FCM Impact", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
    font-size: clamp(28px, 3.4vw, 60px);
    line-height: 1.05;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 35vh;
}

.hero-tagline span {
    display: block;
}

/* =========================================================
   Players strip (marquee)
   ========================================================= */

.players-strip {
    position: relative;
    background: #000;
    overflow: hidden;
    border-top: 1px solid var(--border);
}

.players-track,
.flags-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.players-track {
    animation: marquee-left 40s linear infinite;
    padding: 14px 0;
}

.flags-track {
    animation: marquee-right 60s linear infinite;
    padding: 10px 0 14px;
}

.players-group {
    display: flex;
    align-items: center;
    gap: 48px;
    padding-right: 48px;
}

.players-label {
    font-family: "FCM Impact", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
    font-size: 24px;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.flags-group {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-right: 22px;
}

.flag-icon {
    width: 36px;
    height: 24px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

@keyframes marquee-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes marquee-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1200px) {
    .primary-nav {
        gap: 12px;
    }
    .nav-link {
        font-size: 12px;
    }
    .marketcap-label {
        display: none;
    }
    .search-box {
        flex-basis: 160px;
    }
}

@media (max-width: 980px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 10px;
    }
    .primary-nav {
        order: 4;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .primary-nav::-webkit-scrollbar {
        display: none;
    }
    .search-box {
        order: 2;
        flex: 1;
    }
    .header-actions {
        order: 3;
    }
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 180px 24px 80px;
    }
    .hero-headline {
        align-items: center;
    }
    .hero-tagline {
        justify-self: center;
        text-align: center;
        margin-top: 0;
    }
    .hero-player {
        min-height: 320px;
        height: 45vh;
    }
}

@media (max-width: 600px) {
    .btn-download span,
    .marketcap-text {
        display: none;
    }
    .marketcap-badge {
        padding: 4px;
    }
    .players-label {
        font-size: 18px;
    }
    .flag-icon {
        width: 28px;
        height: 20px;
    }
}
