/* Custom Scrollbar */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: #0a0a0f; } ::-webkit-scrollbar-thumb { background: #374151; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #4b5563; } /* Selection */ ::selection { background: rgba(168, 85, 247, 0.3); color: white; } /* Smooth scroll */ html { scroll-behavior: smooth; } /* Custom animations */ @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } @keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } } @keyframes borderGlow { 0%, 100% { border-color: rgba(168, 85, 247, 0.3); } 50% { border-color: rgba(168, 85, 247, 0.8); } } .animate-float { animation: float 6s ease-in-out infinite; } .animate-shimmer { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); background-size: 200% 100%; animation: shimmer 2s infinite; } /* Glass effect */ .glass { background: rgba(19, 19, 31, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } /* Market card gradient border on hover */ .market-card::before { content: ''; position: absolute; inset: 0; border-radius: 1rem; padding: 1px; background: linear-gradient(135deg, rgba(168, 85, 247, 0.5), rgba(59, 130, 246, 0.5), transparent 50%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s ease; } .market-card:hover::before { opacity: 1; } /* Probability bar animation */ .probability-bar { transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1); } /* Neon text glow */ .text-glow { text-shadow: 0 0 10px currentColor, 0 0 20px currentColor; } /* Custom range input */ input[type="range"] { -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; } input[type="range"]::-webkit-slider-runnable-track { height: 6px; background: #374151; border-radius: 3px; } input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; background: #a855f7; border-radius: 50%; margin-top: -6px; transition: all 0.2s; } input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); box-shadow: 0 0 15px rgba(168, 85, 247, 0.5); } /* Loading skeleton */ .skeleton { background: linear-gradient(90deg, #1a1a2e 25%, #252542 50%, #1a1a2e 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; } /* Market status indicators */ .status-live { box-shadow: 0 0 8px rgba(34, 197, 94, 0.6); } .status-closing { box-shadow: 0 0 8px rgba(251, 191, 36, 0.6); } /* Tooltip */ .tooltip { position: relative; } .tooltip::after { content: attr(data-tooltip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); padding: 6px 12px; background: #1a1a2e; color: white; font-size: 12px; border-radius: 6px; white-space: nowrap; opacity: 0; visibility: hidden; transition: all 0.2s; border: 1px solid #374151; } .tooltip:hover::after { opacity: 1; visibility: visible; bottom: calc(100% + 8px); } /* Confetti particle for wins */ .confetti { position: absolute; width: 10px; height: 10px; animation: confetti-fall 3s ease-out forwards; } @keyframes confetti-fall { 0% { opacity: 1; transform: translateY(-20px) rotate(0deg); } 100% { opacity: 0; transform: translateY(100px) rotate(720deg); } } /* Mobile optimizations */ @media (max-width: 768px) { .market-card { animation: slideUp 0.4s ease-out; } .stats-scroll { -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; } .stats-scroll > div { scroll-snap-align: start; flex-shrink: 0; } } /* Print styles */ @media print { .no-print { display: none !important; } }