/* =========================================
   FC RIVALS — GLOBAL DESIGN SYSTEM
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800&display=swap');



/* =========================================
   CSS VARIABLES
   ========================================= */

:root {
    --bg-primary: #07090D;
    --bg-secondary: #0D1117;
    --bg-card: #121820;

    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;

    --accent: #C8FF00;
    --accent-hover: #D9FF4D;

    --success: #22C55E;
    --danger: #EF4444;

    --border: #252C35;

    --container-width: 1200px;

    --radius-small: 6px;
    --radius-medium: 10px;
    --radius-large: 16px;

    --transition: 0.25s ease;
}

/* =========================================
   RESET
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);

    font-family: 'Inter', sans-serif;

    line-height: 1.6;

    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

/* =========================================
   GLOBAL CONTAINER
   ========================================= */

.container {
    width: min(92%, var(--container-width));
    margin: 0 auto;
}

/* =========================================
   HEADINGS
   ========================================= */

h1,
h2,
h3,
h4 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.5px;
    line-height: 1;
}

h1 {
    font-size: clamp(4rem, 9vw, 7.5rem);
}

h2 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
}

h3 {
    font-size: 2rem;
}

/* =========================================
   BUTTONS
   ========================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 24px;

    border-radius: var(--radius-small);

    font-size: 0.9rem;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    cursor: pointer;

    border: none;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent);
    color: #050505;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-secondary {
    background: transparent;

    border: 1px solid var(--border);

    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* =========================================
   SECTION
   ========================================= */

.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 45px;
}

.section-label {
    color: var(--accent);

    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 12px;
}

.section-description {
    max-width: 650px;

    margin-top: 18px;

    color: var(--text-secondary);

    font-size: 1rem;
}

/* =========================================
   CARDS
   ========================================= */

.card {
    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: var(--radius-medium);

    transition:
        border-color var(--transition),
        transform var(--transition);
}

.card:hover {
    border-color: #3A434F;

    transform: translateY(-3px);
}

/* =========================================
   UTILITY
   ========================================= */

.text-accent {
    color: var(--accent);
}

.text-muted {
    color: var(--text-secondary);
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* =========================================
   NAVIGATION
   ========================================= */

.site-header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(7, 9, 13, 0.85);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
    height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* =========================================
   LOGO
   ========================================= */

.logo {
    display: flex;

    align-items: baseline;

    gap: 5px;

    font-weight: 800;
}

.logo-main {
    font-size: 1.4rem;

    font-weight: 900;

    color: var(--accent);
}

.logo-rivals {
    font-size: 1.4rem;

    font-weight: 900;

    letter-spacing: 1px;
}

.logo-country {
    font-size: 0.65rem;

    color: var(--text-secondary);

    font-weight: 800;

    letter-spacing: 1px;
}


/* =========================================
   MAIN NAV
   ========================================= */

.main-nav {
    display: flex;

    align-items: center;

    gap: 35px;
}

.main-nav a {
    color: var(--text-secondary);

    font-size: 0.8rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.7px;

    transition: color var(--transition);
}

.main-nav a:hover {
    color: var(--accent);
}


/* =========================================
   NAV ACTIONS
   ========================================= */

.nav-actions {
    display: flex;

    align-items: center;

    gap: 20px;
}

.nav-login {
    color: var(--text-secondary);

    font-size: 0.8rem;

    font-weight: 700;

    text-transform: uppercase;
}

.nav-login:hover {
    color: var(--text-primary);
}

.nav-join {
    min-height: 42px;

    padding: 0 20px;

    font-size: 0.75rem;
}


/* =========================================
   MOBILE MENU BUTTON
   ========================================= */

.mobile-menu-button {
    display: none;

    width: 42px;
    height: 42px;

    background: transparent;

    border: 1px solid var(--border);

    border-radius: var(--radius-small);

    cursor: pointer;

    padding: 10px;
}

.mobile-menu-button span {
    display: block;

    width: 100%;
    height: 2px;

    background: var(--text-primary);

    margin: 5px 0;
}


/* =========================================
   MOBILE NAV
   ========================================= */

.mobile-nav {
    display: none;

    padding: 20px;

    background: var(--bg-secondary);

    border-top: 1px solid var(--border);
}

.mobile-nav a {
    display: block;

    padding: 15px 0;

    color: var(--text-secondary);

    font-size: 0.85rem;

    font-weight: 700;

    text-transform: uppercase;
}

.mobile-nav .btn {
    color: #050505;

    text-align: center;

    margin-top: 10px;
}

/* =========================================
   HERO
   ========================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(200, 255, 0, 0.08),
            transparent 30%
        ),
        var(--bg-primary);
}


/* =========================================
   HERO BACKGROUND
   ========================================= */

.hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            #07090D 0%,
            rgba(7, 9, 13, 0.92) 35%,
            rgba(7, 9, 13, 0.55) 70%,
            rgba(7, 9, 13, 0.85) 100%
        );

    z-index: 1;
}


/* Decorative grid */

.hero::after {
    content: "";

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent
        );

    pointer-events: none;

    z-index: 1;
}


/* =========================================
   HERO CONTENT
   ========================================= */

.hero-container {
    position: relative;

    z-index: 2;

    padding-top: 120px;
    padding-bottom: 100px;
}

.hero-content {
    max-width: 850px;
}


/* =========================================
   HERO LABEL
   ========================================= */

.hero-label {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 25px;

    color: var(--text-secondary);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.status-dot {
    width: 8px;
    height: 8px;

    background: var(--accent);

    border-radius: 50%;

    box-shadow:
        0 0 12px rgba(200, 255, 0, 0.7);

    animation: pulse 2s infinite;
}

@keyframes pulse {

    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }

    100% {
        opacity: 1;
    }

}


/* =========================================
   HERO HEADING
   ========================================= */

.hero h1 {
    margin-bottom: 25px;

    max-width: 850px;

    text-transform: uppercase;
}

.hero h1 .text-accent {
    color: var(--accent);
}


/* =========================================
   HERO DESCRIPTION
   ========================================= */

.hero-description {
    max-width: 600px;

    margin-bottom: 25px;

    color: var(--text-secondary);

    font-size: 1.05rem;

    line-height: 1.8;
}


/* =========================================
   PLATFORMS
   ========================================= */

.platforms {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 35px;

    color: var(--text-primary);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.platform-divider {
    color: var(--accent);

    opacity: 0.7;
}


/* =========================================
   HERO BUTTONS
   ========================================= */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 12px;
}

.btn-hero-secondary {
    border: 1px solid rgba(255,255,255,0.18);

    background: rgba(255,255,255,0.03);

    color: var(--text-primary);
}

.btn-hero-secondary:hover {
    border-color: var(--accent);

    color: var(--accent);
}


/* =========================================
   HERO STATS
   ========================================= */

.hero-stats {
    display: flex;

    gap: 50px;

    margin-top: 70px;

    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,0.1);

    max-width: 650px;
}

.hero-stat {
    display: flex;

    flex-direction: column;

    gap: 3px;
}

.hero-stat strong {
    font-family: 'Bebas Neue', sans-serif;

    font-size: 2rem;

    line-height: 1;

    color: var(--text-primary);
}

.hero-stat span {
    color: var(--text-secondary);

    font-size: 0.65rem;

    font-weight: 800;

    letter-spacing: 1.5px;
}


/* =========================================
   SCROLL INDICATOR
   ========================================= */

.hero-scroll {
    position: absolute;

    right: 35px;

    bottom: 35px;

    z-index: 3;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 12px;
}

.hero-scroll span {
    writing-mode: vertical-rl;

    color: var(--text-secondary);

    font-size: 0.55rem;

    font-weight: 700;

    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;

    height: 60px;

    background:
        linear-gradient(
            to bottom,
            var(--accent),
            transparent
        );
}

/* =========================================
   LIVE COMPETITIONS
   ========================================= */

.competitions-section {
    background: var(--bg-secondary);

    border-top: 1px solid rgba(255, 255, 255, 0.04);
}


.competitions-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;
}


.competitions-header .section-description {
    margin-bottom: 0;
}


/* =========================================
   VIEW ALL LINK
   ========================================= */

.view-all-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;

    color: var(--accent);

    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition:
        gap var(--transition),
        color var(--transition);
}

.view-all-link:hover {
    gap: 15px;

    color: var(--accent-hover);
}

.view-all-link span {
    font-size: 1.1rem;
}


/* =========================================
   COMPETITION GRID
   ========================================= */

.competition-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}


/* =========================================
   COMPETITION CARD
   ========================================= */

.competition-card {
    overflow: hidden;

    position: relative;

    background:
        linear-gradient(
            145deg,
            #151B23,
            #0F141B
        );
}

.competition-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background: var(--accent);

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.3s ease;
}

.competition-card:hover::before {
    transform: scaleX(1);
}


/* =========================================
   CARD TOP
   ========================================= */

.competition-card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 18px 20px;

    border-bottom:
        1px solid var(--border);
}

.competition-status {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--accent);

    font-size: 0.65rem;

    font-weight: 800;

    letter-spacing: 1.2px;
}

.live-dot {
    width: 6px;
    height: 6px;

    background: var(--accent);

    border-radius: 50%;

    box-shadow:
        0 0 8px rgba(200, 255, 0, 0.7);
}

.competition-type {
    color: var(--text-secondary);

    font-size: 0.6rem;

    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


/* =========================================
   CARD CONTENT
   ========================================= */

.competition-card-content {
    padding: 28px 20px 20px;
}

.competition-card h3 {
    font-size: 2.1rem;

    margin-bottom: 8px;
}


/* =========================================
   PLATFORMS
   ========================================= */

.competition-platforms {
    display: flex;

    align-items: center;

    gap: 7px;

    color: var(--text-secondary);

    font-size: 0.62rem;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.competition-platforms span {
    color: var(--accent);

    opacity: 0.7;
}


/* =========================================
   COMPETITION INFO
   ========================================= */

.competition-info {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 1px;

    margin-top: 30px;

    background: var(--border);

    border: 1px solid var(--border);
}

.competition-info-item {
    display: flex;

    flex-direction: column;

    gap: 5px;

    padding: 15px;

    background: var(--bg-card);
}

.competition-info-item span {
    color: var(--text-secondary);

    font-size: 0.58rem;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.competition-info-item strong {
    font-family: 'Bebas Neue', sans-serif;

    font-size: 1.7rem;

    line-height: 1;
}

.competition-info-item strong.prize {
    color: var(--accent);
}


/* =========================================
   PROGRESS
   ========================================= */

.competition-progress {
    margin-top: 22px;
}

.progress-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 8px;

    color: var(--text-secondary);

    font-size: 0.6rem;

    font-weight: 700;

    letter-spacing: 0.5px;
}

.progress-bar {
    width: 100%;

    height: 4px;

    background: #252B33;

    overflow: hidden;
}

.progress-fill {
    height: 100%;

    background: var(--accent);

    transition: width 0.5s ease;
}


/* =========================================
   COMPETITION BUTTON
   ========================================= */

.competition-button {
    width: 100%;

    margin-top: 25px;

    min-height: 46px;

    font-size: 0.7rem;
}

/* =========================================
   HOW IT WORKS
   ========================================= */

.how-it-works {
    background: var(--bg-primary);

    position: relative;

    overflow: hidden;
}


/* =========================================
   HEADER
   ========================================= */

.how-header {
    max-width: 650px;
}

.how-header .section-description {
    margin-bottom: 0;
}


/* =========================================
   STEPS CONTAINER
   ========================================= */

.steps-container {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 0;

    margin-top: 65px;

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);
}


/* =========================================
   STEP
   ========================================= */

.step {
    position: relative;

    min-height: 330px;

    padding: 35px;

    border-right:
        1px solid var(--border);
}

.step:last-child {
    border-right: none;
}


/* =========================================
   STEP NUMBER
   ========================================= */

.step-number {
    font-family: 'Bebas Neue', sans-serif;

    font-size: 4.5rem;

    line-height: 1;

    color: var(--border);

    transition:
        color var(--transition);
}

.step:hover .step-number {
    color: var(--accent);
}


/* =========================================
   STEP LINE
   ========================================= */

.step-line {
    position: absolute;

    top: 0;

    left: 35px;

    width: 1px;

    height: 100%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            var(--border),
            transparent
        );

    opacity: 0.5;
}


/* =========================================
   STEP CONTENT
   ========================================= */

.step-content {
    position: relative;

    z-index: 2;

    margin-top: 25px;

    max-width: 300px;
}

.step-icon {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    background: rgba(200, 255, 0, 0.08);

    border: 1px solid rgba(200, 255, 0, 0.2);

    color: var(--accent);

    font-size: 1.2rem;

    border-radius: var(--radius-small);
}

.step-content h3 {
    margin-bottom: 14px;

    font-size: 2rem;
}

.step-content p {
    color: var(--text-secondary);

    font-size: 0.88rem;

    line-height: 1.8;
}


/* =========================================
   PLATFORM BANNER
   ========================================= */

.platform-banner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    margin-top: 45px;

    padding: 25px 30px;

    background: var(--bg-card);

    border: 1px solid var(--border);

    border-left:
        3px solid var(--accent);
}


.platform-banner-content {
    display: flex;

    align-items: center;

    gap: 12px;
}

.platform-banner-label {
    color: var(--text-secondary);

    font-size: 0.65rem;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.platform-banner-divider {
    color: var(--accent);

    font-weight: 800;
}

.platform-banner-main {
    font-family: 'Bebas Neue', sans-serif;

    font-size: 1.8rem;

    letter-spacing: 0.5px;
}

.platform-banner-platforms {
    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--text-primary);

    font-size: 0.65rem;

    font-weight: 800;

    letter-spacing: 1px;
}

.platform-banner-platforms span:nth-child(even) {
    color: var(--accent);

    opacity: 0.7;
}

/* =========================================
   LEADERBOARD PREVIEW
   ========================================= */

.leaderboard-preview {
    background: var(--bg-secondary);

    border-top:
        1px solid rgba(255, 255, 255, 0.04);

    overflow: hidden;
}


/* =========================================
   HEADER
   ========================================= */

.leaderboard-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;
}

.leaderboard-header .section-description {
    margin-bottom: 0;
}


/* =========================================
   LEADERBOARD CONTAINER
   ========================================= */

.leaderboard-container {
    overflow: hidden;

    background: #0F141A;
}


/* =========================================
   LEADERBOARD ROW
   ========================================= */

.leaderboard-row {
    display: grid;

    grid-template-columns:
        80px
        minmax(220px, 1fr)
        70px
        70px
        80px
        100px
        120px;

    align-items: center;

    min-height: 76px;

    border-bottom:
        1px solid var(--border);

    transition:
        background var(--transition);
}

.leaderboard-row:last-child {
    border-bottom: none;
}

.leaderboard-row:not(.leaderboard-heading):hover {
    background:
        rgba(200, 255, 0, 0.025);
}


/* =========================================
   TABLE HEADER
   ========================================= */

.leaderboard-heading {
    min-height: 48px;

    background: #0A0E13;

    color: var(--text-secondary);

    font-size: 0.58rem;

    font-weight: 800;

    letter-spacing: 1px;
}


/* =========================================
   COLUMNS
   ========================================= */

.rank-column,
.player-column,
.stat-column,
.earnings-column {
    padding: 0 20px;
}

.rank-column {
    text-align: center;
}

.stat-column,
.earnings-column {
    text-align: center;
}

.earnings-column {
    text-align: right;
}


/* =========================================
   RANK
   ========================================= */

.rank-number {
    font-family: 'Bebas Neue', sans-serif;

    font-size: 1.4rem;

    color: var(--text-secondary);
}

.top-player .rank-number {
    color: var(--accent);

    font-size: 1.7rem;
}


/* =========================================
   PLAYER
   ========================================= */

.player-column {
    display: flex;

    align-items: center;

    gap: 14px;
}

.player-avatar {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background:
        rgba(200, 255, 0, 0.08);

    border:
        1px solid rgba(200, 255, 0, 0.2);

    color: var(--accent);

    font-family: 'Bebas Neue', sans-serif;

    font-size: 1.2rem;

    border-radius: 50%;
}

.player-details {
    display: flex;

    flex-direction: column;

    gap: 2px;
}

.player-details strong {
    font-size: 0.78rem;

    font-weight: 800;

    letter-spacing: 0.5px;
}

.player-details span {
    color: var(--text-secondary);

    font-size: 0.55rem;

    font-weight: 700;

    letter-spacing: 1px;
}


/* =========================================
   STATISTICS
   ========================================= */

.stat-column {
    color: var(--text-primary);

    font-size: 0.78rem;

    font-weight: 700;
}

.losses {
    color: var(--text-secondary);
}

.points {
    color: var(--accent);

    font-weight: 800;
}

.win-column {
    font-weight: 800;
}


/* =========================================
   EARNINGS
   ========================================= */

.earnings {
    color: var(--accent);

    font-size: 0.8rem;

    font-weight: 800;
}


/* =========================================
   LEADERBOARD FOOTER
   ========================================= */

.leaderboard-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 25px;
}

.leaderboard-note {
    display: flex;

    align-items: center;

    gap: 9px;

    color: var(--text-secondary);

    font-size: 0.62rem;

    font-weight: 700;

    letter-spacing: 0.5px;
}

.leaderboard-button {
    min-height: 42px;

    padding: 0 20px;

    font-size: 0.65rem;
}

/* =========================================
   NUMBERS / PRIZE SECTION
   ========================================= */

.numbers-section {
    position: relative;

    overflow: hidden;

    background:
        #080B10;

    border-top:
        1px solid rgba(255,255,255,0.04);

    border-bottom:
        1px solid rgba(255,255,255,0.04);
}


/* =========================================
   BACKGROUND
   ========================================= */

.numbers-background {
    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(200,255,0,0.08),
            transparent 35%
        );
}


/* Football-pitch inspired lines */

.numbers-background::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    border: 1px solid
        rgba(255,255,255,0.035);

    border-radius: 50%;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);
}


.numbers-background::after {
    content: "";

    position: absolute;

    width: 100%;

    height: 1px;

    background:
        rgba(255,255,255,0.035);

    top: 50%;
    left: 0;
}


/* =========================================
   CONTAINER
   ========================================= */

.numbers-container {
    position: relative;

    z-index: 2;
}


/* =========================================
   INTRO
   ========================================= */

.numbers-intro {
    max-width: 700px;

    margin: 0 auto;

    text-align: center;
}

.numbers-intro h2 {
    margin-bottom: 20px;
}

.numbers-intro p {
    max-width: 560px;

    margin: 0 auto;

    color: var(--text-secondary);

    font-size: 0.95rem;

    line-height: 1.8;
}


/* =========================================
   NUMBERS GRID
   ========================================= */

.numbers-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    margin-top: 70px;

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);
}


/* =========================================
   NUMBER STAT
   ========================================= */

.number-stat {
    position: relative;

    padding: 40px 30px;

    text-align: center;

    border-right:
        1px solid var(--border);

    transition:
        background var(--transition);
}

.number-stat:last-child {
    border-right: none;
}

.number-stat:hover {
    background:
        rgba(200,255,0,0.025);
}


/* =========================================
   BIG NUMBER
   ========================================= */

.number-stat strong {
    display: block;

    font-family: 'Bebas Neue', sans-serif;

    font-size: clamp(3rem, 5vw, 5rem);

    line-height: 0.9;

    letter-spacing: 1px;

    color: var(--text-primary);
}

.number-stat strong span {
    color: var(--accent);
}


/* =========================================
   LABEL
   ========================================= */

.number-label {
    display: block;

    margin-top: 12px;

    color: var(--accent);

    font-size: 0.65rem;

    font-weight: 800;

    letter-spacing: 1.5px;
}


/* =========================================
   DESCRIPTION
   ========================================= */

.number-stat p {
    margin-top: 10px;

    color: var(--text-secondary);

    font-size: 0.65rem;

    line-height: 1.6;
}


/* =========================================
   HIGHLIGHT STAT
   ========================================= */

.highlight-stat {
    background:
        rgba(200,255,0,0.025);
}

.highlight-stat strong {
    color: var(--accent);
}


/* =========================================
   PLATFORM STRIP
   ========================================= */

.numbers-platform-strip {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    margin-top: 40px;

    color: var(--text-secondary);

    font-size: 0.62rem;

    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}

.numbers-platform-strip i {
    color: var(--accent);

    font-style: normal;

    font-size: 1rem;
}


.numbers-strip-message {
    margin-left: 15px;

    padding-left: 20px;

    border-left:
        1px solid var(--border);

    color: var(--accent);

    font-size: 0.62rem;
}

/* =========================================
   READY TO COMPETE CTA
========================================= */

.cta-section {
    position: relative;
    padding: 120px 20px;
    background: #080808;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        circle,
        rgba(255, 215, 0, 0.10) 0%,
        rgba(255, 215, 0, 0.04) 35%,
        transparent 70%
    );
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.cta-label {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #d4af37;
}

.cta-section h2 {
    margin: 0 0 25px;
    font-size: clamp(52px, 8vw, 100px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -3px;
    color: #ffffff;
}

.cta-section h2 span {
    color: #d4af37;
}

.cta-section p {
    max-width: 650px;
    margin: 0 auto 40px;
    color: #a5a5a5;
    font-size: 17px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: #d4af37;
    color: #080808;
    border: 1px solid #d4af37;
}

.cta-buttons .btn-primary:hover {
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid #444444;
}

.cta-buttons .btn-secondary:hover {
    border-color: #d4af37;
    color: #d4af37;
    transform: translateY(-3px);
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #050505;
    border-top: 1px solid #1d1d1d;
    color: #ffffff;
}


/* -----------------------------------------
   MAIN FOOTER
----------------------------------------- */

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 30px 70px;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}


/* -----------------------------------------
   BRAND
----------------------------------------- */

.footer-logo {
    display: inline-block;

    color: #ffffff;
    text-decoration: none;

    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
}

.footer-logo span {
    color: #d4af37;
}

.footer-brand p {
    max-width: 300px;

    margin: 20px 0 25px;

    color: #858585;

    font-size: 14px;
    line-height: 1.7;
}


/* -----------------------------------------
   PLATFORMS
----------------------------------------- */

.footer-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-platforms span {
    padding: 7px 10px;

    border: 1px solid #292929;

    color: #777777;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* -----------------------------------------
   FOOTER COLUMNS
----------------------------------------- */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h4 {
    margin: 5px 0 22px;

    color: #d4af37;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.footer-column a {
    margin-bottom: 13px;

    color: #858585;

    text-decoration: none;

    font-size: 13px;

    transition: color 0.25s ease;
}

.footer-column a:hover {
    color: #ffffff;
}


/* -----------------------------------------
   FOOTER BOTTOM
----------------------------------------- */

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;

    padding: 22px 30px;

    border-top: 1px solid #1b1b1b;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;

    color: #555555;

    font-size: 11px;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: #555555;

    text-decoration: none;

    font-size: 11px;

    transition: color 0.25s ease;
}

.footer-legal a:hover {
    color: #d4af37;
}

/* =========================================================
   FC RIVALS SA
   AUTHENTICATION PAGES
   LOGIN + REGISTER
   ========================================================= */


/* =========================================================
   AUTH PAGE BACKGROUND
   ========================================================= */

.auth-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px;
    background:
        linear-gradient(
            rgba(5, 7, 10, 0.55),
            rgba(5, 7, 10, 0.65)
        ),
        url("../Assets/images/football-bg.jpg");
    background-size: cover;
    background-position: center;
    position: relative;

}


/* Subtle football pitch effect */

.auth-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            transparent 49.8%,
            rgba(255, 255, 255, 0.025) 50%,
            transparent 50.2%
        );
    pointer-events: none;
}


/* =========================================================
   AUTH CONTAINER
   ========================================================= */

.auth-container {
    width: 100%;
    max-width: 520px;
    position: relative;
    z-index: 2;
    padding: 45px;
    background: rgba(15, 18, 23, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45);
}


/* =========================================================
   AUTH HEADER
   ========================================================= */

.auth-header {
    text-align: center;
    margin-bottom: 35px;
}


/* Auth logo */

.auth-logo {
    display: inline-block;
    margin-bottom: 25px;

    font-family: "Bebas Neue", sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1.5px;

    color: #ffffff;
    text-decoration: none;
}


.auth-logo span {
    color: #e30613;
}


/* Section label */

.auth-header .section-label {
    display: inline-block;

    margin-bottom: 12px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #e30613;
}


/* Heading */

.auth-header h1 {
    margin: 0 0 14px;

    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(42px, 7vw, 58px);
    line-height: 0.95;
    letter-spacing: 1px;

    color: #ffffff;
}


.auth-header h1 .text-accent {
    color: #e30613;
}


/* Description */

.auth-header p {
    max-width: 400px;
    margin: 0 auto;

    color: #9da3ad;

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   FORM
   ========================================================= */

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* =========================================================
   FORM GROUP
   ========================================================= */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.form-group label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;

    color: #ffffff;
}


.form-group small {
    color: #737983;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   INPUTS + SELECT
   ========================================================= */

.form-group input,
.form-group select {
    width: 100%;
    min-height: 52px;

    padding: 0 16px;

    border: 1px solid #30343b;
    border-radius: 0;

    background: #0a0c0f;

    color: #ffffff;

    font-family: "Inter", sans-serif;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.form-group input::placeholder {
    color: #5f646c;
}


.form-group select {
    cursor: pointer;
    appearance: auto;
}


/* Input focus */

.form-group input:focus,
.form-group select:focus {
    border-color: #e30613;

    background: #0d1014;

    box-shadow:
        0 0 0 3px rgba(227, 6, 19, 0.10);
}


/* =========================================================
   CHECKBOX
   ========================================================= */

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    color: #9da3ad;

    font-size: 13px;
    line-height: 1.5;
}


.form-checkbox input {
    width: 17px;
    height: 17px;

    margin-top: 2px;

    accent-color: #e30613;

    flex-shrink: 0;
}


.form-checkbox label {
    cursor: pointer;
}


.form-checkbox a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}


.form-checkbox a:hover {
    color: #e30613;
}


/* =========================================================
   AUTH OPTIONS
   ========================================================= */

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: -5px;
}


.auth-options .form-checkbox {
    margin: 0;
}


.auth-options a {
    color: #9da3ad;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition: color 0.2s ease;
}


.auth-options a:hover {
    color: #e30613;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.auth-submit {
    width: 100%;

    min-height: 56px;

    margin-top: 5px;

    border: none;
    border-radius: 0;

    background: #e30613;

    color: #ffffff;

    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1.5px;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.auth-submit:hover {
    background: #ff1a2a;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(227, 6, 19, 0.25);
}


.auth-submit:active {
    transform: translateY(0);
}


.auth-submit:disabled {
    opacity: 0.6;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}


/* =========================================================
   FORM MESSAGES
   ========================================================= */

.form-message {
    padding: 14px 16px;

    margin-bottom: 20px;

    border: 1px solid transparent;

    font-size: 13px;
    line-height: 1.5;
}


.form-message.success {
    background: rgba(22, 163, 74, 0.10);

    border-color: rgba(22, 163, 74, 0.35);

    color: #4ade80;
}


.form-message.error {
    background: rgba(227, 6, 19, 0.10);

    border-color: rgba(227, 6, 19, 0.35);

    color: #ff6b76;
}


/* =========================================================
   AUTH FOOTER
   ========================================================= */

.auth-footer {
    margin-top: 30px;

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.07);

    text-align: center;

    color: #737983;

    font-size: 13px;
}


.auth-footer a {
    margin-left: 5px;

    color: #ffffff;

    font-weight: 800;

    text-decoration: none;

    transition: color 0.2s ease;
}


.auth-footer a:hover {
    color: #e30613;
}


/* =========================================================
   AUTH PAGE RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {

    .auth-page {
        min-height: calc(100vh - 70px);

        padding: 40px 15px;
    }


    .auth-container {
        padding: 32px 22px;
    }


    .auth-header {
        margin-bottom: 28px;
    }


    .auth-logo {
        font-size: 26px;
    }


    .auth-header h1 {
        font-size: 46px;
    }


    .auth-header p {
        font-size: 14px;
    }


    .auth-form {
        gap: 17px;
    }


    .auth-options {
        flex-direction: column;
        align-items: flex-start;
    }


    .auth-submit {
        min-height: 54px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .auth-container {
        padding: 28px 18px;
    }


    .auth-header h1 {
        font-size: 40px;
    }


    .form-group input,
    .form-group select {
        min-height: 50px;
    }

}

/* =========================================
   FC RIVALS SA — COMPETITIONS PAGE
========================================= */


/* =========================================
   PAGE HERO
========================================= */

.page-hero {
    padding: 90px 0 70px;
    text-align: center;
}

.page-hero .dashboard-eyebrow {
    margin-bottom: 10px;
}

.page-hero h1 {
    margin: 0 0 20px;
}

.page-hero p:last-child {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.8;
}


/* =========================================
   COMPETITIONS GRID
========================================= */

.competitions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 35px;
}


/* =========================================
   COMPETITION CARD
========================================= */

.competition-card {
    display: flex;
    flex-direction: column;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.competition-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}


/* =========================================
   CARD HEADER
========================================= */

.competition-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


/* Competition Type */

.competition-type {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}


/* Competition Status */

.competition-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.08);
}


/* =========================================
   CARD BODY
========================================= */

.competition-card-body {
    padding: 25px 20px;
    flex: 1;
}

.competition-card-body h3 {
    margin: 0 0 12px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: 0.5px;
}

.competition-description {
    margin: 0 0 25px;
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.7;
}


/* =========================================
   COMPETITION DETAILS
========================================= */

.competition-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.competition-detail {
    padding: 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.competition-detail span {
    display: block;
    margin-bottom: 5px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    opacity: 0.55;
}

.competition-detail strong {
    display: block;
    font-size: 14px;
    line-height: 1.4;
}


/* =========================================
   COMPETITION DATES
========================================= */

.competition-date {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.competition-date > div {
    display: flex;
    flex-direction: column;
}

.competition-date span {
    margin-bottom: 5px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    opacity: 0.5;
}

.competition-date strong {
    font-size: 13px;
}

.competition-date small {
    margin-top: 3px;
    font-size: 11px;
    opacity: 0.55;
}


/* =========================================
   CARD FOOTER
========================================= */

.competition-card-footer {
    padding: 0 20px 20px;
}


/* =========================================
   COMPETITION BUTTON
========================================= */

.competition-card-footer .dashboard-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    text-decoration: none;
    text-align: center;
}


/* =========================================
   LOADING / ERROR / EMPTY STATES
========================================= */

#competitionsLoading,
#competitionsError,
#noCompetitions {
    margin-top: 35px;
}


/* =========================================
   RETRY BUTTON
========================================= */

#retryCompetitions {
    border: none;
    cursor: pointer;
    font-family: inherit;
}


/* =========================================
   COMPETITION SECTION
========================================= */

.competitions-page .dashboard-section {
    padding-top: 20px;
    padding-bottom: 80px;
}


/* =========================================
   RESPONSIVE — TABLET
========================================= */

@media (max-width: 1000px) {

    .competitions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   RESPONSIVE — MOBILE
========================================= */

@media (max-width: 700px) {

    .page-hero {
        padding: 65px 0 50px;
    }

    .page-hero h1 {
        font-size: 48px;
    }

    .competitions-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .competition-card-body {
        padding: 22px 18px;
    }

    .competition-card-footer {
        padding: 0 18px 18px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .page-hero {
        padding: 50px 0 40px;
    }

    .page-hero h1 {
        font-size: 40px;
    }

    .competition-card-header {
        padding: 15px;
    }

    .competition-card-body {
        padding: 20px 15px;
    }

    .competition-card-footer {
        padding: 0 15px 15px;
    }

    .competition-card-body h3 {
        font-size: 27px;
    }

    .competition-details {
        grid-template-columns: 1fr;
    }

    .competition-date {
        grid-template-columns: 1fr;
        gap: 15px;
    }

}

/* =========================================================
   COMPETITION DETAILS PAGE
   ========================================================= */

.competition-details-page {
    padding: 60px 0 100px;
}

.competition-details-hero {
    padding-bottom: 40px;
}


/* =========================================================
   COMPETITION DETAIL CARD
   ========================================================= */

.competition-detail-card {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 50px;
}

.competition-detail-header {
    padding: 24px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.competition-detail-header > div {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.competition-detail-body {
    padding: 35px 30px 40px;
}

.competition-detail-body h2 {
    margin: 0 0 15px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 42px;
    letter-spacing: 1px;
}

.competition-detail-body p {
    margin: 0;
    max-width: 850px;
    line-height: 1.8;
    opacity: 0.8;
}


/* =========================================================
   TYPE & STATUS
   ========================================================= */

.competition-detail-header .competition-type,
.competition-detail-header .competition-status {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.competition-detail-header .competition-type {
    background: rgba(255, 255, 255, 0.08);
}

.competition-detail-header .competition-status {
    background: rgba(0, 200, 100, 0.12);
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.competition-detail-section {
    margin-bottom: 55px;
}

.competition-detail-section > h2 {
    margin: 0 0 25px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 32px;
    letter-spacing: 1px;
}


/* =========================================================
   COMPETITION INFORMATION
   ========================================================= */

.competition-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.competition-info-box {
    padding: 25px 20px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.competition-info-box:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.18);
}

.competition-info-box span {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.55;
}

.competition-info-box strong {
    display: block;
    font-size: 25px;
    font-weight: 800;
}


/* =========================================================
   SCHEDULE
   ========================================================= */

.competition-schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.competition-schedule-box {
    padding: 30px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.competition-schedule-box span {
    display: block;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.55;
}

.competition-schedule-box strong {
    display: block;
    margin-bottom: 8px;
    font-size: 23px;
    font-weight: 800;
}

.competition-schedule-box small {
    font-size: 15px;
    opacity: 0.65;
}


/* =========================================================
   PLATFORMS
   ========================================================= */

.competition-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.competition-platform {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.platform-note {
    margin: 18px 0 0;
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.6;
}


/* =========================================================
   JOIN SECTION
   ========================================================= */

.competition-join-section {
    margin-top: 65px;
    padding: 50px 35px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-align: center;
}

.competition-join-content {
    max-width: 700px;
    margin: 0 auto;
}

.competition-join-content h2 {
    margin: 0 0 15px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 42px;
    letter-spacing: 1px;
}

.competition-join-content p {
    margin: 0 auto 28px;
    max-width: 600px;
    line-height: 1.7;
    opacity: 0.7;
}


/* =========================================================
   JOIN BUTTON
   ========================================================= */

#joinCompetitionButton {
    min-width: 240px;
    cursor: pointer;
}

#joinCompetitionButton:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}


/* =========================================================
   LOADING / ERROR STATES
   ========================================================= */

.competition-state {
    padding: 80px 20px;
    text-align: center;
}

.competition-state p {
    margin-top: 15px;
    opacity: 0.65;
}

.error-state h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.error-state p {
    margin-bottom: 25px;
}


/* =========================================================
   LOADING SPINNER
   ========================================================= */

.loading-spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: competitionSpinner 0.8s linear infinite;
}

@keyframes competitionSpinner {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .competition-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .competition-details-page {
        padding: 40px 0 70px;
    }

    .competition-detail-card {
        margin-bottom: 40px;
    }

    .competition-detail-header {
        padding: 20px;
    }

    .competition-detail-body {
        padding: 28px 20px 32px;
    }

    .competition-detail-body h2 {
        font-size: 34px;
    }

    .competition-detail-section {
        margin-bottom: 40px;
    }

    .competition-detail-section > h2 {
        font-size: 28px;
    }

    .competition-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .competition-info-box {
        padding: 20px 12px;
    }

    .competition-info-box strong {
        font-size: 21px;
    }

    .competition-schedule-grid {
        grid-template-columns: 1fr;
    }

    .competition-schedule-box {
        padding: 24px 20px;
    }

    .competition-join-section {
        margin-top: 45px;
        padding: 40px 20px;
    }

    .competition-join-content h2 {
        font-size: 35px;
    }

}


@media (max-width: 480px) {

    .competition-info-grid {
        grid-template-columns: 1fr;
    }

    .competition-detail-body h2 {
        font-size: 30px;
    }

    .competition-detail-section > h2 {
        font-size: 25px;
    }

    .competition-platform {
        width: 100%;
    }

    #joinCompetitionButton {
        width: 100%;
        min-width: 0;
    }

}

/* ==========================================
   ENTRY CONFIRMATION PAGE
========================================== */

.entry-confirmation-page {
    padding: 60px 0 100px;
}

.entry-confirmation-layout {
    max-width: 1000px;
    margin: 0 auto;
}


/* ==========================================
   CONFIRMATION CARD
========================================== */

.entry-confirmation-card {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
}

.entry-confirmation-card-header {
    padding: 20px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: "Bebas Neue", sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
}

.entry-confirmation-card-body {
    padding: 30px;
}


/* ==========================================
   COMPETITION INFORMATION
========================================== */

.confirmation-competition-name {
    margin-bottom: 10px;
    font-size: 32px;
}

.confirmation-competition-description {
    margin-bottom: 30px;
    opacity: 0.75;
    line-height: 1.7;
}


/* ==========================================
   PLAYER INFORMATION
========================================== */

.confirmation-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.confirmation-info-box {
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
}

.confirmation-info-box span {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    opacity: 0.55;
}

.confirmation-info-box strong {
    display: block;
    font-size: 16px;
}


/* ==========================================
   SCHEDULE
========================================== */

.confirmation-schedule {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.confirmation-schedule-box {
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
}

.confirmation-schedule-box span {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    opacity: 0.55;
}

.confirmation-schedule-box strong {
    display: block;
    font-size: 16px;
}


/* ==========================================
   ENTRY FEE
========================================== */

.confirmation-fee {
    margin-top: 30px;
    padding: 24px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.confirmation-fee-label {
    font-size: 14px;
    opacity: 0.7;
}

.confirmation-fee-amount {
    font-size: 30px;
    font-weight: 800;
}


/* ==========================================
   JOIN / PAYMENT SECTION
========================================== */

.entry-confirmation-actions {
    margin-top: 30px;
    padding: 30px;
    border-radius: 14px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.entry-confirmation-actions h3 {
    margin-bottom: 10px;
}

.entry-confirmation-actions p {
    margin-bottom: 24px;
    line-height: 1.7;
    opacity: 0.7;
}


/* ==========================================
   ACTION BUTTONS
========================================== */

.confirmation-actions-buttons {
    display: flex;
    gap: 14px;
}

.confirmation-actions-buttons .dashboard-button {
    flex: 1;
    text-align: center;
}

.confirmation-cancel-button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
}


/* ==========================================
   PAYMENT NOTICE
========================================== */

.confirmation-payment-notice {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.75;
}


/* ==========================================
   LOADING / ERROR
========================================== */

.entry-confirmation-page .competition-state {
    max-width: 700px;
    margin: 40px auto;
    text-align: center;
}

.entry-confirmation-page .loading-spinner {
    margin: 0 auto 15px;
}


/* ==========================================
   ENTRY CONFIRMATION RESPONSIVE
========================================== */

@media (max-width: 800px) {

    .confirmation-info-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .entry-confirmation-page {
        padding: 40px 0 70px;
    }

    .entry-confirmation-card-body {
        padding: 22px;
    }

    .entry-confirmation-card-header {
        padding: 18px 22px;
    }

    .confirmation-info-grid {
        grid-template-columns: 1fr;
    }

    .confirmation-schedule {
        grid-template-columns: 1fr;
    }

    .confirmation-fee {
        flex-direction: column;
        align-items: flex-start;
    }

    .confirmation-fee-amount {
        font-size: 26px;
    }

    .entry-confirmation-actions {
        padding: 22px;
    }

    .confirmation-actions-buttons {
        flex-direction: column;
    }

    .confirmation-actions-buttons .dashboard-button {
        width: 100%;
    }

}


@media (max-width: 480px) {

    .confirmation-competition-name {
        font-size: 26px;
    }

}

/* ==========================================
   PAYMENT PAGE
========================================== */

.payment-page {
    padding: 60px 0 100px;
}

.payment-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.payment-card {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
}

.payment-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: "Bebas Neue", sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
}

.payment-card-body {
    padding: 28px;
}

.payment-card-body h2 {
    margin-bottom: 10px;
}

.payment-card-body > p {
    margin-bottom: 30px;
    opacity: 0.75;
    line-height: 1.7;
}

.payment-details {
    display: flex;
    flex-direction: column;
}

.payment-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-detail-row span {
    opacity: 0.6;
    font-size: 13px;
    font-weight: 600;
}

.payment-detail-row strong {
    text-align: right;
}

.payment-summary {
    align-self: start;
}

.payment-price-row,
.payment-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.payment-price-row span,
.payment-total-row span {
    opacity: 0.7;
}

.payment-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 24px 0;
}

.payment-total-row {
    font-size: 20px;
}

.payment-total-row strong {
    font-size: 28px;
}

.payment-message {
    margin: 24px 0;
    padding: 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.8;
}

.payment-button {
    width: 100%;
    border: none;
    cursor: pointer;
}

.payment-cancel {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.7;
}

.payment-security-note {
    margin-top: 24px !important;
    margin-bottom: 0 !important;
    font-size: 12px !important;
    text-align: center;
    opacity: 0.5 !important;
    line-height: 1.6;
}


/* ==========================================
   PAYMENT RESPONSIVE
========================================== */

@media (max-width: 800px) {

    .payment-layout {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 480px) {

    .payment-page {
        padding: 40px 0 70px;
    }

    .payment-card-body {
        padding: 20px;
    }

    .payment-detail-row {
        flex-direction: column;
        gap: 6px;
    }

    .payment-detail-row strong {
        text-align: left;
    }

    .payment-total-row strong {
        font-size: 24px;
    }

}