:root {
    --color-bg: #12100e;
    --color-surface: #1a1715;
    --color-text: #f2ebe1;
    --color-text-subtle: #d5c7b3;
    --color-gold: #d4ac6e;
    --color-gold-muted: #8f785a;
    --focus-ring: 0 0 0 3px rgba(212, 172, 110, 0.42);
}

html,
body {
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

::selection {
    background: rgba(212, 172, 110, 0.24);
    color: #fff;
}

:focus-visible {
    outline: 1px solid var(--color-gold);
    outline-offset: 4px;
    box-shadow: var(--focus-ring);
}

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

.loader-is-hidden {
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
}

#loader {
    animation: loader-failsafe 0.35s ease 1.2s forwards;
}

@keyframes loader-failsafe {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.product-cta {
    width: min(100% - 3rem, 72rem);
    margin: 5rem auto 0;
    padding: clamp(2.5rem, 7vw, 5rem) clamp(1.5rem, 6vw, 4.5rem);
    border: 1px solid rgba(212, 172, 110, 0.18);
    background: linear-gradient(145deg, rgba(26, 23, 21, 0.94), rgba(18, 16, 14, 0.98));
    text-align: center;
}

.product-cta__eyebrow {
    margin: 0 0 1rem;
    color: var(--color-gold-muted);
    font-family: "Cormorant Garamond", serif;
    font-size: 0.75rem;
    font-style: italic;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.product-cta__title {
    margin: 0;
    color: var(--color-text);
    font-family: "Noto Serif TC", serif;
    font-size: clamp(1.1rem, 3vw, 1.55rem);
    font-weight: 300;
    letter-spacing: 0.12em;
    line-height: 1.8;
}

.product-cta__description {
    max-width: 36rem;
    margin: 1rem auto 2rem;
    color: var(--color-text-subtle);
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    line-height: 1.9;
    opacity: 0.8;
}

.product-cta__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(212, 172, 110, 0.55);
    color: var(--color-text);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.product-cta__link:hover {
    background: var(--color-gold);
    color: var(--color-bg);
}

.animations-paused .orbit-outer,
.animations-paused .orbit-middle,
.animations-paused .star-field,
.animations-paused .star-field-2,
.animations-paused .zodiac-symbol,
body.page-is-hidden * {
    animation-play-state: paused !important;
}

@media (max-width: 767px) {
    .noise-overlay {
        background-image: none !important;
        opacity: 0 !important;
    }

    #hero-buttons-container {
        -webkit-backdrop-filter: blur(7px) !important;
        backdrop-filter: blur(7px) !important;
    }

    .zodiac-symbol {
        text-shadow: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
    #mobile-menu .menu-item,
    .loader-is-hidden {
        transition-duration: 0.01ms !important;
    }
    #loader {
        animation-delay: 0.4s;
        animation-duration: 0.01ms;
    }
}
