/* iCare Main Frontend - Premium Styling */
@keyframes spin-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.animate-spin-reverse {
    animation: spin-reverse linear infinite;
}

:root {
    --luxury-gold: #c9a962;
    --luxury-dark: #0a0a0a;
    --luxury-card: #141414;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #c9a962;
    border-radius: 4px;
}

/* Glass Morphism */
.glass {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-dark {
    background: rgba(10, 10, 10, 0.4);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Gold Text Gradient */
.text-gold-gradient {
    background: linear-gradient(135deg, #c9a962 0%, #f0d878 50%, #c9a962 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow Effects */
.glow-gold {
    box-shadow: 0 0 30px rgba(201, 169, 98, 0.3);
}

.glow-gold-hover:hover {
    box-shadow: 0 0 40px rgba(201, 169, 98, 0.5);
}

/* Animated Border */
.border-gradient {
    position: relative;
    background: linear-gradient(135deg, #141414 0%, #1a1a2e 100%);
    border-radius: 16px;
}

.border-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, #c9a962 0%, transparent 50%, #c9a962 100%);
    -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;
}

/* Card Hover Effects */
.card-luxury {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-luxury:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(201, 169, 98, 0.25);
}

/* Button Styles */
.btn-luxury {
    background: linear-gradient(135deg, #c9a962 0%, #f0d878 50%, #c9a962 100%);
    color: #0a0a0a;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.btn-luxury:hover::before {
    left: 100%;
}

.btn-outline-luxury {
    border: 2px solid #c9a962;
    color: #c9a962;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-luxury:hover {
    background: #c9a962;
    color: #0a0a0a;
}

/* Navigation Hover */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c9a962, #f0d878);
    transition: width 0.3s ease;
}

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

/* Loading Animation */
.shimmer {
    background: linear-gradient(90deg, #141414 0%, #262626 50%, #141414 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

/* Floating Animation */
.float {
    animation: float 6s ease-in-out infinite;
}

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

/* Pulse Glow */
.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(201, 169, 98, 0.3); }
    50% { box-shadow: 0 0 40px rgba(201, 169, 98, 0.6); }
}

/* Text Reveal Animation */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-text.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo Utility - Only invert in dark mode */
[data-theme="dark"] .logo-light { filter: brightness(0) invert(1); }

/* Global Separator Utility */
.separator-gold-bottom {
    position: relative;
}

.separator-gold-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--luxury-gold), transparent);
    opacity: 0.6;
    z-index: 20;
}

.separator-gold-glow::after {
    box-shadow: 0 0 15px var(--luxury-gold);
}