/* Explain: Base reset and global page styles with dark mode and starfield background. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    background: var(--background-color);
}

body {
    position: relative;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background-color: var(--background-color);
    background-image:
        radial-gradient(1100px 560px at 85% -5%, rgba(212, 175, 55, 0.16), transparent 62%),
        radial-gradient(900px 520px at 5% 105%, rgba(212, 175, 55, 0.10), transparent 62%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.78), rgba(5, 5, 5, 0.90)),
        url('https://files.cdn-files-a.com/uploads/12562405/normal_6ae91fcb86f88.jpg?format=avif');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.85;
}

/* layered starfield */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.65;
    background-image:
        radial-gradient(1.6px 1.6px at 40px 60px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.4px 1.4px at 160px 120px, rgba(212, 175, 55, 0.95), transparent),
        radial-gradient(1.2px 1.2px at 240px 40px, rgba(255, 255, 255, 0.75), transparent),
        radial-gradient(1px 1px at 90px 200px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1.4px 1.4px at 300px 180px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 200px 260px, rgba(212, 175, 55, 0.7), transparent);
    background-size: 340px 300px;
    background-repeat: repeat;
    animation: starTwinkle 7s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
    from { opacity: 0.35; }
    to { opacity: 0.75; }
}

@media (prefers-reduced-motion: reduce) {
    body::before { animation: none; }
    html { scroll-behavior: auto; }
}

body > * {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

p { margin: 0; }

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

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

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

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

.container-x {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 20px;
}

.section {
    padding-block: clamp(56px, 8vw, 104px);
}

.section--tight {
    padding-block: clamp(40px, 6vw, 72px);
}

.section-head {
    max-width: 760px;
    margin-inline: auto;
    margin-bottom: clamp(32px, 5vw, 56px);
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.section-title {
    font-size: clamp(1.9rem, 5vw, 3rem);
}

.section-text {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: clamp(1rem, 2.4vw, 1.12rem);
}

.text-gold { color: var(--primary-color); }

.divider-gold {
    width: 90px;
    height: 2px;
    margin: 22px auto 0;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}