/* ══════════════════════════════════════════════════════════
   THE PANG — CSS Reset
   ══════════════════════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-kr);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-body);
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-brand-purple);
}

ul,
ol {
    list-style: none;
}

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

button {
    font-family: inherit;
    font-size: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
    transition: var(--transition);
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-en);
    font-weight: var(--fw-bold);
    line-height: 1.2;
}

/* ── Custom Scrollbar ──────────────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--color-brand-purple);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9254ff;
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--color-brand-purple) var(--color-bg-primary);
}

/* ── Selection ─────────────────────────────────────────── */
::selection {
    background: var(--color-brand-purple);
    color: var(--color-text-primary);
}