:root {
    --color-primary: #F47920;
    --color-secondary: #1E3A5F;
    --color-dark: #0F172A;
    --color-darker: #020617;
    --color-white: #ffffff;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-red-400: #f87171;
    --color-red-500: #ef4444;
    --color-green-500: #22c55e;
    --color-blue-500: #3b82f6;
    --color-danger: #EF4444;
}

body {
    background-color: var(--color-darker);
    color: var(--color-white);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

input, select, textarea { user-select: text; }

/* Layout */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hidden { display: none; }
.block { display: block; }

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.pt-4 { padding-top: 1rem; }
.pb-4 { padding-bottom: 1rem; }
.pr-12 { padding-right: 3rem; }

.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.ml-auto { margin-left: auto; }

.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }

/* Sizing */
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.max-w-md { max-width: 28rem; }

.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-14 { width: 3.5rem; }
.h-14 { height: 3.5rem; }
.w-20 { width: 5rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.w-auto { width: auto; }

/* Colors */
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-dark { background-color: var(--color-dark); }
.bg-darker { background-color: var(--color-darker); }
.bg-gray-800 { background-color: var(--color-gray-800); }
.bg-red-500 { background-color: var(--color-red-500); }
.bg-green-500 { background-color: var(--color-green-500); }
.bg-blue-500 { background-color: var(--color-blue-500); }
.bg-background { background-color: rgb(var(--background)); }
.bg-border { background-color: rgb(var(--border)); }

.bg-primary\/20 { background-color: rgba(244, 121, 32, 0.2); }
.bg-darker\/50 { background-color: rgba(2, 6, 23, 0.5); }
.bg-black\/60 { background-color: rgba(0, 0, 0, 0.6); }
.bg-card\/95 { background-color: rgba(var(--card), 0.95); }
.bg-card\/50 { background-color: rgba(var(--card), 0.5); }
.bg-card\/70 { background-color: rgba(var(--card), 0.7); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-danger\/20 { background-color: rgba(239, 68, 68, 0.2); }

.text-white { color: var(--color-white); }
.text-primary { color: var(--color-primary); }
.text-gray-400 { color: var(--color-gray-400); }
.text-gray-500 { color: var(--color-gray-500); }
.text-red-400 { color: var(--color-red-400); }
.text-muted { color: rgb(var(--muted)); }
.text-danger { color: var(--color-danger); }
.placeholder-muted::placeholder { color: rgb(var(--muted)); }

/* Borders */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-4 { border-width: 4px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }

.border-gray-700 { border-color: var(--color-gray-700); }
.border-gray-800 { border-color: var(--color-gray-800); }
.border-white { border-color: var(--color-white); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-danger\/50 { border-color: rgba(239, 68, 68, 0.5); }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* Typography */
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-sans { font-family: ui-sans-serif, system-ui, sans-serif; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-4 { top: 1rem; }
.top-1\/2 { top: 50%; }
.bottom-0 { bottom: 0; }
.bottom-6 { bottom: 1.5rem; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.right-3 { right: 0.75rem; }
.right-4 { right: 1rem; }
.right-6 { right: 1.5rem; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* Effects */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.pointer-events-none { pointer-events: none; }
.overflow-hidden { overflow: hidden; }
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }
.object-contain { object-fit: contain; }

/* States */
.hover\:bg-orange-600:hover { background-color: #ea580c; }
.hover\:bg-gray-800:hover { background-color: var(--color-gray-800); }
.hover\:bg-primary\/90:hover { background-color: rgba(244, 121, 32, 0.9); }
.hover\:bg-card\/70:hover { background-color: rgba(var(--card), 0.7); }
.hover\:text-white:hover { color: var(--color-white); }
.hover\:scale-105:hover { transform: scale(1.05); }
.active\:bg-gray-700:active { background-color: var(--color-gray-700); }
.active\:scale-95:active { transform: scale(0.95); }
.focus\:border-primary:focus { border-color: var(--color-primary); }
.outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.disabled\:opacity-50:disabled { opacity: 0.5; }

.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }
.duration-300 { transition-duration: 300ms; }
.-translate-y-1\/2 { transform: translateY(-50%); }

/* Animation */
@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
  50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
.animate-bounce { animation: bounce 1s infinite; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin { animation: spin 1s linear infinite; }

/* Loader */
.loader { border-top-color: var(--color-primary); animation: spinner 1.5s linear infinite; }
@keyframes spinner { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
