/**
 * SA VIP Auctions - Luxury Styling
 * Ultra-Premium Design System
 */

/* ═══════════════════════════════════════════════════════════════════════════════
   BASE STYLES
   ═══════════════════════════════════════════════════════════════════════════════ */

* {
    scrollbar-width: thin;
    scrollbar-color: #D4AF37 #1A1A1A;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: #1A1A1A;
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #D4AF37 0%, #B8860B 100%);
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFD700 0%, #D4AF37 100%);
}

::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #FFD700;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════════ */

.font-display {
    font-family: 'Playfair Display', serif;
}

.font-heading {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.05em;
}

.font-body {
    font-family: 'Inter', sans-serif;
}

.font-accent {
    font-family: 'Cormorant Garamond', serif;
}

.font-timer {
    font-family: 'Orbitron', monospace;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   GOLD EFFECTS
   ═══════════════════════════════════════════════════════════════════════════════ */

.gold-shimmer {
    background: linear-gradient(
        90deg,
        #D4AF37 0%,
        #FFD700 25%,
        #E5B967 50%,
        #FFD700 75%,
        #D4AF37 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.gold-glow {
    box-shadow: 
        0 0 20px rgba(212, 175, 55, 0.3),
        0 0 40px rgba(212, 175, 55, 0.2),
        0 0 60px rgba(212, 175, 55, 0.1);
}

.gold-border-glow {
    position: relative;
}

.gold-border-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #D4AF37, #FFD700, #E5B967, #D4AF37);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gold-border-glow:hover::before {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════════ */

.btn-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #E5B967 100%);
    color: #0A0A0A;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

.btn-gold:active {
    transform: translateY(0);
}

.btn-casino {
    position: relative;
    background: linear-gradient(180deg, #1A1A1A 0%, #0A0A0A 100%);
    border: 2px solid #D4AF37;
    color: #FFD700;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-casino::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.btn-casino:hover::before {
    width: 300%;
    height: 300%;
}

.btn-casino:hover {
    border-color: #FFD700;
    box-shadow: 
        0 0 30px rgba(212, 175, 55, 0.4),
        inset 0 0 20px rgba(212, 175, 55, 0.1);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════════════════════════ */

.luxury-card {
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.luxury-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   INPUTS
   ═══════════════════════════════════════════════════════════════════════════════ */

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #D4AF37 !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: rgba(229, 228, 226, 0.3);
}

/* Checkbox styling */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 0.25rem;
    background: rgba(10, 10, 10, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    border-color: #FFD700;
}

input[type="checkbox"]:checked::after {
    content: '✓';
    display: block;
    text-align: center;
    color: #0A0A0A;
    font-weight: bold;
    font-size: 0.875rem;
    line-height: 1.1rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════════ */

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

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

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

@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
    }
}

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

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

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

.animate-scale-in {
    animation: scaleIn 0.3s ease-out forwards;
}

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

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

/* ═══════════════════════════════════════════════════════════════════════════════
   TEXTURES
   ═══════════════════════════════════════════════════════════════════════════════ */

.texture-carbon {
    background-image: 
        linear-gradient(45deg, #151515 25%, transparent 25%),
        linear-gradient(-45deg, #151515 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #151515 75%),
        linear-gradient(-45deg, transparent 75%, #151515 75%);
    background-size: 4px 4px;
    background-position: 0 0, 0 2px, 2px -2px, -2px 0px;
}

.texture-velvet {
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(26, 26, 26, 0.8) 0%, rgba(10, 10, 10, 1) 100%);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════════════════════ */

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

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

/* Glass effect */
.glass {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #E5B967 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .font-heading {
        letter-spacing: 0.02em;
    }
}
