/* ==========================================================================
   SOVEX AURORA GLASS DESIGN SYSTEM v2.0
   Premium dark mode with glassmorphism and aurora gradient effects
   ========================================================================== */

/* --- 1. CORE VARIABLES --- */
:root {
    --bg-body: #09090b !important;
    --bg-card: #18181b !important;
    --bg-card-hover: #27272a !important;
    --border-color: #27272a !important;

    /* Aurora Palette */
    --primary: #a855f7 !important;
    --primary-alt: #ec4899 !important;
    --primary-hover: #9333ea !important;
    --primary-glow: rgba(168, 85, 247, 0.3);
    --secondary: #d946ef !important;

    --text-main: #f4f4f5 !important;
    --text-muted: #a1a1aa !important;
    --glass-bg: rgba(24, 24, 27, 0.7);
    --glass-border: rgba(255, 255, 255, 0.06);
}

/* --- 2. BASE STYLES & TYPOGRAPHY --- */
body {
    font-family: 'Inter', sans-serif !important;
    background-color: var(--bg-body) !important;
    color: var(--text-main) !important;
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: #3f3f46;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Typography Gradients */
.text-gradient {
    background: linear-gradient(135deg, #c084fc 0%, #f472b6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- 3. BUTTONS --- */
.btn-premium {
    background: linear-gradient(135deg, var(--primary), var(--primary-alt)) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px var(--primary-glow) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-premium:hover,
.btn-premium:active,
.btn-premium:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.btn-premium-outline {
    background: transparent !important;
    color: #c084fc !important;
    border: 1px solid rgba(168, 85, 247, 0.3) !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-premium-outline:hover {
    border-color: rgba(168, 85, 247, 0.5) !important;
    background: rgba(168, 85, 247, 0.1) !important;
    color: white !important;
    transform: translateY(-2px);
}

.btn-premium-white {
    background-color: var(--text-main) !important;
    color: var(--bg-body) !important;
    font-weight: 700 !important;
    padding: 14px 32px !important;
    border-radius: 10px !important;
    border: none !important;
    transition: all 0.3s !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-premium-white:hover {
    background-color: #e4e4e7 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.btn-discord {
    background-color: #5865F2 !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    transition: all 0.3s !important;
    padding: 12px 24px !important;
    border-radius: 10px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-discord:hover {
    background-color: #4752c4 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4) !important;
}

/* --- 4. CARDS & GLASSMORPHISM --- */
.premium-card {
    background: rgba(24, 24, 27, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.premium-card:hover {
    border-color: rgba(168, 85, 247, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 30px rgba(168, 85, 247, 0.05);
}

.premium-card:hover::before {
    opacity: 1;
}

/* Glass Ultra Card */
.glass-ultra {
    background: rgba(18, 18, 20, 0.4);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.glass-ultra::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.glass-ultra:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.2);
}

/* Glowing Icon Box */
.icon-box-glow {
    width: 52px;
    height: 52px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #c084fc;
    font-size: 1.5rem;
    transition: 0.3s;
}

.premium-card:hover .icon-box-glow {
    background: linear-gradient(135deg, var(--primary), var(--primary-alt));
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
    border-color: transparent;
}

/* Category Card */
.cat-clean-card {
    background: rgba(24, 24, 27, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.cat-clean-card:hover {
    border-color: rgba(168, 85, 247, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Product Image Wrapper */
.prod-img-wrapper {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 15px;
}

.prod-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: 0.3s;
}

.premium-card:hover .prod-img-wrapper img {
    transform: scale(1.05);
}

/* --- 5. FORM ELEMENTS --- */
.premium-input {
    background-color: var(--bg-body) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: var(--text-main) !important;
    padding: 12px 15px !important;
    border-radius: 10px !important;
    height: auto !important;
    transition: all 0.3s;
}

.premium-input:focus {
    background-color: var(--bg-body) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15) !important;
    color: white !important;
}

.form-floating label {
    color: var(--text-muted) !important;
}

/* --- 6. MISC UI --- */

/* Badge */
.badge-premium {
    background: rgba(168, 85, 247, 0.12);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 50rem;
    padding: 6px 14px;
    font-weight: 700;
    font-size: 0.75rem;
}

/* Pricing */
.price-display {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.price-display-discounted {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #4ade80;
}

.price-display-old {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: var(--text-muted);
    display: block;
    margin-bottom: 2px;
}

/* Dropdown */
.premium-dropdown {
    background-color: rgba(24, 24, 27, 0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
    border-radius: 14px !important;
    margin-top: 10px !important;
    padding: 6px !important;
    min-width: 220px;
}

.premium-dropdown .dropdown-item {
    color: var(--text-muted) !important;
    padding: 10px 14px !important;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s;
    border-radius: 8px;
    margin: 2px 0;
}

.premium-dropdown .dropdown-item:hover {
    background: rgba(168, 85, 247, 0.1) !important;
    color: white !important;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.06) !important;
}

/* AOS Fallback */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

/* Base Utilities */
.max-w-1400 {
    max-width: 1400px;
}

.tracking-wide {
    letter-spacing: 0.05em;
}