/*
  Forge Utility Styles
  Lightweight utility layer (no build step) to replace Tailwind CDN.
  Focused on the neon/glass aesthetic of IDRISIUM Corp.
*/
:root {
  --void: #000000;
  --abyss: #050505;
  --neon: #39FF14;
  --neon-dim: rgba(57, 255, 20, 0.1);
  --neon-glow: rgba(57, 255, 20, 0.3);
  --aurora: #00D9FF;
  --aurora-dim: rgba(0, 217, 255, 0.1);
  --teal: #14F4C9;
  --onyx: #0a0a0a;
  --platinum: #A0A0A0;
  --starlight: #EDEDED;
  --gold: #FFD700;
  --red-400: #f87171;
  --red-500: #ef4444;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--starlight);
  font-family: 'Inter', 'Cairo', sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* Layout */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
}

.block {
  display: block;
}

.hidden {
  display: none !important;
}

.relative {
  position: relative;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.h-16 {
  height: 4rem;
}

.w-12 {
  width: 3rem;
}

.h-12 {
  height: 3rem;
}

.h-14 {
  height: 3.5rem;
}

.w-10 {
  width: 2.5rem;
}

.h-10 {
  height: 2.5rem;
}

.w-14 {
  width: 3.5rem;
}

.h-14 {
  height: 3.5rem;
}

.w-16 {
  width: 4rem;
}

.h-16 {
  height: 4rem;
}

.w-20 {
  width: 5rem;
}

.h-20 {
  height: 5rem;
}

.w-24 {
  width: 6rem;
}

.h-24 {
  height: 6rem;
}

.w-28 {
  width: 7rem;
}

.h-28 {
  height: 7rem;
}

.w-64 {
  width: 16rem;
}

.w-9 {
  width: 2.25rem;
}

.h-9 {
  height: 2.25rem;
}

.w-8 {
  width: 2rem;
}

.h-8 {
  height: 2rem;
}

.w-6 {
  width: 1.5rem;
}

.h-6 {
  height: 1.5rem;
}

.w-1 {
  width: 0.25rem;
}

.h-1 {
  height: 0.25rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Spacing */
.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.px-1\.5 {
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.pt-32 {
  padding-top: 8rem;
}

.pb-24 {
  padding-bottom: 6rem;
}

.m-0 {
  margin: 0;
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-14 {
  margin-bottom: 3.5rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.space-y-2> :not(:first-child) {
  margin-top: 0.5rem;
}

.space-y-3> :not(:first-child) {
  margin-top: 0.75rem;
}

.space-y-4> :not(:first-child) {
  margin-top: 1rem;
}

.space-y-6> :not(:first-child) {
  margin-top: 1.5rem;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-10 {
  gap: 2.5rem;
}

/* Grid helpers */
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

.w-1\/2 {
  width: 50%;
}

.w-1\/3 {
  width: 33.333333%;
}

.w-2\/3 {
  width: 66.666667%;
}

.w-3\/4 {
  width: 75%;
}

/* Typography */
.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-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-\[9px\] {
  font-size: 9px;
}

.text-\[10px\] {
  font-size: 10px;
}

.text-\[11px\] {
  font-size: 11px;
}

.text-\[12px\] {
  font-size: 12px;
}

.text-\[13px\] {
  font-size: 13px;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-extrabold {
  font-weight: 800;
}

.font-heading {
  font-family: 'IDRISIUMfont', 'Inter', 'Cairo', sans-serif;
}

.font-body {
  font-family: 'IDRISIUMfont', 'Inter', 'Cairo', sans-serif;
}

.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}

.tracking-wide {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.tracking-tight {
  letter-spacing: -0.02em;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.leading-snug {
  line-height: 1.4;
}

/* Colors */
.text-white {
  color: var(--white);
}

.text-neon {
  color: var(--neon);
}

.text-neon\/70 {
  color: rgba(57, 255, 20, 0.7);
}

.text-aurora {
  color: var(--aurora);
}

.text-aurora\/70 {
  color: rgba(0, 217, 255, 0.7);
}

.text-teal {
  color: var(--teal);
}

.text-platinum {
  color: var(--platinum);
}

.text-platinum\/60 {
  color: rgba(160, 160, 160, 0.6);
}

.text-platinum\/50 {
  color: rgba(160, 160, 160, 0.5);
}

.text-platinum\/70 {
  color: rgba(160, 160, 160, 0.7);
}

.text-platinum\/80 {
  color: rgba(160, 160, 160, 0.8);
}

.text-platinum\/90 {
  color: rgba(160, 160, 160, 0.9);
}

.text-starlight {
  color: var(--starlight);
}

.text-gold {
  color: var(--gold);
}

.text-red-400 {
  color: var(--red-400);
}

.text-red-500 {
  color: var(--red-500);
}

.bg-black\/20 {
  background-color: rgba(0, 0, 0, 0.2);
}

.bg-black\/40 {
  background-color: rgba(0, 0, 0, 0.4);
}

.bg-onyx {
  background-color: var(--onyx);
}

.bg-neon\/10 {
  background-color: var(--neon-dim);
}

.bg-neon\/20 {
  background-color: rgba(57, 255, 20, 0.2);
}

.bg-neon\/30 {
  background-color: rgba(57, 255, 20, 0.3);
}

.bg-aurora\/10 {
  background-color: var(--aurora-dim);
}

.bg-gold\/5 {
  background-color: rgba(255, 215, 0, 0.05);
}

.bg-gold\/20 {
  background-color: rgba(255, 215, 0, 0.2);
}

.bg-gold\/30 {
  background-color: rgba(255, 215, 0, 0.3);
}

.bg-red-500\/20 {
  background-color: rgba(239, 68, 68, 0.2);
}

.bg-red-500\/30 {
  background-color: rgba(239, 68, 68, 0.3);
}

.bg-teal {
  background-color: var(--teal);
}

.bg-white\/5 {
  background-color: rgba(255, 255, 255, 0.05);
}

.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1);
}

.bg-white\/20 {
  background-color: rgba(255, 255, 255, 0.2);
}

.bg-gradient-to-br {
  background-image: linear-gradient(135deg, var(--neon), var(--teal));
}

.from-neon {
  --tw-gradient-from: var(--neon);
}

.to-teal {
  --tw-gradient-to: var(--teal);
}

/* Borders & radius */
.border {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.border-b {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.border-t {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.border-neon {
  border-color: var(--neon);
}

.border-neon\/40 {
  border-color: rgba(57, 255, 20, 0.4);
}

.border-neon\/60 {
  border-color: rgba(57, 255, 20, 0.6);
}

.border-gold\/30 {
  border-color: rgba(255, 215, 0, 0.3);
}

.border-gold\/50 {
  border-color: rgba(255, 215, 0, 0.5);
}

.border-white\/5 {
  border-color: rgba(255, 255, 255, 0.05);
}

.border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1);
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

/* Effects */
.backdrop-blur-md {
  backdrop-filter: blur(12px);
}

.transition-all {
  transition: all 0.2s ease;
}

.transition-colors {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.transition-transform {
  transition: transform 0.2s ease;
}

.duration-300 {
  transition-duration: 300ms;
}

.hover\:bg-neon\/30:hover {
  background-color: rgba(57, 255, 20, 0.3);
}

.hover\:bg-gold\/30:hover {
  background-color: rgba(255, 215, 0, 0.3);
}

.hover\:bg-red-500\/30:hover {
  background-color: rgba(239, 68, 68, 0.3);
}

.hover\:text-white:hover {
  color: var(--white);
}

.hover\:border-neon\/40:hover {
  border-color: rgba(57, 255, 20, 0.4);
}

.hover\:scale-110:hover {
  transform: scale(1.1);
}

/* Alignment */
.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

/* Z-index */
.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

/* Misc utilities */
.cursor-pointer {
  cursor: pointer;
}

.cursor-help {
  cursor: help;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-y-auto {
  overflow-y: auto;
}

.max-h-\[50vh\] {
  max-height: 50vh;
}

.min-w-\[180px\] {
  min-width: 180px;
}

.max-w-\[220px\] {
  max-width: 220px;
}

.w-14 {
  width: 3.5rem;
}

.h-14 {
  height: 3.5rem;
}

.top-32 {
  top: 8rem;
}

.right-6 {
  right: 1.5rem;
}

.bottom-6 {
  bottom: 1.5rem;
}

.left-4 {
  left: 1rem;
}

.pulse-glow {
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.4);
}

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Shadows */
.shadow-sm {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.shadow-md {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.shadow-lg {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.shadow-\[0_0_25px_rgba\(57\,255\,20\,0\.8\)\] {
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.8);
}

/* Responsive variants */
@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sm\:py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .sm\:gap-4 {
    gap: 1rem;
  }

  .sm\:inline-flex {
    display: inline-flex;
  }
}

@media (min-width: 768px) {
  .md\:flex-row {
    flex-direction: row;
  }

  .md\:items-center {
    align-items: center;
  }

  .md\:justify-between {
    justify-content: space-between;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .md\:w-auto {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }
}

/* Additional Utility Classes */
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.inset-2 {
  top: 0.5rem;
  right: 0.5rem;
  bottom: 0.5rem;
  left: 0.5rem;
}

.-top-2 {
  top: -0.5rem;
}

.-right-2 {
  right: -0.5rem;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.right-4 {
  right: 1rem;
}

.top-4 {
  top: 1rem;
}

.bottom-0 {
  bottom: 0;
}

.left-1\/2 {
  left: 50%;
}

.p-10 {
  padding: 2.5rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-sm {
  max-width: 24rem;
}

.h-px {
  height: 1px;
}

.pointer-events-none {
  pointer-events: none;
}

.resize-none {
  resize: none;
}

.object-cover {
  object-fit: cover;
}

.object-contain {
  object-fit: contain;
}

.flex-1 {
  flex: 1 1 0%;
}

.sm\:grid {
  display: grid;
}

.sm\:hidden {
  display: none;
}

.flex-col-reverse {
  flex-direction: column-reverse;
}

.bg-black\/50 {
  background-color: rgba(0, 0, 0, 0.5);
}

.bg-black\/60 {
  background-color: rgba(0, 0, 0, 0.6);
}

.text-right {
  text-align: right;
}

.list-disc {
  list-style-type: disc;
}

.list-inside {
  list-style-position: inside;
}

.space-y-1\.5> :not(:first-child) {
  margin-top: 0.375rem;
}

.space-y-5> :not(:first-child) {
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .sm\:grid {
    display: grid;
  }

  .sm\:flex {
    display: flex;
  }
}