/* ============================================
   PREMIUM DESIGN SYSTEM - BLUE THEME (DEFAULT)
   ============================================ */
:root {
    /* Blue Color Palette */
    --color-primary: #2563eb;
    --color-primary-light: #3b82f6;
    --color-primary-dark: #1d4ed8;
    --color-primary-darker: #1e40af;
    --color-accent: #f59e0b;
    --color-accent-dark: #d97706;

    /* Blue Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    --gradient-primary-hover: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    --gradient-accent: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --gradient-hero: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(29, 78, 216, 0.8) 100%);

    /* Enhanced Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-strong: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: 24px;

    /* Dramatic Shadows - Blue */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 35px 60px -15px rgba(0, 0, 0, 0.35);
    --shadow-glow-primary: 0 0 40px rgba(59, 130, 246, 0.4), 0 0 80px rgba(59, 130, 246, 0.2);
    --shadow-glow-accent: 0 0 40px rgba(245, 158, 11, 0.4);

    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4.5rem;

    /* Spacing Scale */
    --space-section: 6rem;
    --space-section-lg: 8rem;
}

/* ============================================
   ADVENTURE / RUSTIC THEME (Emerald)
   Nuansa petualangan outdoor, earth tones,
   rugged & natural, solid borders
   ============================================ */
[data-theme="emerald"] {
    /* Adventure Color Palette - Earth Tones */
    --color-primary: #166534;
    /* Forest Green */
    --color-primary-light: #22c55e;
    /* Bright Green */
    --color-primary-dark: #14532d;
    /* Deep Forest */
    --color-primary-darker: #052e16;
    /* Darkest Forest */

    /* Secondary - Earth/Wood Tones */
    --color-accent: #b45309;
    /* Amber/Wood */
    --color-accent-dark: #92400e;
    /* Dark Amber */
    --color-earth: #78350f;
    /* Brown Earth */
    --color-sand: #fef3c7;
    /* Sandy Beige */

    /* Emerald Gradients - Smooth and elegant */
    --gradient-primary: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #166534 100%);
    --gradient-primary-hover: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
    --gradient-hero: linear-gradient(135deg, rgba(22, 101, 52, 0.85) 0%, rgba(16, 163, 74, 0.75) 100%);
    --gradient-earth: linear-gradient(135deg, #166534 0%, #10b981 100%);

    /* Glassmorphism Shadows - Soft and glowing */
    --shadow-sm: 0 4px 6px -1px rgba(22, 163, 74, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 25px -5px rgba(22, 163, 74, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(22, 163, 74, 0.25);
    --shadow-xl: 0 35px 60px -15px rgba(22, 163, 74, 0.3);
    --shadow-glow-primary: 0 0 40px rgba(34, 197, 94, 0.4), 0 0 80px rgba(34, 197, 94, 0.2);

    /* Typography */
    --font-weight-heading: 700;

    /* Borders - Subtle glass borders */
    --border-width: 1px;
    --border-radius-sm: 0.75rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 1.5rem;
    --border-radius-xl: 2rem;

    /* GLASSMORPHISM ENABLED */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-strong: rgba(255, 255, 255, 0.85);
    --glass-blur: 24px;
}

/* Adventure Theme - Override Tailwind Classes with Forest Green */
[data-theme="emerald"] .bg-primary-50 {
    background-color: #f0fdf4 !important;
}

[data-theme="emerald"] .bg-primary-100 {
    background-color: #dcfce7 !important;
}

[data-theme="emerald"] .bg-primary-200 {
    background-color: #bbf7d0 !important;
}

[data-theme="emerald"] .bg-primary-300 {
    background-color: #86efac !important;
}

[data-theme="emerald"] .bg-primary-400 {
    background-color: #4ade80 !important;
}

[data-theme="emerald"] .bg-primary-500 {
    background-color: #22c55e !important;
}

[data-theme="emerald"] .bg-primary-600 {
    background-color: #166534 !important;
}

[data-theme="emerald"] .bg-primary-700 {
    background-color: #14532d !important;
}

[data-theme="emerald"] .bg-primary-800 {
    background-color: #052e16 !important;
}

[data-theme="emerald"] .bg-primary-900 {
    background-color: #052e16 !important;
}

[data-theme="emerald"] .text-primary-50 {
    color: #f0fdf4 !important;
}

[data-theme="emerald"] .text-primary-100 {
    color: #dcfce7 !important;
}

[data-theme="emerald"] .text-primary-200 {
    color: #bbf7d0 !important;
}

[data-theme="emerald"] .text-primary-300 {
    color: #86efac !important;
}

[data-theme="emerald"] .text-primary-400 {
    color: #4ade80 !important;
}

[data-theme="emerald"] .text-primary-500 {
    color: #22c55e !important;
}

[data-theme="emerald"] .text-primary-600 {
    color: #166534 !important;
}

[data-theme="emerald"] .text-primary-700 {
    color: #14532d !important;
}

[data-theme="emerald"] .text-primary-800 {
    color: #052e16 !important;
}

[data-theme="emerald"] .text-primary-900 {
    color: #052e16 !important;
}

[data-theme="emerald"] .border-primary-400 {
    border-color: #4ade80 !important;
}

[data-theme="emerald"] .border-primary-500 {
    border-color: #22c55e !important;
}

[data-theme="emerald"] .border-primary-600 {
    border-color: #166534 !important;
}

[data-theme="emerald"] .from-primary-300 {
    --tw-gradient-from: #86efac !important;
}

[data-theme="emerald"] .from-primary-400 {
    --tw-gradient-from: #4ade80 !important;
}

[data-theme="emerald"] .from-primary-500 {
    --tw-gradient-from: #22c55e !important;
}

[data-theme="emerald"] .from-primary-600 {
    --tw-gradient-from: #166534 !important;
}

[data-theme="emerald"] .from-primary-700 {
    --tw-gradient-from: #14532d !important;
}

[data-theme="emerald"] .from-primary-800 {
    --tw-gradient-from: #052e16 !important;
}

[data-theme="emerald"] .from-primary-900 {
    --tw-gradient-from: #052e16 !important;
}

[data-theme="emerald"] .via-primary-400 {
    --tw-gradient-stops: var(--tw-gradient-from), #4ade80, var(--tw-gradient-to) !important;
}

[data-theme="emerald"] .via-primary-700 {
    --tw-gradient-stops: var(--tw-gradient-from), #14532d, var(--tw-gradient-to) !important;
}

[data-theme="emerald"] .via-primary-900 {
    --tw-gradient-stops: var(--tw-gradient-from), #052e16, var(--tw-gradient-to) !important;
}

[data-theme="emerald"] .to-primary-400 {
    --tw-gradient-to: #4ade80 !important;
}

[data-theme="emerald"] .to-primary-600 {
    --tw-gradient-to: #166534 !important;
}

[data-theme="emerald"] .to-primary-700 {
    --tw-gradient-to: #14532d !important;
}

[data-theme="emerald"] .to-primary-800 {
    --tw-gradient-to: #052e16 !important;
}

[data-theme="emerald"] .shadow-primary-500\/30 {
    --tw-shadow-color: rgba(22, 101, 52, 0.3) !important;
}

[data-theme="emerald"] .shadow-primary-500\/40 {
    --tw-shadow-color: rgba(22, 101, 52, 0.4) !important;
}

[data-theme="emerald"] .shadow-primary-500\/50 {
    --tw-shadow-color: rgba(22, 101, 52, 0.5) !important;
}

[data-theme="emerald"] .hover\:bg-primary-600:hover {
    background-color: #166534 !important;
}

[data-theme="emerald"] .hover\:bg-primary-700:hover {
    background-color: #14532d !important;
}

[data-theme="emerald"] .hover\:text-primary-600:hover {
    color: #166534 !important;
}

[data-theme="emerald"] .hover\:text-primary-700:hover {
    color: #14532d !important;
}

[data-theme="emerald"] .hover\:text-primary-700:hover {
    color: #047857 !important;
}

[data-theme="emerald"] .hover\:border-primary-500:hover {
    border-color: #10b981 !important;
}

[data-theme="emerald"] .focus\:border-primary-400:focus {
    border-color: #34d399 !important;
}

[data-theme="emerald"] .focus\:border-primary-500:focus {
    border-color: #10b981 !important;
}

[data-theme="emerald"] .focus\:ring-primary-400\/20:focus {
    --tw-ring-color: rgba(52, 211, 153, 0.2) !important;
}

[data-theme="emerald"] .focus\:ring-primary-500\/20:focus {
    --tw-ring-color: rgba(16, 185, 129, 0.2) !important;
}

/* Hero overlay for Adventure Theme */
[data-theme="emerald"] .from-slate-900\/95 {
    --tw-gradient-from: rgba(5, 46, 22, 0.95) !important;
    /* Darker forest */
}

[data-theme="emerald"] .via-primary-900\/70 {
    --tw-gradient-stops: var(--tw-gradient-from), rgba(20, 83, 45, 0.8), var(--tw-gradient-to) !important;
}

/* ============================================
   EMERALD THEME - GLASSMORPHISM STYLE OVERRIDES
   Modern, elegant, with glass effects
   ============================================ */

/* Button premium - Glassmorphism Style */
[data-theme="emerald"] .btn-premium-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #166534 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 9999px !important;
    box-shadow: 0 8px 30px -8px rgba(34, 197, 94, 0.6),
        0 4px 10px -4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

[data-theme="emerald"] .btn-premium-primary:hover {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%) !important;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 50px -10px rgba(34, 197, 94, 0.7),
        0 8px 20px -8px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(34, 197, 94, 0.4),
        0 0 80px rgba(34, 197, 94, 0.2) !important;
}

[data-theme="emerald"] .btn-premium-outline {
    color: #16a34a !important;
    border: 2px solid #16a34a !important;
    border-radius: 9999px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

[data-theme="emerald"] .btn-premium-outline:hover {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    color: white !important;
    border-color: transparent !important;
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4) !important;
}

/* Text gradient for Emerald */
[data-theme="emerald"] .text-gradient {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 30%, #16a34a 70%, #166534 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Nav link - Emerald style */
[data-theme="emerald"] .nav-link::after {
    background: linear-gradient(90deg, #22c55e, #4ade80, #22c55e) !important;
    height: 2px !important;
    border-radius: 2px !important;
}

[data-theme="emerald"] .nav-link:hover {
    color: #16a34a !important;
}

/* Card - Glassmorphism style */
[data-theme="emerald"] .card-premium {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 1.5rem !important;
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
    box-shadow: 0 8px 32px rgba(22, 163, 74, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

[data-theme="emerald"] .card-premium:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 20px 50px rgba(22, 163, 74, 0.2), 0 0 40px rgba(34, 197, 94, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
    border-color: rgba(34, 197, 94, 0.4) !important;
    transform: translateY(-12px) scale(1.01) !important;
}

/* Glass elements - Full Glassmorphism */
[data-theme="emerald"] .glass {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(34, 197, 94, 0.25) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

[data-theme="emerald"] .glass-strong {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(30px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(200%) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), inset 0 2px 0 rgba(255, 255, 255, 0.5) !important;
}

[data-theme="emerald"] .glass-dark {
    background: rgba(22, 101, 52, 0.75) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Scrollbar - Emerald gradient */
[data-theme="emerald"] ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4ade80, #22c55e, #16a34a) !important;
    border-radius: 100px !important;
}

/* Badge Glassmorphism style */
[data-theme="emerald"] .badge-emerald {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9) 0%, rgba(22, 163, 74, 0.95) 100%) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Gold accent with glass effect */
[data-theme="emerald"] .badge-gold {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.95) 0%, rgba(245, 158, 11, 0.95) 100%) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Rounded corners - Smooth for glassmorphism */
[data-theme="emerald"] .rounded-3xl {
    border-radius: 1.5rem !important;
}

[data-theme="emerald"] .rounded-2xl {
    border-radius: 1.25rem !important;
}

[data-theme="emerald"] .rounded-xl {
    border-radius: 1rem !important;
}

[data-theme="emerald"] .rounded-full.btn-premium {
    border-radius: 9999px !important;
}

/* Navigation bar - Glassmorphism style */
[data-theme="emerald"] .nav-scrolled {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-bottom: 1px solid rgba(34, 197, 94, 0.2) !important;
    box-shadow: 0 8px 32px rgba(22, 163, 74, 0.1), inset 0 -1px 0 rgba(255, 255, 255, 0.5) !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Enhanced Typography */
.font-display {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.02em;
}

.font-sans {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

/* Strong Glass Morphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

.glass-strong {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-lg);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Navigation - More Prominent */
.nav-scrolled {
    background: var(--glass-bg-strong) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: #374151;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--gradient-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--color-primary);
    transform: translateY(-1px);
}

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

.nav-link:focus-visible {
    outline: none;
    background: rgba(59, 130, 246, 0.12);
    border-radius: 0.5rem;
}

/* Premium Buttons - DRAMATIS */
.btn-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.03em;
    border-radius: 9999px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    text-transform: uppercase;
}

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

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

.btn-premium-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 30px -8px rgba(59, 130, 246, 0.6),
        0 4px 10px -4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-premium-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 50px -10px rgba(59, 130, 246, 0.7),
        0 8px 20px -8px rgba(0, 0, 0, 0.3),
        var(--shadow-glow-primary);
}

.btn-premium-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.4),
        0 20px 50px -10px rgba(59, 130, 246, 0.6);
}

.btn-premium-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2.5px solid var(--color-primary);
}

.btn-premium-outline:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

.btn-premium-outline:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Animations */
@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 scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

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

    50% {
        transform: translateY(-10px);
    }
}

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-scale-in {
    animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.animate-delay-100 {
    animation-delay: 100ms;
}

.animate-delay-200 {
    animation-delay: 200ms;
}

.animate-delay-300 {
    animation-delay: 300ms;
}

.animate-delay-400 {
    animation-delay: 400ms;
}

/* Premium Card - DRAMATIC */
.card-premium {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-premium:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Gradient Text */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Gradient Overlay - BLUE */
.hero-overlay {
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(37, 99, 235, 0.4) 40%,
            rgba(0, 0, 0, 0.7) 100%);
}

/* Premium Badge - ENHANCED */
.badge-premium {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 9999px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.badge-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.badge-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.badge-emerald {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

/* Image Shine Effect */
.image-shine {
    position: relative;
    overflow: hidden;
}

.image-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.image-shine:hover::after {
    left: 100%;
}

/* Mobile Menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    border-radius: 4px;
}

/* Line Clamp Utilities */
.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Breadcrumb Styles */
.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-link {
    transition: all 0.2s ease;
}

.breadcrumb-link:hover {
    color: var(--color-primary);
}

.breadcrumb-current {
    color: var(--color-primary);
    font-weight: 500;
}


/* ============================================
   BUTTON LOADING STATES
   ============================================ */

/* Button Loading State */
.btn-loading {
    position: relative;
    pointer-events: none;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 1.25rem;
    height: 1.25rem;
    top: 50%;
    left: 50%;
    margin-left: -0.625rem;
    margin-top: -0.625rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Button with spinner icon */
.btn-spinner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-spinner .spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}

/* Content fade in */
.content-fade-in {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* ============================================
   INLINE LOADING INDICATORS
   ============================================ */

/* Dot loading animation */
.loading-dots {
    display: inline-flex;
    gap: 0.25rem;
}

.loading-dots span {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--color-primary);
    border-radius: 50%;
    animation: dot-bounce 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes dot-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Progress bar loading */
.loading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary), var(--color-primary-dark));
    background-size: 200% 100%;
    animation: progress-slide 1.5s ease-in-out infinite;
    z-index: 10000;
}

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

/* Image loaded animation */
.img-loaded {
    animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
