@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('fonts/outfit-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
}

:root {
    --brand-gold: #C5A059;
    --brand-dark: #0A0A0A;
    --brand-accent: #1D1D1F;
    --brand-text: #EFEFEF;
    --brand-muted: #8E8E93;
}

body {
    background-color: var(--brand-dark);
    color: var(--brand-text);
    min-height: 100vh;
    min-height: 100dvh;
}

.javascript-fallback {
    width: min(100% - 2rem, 72rem);
    margin: 0 auto 1.5rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 0.85rem;
    background: rgba(197, 160, 89, 0.08);
    color: #d4d4d8;
    font-size: 0.85rem;
    line-height: 1.55;
    text-align: center;
}

.javascript-fallback a {
    color: var(--brand-gold);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.site-footer {
    display: block;
    flex: 0 0 auto;
    position: relative;
    width: 100%;
    padding-bottom: 2rem;
    padding-bottom: max(2rem, calc(1.25rem + env(safe-area-inset-bottom, 0px)));
    scroll-margin-top: 1rem;
}

.site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 72rem;
    margin-inline: auto;
    padding-inline: 1.5rem;
    color: var(--brand-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.site-footer-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
}

@media (max-width: 767px) {
    .site-footer.glass-panel {
        position: relative;
        margin-top: 1rem;
        padding-top: 1.5rem;
        padding-bottom: max(1.5rem, calc(1rem + env(safe-area-inset-bottom, 0px)));
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .site-footer-inner {
        flex-direction: column;
        justify-content: center;
        gap: 0.75rem;
        padding-inline: 0.75rem;
        text-align: center;
    }

    .site-footer-inner > p {
        display: block;
    }

    .site-footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem 1.5rem;
    }

    .site-footer-links a {
        justify-content: center;
        padding-inline: 0.2rem;
        white-space: nowrap;
    }

    .site-footer-links a:focus-visible {
        outline: 2px solid var(--brand-gold);
        outline-offset: 2px;
    }
}

/* Bulletproof Global Fallbacks (Bypasses CDN Latency Bug) */
.text-brand-gold { color: var(--brand-gold) !important; }
.text-brand-muted { color: var(--brand-muted) !important; }
.bg-brand-accent { background-color: var(--brand-accent) !important; }
.bg-brand-dark { background-color: var(--brand-dark) !important; }
.text-brand-text { color: var(--brand-text) !important; }

/* Premium Animations and Glassmorphism */

.glass-panel {
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.premium-button {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(8px);
}
.premium-button:hover {
    background: linear-gradient(135deg, #C5A059 0%, #A9833D 100%);
    border-color: #C5A059;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.35);
    color: #0A0A0A;
    transform: translateY(-2px);
}

.social-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.social-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.social-icon-wrapper:hover {
    transform: translateY(-3px);
    border-color: rgba(197, 160, 89, 0.5);
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.5);
}

.social-icon-wrapper:hover::before {
    opacity: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 1;
    transform: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A0A0A; 
}
::-webkit-scrollbar-thumb {
    background: #2a2a2a; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C5A059; 
}

/* Ultra-Premium Extensions */
@keyframes border-spin {
    100% { transform: rotate(360deg); }
}

.glow-border-wrapper {
    position: relative;
    padding: 1px; /* The thickness of the animated border */
    border-radius: 1.5rem; /* Matches rounded-3xl */
    overflow: hidden;
    z-index: 1; /* Establishes a stack context */
}

.glow-border-gold::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent 40%, rgba(197, 160, 89, 0.8) 50%, transparent 60%);
    animation: border-spin 4s linear infinite;
    z-index: -2;
}

.glow-border-emerald::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent 40%, rgba(16, 185, 129, 0.8) 50%, transparent 60%);
    animation: border-spin 4s linear infinite;
    z-index: -2;
}

.glow-border-wrapper::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: #111111; /* Extremely dark inner background to mask the gradient */
    border-radius: 1.45rem;
    z-index: -1;
}

.glow-border-wrapper.glass-panel::after {
    /* Retain original glass styling for inner portion */
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(16px);
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float-gentle 4s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ------------------- */
/* SALES MACHINE CRO   */
/* ------------------- */

/* Static metallic title: premium treatment without hiding the LCP candidate. */
.hero-title-metallic {
    color: #e9d39d;
    text-shadow: 0 0 40px rgba(197, 160, 89, 0.2);
}

/* UX Breathing Aurora CTA */
@keyframes aurora-bg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes luxury-breathe-gold {
    0%, 100% {
        transform: scale(1) translateY(0);
        box-shadow: 0 0 15px rgba(197, 160, 89, 0.15);
    }
    50% {
        transform: scale(1.01) translateY(-2px);
        box-shadow: 0 10px 40px rgba(197, 160, 89, 0.4);
    }
}

.btn-luxury-aurora-gold {
    background: linear-gradient(135deg, #18181b, #343438);
    box-shadow: 0 8px 28px rgba(197, 160, 89, 0.16);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--brand-gold);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease;
}
.btn-luxury-aurora-gold:hover {
    filter: brightness(1.2);
    border-color: var(--brand-gold);
    transform: translateY(-1px);
    box-shadow: 0 12px 34px rgba(197, 160, 89, 0.24);
}

@keyframes luxury-breathe-emerald {
    0%, 100% {
        transform: scale(1) translateY(0);
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
    }
    50% {
        transform: scale(1.01) translateY(-2px);
        box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
    }
}

.btn-luxury-aurora-emerald {
    background: linear-gradient(135deg, #064e3b, #059669);
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #ffffff;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease;
}
.btn-luxury-aurora-emerald:hover {
    filter: brightness(1.1);
    border-color: rgba(16, 185, 129, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 12px 34px rgba(16, 185, 129, 0.24);
}

.btn-luxury-aurora-gold.is-ended {
    pointer-events: none;
    opacity: 0.46;
    box-shadow: none;
}

/* Urgency Matrix */
@keyframes intensity-pulse {
    0%, 100% { opacity: 0.2; transform: scale(0.9); text-shadow: none; }
    50% { opacity: 1; transform: scale(1.1); text-shadow: 0 0 10px rgba(197, 160, 89, 0.8); color: var(--brand-gold); }
}
.animate-urgency-pulse {
    animation: intensity-pulse 1s ease-in-out infinite;
    display: inline-block;
}

/* Review Stars Hover FX */
.review-star {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease, color 0.3s ease;
    cursor: default;
}

.review-stars-group:hover .review-star {
    animation: star-wave 0.5s ease forwards;
    animation-delay: var(--d, 0s);
}

.review-star:hover {
    transform: scale(1.35) rotate(-8deg);
    filter: drop-shadow(0 0 12px rgba(197, 160, 89, 0.9)) brightness(1.3);
}

@keyframes star-wave {
    0% { transform: scale(1) translateY(0); }
    40% { transform: scale(1.2) translateY(-6px); }
    100% { transform: scale(1) translateY(0); }
}

.review-stars-group:hover .review-star:nth-child(1) { animation-delay: 0s; }
.review-stars-group:hover .review-star:nth-child(2) { animation-delay: 0.07s; }
.review-stars-group:hover .review-star:nth-child(3) { animation-delay: 0.14s; }
.review-stars-group:hover .review-star:nth-child(4) { animation-delay: 0.21s; }
.review-stars-group:hover .review-star:nth-child(5) { animation-delay: 0.28s; }

/* Ended Promotion Logo Display */
.ended-logo-display {
    object-fit: contain !important;
    padding: 8% !important;
    filter: brightness(0.8) saturate(0.7);
    animation: none !important;
    transform: none !important;
}

.brand-context-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    border: 1px solid rgba(197, 160, 89, 0.24);
    border-radius: 9999px;
    padding: 0.65rem 1rem;
    background: rgba(197, 160, 89, 0.06);
    color: #d6bd84;
    font-size: 0.76rem;
    font-weight: 600;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.brand-context-link:hover {
    transform: translateY(-1px);
    border-color: rgba(197, 160, 89, 0.62);
    background: rgba(197, 160, 89, 0.12);
    color: #fff;
}

.brand-context-link:focus-visible {
    outline: 2px solid var(--brand-gold);
    outline-offset: 3px;
}

/* Secure Inner Circle membership */
.hidden {
    display: none !important;
}

.membership-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(197, 160, 89, 0.18);
}

.membership-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 100% 0%, rgba(197, 160, 89, 0.12), transparent 42%);
}

.membership-card-leave {
    border-color: rgba(255, 255, 255, 0.09);
}

.membership-card-leave::before {
    background: radial-gradient(circle at 100% 0%, rgba(142, 142, 147, 0.12), transparent 42%);
}

.membership-icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 0.9rem;
    background: rgba(197, 160, 89, 0.08);
    box-shadow: 0 0 24px rgba(197, 160, 89, 0.08);
}

.membership-icon-leave {
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
}

.membership-label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--brand-muted);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.membership-input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.85rem;
    padding: 0.78rem 0.9rem;
    background: rgba(0, 0, 0, 0.35);
    color: var(--brand-text);
    font-size: 0.86rem;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.membership-input::placeholder {
    color: rgba(142, 142, 147, 0.58);
}

.membership-input:focus {
    border-color: rgba(197, 160, 89, 0.72);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.12);
}

.membership-field-hint {
    margin-top: 0.45rem;
    color: rgba(142, 142, 147, 0.78);
    font-size: 0.66rem;
    line-height: 1.45;
}

.membership-input:disabled,
form[aria-busy="true"] .membership-consent {
    cursor: wait;
    opacity: 0.68;
}

.membership-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--brand-muted);
    font-size: 0.72rem;
    line-height: 1.5;
    cursor: pointer;
}

.membership-consent input {
    width: 1rem;
    height: 1rem;
    margin-top: 0.12rem;
    flex: 0 0 auto;
    accent-color: var(--brand-gold);
}

.membership-submit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    min-height: 2.9rem;
    border: 1px solid rgba(197, 160, 89, 0.38);
    border-radius: 0.85rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.19), rgba(197, 160, 89, 0.06));
    color: var(--brand-gold);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.membership-submit:not(:disabled):hover {
    transform: translateY(-1px);
    border-color: rgba(197, 160, 89, 0.72);
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.28), rgba(197, 160, 89, 0.1));
    color: #fff;
}

.membership-submit:focus-visible {
    outline: 2px solid var(--brand-gold);
    outline-offset: 3px;
}

.membership-submit:disabled {
    cursor: not-allowed;
    opacity: 0.46;
}

.membership-submit-muted {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.045);
    color: #d4d4d8;
}

.membership-inworld-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.membership-inworld-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    flex: 0 0 auto;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 0.85rem;
    padding: 0.72rem 1rem;
    background: rgba(197, 160, 89, 0.08);
    color: var(--brand-gold);
    font-size: 0.8rem;
    font-weight: 600;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.membership-inworld-link:hover {
    border-color: rgba(197, 160, 89, 0.65);
    background: rgba(197, 160, 89, 0.16);
    color: #fff;
}

.membership-inworld-link:focus-visible {
    outline: 2px solid var(--brand-gold);
    outline-offset: 3px;
}

.membership-feedback,
.membership-service-status {
    border-radius: 0.75rem;
    padding: 0.7rem 0.8rem;
    font-size: 0.74rem;
    line-height: 1.5;
}

.membership-feedback[data-tone="error"],
.membership-service-status {
    border: 1px solid rgba(248, 113, 113, 0.25);
    background: rgba(127, 29, 29, 0.15);
    color: #fca5a5;
}

.membership-service-status {
    margin-top: 1rem;
    text-align: center;
}

@keyframes membership-spin {
    to { transform: rotate(360deg); }
}

.membership-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top-color: currentColor;
    border-radius: 9999px;
    animation: membership-spin 700ms linear infinite;
}

body.membership-modal-open {
    overflow: hidden;
}

@keyframes membership-modal-enter {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.975);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.membership-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: max(1rem, env(safe-area-inset-top, 0px)) 1rem max(1rem, env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    background: rgba(2, 2, 3, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.membership-modal.hidden {
    display: none;
}

.membership-modal-card {
    position: relative;
    width: min(100%, 30rem);
    max-height: calc(100dvh - 2rem);
    overflow: auto;
    border: 1px solid rgba(197, 160, 89, 0.34);
    border-radius: 1.5rem;
    padding: 2.35rem 2rem 2rem;
    background:
        radial-gradient(circle at 50% 0%, rgba(197, 160, 89, 0.15), transparent 42%),
        linear-gradient(160deg, rgba(24, 24, 27, 0.98), rgba(10, 10, 10, 0.99));
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72), 0 0 50px rgba(197, 160, 89, 0.08);
    text-align: center;
    animation: membership-modal-enter 220ms ease-out both;
}

.membership-modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    color: #d4d4d8;
    font-size: 1.35rem;
    line-height: 1;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.membership-modal-close:hover {
    border-color: rgba(197, 160, 89, 0.45);
    background: rgba(197, 160, 89, 0.09);
    color: #fff;
}

.membership-modal-close:focus-visible,
.membership-modal-done:focus-visible {
    outline: 2px solid var(--brand-gold);
    outline-offset: 3px;
}

.membership-modal-icon {
    display: grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.25rem;
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 1.25rem;
    background: rgba(197, 160, 89, 0.11);
    box-shadow: 0 0 34px rgba(197, 160, 89, 0.13);
    font-size: 1.7rem;
}

.membership-modal[data-operation="unsubscribe"] .membership-modal-icon {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: none;
    color: #e4e4e7;
}

.membership-modal-eyebrow {
    margin-bottom: 0.55rem;
    color: var(--brand-gold);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.membership-modal-title {
    margin-bottom: 0.8rem;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.65rem, 6vw, 2.15rem);
    font-weight: 600;
    line-height: 1.12;
}

.membership-modal-message {
    max-width: 23rem;
    margin: 0 auto;
    color: #a1a1aa;
    font-size: 0.9rem;
    line-height: 1.65;
}

.membership-modal-done {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3rem;
    margin-top: 1.65rem;
    border: 1px solid rgba(197, 160, 89, 0.48);
    border-radius: 0.9rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.25), rgba(197, 160, 89, 0.1));
    color: #e9d39d;
    font-size: 0.84rem;
    font-weight: 700;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.membership-modal-done:hover {
    transform: translateY(-1px);
    border-color: rgba(197, 160, 89, 0.78);
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.34), rgba(197, 160, 89, 0.14));
    color: #fff;
}

@media (max-width: 767px) {
    .membership-inworld-compact {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .membership-inworld-link {
        width: 100%;
    }

    .membership-modal-card {
        padding: 2.2rem 1.25rem 1.35rem;
        border-radius: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after,
    .membership-submit,
    .membership-input,
    .membership-spinner,
    .membership-modal-card,
    .membership-modal-done {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
