@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@300;400;500;600;700;800;900&family=Dancing+Script:wght@400;700&display=swap');

:root {
    /* Core Neutrals */
    --cosmic-black: #030509;
    --deep-space: #0b132b;
    --space-card: rgba(13, 17, 23, 0.7);

    /* Primary Energy Colors */
    --gold-energy: #FFD369;
    --gold-light: #ffdf91;
    --gold-dim: #c9a34b;
    --glow-gold: rgba(255, 211, 105, 0.4);

    /* Secondary Accents */
    --nebula-purple: #7d5fff;
    --nebula-purple-glow: rgba(125, 95, 255, 0.3);
    --cosmic-teal: #1abc9c;

    /* Functional */
    --white-text: #f0f4f8;
    --glass-bg: rgba(10, 15, 28, 0.6);
    --glass-border: rgba(255, 211, 105, 0.12);
    --glass-shine: rgba(255, 255, 255, 0.03);

    /* Motion */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-slow: 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    position: relative;
}

body {
    background-color: var(--cosmic-black);
    color: var(--white-text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

sup {
    font-size: 0.55em;
    vertical-align: super;
    line-height: 0;
    margin-left: 0.1em;
    margin-right: 0.1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
    font-size: 1.05rem;
    /* Reduced from 1.2rem */
    margin-bottom: 0.4rem;
    min-height: 2.2rem;
    /* Reduced from 2.5rem */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

p {
    font-size: 1rem;
    color: rgba(240, 244, 248, 0.8);
    line-height: 1.6;
}

/* Section Subtext Specific */
.section .text-center>p {
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(240, 244, 248, 0.7);
    text-align: center;
}

.gold-text {
    color: var(--gold-energy);
    text-shadow: 0 0 15px rgba(255, 211, 105, 0.4);
}

.gold-glow-text {
    background: linear-gradient(to right, var(--gold-energy), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 211, 105, 0.3));
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 0;
    /* Kill horizontal scrollbar visibility */
}

::-webkit-scrollbar-track {
    background: var(--cosmic-black);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--cosmic-black), var(--gold-energy), var(--cosmic-black));
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

/* Global Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #0b132b 0%, #030509 100%);
}

/* Layout */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.section {
    padding: 80px 0;
    overflow: hidden;
    /* Added to prevent child absolute animations from causing overflow */
    position: relative;
    /* Ensure overflow: hidden works for absolute children */
}

/* Grid Utilities */
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

/* Glassmorphism */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 2px solid rgba(255, 211, 105, 0.7);
    border-radius: 24px;
    padding: 25px;
    /* Reduced from 35px for a more compact design */
    box-shadow:
        0 4px 24px -1px rgba(0, 0, 0, 0.3),
        inset 0 0 20px 0 var(--glass-shine),
        0 0 25px rgba(255, 211, 105, 0.2);
    transition: var(--transition);
    position: relative;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    z-index: 1;
}

.glass-panel:hover {
    border-color: rgba(255, 211, 105, 0.4);
    box-shadow:
        0 10px 40px -10px rgba(0, 0, 0, 0.5),
        inset 0 0 30px 0 rgba(255, 211, 105, 0.05);
    transform: translateY(-5px);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999999 !important;
    /* Ultra-high priority to stop any overlap */
    padding: 12px 0;
    /* Reduced from 20px for a more compact height */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: rgba(3, 5, 9, 0.85);
    /* Solidified background for better occlusion */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 2px solid rgba(255, 211, 105, 0.2);
    transform: translateZ(0);
    will-change: transform, background;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-icon {
    padding: 8px 20px !important;
    border-radius: 50px !important;
    background: rgba(13, 17, 23, 0.6) !important;
    border: 1px solid var(--gold-energy) !important;
    transition: all 0.3s ease !important;
}

.cart-icon:hover {
    background: rgba(13, 17, 23, 0.8) !important;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 211, 105, 0.2);
}

nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 211, 105, 0.05) 50%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

nav:hover::before {
    opacity: 1;
}

nav::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            var(--gold-energy) 50%,
            transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

nav:hover::after {
    opacity: 0.6;
}

nav.scrolled {
    background: linear-gradient(180deg, rgba(3, 5, 9, 0.95) 0%, rgba(11, 19, 43, 0.92) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    background-image:
        linear-gradient(rgba(3, 5, 9, 0.95), rgba(11, 19, 43, 0.92)),
        linear-gradient(90deg, transparent, var(--gold-energy), transparent);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(255, 211, 105, 0.1);
}

/* Hide Admin link by default to prevent flashing */
.nav-links li:has(a[href="admin.html"]) {
    display: none !important;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    text-decoration: none;
    line-height: 1;
    padding: 0;
}

.logo img {
    height: 55px !important;
    /* Reduced from 75px */
    width: auto !important;
    margin: 0 !important;
    order: -1;
    /* Ensure image is visually first */
    display: block;
}

.logo span {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: -2px;
    /* Adjusted from -5px */
    position: relative;
    /* Pull text up slightly */
    background: linear-gradient(135deg, var(--gold-energy), var(--gold-light), var(--gold-energy));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(255, 211, 105, 0.4));
    animation: logoShine 3s ease-in-out infinite;
}

.logo sup {
    font-size: 0.5em;
    /* Relative to the span's 0.8rem */
    top: -0.8em;
    left: 1px;
    letter-spacing: 0;
    -webkit-text-fill-color: var(--gold-energy);
    /* Solid color for better readability on small text */
    text-shadow: none;
    /* Remove shadow to prevent blurriness */
    opacity: 0.9;
}

@keyframes logoShine {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 200% center;
    }
}

.logo::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: radial-gradient(circle, rgba(255, 211, 105, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 10px;
}

.logo:hover {
    letter-spacing: 7px;
    transform: scale(1.05);
    filter: drop-shadow(0 0 40px rgba(255, 211, 105, 0.8));
}

.logo:hover::before {
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 45px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(248, 249, 250, 0.75);
    position: relative;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 8px 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-energy), transparent);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 0 10px var(--gold-energy);
}

.nav-links a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 211, 105, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-energy);
    text-shadow: 0 0 15px rgba(255, 211, 105, 0.5);
    transform: translateY(-2px);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

.nav-links a:hover::after {
    width: 120%;
    height: 120%;
}

/* Cart Icon Enhancement */
.nav-links a[href*="cart"],
.nav-links a:has(i.fa-shopping-cart) {
    background: rgba(255, 211, 105, 0.08);
    padding: 10px 18px;
    border-radius: 25px;
    border: 1px solid rgba(255, 211, 105, 0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-links a[href*="cart"]:hover,
.nav-links a:has(i.fa-shopping-cart):hover {
    background: rgba(255, 211, 105, 0.15);
    border-color: var(--gold-energy);
    box-shadow: 0 5px 20px rgba(255, 211, 105, 0.3);
    transform: translateY(-3px);
}


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 140px 0 80px;
    /* Reduced from 180px for tighter layout */
    overflow: hidden;
    text-align: center;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(3rem, 12vw, 7.5rem);
    /* Moderated from 8.5rem for better balance */
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 25px;
    margin-top: 5px;
    /* Reduced from 20px */
    text-transform: none;
    color: var(--white-text);
}

.hero .gold-glow-text {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: block;
    /* Force to its own line for better emphasis */
    font-size: 0.75em;
    /* Adjusted relative to the now-massive parent h1 */
    margin-top: 5px;
    background: linear-gradient(to right, var(--gold-energy), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: none;
    filter: drop-shadow(0 0 20px rgba(255, 211, 105, 0.5));
}

.hero p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    letter-spacing: -0.01em;
    max-width: 750px;
    margin: 0 auto 50px;
    opacity: 0.8;
    color: var(--white-text);
}

.hero-btns {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
}


/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    margin-top: 50px;
    padding: 0 60px;
}

.carousel-overflow {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.carousel-track>.glass-panel {
    flex: 0 0 calc(33.333% - 20px);
    display: flex;
    flex-direction: column;
    height: 500px;
    /* Reduced from 580px for a very compact look */
    justify-content: flex-start;
}

.carousel-track>.glass-panel p {
    flex-grow: 1;
    margin-bottom: 15px !important;
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--gold-energy);
    color: var(--gold-energy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.carousel-nav:hover {
    background: var(--gold-energy);
    color: var(--cosmic-black);
    box-shadow: 0 0 20px var(--glow-gold);
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

.carousel-nav.disabled {
    opacity: 0.3;
    pointer-events: none;
    border-color: var(--glass-border);
}

@media (max-width: 1024px) {
    .carousel-track>.glass-panel {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .carousel-track>.glass-panel {
        flex: 0 0 100%;
    }

    .carousel-container {
        padding: 0 50px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Remove transition on touch/mobile to prevent tap-hover flash */
@media (hover: none),
(max-width: 768px) {

    .btn,
    .btn-gold,
    .btn-outline {
        transition: none !important;
    }
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-dim) 0%, var(--gold-energy) 50%, var(--gold-dim) 100%);
    background-size: 200% auto;
    color: var(--cosmic-black);
    box-shadow: 0 8px 25px rgba(255, 211, 105, 0.3);
    border: none;
}

/* Hover only on real pointer/mouse devices */
/* Button hover effects removed as per requirement */

.btn-outline {
    border: 1.5px solid var(--gold-energy);
    color: var(--gold-energy);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.btn-outline.active {
    background: linear-gradient(135deg, var(--gold-dim) 0%, var(--gold-energy) 50%, var(--gold-dim) 100%);
    background-size: 200% auto;
    color: var(--cosmic-black) !important;
    border-color: transparent;
    box-shadow: 0 12px 35px rgba(255, 211, 105, 0.5);
    transform: scale(1.05);
}

/* Ensure buttons in cards stay at the bottom */
.glass-panel .btn {
    margin-top: auto;
}

/* Ensure product cards in marketplace also have consistent height */
.product-card.glass-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
    /* Ultra-compact for maximum efficiency */
}

.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    margin-bottom: 10px;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card p {
    min-height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: linear-gradient(180deg, rgba(3, 4, 8, 0.95) 0%, rgba(11, 19, 43, 0.98) 100%);
    border-top: 2px solid transparent;
    background-image:
        linear-gradient(rgba(3, 4, 8, 0.95), rgba(11, 19, 43, 0.98)),
        linear-gradient(90deg, transparent, var(--gold-energy), transparent);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-energy) 50%, transparent);
    opacity: 0.5;
}

footer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 211, 105, 0.03) 0%, transparent 70%);
    animation: footerGlow 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes footerGlow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10%, 10%);
    }
}

/* Notify Me Feature */
.btn-notify {
    background: rgba(255, 211, 105, 0.1);
    color: var(--gold-energy);
    border: 1px solid var(--gold-energy);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.btn-notify:hover {
    background: var(--gold-energy);
    color: var(--cosmic-black);
    box-shadow: 0 0 20px var(--glow-gold);
}

.notify-modal .modal-card {
    max-width: 450px;
    text-align: center;
    padding: 50px 40px;
}

.notify-modal .bell-icon {
    font-size: 3.5rem;
    color: var(--gold-energy);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 15px var(--glow-gold));
    animation: bell-swing 2.5s ease-in-out infinite;
}

@keyframes bell-swing {

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

    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-15deg);
    }

    30% {
        transform: rotate(10deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(0);
    }
}

.notify-modal h2 {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 2.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
    color: var(--gold-energy);
}

.notify-modal p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 30px;
    color: rgba(240, 244, 248, 0.9);
}

.notify-input-group {
    margin-bottom: 25px;
}

.notify-input-group input {
    width: 100%;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
    text-align: center;
}

.notify-input-group input:focus {
    border-color: var(--gold-energy);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 211, 105, 0.15);
}

.notify-confirm-text {
    font-size: 0.85rem !important;
    color: var(--gold-energy) !important;
    margin-top: 20px;
    display: none;
    line-height: 1.4;
    font-weight: 500;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
    align-items: flex-start;
}

.footer-info {
    max-width: 400px;
    margin: 0 auto;
}

.footer-info p {
    color: rgba(248, 249, 250, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-logo {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gold-energy), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 211, 105, 0.3));
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-links h4,
.footer-info h4 {
    margin-bottom: 20px;
    color: var(--gold-energy);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-info h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-energy), transparent);
}

.footer-explore h4,
.footer-explore h4::after,
.footer-connect h4,
.footer-connect h4::after {
    text-align: center;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.footer-explore ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 15px;
    text-align: center;
    justify-items: center;
}

.footer-links li {
    margin-bottom: 0;
    width: 100%;
}

.footer-links a {
    color: rgba(248, 249, 250, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    font-size: 0.95rem;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-energy);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-energy);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    color: rgba(248, 249, 250, 0.5);
    font-size: 0.85rem;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 211, 105, 0.1);
    position: relative;
    z-index: 1;
}





.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    margin: 10px 0 0;
}

.social-icon-link {
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    background: rgba(255, 211, 105, 0.05);
    padding: 5px;
    /* Reduced padding */
    border-radius: 50%;
    border: 1px solid rgba(255, 211, 105, 0.15);
}

.social-icon-link::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-energy), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.social-icon-link::after {
    content: '';
    position: absolute;
    top: -8px;
    /* Positioned above the icon */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-energy), transparent);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 0 10px var(--gold-energy);
}

.social-icon-link:hover::before {
    opacity: 0.3;
}

.social-icon-link:hover::after {
    width: 100%;
}

.social-icon-link:hover {
    transform: translateY(-5px) scale(1.15);
    border-color: var(--gold-energy);
    background: rgba(255, 211, 105, 0.1);
    box-shadow: 0 8px 25px rgba(255, 211, 105, 0.25);
}

.social-icon-link img {
    filter: brightness(1.1) saturate(1.2);
    transition: all 0.4s ease;
    display: block;
}

.social-icon-link:hover img {
    filter: brightness(1.4) saturate(1.4);
    transform: rotate(5deg);
}


/* Testimonial Marquee */
.testimonial-marquee {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    white-space: nowrap;
}

.testimonial-track {
    display: inline-flex;
    gap: 30px;
    animation: marquee 40s linear infinite;
}

.testimonial-marquee:hover .testimonial-track {
    animation-play-state: paused;
}

.testimonial-card {
    flex: 0 0 400px;
    white-space: normal;
    text-align: left;
    padding: 30px;
    /* Slightly reduced padding for better fit */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Prevent spill */
}

.stars {
    color: var(--gold-energy);
    margin-bottom: 20px;
    font-size: 0.9rem;
    flex-shrink: 0;
    /* Don't hide stars */
}

.testimonial-card p {
    font-style: italic;
    font-size: 1rem;
    /* Slightly reduced for better fit */
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--white-text);
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    /* Allow the p tag to shrink and scroll */
    padding-right: 10px;
}

/* Specific scrollbar for testimonial cards */
.testimonial-card p::-webkit-scrollbar {
    width: 4px;
}

.testimonial-card p::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.testimonial-card p::-webkit-scrollbar-thumb {
    background: var(--gold-energy);
    border-radius: 10px;
}

.testimonial-card h4 {
    font-size: 0.9rem;
    color: var(--gold-energy);
    margin-top: 15px;
    margin-bottom: 0;
    flex-shrink: 0;
    /* Don't hide name */
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 300px;
        padding: 25px;
    }
}

/* Custom Superscript fix for Buttons */
.btn sup {
    font-size: 0.55em;
    top: -0.4em;
    position: relative;
    vertical-align: baseline;
    text-transform: none;
    /* Prevent uppercase from messing with size if necessary */
}

/* Custom Tooltips */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #0b132b;
    color: #ffd369;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s;
    border: 1px solid #ffd369;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    z-index: 10000;
    pointer-events: none;
    display: block;
}

[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}


[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--gold-energy);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    z-index: 9999;
    pointer-events: none;
}

[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Bottom Tooltip Position */
[data-tooltip-pos="bottom"]::after {
    top: 115%;
    bottom: auto;
    transform: translateX(-50%) translateY(-10px);
}

[data-tooltip-pos="bottom"]:hover::after {
    transform: translateX(-50%) translateY(0);
}

[data-tooltip-pos="bottom"]::before {
    top: 105%;
    bottom: auto;
    border-top-color: transparent;
    border-bottom-color: var(--gold-energy);
}

/* Global Level Animations & Aesthetic Enhancements */

/* Super Floating Animation */
@keyframes float-ethereal {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-15px) rotate(1deg);
    }

    66% {
        transform: translateY(-5px) rotate(-1deg);
    }

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

.float-ethereal {
    animation: float-ethereal 6s ease-in-out infinite;
}

/* Pulsing Gold Glow */
@keyframes pulse-gold {
    0% {
        filter: drop-shadow(0 0 10px rgba(255, 211, 105, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 25px rgba(255, 211, 105, 0.7));
    }

    100% {
        filter: drop-shadow(0 0 10px rgba(255, 211, 105, 0.4));
    }
}

.gold-glow-text {
    animation: pulse-gold 4s ease-in-out infinite;
}

/* Premium Reveal Enhancement */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Massive Hero Reveal */
.mask-reveal {
    mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}

/* Section Divider Upgrade */
.wave-underline {
    background: linear-gradient(90deg, transparent, var(--gold-energy), transparent);
    height: 2px !important;
    width: 200px !important;
    position: relative;
    overflow: hidden;
    margin: 20px auto;
}

.wave-underline::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

/* Glass Panel Shine Enhancement */
.glass-panel::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 211, 105, 0.05) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.glass-panel:hover::after {
    opacity: 1;
}

/* Cosmic Particles Container */
#cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at center, #0b132b 0%, #000 100%);
    overflow: hidden;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.3;
    animation: twinkle var(--duration) infinite ease-in-out;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }


    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}


/* --- Preview Page Custom Layouts --- */
/* Horizontal Testimonial Marquee for Preview Page */
.horizontal-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.horizontal-testimonial-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: horizontalMarquee 40s linear infinite;
}

.horizontal-marquee-wrapper:hover .horizontal-testimonial-track {
    animation-play-state: paused;
}

.horizontal-testimonial-track .testimonial-card {
    flex: 0 0 320px;
    /* Slimmer cards to fit more in view */
    height: 275px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes horizontalMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

/* --- Preview Page Custom Layouts --- */
.preview-split-layout {
    display: flex;
    align-items: flex-end;
    /* Align elements to the bottom */
    justify-content: center;
    gap: 60px;
    position: relative;
    z-index: 5;
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    /* Slightly more side padding */
}

.preview-content-left {
    flex: 0 0 420px;
    /* Portrait video width */
    display: flex;
    justify-content: center;
}

.preview-content-right {
    flex: 1;
    max-width: 900px;
    /* Widened for better card visibility */
}

.preview-video-container {
    width: 100%;
    height: 550px;
    border-radius: 20px;
    background: transparent;
    box-shadow: 0 0 60px rgba(255, 211, 105, 0.2), 0 0 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.preview-video-container:hover {
    box-shadow: 0 0 80px rgba(255, 211, 105, 0.4), 0 0 30px rgba(0, 0, 0, 0.6);
    transform: translateY(-5px) scale(1.01);
}

.preview-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fills the container, removing black bars */
    display: block;
    mix-blend-mode: screen;
}

@media (max-width: 992px) {
    .preview-split-layout {
        flex-direction: column;
        text-align: center;
    }

    .preview-content-left,
    .preview-content-right {
        flex: 0 0 100%;
        width: 100%;
        text-align: center;
    }

    .preview-content-left h1,
    .preview-content-left p {
        text-align: center !important;
    }

    .preview-video-container {
        height: 300px;
        margin: 0 auto;
    }
}

/* Modal System */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 5, 9, 0.75);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(0px);
}

.modal-overlay.active {
    opacity: 1;
    display: flex;
}

.modal-card {
    max-width: 650px;
    width: 95%;
    max-height: 85vh;
    background: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid var(--glass-border);
    border-radius: 35px;
    padding: 50px 40px 40px;
    position: relative;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(255, 211, 105, 0.1);
    transform: translateY(60px) scale(0.9);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-card {
    transform: translateY(60px) scale(1);
    /* Permanently shifted down */
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: rgba(255, 211, 105, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--gold-energy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--gold-energy);
    color: var(--cosmic-black);
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    overflow-y: auto;
    padding-right: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-energy) transparent;
}

.modal-body::-webkit-scrollbar {
    width: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--gold-energy);
    border-radius: 10px;
}

/* Background Blur Class */
body.modal-open>nav,
body.modal-open>header,
body.modal-open>section,
body.modal-open>footer,
body.modal-open>main,
body.modal-open>.dashboard-container {
    filter: brightness(0.4);
    pointer-events: none;
    transition: filter 0.4s ease;
}

body.modal-open {
    overflow: hidden !important;
}

/* --- Centered Cart Modal (Overrides) --- */
#cart-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9) !important;
    /* Force override */
    width: 95%;
    max-width: 550px;
    /* Slightly larger as requested */
    height: 90vh;
    /* Changed from auto to fixed to ensure scrollbar works */
    max-height: 85vh;
    background: rgba(3, 5, 9, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--gold-energy);
    border-left: 1px solid var(--gold-energy);
    /* Override potential sidebar style */
    border-radius: 24px;
    z-index: 10002;
    padding: 35px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    right: auto !important;
    /* Reset sidebar style */
}

#cart-panel.active {
    transform: translate(-50%, -50%) scale(1) !important;
    opacity: 1;
    pointer-events: all;
    right: auto !important;
}

/* Cart Backdrop */
.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 5, 9, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10001;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
}

.cart-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

/* User Profile Styles within Cart */
#user-profile-view {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#purchase-history-list::-webkit-scrollbar {
    width: 4px;
}

#purchase-history-list::-webkit-scrollbar-thumb {
    background: var(--gold-energy);
    border-radius: 4px;
}

/* --- Cart Header Styles --- */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 211, 105, 0.2);
}

.cart-header h3 {
    margin: 0 !important;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-cart {
    background: none;
    border: none;
    color: var(--gold-energy);
    cursor: pointer;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.close-cart:hover {
    transform: rotate(90deg) scale(1.1);
}

/* Waitlist Section */
.waitlist-section {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.waitlist-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--gold-energy);
    border-radius: 30px;
    padding: 70px 40px;
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 50px rgba(255, 211, 105, 0.1);
    position: relative;
    overflow: hidden;
}

.waitlist-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 211, 105, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.waitlist-title {
    color: var(--gold-energy);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: 4px;
    margin-bottom: 25px;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(255, 211, 105, 0.4);
    font-family: 'Montserrat', sans-serif;
}

.waitlist-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 45px;
    font-size: 1.15rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.waitlist-form {
    display: flex;
    gap: 20px;
    justify-content: center;
    max-width: 650px;
    margin: 0 auto;
}

.waitlist-form input {
    flex: 1;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 211, 105, 0.2);
    border-radius: 50px;
    padding: 18px 30px;
    color: white;
    outline: none;
    transition: var(--transition);
    font-size: 1rem;
}

.waitlist-form input:focus {
    border-color: var(--gold-energy);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 15px rgba(255, 211, 105, 0.1);
}

.waitlist-form .btn {
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 800;
    letter-spacing: 2px;
    background: var(--gold-energy);
    color: var(--cosmic-black);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.waitlist-form .btn:hover {
    background: var(--gold-light);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 211, 105, 0.3);
}

@media (max-width: 768px) {
    .waitlist-form {
        flex-direction: column;
        gap: 15px;
    }

    .waitlist-card {
        padding: 50px 25px;
    }

    .waitlist-title {
        font-size: 1.5rem;
    }
}

.text-center {
    text-align: center !important;
}


/* Marketplace Redesign Styles */
.market-product-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1.5px solid rgba(255, 211, 105, 0.1);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px;
    text-align: center;
}

.market-product-card:hover {
    border-color: var(--gold-energy);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 211, 105, 0.1);
}

.market-cover-box {
    width: 100%;
    aspect-ratio: 2/3;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.market-cover-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.market-product-card:hover .market-cover-box img {
    transform: scale(1.05);
}

.market-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.market-title {
    font-size: 1rem;
    letter-spacing: 1px;
    margin: 10px 0 5px;
    color: white;
    line-height: 1.4;
    text-transform: uppercase;
}

.market-subtitle {
    font-size: 0.8rem;
    color: var(--gold-energy);
    opacity: 0.8;
    margin-bottom: 15px;
}

.market-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.market-btn {
    flex: 1;
    padding: 10px 5px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-transform: uppercase;
}

.btn-view-info {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-view-info:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

/* Product Detail Modal (High-Fidelity) */
.detail-modal {
    position: fixed;
    inset: 0;
    background: rgba(3, 5, 9, 0.98);
    backdrop-filter: blur(20px);
    z-index: 11000;
    overflow-y: auto;
    display: none;
}

.detail-modal.active {
    display: block;
}

.detail-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 40px;
    color: white;
    position: relative;
}

.detail-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.detail-close {
    cursor: pointer;
    font-size: 2.5rem;
    color: var(--gold-energy);
    transition: all 0.3s;
}

.detail-close:hover {
    transform: rotate(90deg);
    color: #ff6b6b;
}

.detail-main {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.detail-visual {
    position: sticky;
    top: 40px;
}

.detail-img-box {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 211, 105, 0.2);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.detail-img-box img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-info-pane {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-badges {
    display: flex;
    gap: 15px;
}

.detail-badge {
    padding: 5px 15px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(255, 211, 105, 0.1);
    color: var(--gold-energy);
    border: 1px solid rgba(255, 211, 105, 0.2);
}

.detail-title {
    font-size: 3rem;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
}

.detail-pricing {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin: 10px 0;
}

.detail-price {
    font-size: 2.5rem;
    color: var(--gold-energy);
    font-weight: 800;
}

.detail-original-price {
    font-size: 1.5rem;
    opacity: 0.5;
    text-decoration: line-through;
}

.detail-summary {
    line-height: 1.8;
    opacity: 0.9;
    font-size: 1.1rem;
}

.detail-cta {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.detail-btn {
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    border: none;
    flex: 1;
}

.detail-btn-buy {
    background: var(--gold-energy);
    color: black;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.detail-btn-buy:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.detail-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.detail-tab {
    padding: 15px 0;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

.detail-tab.active {
    opacity: 1;
    color: var(--gold-energy);
}

.detail-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-energy);
    box-shadow: 0 0 10px var(--gold-energy);
}

.detail-content-section {
    padding: 40px 0;
    display: none;
}

.detail-content-section.active {
    display: block;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-table td {
    padding: 15px 0;
}

.spec-table td:first-child {
    font-weight: 700;
    color: var(--gold-energy);
    width: 250px;
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.review-user {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-images {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.review-img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
    .detail-main {
        grid-template-columns: 1fr;
    }

    .detail-visual {
        position: static;
    }

    .detail-title {
        font-size: 2rem;
    }
}

/* Blogs Section */
.blog-grid {
    margin-top: 40px;
}

.blog-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(255, 211, 105, 0.1);
}

.blog-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px;
    width: 100%;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.blog-card:hover .blog-image {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 20px;
    right: 20px;
    left: auto;
    width: fit-content;
    background: rgba(3, 5, 9, 0.8);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 100px;
    color: var(--gold-energy);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(255, 211, 105, 0.2);
    z-index: 2;
}

.blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--white-text);
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--gold-energy);
}

.blog-excerpt {
    font-size: 0.95rem;
    color: rgba(240, 244, 248, 0.7);
    margin-bottom: 25px;
    flex-grow: 1;
}

.blog-content .btn {
    align-self: flex-start;
    padding: 10px 25px;
    font-size: 0.8rem;
    border-radius: 50px;
    margin-top: auto;
}

/* =====================================================
   Static Feature Cards (from abha-EFVF)
   Used in home page "Why EFV Works" section
   Scoped to .static-feature-card — safe for all pages
   ===================================================== */

.flip-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.static-feature-card {
    perspective: 1000px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    height: 250px;
    border-radius: 20px;
    transition: transform 0.3s ease;
    cursor: default;
}

@media (hover: hover) {
    .static-feature-card:hover {
        transform: scale(1.03);
    }
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

@media (hover: hover) {
    .static-feature-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }
}

.static-feature-card.flipped .flip-card-inner {
    transform: rotateY(180deg) !important;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 25px;
    border-radius: 20px;
    background: #0e1320;
    /* Solid background to prevent overlap */
    border: 2px solid rgba(255, 211, 105, 0.5);
    box-shadow: 0 0 20px rgba(255, 211, 105, 0.1);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.flip-card-front {
    z-index: 2;
    transform: rotateY(0deg);
}

.flip-card-back {
    transform: rotateY(180deg);
}

@media (hover: hover) {

    .static-feature-card:hover .flip-card-front,
    .static-feature-card:hover .flip-card-back {
        border-color: rgba(255, 211, 105, 0.9);
        box-shadow:
            0 0 30px rgba(255, 211, 105, 0.25),
            0 8px 32px rgba(0, 0, 0, 0.4);
    }
}

.static-feature-card.flipped .flip-card-front,
.static-feature-card.flipped .flip-card-back {
    border-color: rgba(255, 211, 105, 0.9) !important;
    box-shadow:
        0 0 30px rgba(255, 211, 105, 0.25),
        0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

.static-feature-card p.flip-text-main {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold-energy);
    margin-bottom: 10px !important;
    text-align: center;
    line-height: 1.3;
}

.static-feature-card p.flip-text-sub {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold-light);
    text-align: center;
    line-height: 1.3;
}

.static-feature-card .glow-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--gold-energy);
    margin: 0 auto 18px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(255, 211, 105, 0.2);
    transition: box-shadow 0.3s ease;
}

@media (hover: hover) {
    .static-feature-card:hover .glow-circle {
        box-shadow: 0 0 30px rgba(255, 211, 105, 0.5);
    }
}

.static-feature-card.flipped .glow-circle {
    box-shadow: 0 0 30px rgba(255, 211, 105, 0.5) !important;
}

.static-feature-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 10px 0;
    line-height: 1.4;
    min-height: auto;
    display: block;
    text-align: center;
}

.static-feature-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .flip-grid-container {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 40px auto 0;
    }
}

/* Gallery Page - Additional photo items */
.gallery-item.span-6 {
    grid-column: span 6;
}

.gallery-item.span-4 {
    grid-column: span 4;
}

.gallery-item.span-3 {
    grid-column: span 3;
}

/* =========================================
   TESTIMONIAL MARQUEE — from abha-EFVF
   ========================================= */
.testimonial-marquee {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    white-space: nowrap;
}

.testimonial-track {
    display: inline-flex;
    gap: 30px;
    animation: marquee 40s linear infinite;
}

.testimonial-marquee:hover .testimonial-track {
    animation-play-state: paused;
}

.testimonial-card {
    flex: 0 0 400px;
    white-space: normal;
    text-align: left;
    padding: 40px;
}

.stars {
    color: var(--gold-energy);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--white-text);
}

.testimonial-card h4 {
    font-size: 0.9rem;
    color: var(--gold-energy);
    margin-bottom: 0;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 240px;
        padding: 18px;
    }

    .horizontal-testimonial-track .testimonial-card {
        flex: 0 0 220px;
        height: 180px;
    }

    .horizontal-testimonial-track {
        gap: 15px;
    }

    .testimonial-card p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .testimonial-card h4 {
        font-size: 0.75rem;
    }
}

/* =========================================
   HORIZONTAL MARQUEE WRAPPER — Preview/Feedback page
   ========================================= */
.horizontal-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.horizontal-testimonial-track {
    display: flex;
    gap: 30px;
    width: max-content;
    align-items: center;
    animation: horizontalMarquee 40s linear infinite;
}

.horizontal-marquee-wrapper:hover .horizontal-testimonial-track {
    animation-play-state: paused;
}

.horizontal-testimonial-track .testimonial-card {
    flex: 0 0 320px;
    height: 280px;
    /* Slightly increased height for better content display */
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

@keyframes horizontalMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

/* =========================================
   BLOG CARDS — from abha-EFVF
   ========================================= */
.blog-grid {
    margin-top: 40px;
}

.blog-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 420px;
    background: #000;
    border-radius: 24px;
    position: relative;
    border: 1px solid rgba(255, 211, 105, 0.1);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transform-style: preserve-3d;
}

.blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(255, 211, 105, 0.3), transparent);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: all 0.6s ease;
    animation: borderGlowFlow 6s linear infinite;
    opacity: 0.5;
}

@keyframes borderGlowFlow {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 200%;
    }
}

.blog-card:hover {
    border-color: rgba(255, 211, 105, 0.4);
}

.blog-card:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, var(--gold-energy), transparent, var(--gold-energy));
}

.blog-image-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blog-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.85) 90%);
    z-index: 2;
    transition: background 0.4s ease;
}

.blog-card:hover .blog-image-wrapper::after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.9) 100%);
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    filter: none;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.08);
    opacity: 0.9;
}

.blog-category {
    position: absolute;
    top: 25px;
    left: 25px;
    right: auto;
    width: fit-content;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--gold-energy);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 211, 105, 0.4);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
    transition: all 0.4s ease;
}

.blog-card:hover .blog-category {
    background: var(--gold-energy);
    color: #000;
    box-shadow: 0 0 25px rgba(255, 211, 105, 0.58);
}

.blog-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 20px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
}

.blog-card:hover .blog-content {
    transform: translateY(-10px);
}

.blog-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.blog-card:hover .blog-title {
    color: var(--gold-energy) !important;
    text-shadow: 0 0 25px rgba(255, 211, 105, 0.4);
    transform: translateY(-2px);
}

.blog-excerpt {
    font-size: 0.95rem;
    color: #f1f1f1;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.4s ease;
}

.blog-card:hover .blog-excerpt {
    color: var(--gold-energy) !important;
    opacity: 1 !important;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 211, 105, 0.2);
}

.bold-card .blog-excerpt {
    font-weight: 700 !important;
    color: #fff !important;
    opacity: 1 !important;
}

.blog-content .btn {
    align-self: flex-start;
    padding: 12px 30px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   BLOG CARD — glass-panel conflict fix
   .glass-panel adds padding:35px, backdrop-filter, and a strong border
   that completely breaks the cinematic blog card layout.
   These overrides MUST come last to win specificity.
   ========================================= */
.glass-panel.blog-card {
    padding: 0 !important;
    overflow: hidden !important;
    background: #000 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255, 211, 105, 0.1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 420px !important;
    border-radius: 24px !important;
    position: relative !important;
}

.glass-panel.blog-card:hover {
    transform: none !important;
    border-color: rgba(255, 211, 105, 0.4) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
}

/* ::before on glass-panel creates a top line that interferes — kill it for blog cards */
.glass-panel.blog-card::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    top: unset !important;
    left: unset !important;
    right: unset !important;
    height: unset !important;
    width: unset !important;
    background: linear-gradient(135deg, transparent, rgba(255, 211, 105, 0.3), transparent) !important;
    background-size: 200% 200% !important;
    border-radius: 24px !important;
    padding: 1px !important;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
    -webkit-mask-composite: xor !important;
    mask-composite: exclude !important;
    animation: borderGlowFlow 6s linear infinite !important;
    opacity: 0.5 !important;
    z-index: 1 !important;
}

/* ::after on glass-panel also interferes with blog layout */
.glass-panel.blog-card::after {
    display: none !important;
}

/* =========================================
   PREMIUM MODALS & DIALOGS
   ========================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 12000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-card {
    background: linear-gradient(145deg, #0e1218, #05070a);
    border: 1px solid rgba(255, 211, 105, 0.2);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 450px;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.success-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.success-icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--gold-energy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-energy);
    font-size: 2.2rem;
    box-shadow: 0 0 20px rgba(255, 211, 105, 0.2);
    animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes successPop {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* ============================================
   MOBILE: DISABLE ALL HOVER EFFECTS
   ============================================ */
@media (max-width: 768px) {

    .btn-gold:hover,
    .btn-outline:hover,
    .btn:hover,
    .btn-view-info:hover,
    .detail-btn-buy:hover,
    .waitlist-form .btn:hover {
        transform: none !important;
        box-shadow: none !important;
        background-position: unset !important;
        filter: none !important;
    }

    .glass-panel:hover,
    .glass-panel:hover::after,
    .market-product-card:hover,
    .market-product-card:hover .market-cover-box img,
    .blog-card:hover,
    .blog-card:hover::before,
    .blog-card:hover .blog-image,
    .blog-card:hover .blog-image-wrapper::after,
    .blog-card:hover .blog-title,
    .blog-card:hover .blog-content,
    .blog-card:hover .blog-excerpt,
    .blog-card:hover .blog-category,
    .static-feature-card:hover,
    .static-feature-card:hover .glow-circle {
        transform: none !important;
        box-shadow: none !important;
        filter: none !important;
        opacity: unset !important;
    }

    .social-icon-link:hover,
    .social-icon-link:hover img,
    .social-icon-link:hover::before,
    .social-icon-link:hover::after {
        transform: none !important;
        box-shadow: none !important;
        width: 0 !important;
        opacity: 0 !important;
    }

    .logo:hover,
    .logo:hover::before {
        transform: none !important;
        letter-spacing: unset !important;
        filter: none !important;
        opacity: 0 !important;
    }

    .nav-links a:hover,
    .nav-links a:hover::before,
    .nav-links a:hover::after {
        transform: none !important;
        text-shadow: none !important;
        width: 0 !important;
    }

    .footer-links a:hover {
        transform: none !important;
        color: var(--gold-energy) !important;
    }

    .footer-links a:hover::before {
        width: 0 !important;
    }

    .carousel-nav:hover {
        background: var(--glass-bg) !important;
        color: var(--gold-energy) !important;
        box-shadow: none !important;
    }

    .preview-video-container:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

@media (hover: none) and (pointer: coarse) {
    *:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

/* --- MOBILE RESPONSIVE OPTIMIZATIONS (REQUESTED) --- */
@media (max-width: 768px) {
    .notify-modal .modal-card {
        padding: 35px 25px !important;
        width: 90% !important;
    }

    .notify-modal .bell-icon {
        font-size: 2.2rem !important;
        margin-bottom: 15px !important;
    }

    .notify-modal h2 {
        font-size: 1.4rem !important;
        letter-spacing: 1px !important;
    }

    .notify-modal p {
        font-size: 0.82rem !important;
        margin-bottom: 20px !important;
        padding: 0 10px !important;
        line-height: 1.5 !important;
    }

    .notify-input-group input {
        padding: 12px 18px !important;
        font-size: 0.88rem !important;
        border-radius: 8px !important;
    }

    #notify-submit-btn {
        padding: 12px 25px !important;
        font-size: 0.8rem !important;
        border-radius: 8px !important;
    }

    /* Marketplace Tag Scaling - Mobile */
    /* Marketplace Tag Scaling - Mobile */
    .format-tag {
        font-size: 0.55rem !important;
        padding: 3px 12px !important;
        top: -45px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
        height: auto !important;
        white-space: nowrap !important;
        transform: translateX(-50%) scale(1) !important;
    }

    .format-tag i {
        font-size: 0.6rem !important;
    }
}

/* Marketplace Variant Selector */
.variant-selector {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 211, 105, 0.1);
}

.variant-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    min-width: 52px;
}

.variant-btn i {
    font-size: 0.85rem;
}

.variant-btn:hover {
    background: rgba(255, 211, 105, 0.05);
    border-color: rgba(255, 211, 105, 0.3);
    color: #FFD369;
}

.variant-btn.active {
    background: #FFD369;
    border-color: #FFD369;
    color: #000;
    box-shadow: 0 4px 12px rgba(255, 211, 105, 0.2);
}

.lang-badge {
    display: block;
    width: fit-content;
    margin: 0 auto 8px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid #FFD369;
    color: #FFD369;
    padding: 1px 10px;
    border-radius: 20px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.product-card.glass-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 480px !important;
    padding: 25px 20px;
}

.product-card .book-cover {
    width: 100%;
    max-width: 140px;
    aspect-ratio: 2/3;
    margin: 40px auto 12px;
    background: #0b132b;
    border-radius: 8px;
    border: 1.5px solid #FFD369;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.product-card .format-tag {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    color: black;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 900;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.product-card .product-title {
    font-size: 0.95rem;
    color: #FFD369;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    min-height: unset;
}

.product-card .price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.product-card .product-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: auto;
}

.product-card .btn {
    padding: 10px 20px;
    font-size: 0.75rem;
    min-width: 110px;
}


@keyframes stockPulse {
    0% {
        box-shadow: 0 0 5px rgba(46, 213, 115, 0.2);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 20px rgba(46, 213, 115, 0.4);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 5px rgba(46, 213, 115, 0.2);
        transform: scale(1);
    }
}

@keyframes comingSoonPulse {
    0% {
        box-shadow: 0 0 5px rgba(255, 211, 105, 0.2);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 15px rgba(255, 211, 105, 0.4);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 5px rgba(255, 211, 105, 0.2);
        transform: scale(1);
    }
}