/* ─────────────────────────────────────────────
       CSS Reset & Variables
    ───────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
}

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

:root {
    --bg: #070506;
    --gold: crimson;
    --gold-light: #ff4d6d;
    --white: #ffffff;
    --off-white: #e8e0d5;
    --text-nav: #ffffff;
    --header-h: 100px;
    --header-h-mobile: 70px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html,
body {
    background: var(--bg);
    color: var(--white);
    font-family: 'Mulish', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ─────────────────────────────────────────────
       DEMO placeholder body content  
    ───────────────────────────────────────────── */
.hero-demo {
    width: 100%;
    min-height: calc(100vh - var(--header-h));
    background: var(--bg);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.hero-left {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 60px 60px 40px;
}

/* ─────────────────────────────────────────────
       HEADER  
    ───────────────────────────────────────────── */
#site-header {
    position: relative;
    width: 100%;
    height: var(--header-h);
    background: var(--bg);
    display: flex;
    align-items: center;
    /* thin bottom separator matching original */
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1000;
}

/* Sticky version */
#site-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    animation: slideDown 0.4s ease forwards;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.header-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 0;
}

/* ── Logo ── */
.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 60px;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 29.4px;
    letter-spacing: 0.12em;
    color: var(--white);
    text-transform: uppercase;
}

.logo-star {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ── Navigation ── */
.primary-nav {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 38px;
    flex: 1;
}

.primary-nav li {
    position: relative;
}

.primary-nav a {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Mulish', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition);
    white-space: nowrap;
    position: relative;
    padding-bottom: 2px;
}

.nav-star {
    width: 11px;
    height: 11px;
    fill: var(--gold);
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.primary-nav a:hover {
    color: var(--gold);
}

.primary-nav a:hover .nav-star {
    transform: rotate(45deg);
}

/* Hover left-to-right underline */
.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 18px;
    /* offset for star */
    right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.primary-nav a:hover::after,
.primary-nav li.active>a::after {
    transform: scaleX(1);
}

.primary-nav li.active>a::after {
    background: var(--white);
}

/* ── Header Right Icons ── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.header-icon-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.35);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
    position: relative;
    text-decoration: none;
}

.header-icon-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.header-icon-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Cart badge */
.cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background: var(--gold);
    border-radius: 50%;
    font-size: 9.5px;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: 'Mulish', sans-serif;
}

/* Star / Menu toggle button – special styling */
.menu-toggle-btn {
    border: 1px dashed rgba(255, 255, 255, 0.45);
}

.menu-toggle-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--white);

    transition: fill var(--transition), transform 0.4s ease;
}

.menu-toggle-btn:hover svg {
    fill: var(--gold);
    transform: rotate(45deg);
}

/* ── Mobile Hamburger (only on small screens) ── */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    background: none;
    border: none;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: var(--transition);
}

/* ─────────────────────────────────────────────
       SIDE AREA PANEL  
    ───────────────────────────────────────────── */
.side-area-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(2px);
}

.side-area-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.side-area {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100vh;
    background: #050404;
    z-index: 1999;
    transform: translateX(100%);
    transition: transform 0.55s cubic-bezier(0.77, 0, 0.18, 1);
    display: flex;
    flex-direction: column;
    padding: 70px 55px 60px;
    overflow-y: auto;
    /* starry bg via CSS stars */
    background-image:
        radial-gradient(ellipse 90% 70% at 80% 100%, rgba(80, 40, 20, 0.25) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(40, 30, 60, 0.3) 0%, transparent 60%);
    background-color: #080608;
}

.side-area.open {
    transform: translateX(0);
}

/* Stars in side panel (CSS dots) */
.side-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle 1px at 10% 15%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 30% 8%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(circle 1px at 70% 20%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
        radial-gradient(circle 1px at 85% 12%, rgba(255, 255, 255, 0.45) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 50% 35%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
        radial-gradient(circle 1px at 20% 50%, rgba(255, 255, 255, 0.35) 0%, transparent 100%),
        radial-gradient(circle 1px at 75% 55%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(circle 1px at 40% 70%, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 90% 75%, rgba(255, 255, 255, 0.55) 0%, transparent 100%),
        radial-gradient(circle 1px at 15% 90%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
        radial-gradient(circle 1px at 60% 88%, rgba(255, 255, 255, 0.35) 0%, transparent 100%),
        radial-gradient(circle 1px at 35% 95%, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
        radial-gradient(circle 2px at 55% 5%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
        radial-gradient(circle 1px at 95% 40%, rgba(255, 255, 255, 0.45) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.side-area>* {
    position: relative;
    z-index: 1;
}

/* Close button */
.side-close {
    position: absolute;
    top: 12px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.4);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    transition: border-color var(--transition), color var(--transition);
    z-index: 2;
}

.side-close:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.side-close svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
}

/* Side area logo */
.side-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    margin-bottom: 14px;
}

.side-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 27.3px;
    letter-spacing: 0.12em;
    color: var(--white);
    text-transform: uppercase;
}

/* Tagline */
.side-tagline {
    font-family: 'Mulish', sans-serif;
    font-size: 13.6px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.04em;
    margin-bottom: 50px;
}

/* Contact items */
.side-contacts {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 50px;
}

.side-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--white);
    font-family: 'Mulish', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color var(--transition);
}

.side-contact-item:hover {
    color: var(--gold);
}

.side-contact-icon {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color var(--transition);
}

.side-contact-item:hover .side-contact-icon {
    border-color: var(--gold);
}

.side-contact-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
}

/* Mobile nav inside side panel */
.side-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.side-mobile-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Mulish', sans-serif;
    font-size: 12.6px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition);
}

.side-mobile-nav a:hover {
    color: var(--gold);
}

.side-mobile-nav a .nav-star {
    width: 10px;
    height: 10px;
}

/* ─────────────────────────────────────────────
       RESPONSIVE  
    ───────────────────────────────────────────── */
@media (max-width: 1100px) {
    .primary-nav {
        gap: 24px;
    }

    .logo {
        margin-right: 30px;
    }
}

@media (max-width: 900px) {

    /* Hide desktop nav and right icons, show mobile hamburger */
    .primary-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    #site-header {
        height: var(--header-h-mobile);
    }

    .side-area {
        width: 100%;
        padding: 70px 35px 60px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 0 20px;
    }

    .logo-text {
        font-size: 22px;
    }
}

/* Scroll-to-top link (utility) */
body.side-open {
    overflow: hidden;
}

/* ─────────────────────────────────────────────
       HERO BANNER
    ───────────────────────────────────────────── */
.hero {
    width: 100%;
    min-height: calc(100vh - var(--header-h));
    max-height: calc(100vh - var(--header-h));
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
    background: var(--bg);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Left Panel ── */
.hero-left {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('../img/background.jpg') center/cover no-repeat;
}

/* CSS star particles in left panel */
.hero-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle 1.5px at 8% 12%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
        radial-gradient(circle 1px at 18% 25%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(circle 2px at 5% 40%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
        radial-gradient(circle 1px at 30% 8%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 50% 18%, rgba(255, 255, 255, 0.45) 0%, transparent 100%),
        radial-gradient(circle 1px at 70% 10%, rgba(255, 255, 255, 0.55) 0%, transparent 100%),
        radial-gradient(circle 2px at 88% 22%, rgba(255, 255, 255, 0.65) 0%, transparent 100%),
        radial-gradient(circle 1px at 92% 55%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 78% 75%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(circle 1px at 15% 80%, rgba(255, 255, 255, 0.35) 0%, transparent 100%),
        radial-gradient(circle 1px at 42% 90%, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
        radial-gradient(circle 2px at 25% 60%, rgba(255, 255, 255, 0.25) 0%, transparent 100%),
        radial-gradient(circle 1px at 60% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
        radial-gradient(circle 1px at 35% 45%, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

/* Subtle nebula glow on left */
.hero-right::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 40% 80%, rgba(40, 25, 15, 0.5) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 70% 20%, rgba(25, 15, 35, 0.4) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

/* Floating crystal gem */


@keyframes floatGem {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-18px) rotate(4deg);
    }

    66% {
        transform: translateY(-8px) rotate(-3deg);
    }
}

/* Portrait arch frame */
.hero-portrait-wrap {
    position: relative;
    z-index: 3;
    width: 70%;
    flex-shrink: 0;
}

.hero-portrait {
    width: 100%;
    height: 100%;

    aspect-ratio: unset;
    object-fit: cover;
    object-position: center top;
    border-radius: 200px 200px 0 0;
    /* arch top */
    display: block;
}

.hero-portrait-wrap {


    display: flex;
    flex-direction: column;
}

/* Cursive signature overlay */
.hero-signature {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Dancing Script', 'Brush Script MT', cursive;
    font-size: 29.4px;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

/* ── Right Panel ── */
.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 80px 70px 60px;
    position: relative;
    z-index: 1;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--bg);
}

.hero-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(32px, 4vw, 58px);
    line-height: 1.08;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s ease 0.3s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-body-wrapper {
    position: relative;
    max-width: 520px;
    margin-bottom: 44px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.9s ease 0.55s forwards;
    background: rgba(20, 20, 20, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 30px;
    padding: 30px;
    padding-bottom: 100px;
}

.hero-body {
    font-family: 'Mulish', sans-serif;
    font-size: 15.75px;
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    padding-right: 64px;
    /* Space for scroll indicator */
    max-height: 250px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: crimson rgba(255, 255, 255, 0.05);
    /* Crimson track for Firefox */
}

.hero-body::-webkit-scrollbar {
    width: 6px;
}

.hero-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 0;
}

.hero-body::-webkit-scrollbar-thumb {
    background: crimson;
    border-radius: 10px;
}

.scroll-indicator {
    position: absolute;
    right: 5px;
    top: 155px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.8;
    pointer-events: none;
}

.scroll-indicator .mouse {
    width: 22px;
    height: 38px;
    border: 2px solid rgba(220, 20, 60, 0.6);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.2);
}

.scroll-indicator .wheel {
    width: 4px;
    height: 6px;
    background: crimson;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 22px;
        opacity: 0;
    }
}

.hero-body p {
    margin-bottom: 15px;
}

.hero-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.hero-body li {
    margin-bottom: 8px;
}

/* CTA button */
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 17px 35px;
    border: 1px solid var(--white);
    background: var(--white);
    font-family: 'Mulish', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bg);
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    align-self: flex-start;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.9s ease 0.75s forwards;
    overflow: hidden;
}

/* Hover toggle logic */
.hero-btn:hover {
    background: transparent;
    color: var(--white);
}

.hero-btn .btn-star {
    width: 12px;
    height: 12px;
    fill: var(--gold);
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.hero-btn:hover .btn-star {
    transform: rotate(45deg);
}

/* ── Hero Responsive ── */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        min-height: unset;
        max-height: none;
    }

    .hero-left {
        min-height: 55vw;
        padding: 40px 20px;
    }




    .hero-right {
        padding: 50px 30px;
    }

    .hero-btn {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {


    .hero-right {
        padding: 40px 20px;
    }

    .hero-heading {
        font-size: 36px;
    }
}

/* ─────────────────────────────────────────────
           GALLERY SWIPER
        ───────────────────────────────────────────── */
.gallery-section {
    width: 100%;
    background: var(--bg);
    padding: 120px 0 0 0;
    overflow: hidden;
}

.gallery-swiper-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-swiper {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

/* 3-column grid inside each slide */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-grid--single {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    aspect-ratio: 3/4;
    background: #111;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Custom arrow buttons */
.gallery-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 70px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
    padding: 10px;
}

.gallery-btn:hover {
    color: var(--white);
}

.gallery-btn svg {
    display: block;
}

/* Disable default Swiper arrows */
.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    display: none;
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-btn {
        width: 44px;
    }

    .gallery-section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-swiper-wrap {
        padding: 0 10px;
    }
}

/* ─────────────────────────────────────────────
           PREMIUM QUIZ SECTION
        ───────────────────────────────────────────── */
.quiz-section {
    position: relative;
    padding: 120px 20px;
    background: var(--bg);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ambient glow for premium feel */
.quiz-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80vw;
    height: 80vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(147, 109, 66, 0.08) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.quiz-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    background: rgba(15, 12, 13, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 60px 50px;
    text-align: center;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

/* Reusable fade utility for dynamic steps */
.quiz-step-pane {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.quiz-step-pane.active {
    display: block;
}

.quiz-step-pane.show {
    opacity: 1;
    transform: translateY(0);
}

/* Intro Step */
.quiz-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Mulish', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.quiz-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
}

.quiz-desc {
    font-family: 'Mulish', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.quiz-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    background: var(--gold);
    border: 1px solid var(--gold);
    font-family: 'Mulish', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
}

.quiz-btn-primary:hover {
    background: transparent;
    color: var(--gold);
}

.quiz-btn-primary svg {
    transition: transform 0.4s ease;
}

.quiz-btn-primary:hover svg {
    transform: translateX(4px);
}

/* Question Step */
.quiz-progress-wrap {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
    position: relative;
}

.quiz-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--gold);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-counter {
    font-family: 'Mulish', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.quiz-q-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 400;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 50px;
    min-height: 100px;
    /* prevent layout jump */
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz-options {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.quiz-opt-btn {
    padding: 16px 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Mulish', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.4s ease;
    min-width: 140px;
}

.quiz-opt-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(147, 109, 66, 0.05);
    transform: translateY(-2px);
}

/* Result Step */
.quiz-result-icon {
    font-size: 40px;
    margin-bottom: 20px;
    animation: floatGem 4s ease-in-out infinite;
}

.quiz-result-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    text-align: center;
    white-space: pre-wrap;
}

.quiz-restart-link {
    display: block;
    margin-top: 24px;
    font-family: 'Mulish', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(147, 109, 66, 0.2);
}

.quiz-restart-link:hover {
    color: var(--gold);
}

/* ─────────────────────────────────────────────
           CONTACT SECTION
        ───────────────────────────────────────────── */
.contact-section {
    padding: 100px 20px;
    background: var(--bg);
    text-align: center;
    border-top: 1px solid rgba(147, 109, 66, 0.2);
    position: relative;
}

.contact-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 30px;
}

.contact-text {
    font-family: 'Mulish', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 20px;
}

.contact-text strong {
    color: var(--white);
}

.contact-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition);
    background: rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s ease;
    z-index: 1;
}

.social-link:hover {
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(147, 109, 66, 0.2);
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link svg {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 2;
    fill: currentColor;
    transition: transform 0.4s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .quiz-container {
        padding: 40px 20px;
    }

    .quiz-options {
        flex-direction: column;
        align-items: stretch;
    }

    .quiz-opt-btn {
        width: 100%;
    }
}