/*--------------------------------------------------------------
# Reset & Base Styles
--------------------------------------------------------------*/

/* === CSS Reset === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === HTML & Body === */
html {
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family-primary);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === Links === */
a {
    color: var(--text-accent);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover,
a:focus {
    color: var(--text-primary);
    text-decoration: none;
}

/* === Images === */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === Lists === */
ul,
ol {
    list-style: none;
}

/* === Tables === */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* === Forms === */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

/* === Focus Styles === */
:focus {
    outline: 2px solid var(--color-primary-gold);
    outline-offset: 2px;
}

/* === Selection Styles (exact from muse-1.net) === */
::selection {
    background: rgba(80, 80, 80, 0.2);
    color: #d4b24b;
}

::-moz-selection {
    background: rgba(80, 80, 80, 0.2);
    color: #d4b24b;
}

/* === Scrollbar Styles (Webkit) === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-gray-lighter);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary-gold);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary-gold);
}