/* ═══════════════════════════════════════════════════════════════
   BellaTerzi v1.0.2 — Custom Styles
   Tailwind CSS + Custom Animations
   ═══════════════════════════════════════════════════════════════ */

/* ─── Base ────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

::selection {
    background: rgba(212, 175, 105, 0.25);
    color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 105, 0.2);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 105, 0.35);
}

/* ─── Animations ──────────────────────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.85) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

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

@keyframes scaleX {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
    25%      { transform: translateY(-25px) translateX(10px); opacity: 0.5; }
    50%      { transform: translateY(-10px) translateX(-8px); opacity: 0.3; }
    75%      { transform: translateY(15px) translateX(4px); opacity: 0.6; }
}

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

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 105, 0.1); }
    50%      { box-shadow: 0 0 40px rgba(212, 175, 105, 0.25); }
}

.animate-fade-in {
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-slide-up {
    animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-scale-x {
    animation: scaleX 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.animate-shimmer {
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

.animate-pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

/* ─── Countdown Numbers ───────────────────────────────────────── */
.tabular-nums {
    font-variant-numeric: tabular-nums;
}

/* ─── Gold Glow on hover for cards ────────────────────────────── */
.hover-gold-glow {
    transition: box-shadow 0.4s ease;
}
.hover-gold-glow:hover {
    box-shadow: 0 0 30px rgba(212, 175, 105, 0.08), inset 0 0 30px rgba(212, 175, 105, 0.03);
}

/* ─── Glass effect ────────────────────────────────────────────── */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 105, 0.08);
}

/* ─── Responsive Utilities ────────────────────────────────────── */
@media (max-width: 640px) {
    .countdown-box {
        width: 64px;
        height: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
