/* =========================================================
   STICKMAN: THE TYPING FIGHTER
   GLOBAL STYLES
   ========================================================= */


/* ---------------------------------------------------------
   1. RESET
   --------------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}


body {
    width: 100%;
    min-height: 100%;
    background: #17191c;
    color: #f2f2f2;

    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    overflow-x: hidden;
}


/* ---------------------------------------------------------
   2. ROOT VARIABLES
   --------------------------------------------------------- */

:root {
    --bg-main: #17191c;
    --bg-dark: #101214;
    --bg-panel: #202327;
    --bg-light: #d9d9d9;

    --white: #f5f5f5;
    --soft-white: #dedede;
    --gray: #969696;
    --dark-gray: #4d4f52;

    --black: #080909;

    --border: rgba(255, 255, 255, 0.18);
    --border-light: rgba(255, 255, 255, 0.38);

    --blue: #3295ff;
    --red: #ff3f55;
    --gold: #ffc83d;

    --transition-fast: 160ms ease;
    --transition-normal: 280ms ease;
}


/* ---------------------------------------------------------
   3. COMMON SCREEN
   --------------------------------------------------------- */

.screen {
    position: relative;

    width: 100%;
    min-height: 100vh;

    overflow: hidden;
}


/* ---------------------------------------------------------
   4. BUTTON RESET
   --------------------------------------------------------- */

button {
    border: none;
    outline: none;

    font: inherit;

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;
}


button:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 4px;
}


/* ---------------------------------------------------------
   5. COMMON MENU BUTTON
   --------------------------------------------------------- */

.menu-button {
    position: relative;

    width: 100%;
    min-height: 58px;

    padding: 0 30px;

    border-radius: 7px;

    font-size: 17px;
    font-weight: 800;
    letter-spacing: 2px;

    transition:
        transform var(--transition-fast),
        background var(--transition-fast),
        color var(--transition-fast),
        box-shadow var(--transition-fast);
}


.menu-button:hover {
    transform: translateY(-2px);
}


.menu-button:active {
    transform: translateY(1px) scale(0.985);
}


/* ---------------------------------------------------------
   6. PRIMARY BUTTON
   --------------------------------------------------------- */

.primary-button {
    background: var(--white);
    color: var(--black);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.28);
}


.primary-button:hover {
    background: #ffffff;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.38);
}


/* ---------------------------------------------------------
   7. SECONDARY BUTTON
   --------------------------------------------------------- */

.secondary-button {
    background: transparent;
    color: var(--white);

    border: 1px solid rgba(255, 255, 255, 0.65);
}


.secondary-button:hover {
    background: rgba(255, 255, 255, 0.08);
}


/* ---------------------------------------------------------
   8. AD SPACE
   --------------------------------------------------------- */

.ad-space {
    border: 1px solid rgba(255, 255, 255, 0.28);

    background:
        rgba(255, 255, 255, 0.025);

    color: #777;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    user-select: none;
}


.ad-space span {
    font-size: 12px;
    letter-spacing: 3px;
}


.ad-space small {
    margin-top: 5px;

    font-size: 9px;
    letter-spacing: 1.5px;
}


/* ---------------------------------------------------------
   9. CUSTOM SCROLLBAR
   --------------------------------------------------------- */

::-webkit-scrollbar {
    width: 8px;
}


::-webkit-scrollbar-track {
    background: #111315;
}


::-webkit-scrollbar-thumb {
    background: #44474b;
    border-radius: 10px;
}


::-webkit-scrollbar-thumb:hover {
    background: #5a5d61;
}


/* ---------------------------------------------------------
   10. SELECTION
   --------------------------------------------------------- */

::selection {
    background: #eeeeee;
    color: #111111;
}


/* ---------------------------------------------------------
   11. DISABLE IMAGE DRAGGING
   --------------------------------------------------------- */

img {
    user-select: none;
    -webkit-user-drag: none;
}


/* ---------------------------------------------------------
   12. RESPONSIVE BASE
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .screen {
        min-height: 100dvh;
    }

}


@media (max-width: 600px) {

    .menu-button {
        min-height: 54px;
        font-size: 15px;
    }

}