:root {
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    --transition-speed: 0.3s;
    --ease-out: cubic-bezier(0.165, 0.84, 0.44, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --bg-main: #fafafa;
    --text-main: #1a1a1a;
    --accent: #1a1a1a;
    --gold: #c8a97e;
    --gold-rgb: 200, 169, 126;
    --dark: #0d0d0d;
    --dark-rgb: 13, 13, 13;
    --light-gold: #f5f0e8;
}

body.theme-clothing {
    --bg-main: #fafafa;
    --text-main: #1a1a1a;
    --accent: #c8a97e;
}

body.theme-grocery {
    --bg-main: #f0fdf4;
    --text-main: #166534;
    --accent: #22c55e;
}

* {
    transition: background-color var(--transition-speed) var(--ease-out),
                color var(--transition-speed) var(--ease-out),
                border-color var(--transition-speed) var(--ease-out),
                box-shadow var(--transition-speed) var(--ease-out);
}

html {
    scroll-behavior: smooth;
}

/* ========================================
   KEYFRAME ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes rotateIn {
    from { opacity: 0; transform: rotate(-90deg) scale(0.3); }
    to { opacity: 1; transform: rotate(0) scale(1); }
}

@keyframes flipIn {
    from { opacity: 0; transform: perspective(400px) rotateX(90deg); }
    to { opacity: 1; transform: perspective(400px) rotateX(0); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(var(--gold-rgb), 0); }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(var(--gold-rgb), 0.3); }
    50% { border-color: rgba(var(--gold-rgb), 0.8); }
}

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

@keyframes pulse-ring {
    0% { transform: scale(0.5); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: var(--gold); }
}

@keyframes spin-slow {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes reveal-text {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

@keyframes reveal-vertical {
    from { clip-path: inset(0 0 100% 0); }
    to { clip-path: inset(0 0 0 0); }
}

@keyframes swirl-in {
    from { clip-path: circle(0% at 50% 50%); }
    to { clip-path: circle(100% at 50% 50%); }
}

/* ========================================
   ANIMATION UTILITY CLASSES
   ======================================== */

.animate-fade-in {
    animation: fadeIn var(--transition-speed) var(--ease-out) forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s var(--ease-out) forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.6s var(--ease-out) forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s var(--ease-out) forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s var(--ease-out) forwards;
}

.animate-scale-in {
    animation: scaleIn 0.5s var(--ease-out) forwards;
}

.animate-bounce-in {
    animation: bounceIn 0.8s var(--ease-bounce) forwards;
}

.animate-zoom-in {
    animation: zoomIn 0.5s var(--ease-out) forwards;
}

.animate-slide-up {
    animation: slideUp 0.5s var(--ease-out) forwards;
}

.animate-slide-in-left {
    animation: slideInLeft 0.5s var(--ease-out) forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.5s var(--ease-out) forwards;
}

.animate-rotate-in {
    animation: rotateIn 0.6s var(--ease-out) forwards;
}

.animate-flip-in {
    animation: flipIn 0.6s var(--ease-out) forwards;
}

.animate-swirl-in {
    animation: swirl-in 0.6s var(--ease-out) forwards;
}

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

.animate-pulse-gold {
    animation: pulse-gold 2s infinite;
}

.animate-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.animate-spin-slow {
    animation: spin-slow 8s linear infinite;
}

.animate-wiggle:hover {
    animation: wiggle 0.5s ease;
}

.animate-heartbeat:hover {
    animation: heartbeat 1s ease-in-out;
}

/* Animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-900 { animation-delay: 0.9s; }
.delay-1000 { animation-delay: 1s; }

/* Animation durations */
.duration-200 { animation-duration: 0.2s; }
.duration-300 { animation-duration: 0.3s; }
.duration-500 { animation-duration: 0.5s; }
.duration-800 { animation-duration: 0.8s; }
.duration-1000 { animation-duration: 1s; }
.duration-1500 { animation-duration: 1.5s; }
.duration-2000 { animation-duration: 2s; }
.duration-3000 { animation-duration: 3s; }

/* ========================================
   SCROLL-TRIGGERED REVEAL
   ======================================== */

.reveal,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-rotate,
.reveal-flip,
.reveal-swirl {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal { transform: translateY(30px); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left { transform: translateX(-30px); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right { transform: translateX(30px); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale { transform: scale(0.9); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.reveal-rotate { transform: rotate(-10deg) scale(0.8); }
.reveal-rotate.visible { opacity: 1; transform: rotate(0) scale(1); }

.reveal-flip { transform: perspective(400px) rotateX(20deg); }
.reveal-flip.visible { opacity: 1; transform: perspective(400px) rotateX(0); }

.reveal-swirl { clip-path: circle(0% at 50% 50%); }
.reveal-swirl.visible {
    opacity: 1;
    clip-path: circle(100% at 50% 50%);
}

/* ========================================
   HOVER & INTERACTION EFFECTS
   ======================================== */

/* Lift effect */
.hover-lift {
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Scale on hover */
.hover-scale {
    transition: transform 0.4s var(--ease-out);
}
.hover-scale:hover {
    transform: scale(1.03);
}

/* Shine overlay effect */
.shine-overlay {
    position: relative;
    overflow: hidden;
}
.shine-overlay::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255,255,255,0.15) 50%,
        transparent 70%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s var(--ease-out);
    pointer-events: none;
}
.shine-overlay:hover::after {
    transform: rotate(45deg) translateX(100%);
}

/* Image zoom container */
.img-zoom {
    overflow: hidden;
}
.img-zoom img {
    transition: transform 0.6s var(--ease-out);
}
.img-zoom:hover img {
    transform: scale(1.08);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--gold), #e8d5b7, var(--gold));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

/* Underline animation */
.underline-anim {
    position: relative;
    text-decoration: none;
}
.underline-anim::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.4s var(--ease-out);
}
.underline-anim:hover::after {
    width: 100%;
}

/* Glow effect on hover */
.glow-hover {
    transition: box-shadow 0.4s var(--ease-out);
}
.glow-hover:hover {
    box-shadow: 0 0 30px rgba(var(--gold-rgb), 0.3);
}

/* Blur reveal on hover */
.blur-reveal {
    filter: blur(4px);
    transition: filter 0.4s var(--ease-out);
}
.blur-reveal:hover {
    filter: blur(0);
}

/* ========================================
   LOADING & SKELETON
   ======================================== */

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.img-skeleton {
    position: relative;
    background: #f5f5f5;
    overflow: hidden;
}
.img-skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 1.5s infinite;
}

/* Image loading blur */
img[loading="lazy"] {
    filter: blur(10px);
    transition: filter 0.4s ease;
}
img[loading="lazy"].loaded {
    filter: blur(0);
}

/* ========================================
   PARALLAX
   ======================================== */

.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ========================================
   COUNTER ANIMATION
   ======================================== */

.counter-value {
    display: inline-block;
    animation: countUp 0.6s var(--ease-out) forwards;
}

/* ========================================
   RIPPLE EFFECT
   ======================================== */

.ripple-btn {
    position: relative;
    overflow: hidden;
}
.ripple-btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    pointer-events: none;
}
@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ========================================
   CARD 3D TILT
   ======================================== */

.card-tilt {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* ========================================
   STAGGER CHILDREN
   ======================================== */

.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
}
.stagger-children.visible > *:nth-child(1) { animation: fadeInUp 0.5s var(--ease-out) 0.05s forwards; }
.stagger-children.visible > *:nth-child(2) { animation: fadeInUp 0.5s var(--ease-out) 0.1s forwards; }
.stagger-children.visible > *:nth-child(3) { animation: fadeInUp 0.5s var(--ease-out) 0.15s forwards; }
.stagger-children.visible > *:nth-child(4) { animation: fadeInUp 0.5s var(--ease-out) 0.2s forwards; }
.stagger-children.visible > *:nth-child(5) { animation: fadeInUp 0.5s var(--ease-out) 0.25s forwards; }
.stagger-children.visible > *:nth-child(6) { animation: fadeInUp 0.5s var(--ease-out) 0.3s forwards; }
.stagger-children.visible > *:nth-child(7) { animation: fadeInUp 0.5s var(--ease-out) 0.35s forwards; }
.stagger-children.visible > *:nth-child(8) { animation: fadeInUp 0.5s var(--ease-out) 0.4s forwards; }
.stagger-children.visible > *:nth-child(9) { animation: fadeInUp 0.5s var(--ease-out) 0.45s forwards; }
.stagger-children.visible > *:nth-child(10) { animation: fadeInUp 0.5s var(--ease-out) 0.5s forwards; }

/* ========================================
   LUXURY OVERLAYS & ACCENTS
   ======================================== */

.luxury-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
}

.gold-border {
    border: 1px solid var(--gold);
}
.gold-text {
    color: var(--gold);
}
.gold-bg {
    background-color: var(--gold);
}

/* ========================================
   PARTICLE / SPARKLE
   ======================================== */

.sparkle-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    animation: sparkle-float 3s ease-in-out infinite;
}
@keyframes sparkle-float {
    0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
    50% { opacity: 1; transform: translateY(-20px) scale(1); }
}

/* ========================================
   TEXT REVEAL
   ======================================== */

.text-reveal {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    animation: reveal-text 1s var(--ease-out) forwards;
}

.text-reveal-vertical {
    overflow: hidden;
    animation: reveal-vertical 0.8s var(--ease-out) forwards;
}

/* ========================================
   TOOLTIP
   ======================================== */

.tooltip-gold {
    position: relative;
}
.tooltip-gold::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: var(--primary);
    color: #fff;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform 0.3s var(--ease-out);
    transform-origin: bottom center;
}
.tooltip-gold:hover::after {
    transform: translateX(-50%) scale(1);
}

/* ========================================
   MODAL ENHANCEMENTS
   ======================================== */

.modal.fade .modal-dialog {
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

/* ========================================
   OFF-CANVAS ENHANCEMENTS
   ======================================== */

.offcanvas.show {
    transform: none !important;
}

/* ========================================
   IMAGE HOVER ZOOM WITH CAPTION
   ======================================== */

.img-caption-zoom {
    position: relative;
    overflow: hidden;
}
.img-caption-zoom img {
    transition: transform 0.6s var(--ease-out);
}
.img-caption-zoom:hover img {
    transform: scale(1.1);
}
.img-caption-zoom .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out);
}
.img-caption-zoom:hover .caption {
    transform: translateY(0);
}

/* ========================================
   BORDER ANIMATION
   ======================================== */

.border-anim {
    position: relative;
}
.border-anim::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.4s var(--ease-out);
}
.border-anim:hover::before {
    width: 100%;
}

/* ========================================
   DOTS LOADER
   ======================================== */

.dots-loader::after {
    content: '';
    animation: dots 1.5s infinite;
}
@keyframes dots {
    0% { content: '.'; }
    33% { content: '..'; }
    66% { content: '...'; }
}

/* ========================================
   PROGRESS BAR ANIMATION
   ======================================== */

.progress-fill {
    position: relative;
    overflow: hidden;
}
.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

/* ========================================
   CUSTOM CURSOR FOLLOWER
   ======================================== */

.cursor-dot {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: normal;
    will-change: transform;
}
.cursor-dot.dot-hover {
    width: 50px;
    height: 50px;
    background: rgba(var(--gold-rgb), 0.15);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(var(--gold-rgb), 0.3);
}

.cursor-ring {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(var(--gold-rgb), 0.4);
    border-radius: 50%;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
    will-change: transform;
}
.cursor-ring.ring-hover {
    width: 60px;
    height: 60px;
    border-color: var(--gold);
    background: rgba(var(--gold-rgb), 0.08);
}

/* Hide cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none !important; }
}

/* ========================================
   FLOATING PARTICLES / SPARKLES
   ======================================== */

.particle-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}
.particle-1 { width: 4px; height: 4px; background: var(--gold); }
.particle-2 { width: 6px; height: 6px; background: rgba(var(--gold-rgb), 0.5); }
.particle-3 { width: 3px; height: 3px; background: #fff; }
.particle-4 { width: 8px; height: 8px; border: 1px solid rgba(var(--gold-rgb), 0.3); background: transparent; }

@keyfloat particle-float {
    0% { opacity: 0; transform: translateY(0) rotate(0deg) scale(0); }
    20% { opacity: 0.8; }
    80% { opacity: 0.4; }
    100% { opacity: 0; transform: translateY(-200px) rotate(720deg) scale(1); }
}

/* ========================================
   3D TILT
   ======================================== */

.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}
.tilt-card .tilt-content {
    transition: transform 0.2s ease;
    transform-style: preserve-3d;
}
.tilt-card .tilt-shadow {
    transition: box-shadow 0.2s ease;
}
.tilt-card .tilt-float {
    transform: translateZ(20px);
}

/* ========================================
   MAGNETIC BUTTON
   ======================================== */

.magnetic-btn {
    transition: transform 0.2s var(--ease-out);
    will-change: transform;
}

/* ========================================
   TEXT REVEAL (Line-by-line)
   ======================================== */

.text-line-reveal {
    overflow: hidden;
}
.text-line-reveal .line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.text-line-reveal .line.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Split text reveal */
.char-reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotate(5deg);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.char-reveal.revealed {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

/* ========================================
   FLY TO CART ANIMATION
   ======================================== */

.fly-to-cart {
    position: fixed !important;
    z-index: 9999 !important;
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    pointer-events: none !important;
    border-radius: 50%;
    object-fit: contain;
}

/* ========================================
   BACK TO TOP WITH PROGRESS RING
   ======================================== */

.back-to-top-ring {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
    border: none;
    background: none;
    padding: 0;
}
.back-to-top-ring.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top-ring svg {
    transform: rotate(-90deg);
}
.back-to-top-ring .bg-circle {
    fill: none;
    stroke: var(--medium-gray);
    stroke-width: 3;
}
.back-to-top-ring .progress-circle {
    fill: none;
    stroke: var(--gold);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.2s;
}
.back-to-top-ring .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary);
    font-size: 18px;
    transition: transform 0.3s var(--ease-out);
}
.back-to-top-ring:hover .icon {
    transform: translate(-50%, -50%) translateY(-3px);
}

/* ========================================
   FLOATING DECORATIVE SHAPES
   ======================================== */

.floating-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.04;
    z-index: 0;
}
.floating-shape.shape-circle {
    border-radius: 50%;
    border: 2px solid var(--gold);
    animation: float-shape 8s ease-in-out infinite;
}
.floating-shape.shape-square {
    border: 2px solid var(--gold);
    transform: rotate(45deg);
    animation: float-shape 10s ease-in-out infinite reverse;
}
.floating-shape.shape-diamond {
    border: 2px solid var(--gold);
    transform: rotate(45deg) scale(0.7);
    animation: float-shape 12s ease-in-out infinite;
}

@keyframes float-shape {
    0%, 100% { transform: translateY(0) rotate(var(--rotation, 0deg)); }
    25% { transform: translateY(-15px) rotate(calc(var(--rotation, 0deg) + 5deg)); }
    50% { transform: translateY(-25px) rotate(calc(var(--rotation, 0deg) - 5deg)); }
    75% { transform: translateY(-10px) rotate(calc(var(--rotation, 0deg) + 3deg)); }
}

/* ========================================
   PAGE TRANSITION OVERLAY
   ======================================== */

.page-transition {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 99998;
    pointer-events: none;
    visibility: hidden;
}
.page-transition.active {
    visibility: visible;
}
.page-transition .layer {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s var(--ease-in-out);
}
.page-transition .layer:nth-child(1) { left: 0; width: 33.333%; transition-delay: 0s; }
.page-transition .layer:nth-child(2) { left: 33.333%; width: 33.333%; transition-delay: 0.05s; }
.page-transition .layer:nth-child(3) { left: 66.666%; width: 33.334%; transition-delay: 0.1s; }
.page-transition.active .layer {
    transform: scaleX(1);
    transform-origin: left;
}

/* ========================================
   CONFETTI
   ======================================== */

.confetti-piece {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
    width: 8px;
    height: 8px;
}
@keyframes confetti-fall {
    0% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
    100% { opacity: 0; transform: translateY(600px) rotate(720deg) scale(0.5); }
}

/* ========================================
   ADD TO CART BUTTON ANIMATION
   ======================================== */

.add-cart-btn.loading {
    pointer-events: none;
    position: relative;
    color: transparent !important;
}
.add-cart-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.add-cart-btn.added {
    background: #2ecc71 !important;
    pointer-events: none;
}
.add-cart-btn.added::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
}

/* ========================================
   PRICE GLOW PULSE
   ======================================== */

.price-glow {
    animation: price-pulse 2s ease-in-out 3;
}
@keyframes price-pulse {
    0%, 100% { color: var(--primary); }
    50% { color: var(--gold); text-shadow: 0 0 20px rgba(var(--gold-rgb), 0.3); }
}

/* ========================================
   HEADER SHIMMER BORDER
   ======================================== */

.shimmer-border {
    position: relative;
}
.shimmer-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* ========================================
   NOTIFICATION BADGE BOUNCE
   ======================================== */

.badge-bounce {
    animation: badge-bounce 0.4s var(--ease-bounce);
}
@keyframes badge-bounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* ========================================
   SKELETON PULSE ENHANCED
   ======================================== */

.skeleton-pulse {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    color: transparent !important;
    user-select: none;
}

/* ========================================
   SECTION ENTRANCE
   ======================================== */

.section-entrance {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.section-entrance.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   GLASSMORPHISM
   ======================================== */

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ========================================
   GRADIENT BORDER
   ======================================== */

.gradient-border {
    border: 1px solid transparent;
    background-clip: padding-box;
    position: relative;
}
.gradient-border::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--gold), transparent, var(--gold));
    -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;
    pointer-events: none;
}

/* ========================================
   FLOATING ACTION BUTTONS
   ======================================== */

.float-action-btn {
    position: fixed;
    z-index: 999;
    transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
}

/* ========================================
   NEWSLETTER POPUP ENHANCEMENT
   ======================================== */

.newsletter-popup .modal-content {
    animation: scaleIn 0.5s var(--ease-out) forwards;
}
.newsletter-popup .modal-header .btn-close {
    transition: transform 0.3s var(--ease-out);
}
.newsletter-popup .modal-header .btn-close:hover {
    transform: rotate(90deg);
}

/* ========================================
   SMOOTH IMAGE REVEAL
   ======================================== */

.img-reveal {
    position: relative;
    overflow: hidden;
}
.img-reveal img {
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.img-reveal.revealed img {
    opacity: 1;
    transform: scale(1);
}
.img-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-gray);
    z-index: 1;
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 0.8s var(--ease-out);
}
.img-reveal.revealed::before {
    transform: scaleX(0);
    transform-origin: left;
}

/* ========================================
   INVIEW COUNTER
   ======================================== */

.inview-counter {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.inview-counter .digit {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
}
.inview-counter.counted .digit {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   PRICE TAG SWING
   ======================================== */

.price-tag {
    display: inline-block;
    animation: price-tag-swing 2s ease-in-out infinite;
    transform-origin: top center;
}
@keyframes price-tag-swing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    75% { transform: rotate(-2deg); }
}

/* ========================================
   CARD BORDER GLOW
   ======================================== */

.glow-card {
    position: relative;
    transition: box-shadow 0.4s var(--ease-out);
}
.glow-card:hover {
    box-shadow: 0 0 30px rgba(var(--gold-rgb), 0.15), 0 10px 40px rgba(0,0,0,0.06);
}

/* ========================================
   COUNTDOWN
   ======================================== */

.countdown-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}
.countdown-item .num {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-primary);
}
.countdown-item .label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 5px;
    opacity: 0.6;
}

/* ========================================
   STAGGER FADE ENHANCED
   ======================================== */

.stagger-fade > * {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.stagger-fade.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-fade.visible > *:nth-child(2) { transition-delay: 0.05s; }
.stagger-fade.visible > *:nth-child(3) { transition-delay: 0.1s; }
.stagger-fade.visible > *:nth-child(4) { transition-delay: 0.15s; }
.stagger-fade.visible > *:nth-child(5) { transition-delay: 0.2s; }
.stagger-fade.visible > *:nth-child(6) { transition-delay: 0.25s; }
.stagger-fade.visible > *:nth-child(7) { transition-delay: 0.3s; }
.stagger-fade.visible > * { opacity: 1; transform: translateY(0); }

/* ========================================
   SCROLL INDICATOR (MOUSE WHEEL)
   ======================================== */

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
    animation: fadeInUp 1s 2s forwards;
    opacity: 0;
}
.scroll-indicator span {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
}
.scroll-indicator .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    position: relative;
}
.scroll-indicator .mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: #fff;
    border-radius: 3px;
    animation: scroll-wheel 1.5s ease-in-out infinite;
}
@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* ========================================
   LOADING BAR ENHANCED
   ======================================== */

.loading-bar-enhanced {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), #e8d5b7, var(--gold));
    z-index: 99999;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.5);
}

/* ========================================
   HERO PARALLAX TILT
   ======================================== */

.hero-parallax {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* ========================================
   SHIMMER BORDER ANIMATION (rotating)
   ======================================== */

.shimmer-border-rotate {
    position: relative;
    overflow: hidden;
}
.shimmer-border-rotate::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, var(--gold), transparent 30%, transparent 70%, var(--gold), transparent);
    animation: shimmer-rotate 4s linear infinite;
}
.shimmer-border-rotate::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: inherit;
    border-radius: inherit;
}
@keyframes shimmer-rotate {
    to { transform: rotate(360deg); }
}

/* ========================================
   MORPHING CARD HOVER (3D depth lift)
   ======================================== */

.card-morph {
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
    border: 1px solid rgba(var(--gold-rgb), 0.1);
}
.card-morph:hover {
    transform: perspective(800px) rotateX(2deg) translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15), 0 0 0 1px rgba(var(--gold-rgb), 0.2);
    border-color: rgba(var(--gold-rgb), 0.3);
}

/* ========================================
   FOCUS-WITHIN CARD ELEVATION
   ======================================== */

.card-elevate {
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.card-elevate:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* ========================================
   FLOATING LABEL INPUT
   ======================================== */

.floating-label-group {
    position: relative;
}
.floating-label-group .floating-input {
    width: 100%;
    padding: 18px 14px 6px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.floating-label-group .floating-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.1);
}
.floating-label-group .floating-label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s var(--ease-out);
}
.floating-label-group .floating-input:focus ~ .floating-label,
.floating-label-group .floating-input:not(:placeholder-shown) ~ .floating-label {
    top: 8px;
    transform: translateY(0);
    font-size: 10px;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ========================================
   ENHANCED SKELETON
   ======================================== */

.skeleton-enhanced {
    background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.8s ease-in-out infinite;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

/* ========================================
   TOOLTIP SLIDE
   ======================================== */

.tooltip-slide {
    position: relative;
    cursor: pointer;
}
.tooltip-slide::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--dark);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease-out);
}
.tooltip-slide:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ========================================
   BADGE PULSE RING
   ======================================== */

.badge-pulse-ring {
    position: relative;
}
.badge-pulse-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid var(--gold);
    animation: pulse-ring 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* ========================================
   SCROLL PROGRESS UNDERLINE
   ======================================== */

.scroll-progress-underline {
    position: relative;
    display: inline-block;
}
.scroll-progress-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.1s linear;
}

/* ========================================
   SUBTLE PATTERN OVERLAY
   ======================================== */

.pattern-dots {
    background-image: radial-gradient(rgba(var(--gold-rgb), 0.08) 1px, transparent 1px);
    background-size: 20px 20px;
}
.pattern-lines {
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(var(--gold-rgb), 0.02) 10px, rgba(var(--gold-rgb), 0.02) 11px);
}
.pattern-grid {
    background-image: linear-gradient(rgba(var(--gold-rgb), 0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(var(--gold-rgb), 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ========================================
   IMAGE REVEAL WITH CURTAIN
   ======================================== */

.img-curtain-reveal {
    position: relative;
    overflow: hidden;
}
.img-curtain-reveal img {
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.img-curtain-reveal.revealed img {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   STAGGERED ITEM LIST ENTRANCE
   ======================================== */

.stagger-list > * {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.stagger-list.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-list.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-list.visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-list.visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-list.visible > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-list.visible > *:nth-child(6) { transition-delay: 0.4s; }
.stagger-list.visible > *:nth-child(7) { transition-delay: 0.48s; }
.stagger-list.visible > *:nth-child(8) { transition-delay: 0.56s; }
.stagger-list.visible > *:nth-child(9) { transition-delay: 0.64s; }
.stagger-list.visible > *:nth-child(10) { transition-delay: 0.72s; }
.stagger-list.visible > * { opacity: 1; transform: translateX(0); }

/* ========================================
   NUMBER ROLL ANIMATION
   ======================================== */

.num-roll {
    display: inline-flex;
    overflow: hidden;
    line-height: 1;
}
.num-roll .num-digit {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.6s var(--ease-out);
}
.num-roll.counted .num-digit {
    transform: translateY(0);
}

/* ========================================
   DIAGONAL SECTION DIVIDER
   ======================================== */

.section-divider-top {
    position: relative;
}
.section-divider-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: inherit;
    clip-path: polygon(0 0, 100% 100%, 100% 0);
}
.section-divider-bottom {
    position: relative;
}
.section-divider-bottom::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: inherit;
    clip-path: polygon(0 100%, 100% 0, 0 0);
}

/* ========================================
   GLOW TEXT
   ======================================== */

.glow-text {
    text-shadow: 0 0 20px rgba(var(--gold-rgb), 0.3), 0 0 40px rgba(var(--gold-rgb), 0.15);
}
.glow-text-white {
    text-shadow: 0 0 20px rgba(255,255,255,0.3), 0 0 40px rgba(255,255,255,0.15);
}

/* ========================================
   COUNTER SCROLL ENTRANCE
   ======================================== */

.counter-scroll {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.counter-scroll .counter-digit {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.counter-scroll.counted .counter-digit {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   SMOOTH DROPDOWN
   ======================================== */

.dropdown-smooth .dropdown-menu {
    display: block;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
    pointer-events: none;
}
.dropdown-smooth.show .dropdown-menu,
.dropdown-smooth .dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ========================================
   STAT CARD ENHANCED
   ======================================== */

.stat-card {
    border-radius: 16px;
    border: none;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.stat-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.4s var(--ease-out);
}
.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(-5deg);
}
.stat-card .stat-value {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

/* ========================================
   TABLE ROW ENHANCED
   ======================================== */

.table-row-hover tbody tr {
    transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.table-row-hover tbody tr:hover {
    background: rgba(var(--gold-rgb), 0.04);
    transform: scale(1.002);
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

/* ========================================
   IMAGE WITH GRADIENT OVERLAY ANIMATED
   ======================================== */

.img-gradient-overlay {
    position: relative;
    overflow: hidden;
}
.img-gradient-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--dark-rgb), 0.6) 0%, transparent 50%, rgba(var(--gold-rgb), 0.15) 100%);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
}
.img-gradient-overlay:hover::after {
    opacity: 1;
}

/* ========================================
   SECTION WITH NOISE TEXTURE
   ======================================== */

.noise-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   RIPPLE RADAR (scanning circle)
   ======================================== */

.ripple-radar {
    position: relative;
}
.ripple-radar::before,
.ripple-radar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    transform: translate(-50%, -50%) scale(1);
    animation: ripple-radar 2s ease-out infinite;
}
.ripple-radar::after {
    animation-delay: 1s;
}
@keyframes ripple-radar {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* ========================================
   SPOTLIGHT EFFECT ON HOVER
   ======================================== */

.spotlight-hover {
    position: relative;
    overflow: hidden;
}
.spotlight-hover::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--gold-rgb), 0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.spotlight-hover:hover::before {
    opacity: 1;
}

/* ========================================
   CONFETTI ANIMATION ENHANCED
   ======================================== */

.confetti-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.confetti-piece-enhanced {
    position: absolute;
    width: 8px;
    height: 8px;
    top: -10px;
    animation: confetti-fall-enhanced var(--fall-duration, 3s) ease-in var(--fall-delay, 0s) infinite;
}
@keyframes confetti-fall-enhanced {
    0% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
    100% { opacity: 0; transform: translateY(400px) rotate(720deg) scale(0.3); }
}

/* ========================================
   PROGRESS CARD
   ======================================== */

.progress-card {
    position: relative;
    overflow: hidden;
}
.progress-card .progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), #e8d5b7);
    transition: width 1.5s var(--ease-out);
}

/* ========================================
   NOTIFICATION DOT PULSE
   ======================================== */

.notif-dot {
    position: relative;
    display: inline-flex;
}
.notif-dot::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: notif-pulse 2s infinite;
}
@keyframes notif-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ========================================
   INPUT WITH ICON INSIDE
   ======================================== */

.input-icon-wrap {
    position: relative;
}
.input-icon-wrap .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    pointer-events: none;
    transition: color 0.3s var(--ease-out);
}
.input-icon-wrap .input-with-icon {
    padding-left: 40px;
}
.input-icon-wrap:focus-within .input-icon {
    color: var(--gold);
}

/* ========================================
   TAB ANIMATION
   ======================================== */

.tab-animated .nav-link {
    position: relative;
    transition: color 0.3s var(--ease-out);
}
.tab-animated .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s var(--ease-out);
    transform: translateX(-50%);
}
.tab-animated .nav-link:hover::after,
.tab-animated .nav-link.active::after {
    width: 60%;
}

/* ========================================
   SKELETON CARD
   ======================================== */

.skeleton-card {
    border-radius: 12px;
    overflow: hidden;
}
.skeleton-card .skeleton-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.8s ease-in-out infinite;
}
.skeleton-card .skeleton-line {
    height: 12px;
    margin: 12px 16px 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.8s ease-in-out infinite;
}
.skeleton-card .skeleton-line.short { width: 60%; }
.skeleton-card .skeleton-line:last-child { margin-bottom: 16px; }

/* ========================================
   CARD WITH TOP GRADIENT BAR
   ======================================== */

.card-accent-top {
    position: relative;
    border-top: 3px solid transparent;
    background-clip: padding-box;
}
.card-accent-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), #e8d5b7, var(--gold));
    border-radius: 0 0 3px 3px;
}

/* ========================================
   GROUPED FORM WITH SEPARATORS
   ======================================== */

.form-grouped .form-group-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 0;
    transition: background 0.2s var(--ease-out), padding-left 0.2s var(--ease-out);
}
.form-grouped .form-group-item:last-child {
    border-bottom: none;
}
.form-grouped .form-group-item:hover {
    background: rgba(var(--gold-rgb), 0.02);
    padding-left: 8px;
}

/* ========================================
   3D PERSPECTIVE CONTAINER
   ======================================== */

.perspective-3d {
    perspective: 1200px;
}
.perspective-3d > * {
    transition: transform 0.5s var(--ease-out);
    transform-style: preserve-3d;
}
.perspective-3d:hover > * {
    transform: rotateX(3deg) rotateY(3deg);
}

/* ========================================
   GLOW BORDER ON FOCUS
   ======================================== */

.glow-border-focus {
    transition: box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.glow-border-focus:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.15), 0 0 20px rgba(var(--gold-rgb), 0.08);
}

/* ========================================
   BUTTON WITH ARROW ANIMATION
   ======================================== */

.btn-arrow-anim {
    position: relative;
    overflow: hidden;
}
.btn-arrow-anim i {
    transition: transform 0.3s var(--ease-out);
    display: inline-block;
}
.btn-arrow-anim:hover i {
    transform: translateX(4px);
}
.btn-arrow-anim .btn-bg-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s var(--ease-out);
}
.btn-arrow-anim:hover .btn-bg-shimmer {
    left: 100%;
}

/* ========================================
   LOADING SPINNER ENHANCED
   ======================================== */

.spinner-enhanced {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(var(--gold-rgb), 0.15);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* ========================================
   BREADCRUMB WITH ARROW
   ======================================== */

.breadcrumb-arrow .breadcrumb-item + .breadcrumb-item::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--gold);
    font-size: 10px;
}

/* ========================================
   SECTION WITH GRADIENT LINE
   ======================================== */

.section-gradient-line {
    position: relative;
}
.section-gradient-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ========================================
   SUBTLE SHAKE ON ERROR
   ======================================== */

.shake-error {
    animation: shake 0.4s var(--ease-out);
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* ========================================
   MENU ITEM SLIDE INDICATOR
   ======================================== */

.menu-slide-indicator {
    position: relative;
}
.menu-slide-indicator > li > a {
    position: relative;
    overflow: hidden;
}
.menu-slide-indicator > li > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gold);
    transform: translateX(-100%);
    transition: transform 0.3s var(--ease-out);
    border-radius: 0 3px 3px 0;
}
.menu-slide-indicator > li > a:hover::before,
.menu-slide-indicator > li.active > a::before {
    transform: translateX(0);
}

/* ========================================
   CARD FLOATING SHADOW
   ======================================== */

.card-float-shadow {
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.card-float-shadow:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08), 0 10px 20px rgba(0,0,0,0.04);
}

/* ========================================
   BORDER DASH ANIMATION
   ======================================== */

.border-dash-anim {
    border: 1px dashed rgba(var(--gold-rgb), 0.3);
    animation: border-dash 1s linear infinite;
}
@keyframes border-dash {
    to { border-color: rgba(var(--gold-rgb), 0.6); }
}

/* ========================================
   PULSE DOT (live indicator)
   ======================================== */

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    position: relative;
}
.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #22c55e;
    animation: pulse-ring 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* ========================================
   OVERLAY GRADIENT VARIATIONS
   ======================================== */

.overlay-dark-top {
    background: linear-gradient(to top, transparent 40%, rgba(0,0,0,0.7) 100%);
}
.overlay-dark-bottom {
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.7) 100%);
}
.overlay-gold-top {
    background: linear-gradient(to top, transparent 40%, rgba(var(--gold-rgb), 0.2) 100%);
}

/* ========================================
   RESPONSIVE FONT SCALING
   ======================================== */

.text-fluid {
    font-size: clamp(0.875rem, 2vw, 1.25rem);
}
.text-fluid-lg {
    font-size: clamp(1.5rem, 4vw, 3rem);
}
.text-fluid-xl {
    font-size: clamp(2rem, 6vw, 5rem);
}

/* ========================================
   BORDER GRADIENT ANIMATED
   ======================================== */

.border-gradient-anim {
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}
.border-gradient-anim::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(from var(--angle, 0deg), var(--gold), #e8d5b7, var(--gold), #b8955e, var(--gold));
    animation: border-gradient-spin 3s linear infinite;
    z-index: -1;
}
@keyframes border-gradient-spin {
    to { --angle: 360deg; }
}
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* ========================================
   CARD STACK EFFECT
   ======================================== */

.card-stack {
    position: relative;
}
.card-stack .card-stack-item {
    position: relative;
    transition: transform 0.4s var(--ease-out);
}
.card-stack .card-stack-item:hover {
    transform: translateY(-4px) scale(1.01);
}
.card-stack .card-stack-item:not(:last-child) {
    margin-bottom: -30px;
}
.card-stack .card-stack-item:not(:last-child):hover {
    margin-bottom: 0;
}

/* ========================================
   IMAGE GALLERY WITH ZOOM LENS
   ======================================== */

.img-zoom-lens {
    position: relative;
    overflow: hidden;
    cursor: crosshair;
}
.img-zoom-lens img {
    transition: transform 0.4s var(--ease-out);
}
.img-zoom-lens:hover img {
    transform: scale(1.5);
}

/* ========================================
   CARD WITH ROTATING BORDER
   ======================================== */

.card-rotate-border {
    position: relative;
    overflow: hidden;
}
.card-rotate-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background: conic-gradient(transparent, var(--gold), transparent 30%, transparent 70%, var(--gold), transparent);
    animation: shimmer-rotate 4s linear infinite;
    border-radius: inherit;
    z-index: -1;
}
.card-rotate-border::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
}

/* ========================================
   CUSTOM SCROLLBAR GLOBAL
   ======================================== */

.custom-scrollbar::-webkit-scrollbar { width: 5px; height: 5px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(var(--gold-rgb), 0.3); border-radius: 10px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(var(--gold-rgb), 0.5); }

/* ========================================
   MODERN MESH GRADIENT BACKGROUNDS
   ======================================== */

.bg-mesh-gold {
    background:
        radial-gradient(ellipse 80% 60% at 0% 20%, rgba(var(--gold-rgb), 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 100% 80%, rgba(var(--gold-rgb), 0.08) 0%, transparent 50%),
        var(--bg-main, #fafafa);
}
.bg-mesh-dark {
    background:
        radial-gradient(ellipse 70% 50% at 10% 30%, rgba(var(--gold-rgb), 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 90% 70%, rgba(255,255,255,0.03) 0%, transparent 50%),
        var(--dark, #0d0d0d);
}
.bg-mesh-soft {
    background:
        radial-gradient(ellipse 60% 40% at 20% 10%, rgba(var(--gold-rgb), 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 80% 90%, rgba(var(--gold-rgb), 0.04) 0%, transparent 50%),
        #fff;
}

/* ========================================
   GLASSMORPHISM NAVIGATION
   ======================================== */

.nav-glass {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.nav-glass-dark {
    background: rgba(13, 13, 13, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ========================================
   CUSTOM CHECKBOXES & RADIOS
   ======================================== */

.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: all 0.25s var(--ease-out);
    flex-shrink: 0;
}
.custom-checkbox:checked {
    background: var(--gold);
    border-color: var(--gold);
}
.custom-checkbox:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 10px;
}
.custom-checkbox:focus-visible {
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.2);
}
.custom-radio {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: all 0.25s var(--ease-out);
    flex-shrink: 0;
}
.custom-radio:checked {
    border-color: var(--gold);
}
.custom-radio:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    animation: radio-pop 0.25s var(--ease-bounce);
}
@keyframes radio-pop {
    0% { transform: translate(-50%, -50%) scale(0); }
    100% { transform: translate(-50%, -50%) scale(1); }
}
.custom-radio:focus-visible {
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.2);
}

/* Switch toggle */
.toggle-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
}
.toggle-switch input {
    appearance: none;
    -webkit-appearance: none;
    width: 44px;
    height: 24px;
    background: #ddd;
    border-radius: 12px;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: background 0.3s var(--ease-out);
    flex-shrink: 0;
}
.toggle-switch input::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s var(--ease-out);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.toggle-switch input:checked {
    background: var(--gold);
}
.toggle-switch input:checked::after {
    transform: translateX(20px);
}

/* ========================================
   CUSTOM RANGE SLIDER
   ======================================== */

.range-slider-custom {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}
.range-slider-custom::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--gold);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
    box-shadow: 0 2px 6px rgba(var(--gold-rgb), 0.3);
}
.range-slider-custom::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(var(--gold-rgb), 0.4);
}
.range-slider-custom::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--gold);
    border-radius: 50%;
    border: none;
    cursor: pointer;
}
.range-slider-custom:focus-visible {
    outline: 2px solid rgba(var(--gold-rgb), 0.3);
}

/* ========================================
   3D PERSPECTIVE CARD (enhanced)
   ======================================== */

.perspective-card {
    perspective: 800px;
    cursor: pointer;
}
.perspective-card .perspective-inner {
    transition: transform 0.5s var(--ease-out);
    transform-style: preserve-3d;
    will-change: transform;
}
.perspective-card:hover .perspective-inner {
    transform: rotateX(5deg) rotateY(5deg);
}
.perspective-card .perspective-shadow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
    pointer-events: none;
}
.perspective-card:hover .perspective-shadow {
    opacity: 1;
}

/* ========================================
   RIPPLE ON ANY ELEMENT
   ======================================== */

.ripple-effect {
    position: relative;
    overflow: hidden;
}
.ripple-effect .ripple-wave {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: scale(0);
    animation: ripple-wave 0.6s linear;
    pointer-events: none;
}
@keyframes ripple-wave {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ========================================
   PAGE TRANSITION LOADER
   ======================================== */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 30%, #e8d5b7, var(--gold) 70%);
    background-size: 200% 100%;
    animation: loader-progress 2s ease infinite;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.page-loader.loading {
    opacity: 1;
}
@keyframes loader-progress {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   MOBILE MENU OVERLAY
   ======================================== */

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}
.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    transition: left 0.4s var(--ease-out);
    box-shadow: 0 0 60px rgba(0,0,0,0.1);
    overflow-y: auto;
}
.mobile-menu-panel.active {
    left: 0;
}

/* ========================================
   BUTTON MODERN VARIANTS
   ======================================== */

.btn-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    overflow: hidden;
    text-decoration: none;
}
.btn-modern-primary {
    background: linear-gradient(135deg, var(--gold), #b8955e);
    color: #fff;
    box-shadow: 0 4px 15px rgba(var(--gold-rgb), 0.25);
}
.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--gold-rgb), 0.35);
    color: #fff;
}
.btn-modern-dark {
    background: var(--dark);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-modern-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    color: #fff;
}
.btn-modern-outline {
    background: transparent;
    color: var(--text-main);
    border: 2px solid rgba(var(--gold-rgb), 0.3);
}
.btn-modern-outline:hover {
    border-color: var(--gold);
    background: rgba(var(--gold-rgb), 0.05);
    transform: translateY(-2px);
}
.btn-modern-white {
    background: #fff;
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.btn-modern-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    color: var(--dark);
}

/* ========================================
   FOCUS RING ACCESSIBILITY
   ======================================== */

.focus-ring:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .stagger-children > *,
    .section-entrance {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ========================================
   IMAGE SPLIT REVEAL
   ======================================== */

.img-split-reveal {
    position: relative;
    overflow: hidden;
}
.img-split-reveal img {
    opacity: 0;
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    transform: scale(1.05);
}
.img-split-reveal.revealed img {
    opacity: 1;
    transform: scale(1);
}
.img-split-reveal::before,
.img-split-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: var(--light-gray, #f5f5f5);
    z-index: 1;
    transition: transform 0.8s var(--ease-out);
}
.img-split-reveal::before { left: 0; transform-origin: left; }
.img-split-reveal::after { right: 0; transform-origin: right; }
.img-split-reveal.revealed::before { transform: scaleX(0); }
.img-split-reveal.revealed::after { transform: scaleX(0); }

/* ========================================
   PARALLAX DEPTH LAYERS
   ======================================== */

.parallax-depth {
    perspective: 1px;
    overflow-x: hidden;
    overflow-y: auto;
}
.parallax-depth .parallax-layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.parallax-depth .parallax-layer-base { transform: translateZ(0); }
.parallax-depth .parallax-layer-back { transform: translateZ(-1px) scale(2); }
.parallax-depth .parallax-layer-deep { transform: translateZ(-2px) scale(3); }

/* ========================================
   ANIMATED GRADIENT TEXT VARIANTS
   ======================================== */

.gradient-text-gold {
    background: linear-gradient(135deg, var(--gold), #e8d5b7, #f5e6d3, var(--gold));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}
.gradient-text-warm {
    background: linear-gradient(135deg, #c8a97e, #e8b87e, #f0c8a0);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}
.gradient-text-cool {
    background: linear-gradient(135deg, #a8c8e8, #7ea8d0, #a8c8e8);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

/* ========================================
   MODERN GRID BACKGROUND
   ======================================== */

.bg-grid-subtle {
    background-image:
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.bg-grid-gold {
    background-image:
        linear-gradient(rgba(var(--gold-rgb), 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--gold-rgb), 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ========================================
   WAVY DIVIDER
   ======================================== */

.wavy-divider {
    position: relative;
    height: 60px;
    overflow: hidden;
}
.wavy-divider svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
   GLOW ON SCROLL
   ======================================== */

.glow-scroll {
    transition: box-shadow 0.8s var(--ease-out), opacity 0.8s var(--ease-out);
    box-shadow: 0 0 0 transparent;
}
.glow-scroll.visible {
    box-shadow: 0 0 40px rgba(var(--gold-rgb), 0.06), 0 0 80px rgba(var(--gold-rgb), 0.03);
}

/* ========================================
   MORPHING SEARCH BAR
   ======================================== */

.search-morph {
    position: relative;
    width: 40px;
    height: 40px;
    transition: width 0.4s var(--ease-out);
}
.search-morph:focus-within {
    width: 280px;
}
.search-morph input {
    width: 100%;
    height: 100%;
    padding: 0 14px 0 44px;
    border: 1px solid #eee;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    opacity: 0;
    pointer-events: none;
}
.search-morph:focus-within input {
    opacity: 1;
    pointer-events: auto;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.08);
}
.search-morph .search-morph-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    z-index: 1;
    transition: color 0.3s;
    pointer-events: none;
}
.search-morph:focus-within .search-morph-icon {
    color: var(--gold);
}

/* ========================================
   TOAST NOTIFICATION SLIDE
   ======================================== */

.toast-slide {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
    opacity: 0;
}
.toast-slide.show {
    transform: translateX(0);
    opacity: 1;
}
.toast-slide .toast-inner {
    background: #fff;
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
}
.toast-slide .toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.toast-slide .toast-icon.success { background: rgba(34,197,94,0.1); color: #166534; }
.toast-slide .toast-icon.error { background: rgba(239,68,68,0.1); color: #991b1b; }
.toast-slide .toast-icon.info { background: rgba(var(--gold-rgb), 0.1); color: #8b7340; }
.toast-slide .toast-content .toast-title {
    font-weight: 700;
    font-size: 14px;
}
.toast-slide .toast-content .toast-desc {
    font-size: 12px;
    color: #888;
}

/* ========================================
   BADGE COUNT (animated counter)
   ======================================== */

.badge-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 10px;
    line-height: 1;
    animation: badge-count-pop 0.4s var(--ease-bounce);
}
@keyframes badge-count-pop {
    0% { transform: scale(0); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ========================================
   MODERN STATUS INDICATORS
   ======================================== */

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
}
.status-dot.online { background: #22c55e; }
.status-dot.offline { background: #ef4444; }
.status-dot.away { background: #f59e0b; }
.status-dot.busy { background: #ef4444; }
.status-dot.online::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(34,197,94,0.3);
    animation: status-pulse 2s infinite;
}

/* ========================================
   TIMELINE MODERN
   ======================================== */

.timeline-modern {
    position: relative;
    padding-left: 30px;
}
.timeline-modern::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}
.timeline-modern .timeline-item {
    position: relative;
    padding-bottom: 24px;
}
.timeline-modern .timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px rgba(var(--gold-rgb), 0.2);
}
.timeline-modern .timeline-item .timeline-time {
    font-size: 11px;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.timeline-modern .timeline-item .timeline-title {
    font-weight: 600;
    margin: 2px 0;
}
.timeline-modern .timeline-item .timeline-desc {
    font-size: 13px;
    color: #777;
}

/* ========================================
   AVATAR GROUP (stacked)
   ======================================== */

.avatar-group {
    display: flex;
    align-items: center;
}
.avatar-group .avatar-item {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
    object-fit: cover;
    transition: transform 0.3s var(--ease-out);
    cursor: pointer;
}
.avatar-group .avatar-item:first-child { margin-left: 0; }
.avatar-group .avatar-item:hover {
    transform: translateY(-3px);
    z-index: 1;
}
.avatar-group .avatar-more {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #888;
}

/* ========================================
   SKELETON LOADER ENHANCED
   ======================================== */

.skeleton-modern {
    background: linear-gradient(
        90deg,
        #f0f0f0 25%,
        #fafafa 37%,
        #f0f0f0 63%
    );
    background-size: 400% 100%;
    animation: skeleton-shine 1.4s ease infinite;
    border-radius: 8px;
}
@keyframes skeleton-shine {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* ========================================
   PAGE LOADER WITH LOGO
   ======================================== */

.page-loader-logo {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s var(--ease-out);
}
.page-loader-logo.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.page-loader-logo .loader-logo {
    max-width: 120px;
    margin-bottom: 20px;
    animation: loader-logo-pulse 1.5s ease-in-out infinite;
}
@keyframes loader-logo-pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
}
.page-loader-logo .loader-bar {
    width: 200px;
    height: 3px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}
.page-loader-logo .loader-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #e8d5b7);
    border-radius: 3px;
    animation: loader-bar-move 1.2s ease-in-out infinite;
}
@keyframes loader-bar-move {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* ========================================
   MASONRY GRID
   ======================================== */

.masonry-grid {
    columns: 3;
    column-gap: 20px;
}
.masonry-grid .masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
}
@media (max-width: 992px) { .masonry-grid { columns: 2; } }
@media (max-width: 576px) { .masonry-grid { columns: 1; } }

/* ========================================
   CARD WITH IMAGE BACKGROUND
   ======================================== */

.card-img-bg {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
}
.card-img-bg .card-bg-img {
    position: absolute;
    inset: 0;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.card-img-bg:hover .card-bg-img {
    transform: scale(1.08);
}
.card-img-bg .card-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}
.card-img-bg .card-bg-content {
    position: relative;
    z-index: 1;
    padding: 30px;
    color: #fff;
    width: 100%;
}
.card-img-bg .card-bg-content .card-bg-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}
.card-img-bg .card-bg-content .card-bg-text {
    font-size: 13px;
    opacity: 0.8;
}

/* ========================================
   COUNTER BOX
   ======================================== */

.counter-box {
    text-align: center;
    padding: 20px;
}
.counter-box .counter-number {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--gold), #e8d5b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.counter-box .counter-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-top: 6px;
}

/* ========================================
   BORDERLESS TABLE
   ======================================== */

.table-borderless-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
}
.table-borderless-modern td,
.table-borderless-modern th {
    padding: 12px 16px;
    background: #fff;
}
.table-borderless-modern tr td:first-child {
    border-radius: 10px 0 0 10px;
}
.table-borderless-modern tr td:last-child {
    border-radius: 0 10px 10px 0;
}
.table-borderless-modern tr:hover td {
    background: rgba(var(--gold-rgb), 0.03);
}

/* ========================================
   FEATURE CARD WITH ICON
   ======================================== */

.feature-card-icon {
    text-align: center;
    padding: 32px 20px;
    border-radius: 16px;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    background: #fff;
}
.feature-card-icon:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.feature-card-icon .feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
    background: rgba(var(--gold-rgb), 0.08);
    color: var(--gold);
    transition: transform 0.4s var(--ease-out), background 0.4s var(--ease-out);
}
.feature-card-icon:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    background: rgba(var(--gold-rgb), 0.15);
}
.feature-card-icon .feature-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 6px;
}
.feature-card-icon .feature-desc {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* ========================================
   DARK MODE UTILITIES
   ======================================== */

.dark-mode-vars {
    --bg-main: #1a1a1a;
    --text-main: #e0e0e0;
    --text-muted: #999;
    --light-gray: #2a2a2a;
    --medium-gray: #3a3a3a;
}

/* ========================================
   STATUS BADGE MODERN
   ======================================== */

.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}
.badge-modern-success {
    background: rgba(34,197,94,0.1);
    color: #166534;
}
.badge-modern-danger {
    background: rgba(239,68,68,0.1);
    color: #991b1b;
}
.badge-modern-warning {
    background: rgba(234,179,8,0.1);
    color: #854d0e;
}
.badge-modern-info {
    background: rgba(59,130,246,0.1);
    color: #1e40af;
}
.badge-modern-gold {
    background: rgba(var(--gold-rgb), 0.12);
    color: #8b7340;
}

/* ========================================
   DIVIDER WITH TEXT
   ======================================== */

.divider-text {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #bbb;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), 0.2), transparent);
}

/* ========================================
   STEPPER / PROGRESS STEPS
   ======================================== */

.stepper-modern {
    display: flex;
    align-items: flex-start;
    gap: 0;
}
.stepper-modern .step {
    flex: 1;
    text-align: center;
    position: relative;
}
.stepper-modern .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}
.stepper-modern .step.completed:not(:last-child)::after {
    background: var(--gold);
}
.stepper-modern .step .step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    margin: 0 auto 8px;
    position: relative;
    z-index: 1;
    background: #e0e0e0;
    color: #fff;
    transition: all 0.3s var(--ease-out);
}
.stepper-modern .step.active .step-circle,
.stepper-modern .step.completed .step-circle {
    background: var(--gold);
}
.stepper-modern .step .step-label {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    transition: color 0.3s;
}
.stepper-modern .step.active .step-label,
.stepper-modern .step.completed .step-label {
    color: var(--text-main);
}
