/* =========================================
   ONCE MAISON - Premium Homepage Styles (English Version)
   Emerald Green & Champagne Gold Theme
   ========================================= */

/* Required CSS Variables for Button Animation */
@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --glowColor {
    syntax: "<color>";
    initial-value: #d4af9a;
}

@keyframes rotate {
    0% {
        --angle: 0deg;
        --glowColor: #d4af9a;
    }

    100% {
        --angle: 360deg;
        --glowColor: #d4af9a;
    }
}

/* CSS Custom Properties - Emerald & Champagne Color Palette */
:root {
    /* Champagne Gold Palette */
    --gold-primary: #d4af9a;
    --gold-light: #e8dcc8;
    --gold-dark: #b89968;
    --gold-glow: rgba(212, 175, 154, 0.6);
    --gold-subtle: rgba(212, 175, 154, 0.1);
    --gold-border: rgba(212, 175, 154, 0.4);

    /* Emerald Green Palette */
    --emerald-primary: #1b4d3e;
    --emerald-dark: #0f2c24;
    --emerald-light: #2d7a69;
    --emerald-glow: rgba(27, 77, 62, 0.6);

    /* Base Colors - Emerald Theme */
    --dark-bg: #0f2c24;
    --dark-light: #1b4d3e;
    --dark-medium: #2d7a69;
    --cream: #f5e6c8;
    --cream-soft: rgba(245, 230, 200, 0.85);
    --white: #ffffff;

    /* Legacy black variables (mapped to emerald for compatibility) */
    --black: #0f2c24;
    --black-soft: #0f2c24;
    --black-medium: #1b4d3e;

    /* Brown theme variables (keeping for compatibility) */
    --brown-deep: #0f2c24;
    --brown-dark: #1b4d3e;
    --brown-medium: #2d7a69;
    --brown-light: rgba(15, 44, 36, 0.7);

    /* Typography */
    --font-primary: 'Cormorant Garamond', Georgia, serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1400px;
    --container-padding: 24px;

    /* Animation angles for rotating effects */
    --angle: 0deg;
    --glow-color: var(--gold-primary);
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--dark-bg);
    color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection Styling */
::selection {
    background: var(--gold-primary);
    color: var(--dark-bg);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-medium);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* =========================================
   PRELOADER
   ========================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-primary);
    font-size: 80px;
    font-weight: 300;
    color: var(--gold-primary);
    margin-bottom: 30px;
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--gold-subtle);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--gold-light));
    animation: loadProgress 1.5s ease-out forwards;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* =========================================
   CURSOR GLOW
   ========================================= */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 154, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cursor-glow.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .cursor-glow {
        display: none;
    }
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-medium);
}

.header.scrolled {
    background: rgba(15, 44, 36, 0.95);
    backdrop-filter: blur(20px);
    padding: 4px 0;
    border-bottom: 1px solid var(--gold-subtle);
}

.nav {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    position: relative;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 400;
    color: var(--gold-light);
    letter-spacing: 2px;
    transition: color var(--transition-fast);
}

.logo-img {
    height: 75px;
    width: auto;
    transition: opacity var(--transition-fast);
    margin-left: 15%;
}

.logo:hover .logo-img {
    opacity: 0.8;
}

.logo:hover .logo-text {
    color: var(--gold-primary);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    color: var(--cream-soft);
    text-decoration: none;
    letter-spacing: 1px;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--gold-primary);
    transition: width var(--transition-medium);
}

.nav-link:hover {
    color: var(--gold-light);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.lang-toggle {
    background: rgba(212, 175, 154, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--gold-border);
}

.nav-link.lang-toggle:hover {
    background: rgba(212, 175, 154, 0.2);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold-light);
    position: relative;
    transition: all var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--gold-light);
    transition: all var(--transition-fast);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 44, 36, 0.98);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    text-align: center;
}

.mobile-nav-link {
    display: block;
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 300;
    color: var(--cream);
    text-decoration: none;
    padding: 6px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-medium);
}

.mobile-nav-overlay.active .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-overlay.active .mobile-nav-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav-overlay.active .mobile-nav-link:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-nav-overlay.active .mobile-nav-link:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-nav-overlay.active .mobile-nav-link:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-nav-link:hover {
    color: var(--gold-primary);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }
}

/* =========================================
   BUTTONS - Matching Elys Style
   ========================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    border: none;
    background: none;
    position: relative;
    padding: 2px;
    text-decoration: none;
    transition: all 0.18s ease-in-out;
    transform: translate3d(0, 0, 0);
    cursor: pointer;
}

.btn-primary:after,
.btn-primary:before {
    content: "";
    display: block;
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border-radius: 100px;
    background-image: conic-gradient(from var(--angle) at 50% 50%, transparent 0%, transparent 33%, var(--gold-primary) 50%, transparent 66%, transparent 100%);
    animation: rotate 2s infinite linear;
    z-index: 0;
    opacity: 1;
}

.btn-primary:before {
    filter: blur(15px);
    opacity: 0.6;
}

.btn-primary:after {
    opacity: 0.3;
}

.btn-primary:hover:before {
    opacity: 0.8;
}

.btn-primary:hover:after {
    opacity: 0.5;
}

.btn-primary .btn-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 32px;
    border-radius: 100px;
    color: var(--cream);
    font-weight: 500;
    font-size: 18px;
    font-family: var(--font-primary);
    z-index: 2;
    transition: all 0.18s ease;
    background: rgba(15, 44, 36, 0.9);
    backdrop-filter: blur(10px);
    backface-visibility: hidden;
    border: 2px solid rgba(212, 175, 154, 0.6);
    box-shadow:
        0 0 20px rgba(212, 175, 154, 0.3),
        inset 0 0 20px rgba(212, 175, 154, 0.1);
}

.btn-primary:hover .btn-inner {
    background: rgba(15, 44, 36, 0.95);
    border-color: rgba(212, 175, 154, 0.8);
    box-shadow:
        0 0 30px rgba(212, 175, 154, 0.5),
        inset 0 0 25px rgba(212, 175, 154, 0.15);
    color: var(--gold-light);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-primary .btn-inner svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.btn-primary:hover .btn-inner svg {
    transform: translateX(4px);
}

.btn-primary.large .btn-inner {
    padding: 20px 40px;
    font-size: 20px;
}

/* Secondary Button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.btn-secondary .btn-inner {
    position: relative;
    padding: 16px 32px;
    border-radius: 100px;
    color: var(--gold-light);
    font-weight: 400;
    font-size: 18px;
    font-family: var(--font-primary);
    background: transparent;
    border: 1px solid var(--gold-border);
    transition: all var(--transition-fast);
}

.btn-secondary:hover .btn-inner {
    background: rgba(212, 175, 154, 0.1);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6) contrast(1.1);
    animation: heroPulse 30s ease-in-out infinite alternate;
}

@keyframes heroPulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(27 77 62 / 29%) 0%, rgb(15 44 36 / 30%) 30%, rgb(10 35 28 / 41%) 60%, rgb(15 44 36 / 96%) 100%), linear-gradient(to bottom, rgba(212, 175, 154, 0.15) 0%, rgb(212 175 154 / 6%) 50%, transparent 100%);
    z-index: 1;
}

/* Emerald Accent Elements for Premium Visual Depth */
.hero-accent-element {
    position: absolute;
    z-index: 2;
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(60px);
}

.hero-accent-top {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
    background: linear-gradient(135deg, var(--emerald-light), var(--emerald-primary));
    animation: floatAround 20s ease-in-out infinite;
}

.hero-accent-bottom {
    width: 600px;
    height: 600px;
    bottom: -250px;
    left: -150px;
    background: linear-gradient(135deg, var(--gold-primary), var(--emerald-light));
    animation: floatAround 25s ease-in-out infinite reverse;
}

@keyframes floatAround {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, -30px);
    }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold-primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0%,
    100% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 0.6;
        transform: translateY(80vh) scale(1);
    }

    90% {
        opacity: 0.2;
        transform: translateY(-10vh) scale(0.5);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Premium Title Wrapper with Accent Lines */
.hero-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 0px;
    opacity: 0;
    animation: fadeUp 1s ease 0.2s forwards;
}

.hero-accent-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    width: 120px;
    animation: expandWidth 1.2s ease 0.5s forwards;
}

.hero-accent-line-top {
    width: 0;
}

.hero-accent-line-bottom {
    width: 0;
}

@keyframes expandWidth {
    to {
        width: 120px;
    }
}

.hero-title {
    font-size: clamp(48px, 8vw, 100px);
    font-weight: 300;
    line-height: 1.1;
    color: var(--cream);
    letter-spacing: -2px;
    text-shadow: 0 20px 40px rgba(0, 0, 0, 0.5),
                 0 0 60px rgba(212, 175, 154, 0.2);
}

.hero-title span {
    display: block;
}

.hero-title .title-line {
    display: block;
}

.hero-title .title-accent {
    font-family: var(--font-primary);
    font-style: italic;
    background: linear-gradient(90deg, 
        var(--gold-light) 0%, 
        var(--gold-primary) 50%, 
        var(--gold-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 10px;
    opacity: 1;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.95;
    }
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 300;
    color: var(--gold-primary);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 1s ease 0.4s forwards;
    position: relative;
    padding-bottom: 16px;
}

.hero-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    animation: fadeUp 1s ease 0.5s forwards;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--cream-soft);
    max-width: 650px;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeUp 1s ease 0.6s forwards;
    letter-spacing: 0.5px;
}

.hero-description p {
    position: relative;
    display: inline;
}

.hero-description p::after {
    content: '';
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    animation: fadeUp 1s ease 0.8s forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeUp 1s ease 1.2s forwards;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, 
        var(--gold-primary) 0%, 
        var(--emerald-light) 50%, 
        transparent 100%);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%,
    100% {
        opacity: 0.4;
        height: 60px;
    }

    50% {
        opacity: 0.8;
        height: 80px;
    }
}

.scroll-text {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-primary);
    opacity: 0.7;
    font-weight: 400;
}

/* =========================================
   TEXT BLOCK SECTION - PREMIUM EMERALD THEME
   ========================================= */
.text-block {
    padding: 150px 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(27, 77, 62, 1) 0%, var(--dark-bg) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Background Container */
.text-block-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* ===== GLOWING STARS ===== */
.stars-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    border-radius: 50%;
    background: var(--gold-primary);
    box-shadow:
        0 0 6px 2px rgba(212, 175, 154, 0.8),
        0 0 12px 4px rgba(212, 175, 154, 0.5),
        0 0 20px 8px rgba(212, 175, 154, 0.3);
    animation: starGlow 3s ease-in-out infinite;
}

.star::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 154, 0.4) 0%, transparent 70%);
    animation: starPulse 3s ease-in-out infinite;
}

/* Star Positions and Sizes */
.star-1 {
    width: 4px;
    height: 4px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.star-2 {
    width: 3px;
    height: 3px;
    top: 15%;
    left: 20%;
    animation-delay: 0.5s;
}

.star-3 {
    width: 5px;
    height: 5px;
    top: 8%;
    left: 40%;
    animation-delay: 1s;
}

.star-4 {
    width: 3px;
    height: 3px;
    top: 20%;
    left: 60%;
    animation-delay: 1.5s;
}

.star-5 {
    width: 4px;
    height: 4px;
    top: 12%;
    left: 80%;
    animation-delay: 0.3s;
}

.star-6 {
    width: 3px;
    height: 3px;
    top: 5%;
    left: 95%;
    animation-delay: 0.8s;
}

.star-7 {
    width: 4px;
    height: 4px;
    top: 85%;
    left: 10%;
    animation-delay: 1.2s;
}

.star-8 {
    width: 5px;
    height: 5px;
    top: 90%;
    left: 30%;
    animation-delay: 0.7s;
}

.star-9 {
    width: 3px;
    height: 3px;
    top: 80%;
    left: 50%;
    animation-delay: 1.8s;
}

.star-10 {
    width: 4px;
    height: 4px;
    top: 88%;
    left: 70%;
    animation-delay: 0.2s;
}

.star-11 {
    width: 3px;
    height: 3px;
    top: 92%;
    left: 85%;
    animation-delay: 1.4s;
}

.star-12 {
    width: 5px;
    height: 5px;
    top: 6%;
    left: 65%;
    animation-delay: 2s;
}

@keyframes starGlow {
    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

@keyframes starPulse {
    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* ===== GOLDEN DUST PARTICLES ===== */
.golden-dust {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(212, 175, 154, 0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 20% 50%, rgba(212, 175, 154, 0.5) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 30% 80%, rgba(212, 175, 154, 0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 30%, rgba(212, 175, 154, 0.4) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 50% 70%, rgba(212, 175, 154, 0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 10%, rgba(212, 175, 154, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 60%, rgba(212, 175, 154, 0.4) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 80% 40%, rgba(212, 175, 154, 0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 90%, rgba(212, 175, 154, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 15% 65%, rgba(212, 175, 154, 0.4) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 85% 15%, rgba(212, 175, 154, 0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 45% 45%, rgba(212, 175, 154, 0.5) 0%, transparent 100%);
    animation: dustFloat 20s ease-in-out infinite;
}

@keyframes dustFloat {
    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }

    25% {
        transform: translateY(-10px) translateX(5px);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-5px) translateX(-5px);
        opacity: 0.7;
    }

    75% {
        transform: translateY(-15px) translateX(3px);
        opacity: 0.9;
    }
}

/* ===== SHOOTING STARS ===== */
.shooting-star {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, rgba(212, 175, 154, 0), rgba(212, 175, 154, 1), rgba(255, 255, 255, 1));
    border-radius: 50%;
    opacity: 0;
    transform: rotate(-45deg);
}

.shooting-star::before {
    content: '';
    position: absolute;
    right: 0;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(212, 175, 154, 0.8);
    margin-top: -2px;
}

.shooting-star-1 {
    top: 20%;
    left: 20%;
    animation: shootingStar 8s ease-in-out infinite;
    animation-delay: 2s;
}

.shooting-star-2 {
    top: 40%;
    left: 60%;
    animation: shootingStar 8s ease-in-out infinite;
    animation-delay: 5s;
}

@keyframes shootingStar {
    0% {
        opacity: 0;
        transform: rotate(-45deg) translateX(0);
    }

    5% {
        opacity: 1;
    }

    15% {
        opacity: 1;
        transform: rotate(-45deg) translateX(300px);
    }

    16% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* ===== CONTENT STYLING ===== */
.text-block-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Top Ornament */
.ornament-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.ornament-wing {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary));
    position: relative;
}

.ornament-wing.right {
    background: linear-gradient(90deg, var(--gold-primary), transparent);
}

.ornament-wing::before {
    content: '';
    position: absolute;
    top: -2px;
    width: 5px;
    height: 5px;
    background: var(--gold-primary);
    border-radius: 50%;
}

.ornament-wing.left::before {
    right: 0;
}

.ornament-wing.right::before {
    left: 0;
}

.ornament-diamond {
    width: 12px;
    height: 12px;
    background: var(--gold-primary);
    transform: rotate(45deg);
    box-shadow:
        0 0 10px rgba(212, 175, 154, 0.6),
        0 0 20px rgba(212, 175, 154, 0.4);
    animation: diamondPulse 2s ease-in-out infinite;
}

@keyframes diamondPulse {
    0%,
    100% {
        transform: rotate(45deg) scale(1);
        box-shadow: 0 0 10px rgba(212, 175, 154, 0.6), 0 0 20px rgba(212, 175, 154, 0.4);
    }

    50% {
        transform: rotate(45deg) scale(1.1);
        box-shadow: 0 0 15px rgba(212, 175, 154, 0.8), 0 0 30px rgba(212, 175, 154, 0.5);
    }
}

/* Title Styling */
.text-block-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 18px;
}

.text-block-title .highlight {
    display: block;
    color: transparent;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 40px rgba(212, 175, 154, 0.3);
}

/* Body Text */
.text-block-body {
    margin-bottom: 50px;
}

.text-block-body p {
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 300;
    line-height: 1.8;
    color: var(--cream-soft);
    margin-bottom: 16px;
}

.text-block-body .emphasis {
    margin-top: 30px;
    font-size: clamp(20px, 2.8vw, 28px);
    font-style: italic;
    color: var(--gold-light);
    text-shadow: 0 0 20px rgba(212, 175, 154, 0.3);
}

/* Decorative Line Group */
.decorative-line-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.deco-dot {
    width: 6px;
    height: 6px;
    background: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(212, 175, 154, 0.6);
}

.deco-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--gold-dark));
}

.deco-star {
    color: var(--gold-primary);
    font-size: 18px;
    text-shadow: 0 0 10px rgba(212, 175, 154, 0.8);
    animation: starRotate 10s linear infinite;
}

@keyframes starRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .text-block {
        padding: 100px 0;
        min-height: auto;
    }

    .text-block-title {
        font-size: clamp(26px, 6vw, 36px);
    }

    .text-block-body p {
        font-size: 16px;
    }

    .text-block-body .emphasis {
        font-size: 18px;
    }

    .ornament-wing {
        width: 40px;
    }

    .deco-line {
        width: 40px;
    }

    .shooting-star {
        display: none;
    }
}

/* =========================================
   PREMIUM CARDS SECTION
   ========================================= */
.premium-feature-rows {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 40px 0;
}

.premium-feature-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.premium-feature-row.reverse {
    flex-direction: row-reverse;
}

.premium-feature-image {
    flex: 1;
    position: relative;
    z-index: 1;
    max-width: 650px;
    display: flex;
    justify-content: center;
}

.premium-feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    padding-left: 20px;
}

.premium-feature-row.reverse .premium-feature-content {
    padding-left: 0;
    padding-right: 20px;
    align-items: flex-end;
    text-align: right;
}

.premium-feature-row.reverse .feature-subtitle {
    flex-direction: row-reverse;
}

/* Image Wrapper with Tilt & Glow */
.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    transition: all var(--transition-smooth);
    aspect-ratio: 4/3;
    max-height: 500px;
    width: 100%;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(212, 175, 154, 0.3);
    pointer-events: none;
    z-index: 2;
    border-radius: 20px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.image-wrapper:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 154, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
}

/* Feature Typography */
.feature-number {
    font-size: 140px;
    font-family: var(--font-primary);
    color: transparent;
    -webkit-text-stroke: 1px rgba(212, 175, 154, 0.3);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: -70px;
    margin-left: -20px;
    z-index: -1;
    transition: all var(--transition-medium);
    position: relative;
}

.premium-feature-row:hover .feature-number {
    opacity: 0.4;
    -webkit-text-stroke: 1px rgba(212, 175, 154, 0.5);
    transform: translateX(20px);
}

.feature-title {
    font-size: 64px;
    font-weight: 300;
    color: var(--gold-light);
    margin-bottom: 24px;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
}

.feature-subtitle {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--gold-primary);
    margin-bottom: 30px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-subtitle::before {
    content: '';
    width: 60px;
    height: 1px;
    background: var(--gold-primary);
}

.feature-divider {
    display: none;
}

.feature-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--cream-soft);
    margin-bottom: 40px;
    max-width: 500px;
    font-weight: 300;
    opacity: 0.9;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .premium-feature-row {
        flex-direction: column !important;
        gap: 40px;
        text-align: center;
    }

    .premium-feature-content {
        align-items: center;
    }

    .feature-divider {
        background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    }

    .feature-number {
        margin-left: 0;
        margin-bottom: -60px;
        font-size: 100px;
    }

    .feature-title {
        font-size: 42px;
    }
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 154, 0.1), transparent);
}

/* Reveal Left */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Reveal Right */
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================
   CLOSING SECTION
   ========================================= */
.closing-section {
    position: relative;
    padding: var(--section-padding) 0 150px;
    overflow: hidden;
}

.closing-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.closing-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.closing-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.closing-text {
    margin-bottom: 60px;
}

.closing-title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 300;
    line-height: 1.4;
}

.closing-title span {
    display: block;
    color: var(--cream);
}

.closing-title .accent {
    color: var(--gold-primary);
    font-style: italic;
}

.closing-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: var(--dark-bg);
    border-top: 1px solid var(--gold-subtle);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 400;
    color: var(--gold-light);
    letter-spacing: 2px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--cream-soft);
    margin-top: 12px;
    opacity: 0.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-template-rows: repeat(4, auto);
    gap: 16px 30px;
}

.footer-links a {
    font-size: 14px;
    color: var(--cream-soft);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--cream-soft);
    transition: color var(--transition-fast);
}

.footer-social a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--gold-subtle);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--cream-soft);
    opacity: 0.6;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* =========================================
   REVEAL ANIMATIONS
   ========================================= */
.reveal-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for hero section */
.hero .reveal-element:nth-child(1) {
    transition-delay: 0.1s;
}

.hero .reveal-element:nth-child(2) {
    transition-delay: 0.2s;
}

.hero .reveal-element:nth-child(3) {
    transition-delay: 0.3s;
}

.hero .reveal-element:nth-child(4) {
    transition-delay: 0.4s;
}

.hero .reveal-element:nth-child(5) {
    transition-delay: 0.5s;
}

.hero .reveal-element:nth-child(6) {
    transition-delay: 0.6s;
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 1200px) {
    :root {
        --section-padding: 100px;
    }
}

@media (max-width: 900px) {
    :root {
        --section-padding: 80px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --container-padding: 20px;
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary .btn-inner,
    .btn-secondary .btn-inner {
        padding: 14px 28px;
        font-size: 16px;
    }

    .scroll-indicator {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-description p {
        font-size: 16px;
    }
}

/* =========================================
   PERFORMANCE & ACCESSIBILITY
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-element {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 4px;
}

/* =========================================
   COLLECTIONS PAGE SPECIFIC STYLES
   ========================================= */

/* Hero Subtitle Large for Collections */
.hero-subtitle-large {
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 300;
    color: var(--gold-primary);
    letter-spacing: 2px;
    margin: 20px 0 30px;
    opacity: 0;
    animation: fadeUp 1s ease 0.3s forwards;
}

/* Merged Philosophy Section - Creative Enhancement */
.merged-philosophy {
    padding: 150px 0;
}

.merged-philosophy .text-block-content {
    max-width: 900px;
}

/* Premium Divider Between Sections */
.philosophy-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 60px 0;
    opacity: 0;
    animation: fadeUp 1s ease 0.7s forwards;
}

.philosophy-divider .divider-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.philosophy-divider .divider-dot {
    width: 8px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(212, 175, 154, 0.8);
    animation: diamondPulse 2s ease-in-out infinite;
}

/* Collection Essence Section - Creative Grid Layout */
.collection-essence {
    opacity: 0;
    animation: fadeUp 1s ease 0.8s forwards;
    text-align: center;
}

.essence-intro {
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 300;
    color: var(--cream-soft);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.essence-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 30px;
    background: rgba(212, 175, 154, 0.08);
    border: 1px solid rgba(212, 175, 154, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-smooth);
}

.essence-grid:hover {
    background: rgba(212, 175, 154, 0.12);
    border-color: rgba(212, 175, 154, 0.3);
    box-shadow: 0 0 30px rgba(212, 175, 154, 0.15);
}

.essence-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
}

.essence-label {
    font-size: clamp(18px, 2.8vw, 24px);
    font-weight: 300;
    color: var(--gold-primary);
    font-style: italic;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(212, 175, 154, 0.3);
}

.essence-dot {
    color: var(--gold-primary);
    font-size: 16px;
    opacity: 0.6;
}

/* What is a Collection Section */
.what-is-collection {
    padding: 100px 0;
    position: relative;
    background: var(--dark-light);
}

.section-title {
    font-size: clamp(40px, 7vw, 68px);
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--cream);
    text-align: center;
    margin-bottom: 60px;
}

.collection-definition {
    text-align: center;
    margin-bottom: 60px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.definition-text {
    font-size: clamp(28px, 4.2vw, 40px);
    font-weight: 300;
    color: var(--gold-primary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.definition-description {
    font-size: clamp(18px, 2.8vw, 24px);
    font-weight: 300;
    color: var(--cream-soft);
    line-height: 1.8;
}

/* Collection Details List */
.collection-details-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.detail-item {
    text-align: center;
    padding: 30px;
    border: 1px solid rgba(212, 175, 154, 0.2);
    border-radius: 8px;
    background: rgba(212, 175, 154, 0.05);
    transition: all var(--transition-smooth);
}

.detail-item:hover {
    border-color: rgba(212, 175, 154, 0.4);
    background: rgba(212, 175, 154, 0.1);
    transform: translateY(-5px);
}

.detail-item p {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 300;
    color: var(--cream);
    line-height: 1.8;
}

/* Collections Carousel Section */
.collections-carousel-section {
    padding: 100px 0;
    position: relative;
    background: var(--dark-bg);
}

/* ============ CAROUSEL ============ */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px 60px;
    overflow: hidden;
}

.carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 20px 5px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #d4af9a 0%, #b8963e 100%);
    border: none;
    color: var(--dark-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 4px 20px rgba(212, 175, 154, 0.4);
    opacity: 1;
}

.carousel-btn:hover {
    background: #d4af9a;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 30px rgba(212, 175, 154, 0.6);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn.prev {
    left: 5px;
}

.carousel-btn.next {
    right: 5px;
}

.carousel-note {
    font-size: 0.85rem;
    color: rgba(232, 213, 163, 0.5);
    font-style: italic;
    margin-top: 15px;
    margin-bottom: 40px;
    text-align: center;
}

/* ============ FLIP CARDS ============ */
.flip-card {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 280px;
    height: 450px;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    scroll-snap-align: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.flip-card:hover {
    transform: translateY(-5px);
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.flip-card-front {
    background: var(--dark-light);
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

.flip-card-back {
    background: linear-gradient(135deg, rgba(28, 21, 16, 0.98) 0%, rgba(10, 9, 8, 0.98) 100%);
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(212, 175, 154, 0.3);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Card Images */
.masquerade {
    background: url('https://cdn.prod.website-files.com/69692c40dab47c0cd2bfb0c3/69692cf77b9819ef5e3df95a_The%20Masquerade.png') center/cover;
}

.equestrian-legacy {
    background: url('https://cdn.prod.website-files.com/69692c40dab47c0cd2bfb0c3/69692cf71d0923ca338221fe_THE%20EQUESTRIAN%20LEGACY.png') center/cover;
}

.azure-circle {
    background: url('https://cdn.prod.website-files.com/69692c40dab47c0cd2bfb0c3/69692cf7bb1fe3b36f7210f3_AZURE%20CIRCLE.png') center/cover;
}

.dracula-halloween {
    background: url('https://cdn.prod.website-files.com/69692c40dab47c0cd2bfb0c3/69692cf74a5db32de4b4609c_DRACULA%20IMMERSION%20%E2%80%94%20HALLOWEEN%20EDITION.png') center/cover;
}

.dracula-legend {
    background: url('https://cdn.prod.website-files.com/69692c40dab47c0cd2bfb0c3/69692cf7df075d134f3310b1_DRACULA%20IMMERSION%20%E2%80%94%20THE%20LEGEND.png') center/cover;
}

.alpine-circle {
    background: url('https://cdn.prod.website-files.com/69692c40dab47c0cd2bfb0c3/69692cf7d0bb8a22ec62e128_THE%20ALPINE%20CIRCLE.png') center/cover;
}

.card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
}

.card-label h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 0;
    color: #d4af9a;
    line-height: 1.3;
}

/* Card Back Content */
.flip-card-back h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #d4af9a;
    letter-spacing: 2px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.flip-card-back .temporada {
    font-size: 0.95rem;
    color: var(--cream-soft);
    margin-bottom: 12px;
    font-style: italic;
    line-height: 1.5;
}

.flip-card-back .temporada .nota-familia {
    font-size: 0.85rem;
    text-transform: lowercase;
    opacity: 0.8;
}

.flip-card-back .concepto {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(232, 213, 163, 0.9);
    margin-bottom: 12px;
    flex-grow: 1;
    align-content: center;
}

.flip-card-back .estado {
    font-size: 0.9rem;
    color: #d4af9a;
    padding: 8px 12px;
    background: rgba(212, 175, 154, 0.15);
    border: 1px solid rgba(212, 175, 154, 0.3);
    border-radius: 4px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.flip-card-back .btn-primary {
    background: linear-gradient(135deg, #d4af9a 0%, #b8963e 100%);
    color: var(--dark-bg);
    border: none;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-family: 'Cormorant Garamond', serif;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.flip-card-back .btn-primary:hover {
    background: #d4af9a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 154, 0.4);
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .carousel-container {
        padding: 15px 50px;
        margin-bottom: 20px;
    }

    .carousel {
        gap: 15px;
        padding: 15px 0;
    }

    .flip-card {
        flex: 0 0 100%;
        min-width: calc(100% - 10px);
        max-width: 350px;
        height: 480px;
        margin: 0 auto;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .carousel-btn.prev {
        left: 2px;
    }

    .carousel-btn.next {
        right: 2px;
    }

    .flip-card-back {
        padding: 20px 15px;
    }
}

/* Tablet and Mobile: Disable hover flip, use tap instead (matches JS breakpoint of 1024px) */
@media (max-width: 1023px) {
    .flip-card:hover .flip-card-inner {
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }

    .flip-card.flipped .flip-card-inner {
        -webkit-transform: rotateY(180deg);
        transform: rotateY(180deg);
    }

    .flip-card:hover {
        transform: none;
    }
}

/* Tablet: Show 2 cards */
@media (min-width: 768px) and (max-width: 1023px) {
    .carousel-container {
        padding: 20px 60px;
        max-width: 900px;
    }

    .flip-card {
        flex: 0 0 calc((100% - 20px) / 2);
        min-width: 300px;
        height: 460px;
    }
}

/* Desktop: Show 3 cards */
@media (min-width: 1024px) {
    .carousel-container {
        max-width: 1200px;
        padding: 20px 70px;
    }

    .carousel {
        gap: 25px;
    }

    .flip-card {
        flex: 0 0 calc((100% - 50px) / 3);
        min-width: 320px;
        height: 480px;
    }
}

/* Touch device optimizations - ensures tap-to-flip works on all touch devices regardless of viewport */
@media (hover: none) and (pointer: coarse) {
    .flip-card:hover .flip-card-inner {
        -webkit-transform: rotateY(0deg) !important;
        transform: rotateY(0deg) !important;
    }

    .flip-card.flipped .flip-card-inner {
        -webkit-transform: rotateY(180deg) !important;
        transform: rotateY(180deg) !important;
    }

    .flip-card:hover {
        transform: none !important;
    }
}

/* ELYS Discovery Section */
.elys-discovery-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark-bg) 100%);
}

.discovery-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.discovery-title {
    font-size: clamp(36px, 5.5vw, 58px);
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--cream);
    margin-bottom: 30px;
    line-height: 1.4;
}

.discovery-text {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 300;
    color: var(--gold-primary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.discovery-description {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 300;
    color: var(--cream-soft);
    margin-bottom: 50px;
    line-height: 1.8;
}

.discovery-button-wrapper {
    display: flex;
    justify-content: center;
}

/* Closing Section Styling */
.page-closing {
    padding: 120px var(--container-padding);
    text-align: center;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.page-closing .closing-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 300;
    line-height: 1.8;
    color: var(--cream);
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.page-closing .closing-title .accent {
    color: var(--gold-primary);
    font-weight: 400;
}

.closing-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.closing-buttons a {
    min-width: 280px;
}

/* Responsive Adjustments for Collections Page */
@media (max-width: 768px) {
    .collection-details-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .carousel-placeholder {
        min-height: 400px;
    }

    .closing-buttons {
        flex-direction: column;
    }

    .closing-buttons a {
        width: 100%;
    }

    .hero-subtitle-large {
        margin: 15px 0 20px;
    }

    .essence-grid {
        flex-direction: column;
        gap: 12px;
    }

    .essence-dot {
        display: none;
    }

    .essence-item {
        width: 100%;
    }

    .philosophy-divider {
        margin: 40px 0;
    }
}

/* =========================================
   GDPR COOKIE CONSENT BANNER
   ========================================= */

/* GDPR Banner */
.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--emerald-primary) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--gold-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gdpr-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.gdpr-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 32px var(--container-padding);
}

.gdpr-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gdpr-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--gold-primary);
    margin: 0;
    letter-spacing: 0.5px;
}

.gdpr-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--cream);
    max-width: 900px;
    margin: 0;
    opacity: 0.9;
}

.gdpr-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gdpr-btn {
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-medium);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.gdpr-btn-accept {
    background: var(--gold-primary);
    color: var(--emerald-dark);
    border: 2px solid var(--gold-primary);
}

.gdpr-btn-accept:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--gold-glow);
}

.gdpr-btn-preferences {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-border);
}

.gdpr-btn-preferences:hover {
    background: rgba(212, 175, 154, 0.1);
    border-color: var(--gold-primary);
}

.gdpr-btn-reject {
    background: transparent;
    color: var(--cream);
    border: 2px solid rgba(245, 230, 200, 0.3);
}

.gdpr-btn-reject:hover {
    background: rgba(245, 230, 200, 0.1);
    border-color: var(--cream);
}

.gdpr-privacy-link {
    font-size: 14px;
    color: var(--gold-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
    align-self: flex-start;
    margin-top: 8px;
}

.gdpr-privacy-link:hover {
    border-bottom-color: var(--gold-primary);
}

/* GDPR Modal */
.gdpr-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 44, 36, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-medium),
                visibility var(--transition-medium);
    padding: 20px;
}

.gdpr-modal.show {
    opacity: 1;
    visibility: visible;
}

.gdpr-modal-content {
    background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--emerald-primary) 100%);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform var(--transition-medium);
}

.gdpr-modal.show .gdpr-modal-content {
    transform: scale(1);
}

.gdpr-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--gold-border);
}

.gdpr-modal-header h3 {
    font-size: 26px;
    font-weight: 500;
    color: var(--gold-primary);
    margin: 0;
}

.gdpr-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--cream);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
}

.gdpr-modal-close:hover {
    color: var(--gold-primary);
}

.gdpr-modal-body {
    padding: 32px;
}

.gdpr-modal-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--cream);
    margin-bottom: 24px;
    opacity: 0.9;
}

.gdpr-cookie-category {
    background: rgba(27, 77, 62, 0.3);
    border: 1px solid var(--gold-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all var(--transition-medium);
}

.gdpr-cookie-category:hover {
    background: rgba(27, 77, 62, 0.5);
    border-color: var(--gold-primary);
}

.gdpr-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.gdpr-category-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gdpr-category-info h4 {
    font-size: 18px;
    font-weight: 500;
    color: var(--gold-primary);
    margin: 0;
}

.gdpr-category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(212, 175, 154, 0.2);
    color: var(--gold-primary);
    font-size: 12px;
    border-radius: 12px;
    border: 1px solid var(--gold-border);
}

.gdpr-category-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--cream);
    margin: 0;
    opacity: 0.8;
}

/* Toggle Switch */
.gdpr-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.gdpr-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.gdpr-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(245, 230, 200, 0.2);
    border: 1px solid var(--gold-border);
    transition: var(--transition-fast);
    border-radius: 28px;
}

.gdpr-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 3px;
    background-color: var(--cream);
    transition: var(--transition-fast);
    border-radius: 50%;
}

.gdpr-switch input:checked + .gdpr-slider {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.gdpr-switch input:checked + .gdpr-slider:before {
    transform: translateX(24px);
    background-color: var(--emerald-dark);
}

.gdpr-switch.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.gdpr-switch.disabled .gdpr-slider {
    cursor: not-allowed;
}

.gdpr-modal-footer {
    display: flex;
    gap: 12px;
    padding: 24px 32px;
    border-top: 1px solid var(--gold-border);
    justify-content: flex-end;
}

.gdpr-btn-secondary {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-border);
}

.gdpr-btn-secondary:hover {
    background: rgba(212, 175, 154, 0.1);
    border-color: var(--gold-primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gdpr-container {
        padding: 24px 16px;
    }

    .gdpr-title {
        font-size: 20px;
    }

    .gdpr-text {
        font-size: 14px;
    }

    .gdpr-buttons {
        flex-direction: column;
    }

    .gdpr-btn {
        width: 100%;
        text-align: center;
    }

    .gdpr-modal-header,
    .gdpr-modal-body,
    .gdpr-modal-footer {
        padding: 20px;
    }

    .gdpr-modal-header h3 {
        font-size: 22px;
    }

    .gdpr-modal-footer {
        flex-direction: column;
    }

    .gdpr-modal-footer .gdpr-btn {
        width: 100%;
    }

    .gdpr-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .gdpr-category-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .gdpr-title {
        font-size: 18px;
    }

    .gdpr-text {
        font-size: 13px;
    }

    .gdpr-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}



