/* ========================================
   Vaultrex Trading - Premium Luxury Styles
   ======================================== */
    @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');
/* ========== Premium Color Variables ========== */
:root {
    --gold-primary: #d4af37;
    --gold-light: #ffd700;
    --gold-dark: #b8860b;
    --gold-rose: #e8c17f;
    --gold-champagne: #f7e7ce;
    --dark-bg: #0a0a0a;
    --dark-surface: #141414;
    --accent-emerald: #10b981;
    --accent-ruby: #dc2626;
}

/* ========== Gold Gradient Utilities ========== */
.gold-gradient {
    background: linear-gradient(135deg, #d4af37, #ffd700, #b8860b);
}

/* ========== Premium Gradient (More Luxurious) ========== */
.premium-gradient {
    background: linear-gradient(135deg, #f7e7ce 0%, #ffd700 25%, #d4af37 50%, #b8860b 75%, #8b7500 100%);
}

/* ========== Animated Gradient Text ========== */
.animated-gradient-text {
    background: linear-gradient(90deg,
            #f7e7ce,
            #ffd700,
            #d4af37,
            #e8c17f,
            #ffd700,
            #f7e7ce);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 4s ease infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ========== Premium Text Style ========== */
.premium-text {
    background: linear-gradient(135deg, #f7e7ce, #ffd700, #d4af37, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

/* ========== Logo Glow Effect ========== */
.logo-glow {
    box-shadow:
        0 0 20px rgba(212, 175, 55, 0.4),
        0 0 40px rgba(212, 175, 55, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

/* ========== Live Rate Pulse Animation ========== */
.live-rate {
    animation: ratePulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

@keyframes ratePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
}

/* ========== Rate Update Flash Animation ========== */
.rate-updating {
    animation: rateFlash 0.5s ease !important;
    color: #ffd700 !important;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

@keyframes rateFlash {
    0% {
        transform: scale(1);
        color: white;
    }
    50% {
        transform: scale(1.15);
        color: #ffd700;
        text-shadow: 0 0 25px rgba(255, 215, 0, 1);
    }
    100% {
        transform: scale(1);
        color: white;
    }
}

/* ========== Top Bar Glow Line ========== */
#top-bar {
    position: relative;
}

#top-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, #ffd700, #d4af37, transparent);
    animation: glowLine 3s ease-in-out infinite;
}

@keyframes glowLine {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.gold-gradient-text {
    background: linear-gradient(135deg, #d4af37, #ffd700, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== Shimmer Effect ========== */
.shimmer-effect {
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* ========== Glass Effects ========== */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ========== Smooth Scroll ========== */
html {
    scroll-behavior: smooth;
}

/* ========== Custom Scrollbar ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0d0d0d;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d4af37, #ffd700, #b8860b);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ffd700, #d4af37, #b8860b);
}

/* ========== Hero Parallax ========== */
.hero-parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ========== Card 3D Hover Effects ========== */
.card-3d {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform-style: preserve-3d;
}

.card-3d:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 30px 60px -12px rgba(212, 175, 55, 0.25);
}

/* ========== Gold Border Animation ========== */
.gold-border-animate {
    position: relative;
    overflow: hidden;
}

.gold-border-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    animation: borderFlow 3s linear infinite;
}

@keyframes borderFlow {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* ========== Floating Particles ========== */
.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    animation: particleFloat 15s infinite;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ========== Button Glow Effect ========== */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

/* ========== Image Zoom on Hover ========== */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.7s ease;
}

.img-zoom:hover img {
    transform: scale(1.1);
}

/* ========== Animated Underline ========== */
.animated-underline {
    position: relative;
}

.animated-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background: linear-gradient(90deg, #d4af37, #ffd700);
    transition: all 0.3s ease;
}

.animated-underline:hover::after {
    width: 100%;
    left: 0;
}

/* ========== Navbar Scroll Effect ========== */
.navbar-scrolled {
    background: rgba(13, 13, 13, 0.98) !important;
    box-shadow: 0 4px 30px rgba(212, 175, 55, 0.1);
}

/* ========== Modal Animations ========== */
.modal-content {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ========== Custom Focus States ========== */
button:focus,
a:focus {
    outline: 2px solid rgba(212, 175, 55, 0.5);
    outline-offset: 2px;
}

/* ========== Selection Color ========== */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(212, 175, 55, 0.3);
    color: #fff;
}

/* ========== Category Section Styles ========== */
#main-categories>div,
#subcategories-grid>div {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

#main-categories>div:nth-child(1) {
    animation-delay: 0.1s;
}

#main-categories>div:nth-child(2) {
    animation-delay: 0.2s;
}

#main-categories>div:nth-child(3) {
    animation-delay: 0.3s;
}

#main-categories>div:nth-child(4) {
    animation-delay: 0.4s;
}

#subcategories-grid>div:nth-child(1) {
    animation-delay: 0.1s;
}

#subcategories-grid>div:nth-child(2) {
    animation-delay: 0.15s;
}

#subcategories-grid>div:nth-child(3) {
    animation-delay: 0.2s;
}

#subcategories-grid>div:nth-child(4) {
    animation-delay: 0.25s;
}

#subcategories-grid>div:nth-child(5) {
    animation-delay: 0.3s;
}

#subcategories-grid>div:nth-child(6) {
    animation-delay: 0.35s;
}

#subcategories-grid>div:nth-child(7) {
    animation-delay: 0.4s;
}

#subcategories-grid>div:nth-child(8) {
    animation-delay: 0.45s;
}

#products-grid>div {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

#products-grid>div:nth-child(1) {
    animation-delay: 0.1s;
}

#products-grid>div:nth-child(2) {
    animation-delay: 0.15s;
}

#products-grid>div:nth-child(3) {
    animation-delay: 0.2s;
}

#products-grid>div:nth-child(4) {
    animation-delay: 0.25s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Aspect Ratio for Product Cards ========== */
.aspect-square {
    aspect-ratio: 1 / 1;
}

/* ========== Category Button Hover Effects ========== */
#main-categories .group:hover>div:last-child {
    background: linear-gradient(135deg, #d4af37, #ffd700, #b8860b);
}

/* ========== Breadcrumb Styles ========== */
#category-breadcrumb nav {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    display: inline-flex;
    gap: 8px;
}