/* ==========================================================
   GhOsT Lab
   Global styles
========================================================== */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap");

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #0D0D0D;
    --bg-deep: #070707;
    --surface: #151515;
    --surface-2: #1E1E1E;
    --surface-3: #262626;
    --primary: #FF202D;
    --primary-hover: #ff3b46;
    --text: #FFFFFF;
    --text-secondary: #D7D7D7;
    --text-muted: #9D9D9D;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.2);
    --shadow-red: 0 18px 60px rgba(255, 32, 45, 0.22);
    --font-heading: "Poppins", Arial, sans-serif;
    --font-body: "Montserrat", Arial, sans-serif;
    --container-width: 1180px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --transition: 180ms ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    min-width: 320px;
    background:
        radial-gradient(circle at 15% 8%, rgba(255, 32, 45, 0.14), transparent 28rem),
        linear-gradient(180deg, #0D0D0D 0%, #090909 100%);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
}

p {
    color: var(--text-secondary);
    margin: 0;
}

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

ul,
ol {
    list-style: none;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

::selection {
    background: var(--primary);
    color: #FFFFFF;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 999px;
}
