@tailwind base; @tailwind components; @tailwind utilities; @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap'); body { @apply bg-hacksmith-dark text-white font-sans; } /* Custom scrollbar */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { @apply bg-hacksmith-gray; } ::-webkit-scrollbar-thumb { @apply bg-hacksmith-orange rounded; } ::-webkit-scrollbar-thumb:hover { @apply bg-orange-400; } /* Product card hover effects */ .product-card { @apply transition-all duration-300 ease-in-out; } .product-card:hover { @apply transform scale-105 shadow-xl; box-shadow: 0 10px 30px rgba(255, 122, 0, 0.2); } /* Button animations */ .btn-primary { @apply bg-hacksmith-orange text-black font-semibold px-6 py-3 rounded-lg transition-all duration-300; } .btn-primary:hover { @apply bg-orange-400 transform scale-105; box-shadow: 0 5px 15px rgba(255, 122, 0, 0.4); } .btn-secondary { @apply border-2 border-hacksmith-orange text-hacksmith-orange font-semibold px-6 py-3 rounded-lg transition-all duration-300; } .btn-secondary:hover { @apply bg-hacksmith-orange text-black transform scale-105; } /* Input styles */ .input-field { @apply w-full px-4 py-3 bg-hacksmith-gray border border-gray-600 rounded-lg outline-none transition-all duration-300; } .input-field:focus { @apply border-hacksmith-orange ring-2 ring-hacksmith-orange ring-opacity-20; } /* Card styles */ .card { @apply bg-hacksmith-gray border border-gray-700 rounded-xl p-6 shadow-lg; } .card-hover { @apply transition-all duration-300 hover:shadow-xl hover:border-hacksmith-orange; } /* Hint Button Animations */ .hint-button-expand { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .hint-button-expand:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); } /* Professional icon animations */ @keyframes iconPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } } .icon-active { animation: iconPulse 2s ease-in-out infinite; } /* Smooth reveal animation */ @keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } } .slide-up { animation: slideUp 0.3s ease-out; } /* Hint mode styles */ .animate-glow { animation: glow 2s ease-in-out infinite alternate; } @keyframes glow { from { box-shadow: 0 0 5px rgba(255, 122, 0, 0.5); } to { box-shadow: 0 0 20px rgba(255, 122, 0, 0.8), 0 0 30px rgba(255, 122, 0, 0.4); } } .hint-indicator { @apply relative; } .hint-indicator::after { content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; background: linear-gradient(45deg, #ff7a00, #ff5722, #ff9800, #ff7a00); background-size: 400% 400%; border-radius: inherit; z-index: -1; animation: gradient-shift 3s ease infinite; opacity: 0.3; } @keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } .pulse-border { animation: pulse-border 2s ease-in-out infinite; } @keyframes pulse-border { 0%, 100% { border-color: rgba(239, 68, 68, 0.3); } 50% { border-color: rgba(239, 68, 68, 0.7); } }