/**
 * VIK AUTO TRADING - Base Styles
 *
 * CSS 리셋 및 기본 스타일
 */

/* ==========================================
   CSS RESET
========================================== */

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

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

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    background-color: var(--color-bg-black);
    color: var(--color-text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ==========================================
   TYPOGRAPHY BASE
========================================== */

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

a {
    color: inherit;
    text-decoration: none;
    -webkit-transition: color var(--duration-fast) var(--ease-out);
    -o-transition: color var(--duration-fast) var(--ease-out);
    transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
    color: var(--color-gold-bright);
}

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

button:focus {
    outline: none;
}

button:focus-visible {
    outline: 2px solid var(--color-gold-main);
    outline-offset: 2px;
}

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

ul, ol {
    list-style: none;
}

/* ==========================================
   SELECTION
========================================== */

::-moz-selection {
    background: var(--color-gold-main);
    color: var(--color-bg-black);
}

::selection {
    background: var(--color-gold-main);
    color: var(--color-bg-black);
}

/* ==========================================
   SCROLLBAR (숨김 - 풀스크린 디자인)
========================================== */

::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* ==========================================
   FOCUS STATES (접근성)
========================================== */

:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--color-gold-main);
    outline-offset: 2px;
}

/* ==========================================
   UTILITY CLASSES
========================================== */

.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;
}

.hidden {
    display: none !important;
}

.invisible {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.no-scroll {
    overflow: hidden;
}

/* ==========================================
   RTL SUPPORT
========================================== */

[dir="rtl"] {
    direction: rtl;
    text-align: right;
}
