/* =============================== */
/*  VARIABLES Y CONFIGURACIÓN BASE */
/* =============================== */
@font-face {
    font-family: "TikTok Sans";
    src: url("../../fonts/TikTokSans-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "TikTok Sans";
    src: url("../../fonts/TikTokSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "TikTok Sans";
    src: url("../../fonts/TikTokSans-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "TikTok Sans";
    src: url("../../fonts/TikTokSans-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-primary: #fc1207;
    --color-secondary: #0c1320;
    --color-text: #f4f7fb;
    --color-background: #040608;
    --color-surface: rgba(10, 15, 24, 0.6);
    --color-border: rgba(255, 255, 255, 0.16);
    --font-family-base: "TikTok Sans", "Segoe UI", "Helvetica Neue", sans-serif;
    --max-width-container: 1550px;
    --spacing-unit: 1rem;
}

/* =============================== */
/*  RESETEO Y TIPOGRAFÍA GENERAL   */
/* =============================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

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

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

main {
    flex: 1 0 auto;
    width: 100%;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
