/* ===================================================
   METAL FINANCE // OFFLINE STANDALONE STYLESHEET
   100% Self-Contained - No External CDN Required
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;600;700&family=Metal+Mania&display=swap');

*, ::before, ::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-width: 0;
  border-style: solid;
  border-color: #2a2736;
}

html {
  font-family: 'Chakra Petch', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  background-color: #030304;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 0, 51, 0.22) 0%, transparent 60%),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.4) 0px, rgba(0, 0, 0, 0.4) 2px, transparent 2px, transparent 6px);
  color: #e2e8f0;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
  font-family: 'Chakra Petch', 'Trebuchet MS', sans-serif;
}

/* Typography */
.font-metal {
  font-family: 'Metal Mania', 'Impact', 'Arial Black', sans-serif;
  letter-spacing: 0.05em;
}
.font-tech {
  font-family: 'Chakra Petch', 'Trebuchet MS', sans-serif;
}
.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

/* Colors */
.text-white { color: #ffffff; }
.text-zinc-200 { color: #e4e4e7; }
.text-zinc-300 { color: #d4d4d8; }
.text-zinc-400 { color: #a1a1aa; }
.text-zinc-500 { color: #71717a; }
.text-zinc-600 { color: #52525b; }
.text-hell-blood { color: #ff0033; }
.text-hell-fire { color: #ff6600; }
.text-emerald-400 { color: #34d399; }
.text-emerald-500 { color: #10b981; }
.text-amber-400 { color: #fbbf24; }
.text-amber-500 { color: #f59e0b; }
.text-red-400 { color: #f87171; }
.text-red-500 { color: #ef4444; }
.text-sky-400 { color: #38bdf8; }

.bg-black { background-color: #000000; }
.bg-black\/80 { background-color: rgba(0, 0, 0, 0.8); }
.bg-black\/85 { background-color: rgba(0, 0, 0, 0.85); }
.bg-black\/90 { background-color: rgba(0, 0, 0, 0.9); }
.bg-zinc-800 { background-color: #27272a; }
.bg-zinc-900 { background-color: #18181b; }
.bg-zinc-950 { background-color: #09090b; }
.bg-hell-blood { background-color: #ff0033; }
.bg-hell-blood\/20 { background-color: rgba(255, 0, 51, 0.2); }
.bg-hell-dark\/95 { background-color: rgba(10, 9, 13, 0.95); }
.bg-red-950 { background-color: #450a0a; }
.bg-red-950\/60 { background-color: rgba(69, 10, 10, 0.6); }
.bg-emerald-950\/60 { background-color: rgba(6, 78, 59, 0.6); }
.bg-sky-950\/60 { background-color: rgba(8, 47, 73, 0.6); }
.bg-orange-500 { background-color: #f97316; }
.bg-orange-600 { background-color: #ea580c; }
.bg-amber-400 { background-color: #fbbf24; }
.bg-amber-500 { background-color: #f59e0b; }
.bg-lime-500 { background-color: #84cc16; }
.bg-emerald-400 { background-color: #34d399; }
.bg-emerald-500 { background-color: #10b981; }

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops, #ff0033, #b91c1c));
}
.from-red-950 { --tw-gradient-from: #450a0a; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(69, 10, 10, 0)); }
.from-red-600 { --tw-gradient-from: #dc2626; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(220, 38, 38, 0)); }
.from-red-700 { --tw-gradient-from: #b91c1c; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(185, 28, 28, 0)); }
.from-hell-blood { --tw-gradient-from: #ff0033; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 0, 51, 0)); }

.via-hell-blood { --tw-gradient-stops: var(--tw-gradient-from, #450a0a), #ff0033, var(--tw-gradient-to, #450a0a); }
.via-hell-blood\/50 { --tw-gradient-stops: var(--tw-gradient-from, #450a0a), rgba(255, 0, 51, 0.5), var(--tw-gradient-to, #450a0a); }
.via-red-600 { --tw-gradient-stops: var(--tw-gradient-from, #b91c1c), #dc2626, var(--tw-gradient-to, #991b1b); }

.to-red-950 { --tw-gradient-to: #450a0a; }
.to-red-800 { --tw-gradient-to: #991b1b; }
.to-red-700 { --tw-gradient-to: #b91c1c; }
.to-hell-blood { --tw-gradient-to: #ff0033; }

/* Borders */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-b-2 { border-bottom-width: 2px; }
.border-t { border-top-width: 1px; }
.border-l-4 { border-left-width: 4px; }

.border-hell-border { border-color: #2a2736; }
.border-hell-blood { border-color: #ff0033; }
.border-zinc-700 { border-color: #3f3f46; }
.border-zinc-800 { border-color: #27272a; }
.border-zinc-800\/80 { border-color: rgba(39, 39, 42, 0.8); }
.border-red-500 { border-color: #ef4444; }
.border-red-800 { border-color: #991b1b; }
.border-red-900\/60 { border-color: rgba(127, 29, 29, 0.6); }
.border-emerald-800 { border-color: #065f46; }
.border-sky-800 { border-color: #075985; }
.border-l-hell-blood { border-left-color: #ff0033; }
.border-l-zinc-500 { border-left-color: #71717a; }

/* Layout & Flex/Grid */
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none !important; }

.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }

.space-x-1 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.25rem; }
.space-x-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.375rem; }
.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }
.space-x-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.625rem; }

.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-3\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.875rem; }

/* Sizing & Positioning */
.w-full { width: 100%; }
.w-3\.5 { width: 0.875rem; }
.h-3 { height: 0.75rem; }
.h-3\.5 { height: 0.875rem; }
.h-36 { height: 9rem; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }
.max-w-xs { max-width: 20rem; }
.max-h-64 { max-height: 16rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.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-2\.5 { top: 0.625rem; }
.left-2\.5 { left: 0.625rem; }
.left-3\.5 { left: 0.875rem; }
.right-2\.5 { right: 0.625rem; }
.bottom-2\.5 { bottom: 0.625rem; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Spacing */
.p-0\.5 { padding: 0.125rem; }
.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-20 { padding-bottom: 5rem; }
.pl-9 { padding-left: 2.25rem; }
.pr-3 { padding-right: 0.75rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-2\.5 { margin-bottom: 0.625rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }

/* Borders & Rounding */
.rounded-sm { border-radius: 0.125rem; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-b-2xl { border-bottom-left-radius: 1rem; border-bottom-right-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* Text sizes */
.text-\[8px\] { font-size: 8px; }
.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.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; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.leading-none { line-height: 1; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

/* Focus, Hover, Active */
button {
  cursor: pointer;
  user-select: none;
  font-family: inherit;
}
input {
  font-family: inherit;
  outline: none;
}
input:focus {
  border-color: #ff0033 !important;
}

.transition { transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.active\:scale-95:active { transform: scale(0.95); }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.opacity-90 { opacity: 0.9; }
.object-cover { object-fit: cover; }
.object-center { object-position: center; }
.filter { filter: var(--tw-filter, none); }
.brightness-90 { filter: brightness(0.9); }
.contrast-125 { filter: contrast(1.25); }

/* Metal Theme Custom Elements */
.amp-box {
  background: linear-gradient(180deg, #121017 0%, #08070b 100%);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.metal-bolt {
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #888 20%, #333 80%);
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(0,0,0,0.8);
}

.metal-glow-red {
  text-shadow: 0 0 10px rgba(255, 0, 51, 0.7), 0 0 20px rgba(255, 0, 51, 0.4);
}

.pilot-jewel {
  box-shadow: 0 0 10px #ff0033, 0 0 20px #ff0033;
  animation: tubeGlow 2.5s infinite alternate ease-in-out;
}

@keyframes tubeGlow {
  0% { opacity: 0.75; transform: scale(0.96); filter: drop-shadow(0 0 4px #ff0033); }
  100% { opacity: 1; transform: scale(1.04); filter: drop-shadow(0 0 12px #ff0033); }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

/* Custom shadows */
.shadow-\[0_0_8px_\#34d399\] { box-shadow: 0 0 8px #34d399; }
.shadow-\[0_0_12px_rgba\(255\,0\,51\,0\.5\)\] { box-shadow: 0 0 12px rgba(255, 0, 51, 0.5); }
.shadow-\[0_0_15px_rgba\(255\,0\,51\,0\.3\)\] { box-shadow: 0 0 15px rgba(255, 0, 51, 0.3); }
.shadow-\[0_0_15px_rgba\(255\,0\,51\,0\.4\)\] { box-shadow: 0 0 15px rgba(255, 0, 51, 0.4); }
.shadow-\[0_0_15px_rgba\(255\,0\,51\,0\.5\)\] { box-shadow: 0 0 15px rgba(255, 0, 51, 0.5); }
.shadow-\[0_0_20px_rgba\(255\,0\,51\,0\.6\)\] { box-shadow: 0 0 20px rgba(255, 0, 51, 0.6); }
.shadow-\[0_0_25px_\#ff0033\] { box-shadow: 0 0 25px #ff0033; }
.shadow-\[0_0_35px_rgba\(255\,0\,51\,0\.6\)\] { box-shadow: 0 0 35px rgba(255, 0, 51, 0.6); }