
/* =====================================
   TYPE RACER
   Main Stylesheet
   ===================================== */

:root {
    --background: #090b10;
    --surface: #121620;
    --surface-light: #1b2230;

    --primary: #e32636;
    --primary-hover: #ff394b;

    --text: #f4f5f7;
    --muted: #9299a8;

    --border: #293140;

    --font-heading: 'Barlow Condensed', sans-serif;
    --font-body: 'Inter', sans-serif;
}


/* Global Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: var(--font-body);
    overflow-x: hidden;
}


/* Main Container */

.game-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 30px 35px;
}


/* Header */

.game-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 25px;
    margin-bottom: 35px;

    border-bottom: 1px solid var(--border);
}


.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}


.brand-mark {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);
    color: white;

    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 800;

    transform: skew(-8deg);
}


.brand h1 {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1;
}


.brand p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
}


.race-status {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* Section Headings */

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 15px;
}


.section-heading h2 {
    font-family: var(--font-heading);
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 1px;
}


.section-heading span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
}


/* Race Section */

.race-section {
    margin-bottom: 25px;
}


/* Footer */

.game-footer {
    display: flex;
    justify-content: space-between;

    margin-top: 35px;
    padding-top: 18px;

    border-top: 1px solid var(--border);

    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
}


/* Responsive Layout */

@media (max-width: 700px) {

    .game-container {
        padding: 20px 15px;
    }

    .game-header {
        align-items: flex-start;
        gap: 15px;
    }

    .brand h1 {
        font-size: 27px;
    }

    .race-status {
        font-size: 13px;
        text-align: right;
    }

    .game-footer {
        gap: 15px;
        font-size: 9px;
    }

}
