:root {
    --bg: #050505;
    --accent: #FF4500;
    --card: #111111;
}

body {
    background-color: var(--bg);
    color: white;
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover { background: #ff5511; }

.custom-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.custom-scrollbar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Reveal Animation Styles */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Floating Animations */
@keyframes float-hand-left {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes float-hand-right {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(20px) rotate(-2deg); }
}

.animate-float-left {
    animation: float-hand-left 12s ease-in-out infinite;
}

.animate-float-right {
    animation: float-hand-right 14s ease-in-out infinite;
}

/* Noise Texture Overlay */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
}

/* Parallax Container Effect */
.parallax-card-up {
    transform: translateY(var(--scroll-offset-up, 0px));
}

.parallax-card-down {
    transform: translateY(var(--scroll-offset-down, 0px));
}

/* Skeleton Loading Animation */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

.skeleton-card {
  height: 350px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* Fix z-index for layers */
.z-dropdown { z-index: 100; }

/* Toast animations */
@keyframes slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.toast {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: slide-up 0.3s cubic-bezier(0.34,1.56,0.64,1) forwards;
  pointer-events: all;
  max-width: 360px;
  font-size: 14px;
  color: white;
}
.toast.success { border-left: 3px solid #10b981; }
.toast.error   { border-left: 3px solid #ef4444; }
.toast.info    { border-left: 3px solid #3b82f6; }
.toast.exit { animation: fadeIn 0.2s ease reverse forwards; }
