﻿/* ===============================
   ROOT THEME
   =============================== */

:root {
    --bg-main: #07080c;
    --bg-card: #0e1118;
    --bg-soft: #131722;
    --border-soft: rgba(255,255,255,0.06);
    --text-main: #ffffff;
    --text-muted: #9aa0b5;
    --accent: #ff1f3d;
    --accent-dark: #b3132a;
    --accent-glow: rgba(255, 31, 61, 0.45);
    --green: #28d17c;
    --radius-xl: 22px;
    --radius-lg: 16px;
    --radius-md: 12px;
}

/* ===============================
   RESET
   =============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at top, #0b0e16 0%, var(--bg-main) 55%);
    color: var(--text-main);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
}

/* ===============================
   HEADER
   =============================== */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(to bottom, #06070b, rgba(6,7,11,0.6));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
}

.navbar {
    max-width: 1280px;
    margin: auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .navbar a {
        color: var(--text-muted);
        text-decoration: none;
        margin-left: 28px;
        font-weight: 500;
        transition: color 0.25s ease;
    }

        .navbar a:hover {
            color: var(--text-main);
        }

    .navbar .active {
        color: var(--accent);
    }

/* ===============================
   PAGE TITLE
   =============================== */

.section-title {
    text-align: center;
    margin: 90px 0 50px;
}

    .section-title h1 {
        font-size: 44px;
        font-weight: 900;
        letter-spacing: 0.5px;
    }

        .section-title h1 span {
            color: var(--accent);
        }

/* ===============================
   MATCH CARD
   =============================== */

.match-card {
    max-width: 1100px;
    margin: 0 auto 90px;
    background: linear-gradient(180deg, var(--bg-card), #0a0c12);
    border-radius: var(--radius-xl);
    padding: 34px;
    box-shadow: 0 30px 90px rgba(0,0,0,0.8), inset 0 0 0 1px var(--border-soft);
}

/* ===============================
   TAG
   =============================== */

.match-tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--accent);
    background: rgba(255,31,61,0.12);
    border-radius: 999px;
    margin-bottom: 18px;
}

/* ===============================
   MATCH TITLE
   =============================== */

.match-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 28px;
}

/* ===============================
   INFO ROWS
   =============================== */

.match-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, var(--bg-soft), #0f121a);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    border: 1px solid var(--border-soft);
}

    .info-row span {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.6px;
        color: var(--text-muted);
    }

    .info-row strong {
        font-size: 15px;
        font-weight: 700;
    }

/* ===============================
   ENTRY PRICE
   =============================== */

.price {
    color: var(--green);
    font-weight: 800;
}

/* ===============================
   PRIZE BAR
   =============================== */

.prize-bar {
    margin-top: 22px;
    background: linear-gradient( 90deg, rgba(255,31,61,0.35), rgba(120,20,30,0.25) );
    border-radius: var(--radius-md);
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255,31,61,0.35);
}

    .prize-bar span {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.6px;
    }

.prizes {
    display: flex;
    gap: 22px;
    font-weight: 800;
}

    .prizes span {
        display: flex;
        align-items: center;
        gap: 6px;
    }

/* ===============================
   REGISTER BUTTON
   =============================== */

.register-btn {
    margin-top: 26px;
    width: 100%;
    border: none;
    border-radius: var(--radius-md);
    padding: 18px 0;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.8px;
    color: #fff;
    cursor: pointer;
    background: linear-gradient( 90deg, var(--accent), var(--accent-dark) );
    box-shadow: 0 14px 40px var(--accent-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .register-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 20px 60px var(--accent-glow);
    }

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 768px) {
    .section-title h1 {
        font-size: 32px;
    }

    .match-card {
        padding: 22px;
    }

    .prize-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
