/**
 * NumbahWan Utility System v1.0
 * 
 * A buttery smooth, in-house utility CSS framework
 * Replaces Tailwind with NW-branded classes
 * 
 * Naming: nw-{property}-{value}
 * All transitions are smooth by default
 */

/* ============================================
   BASE RESET & SMOOTH DEFAULTS
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Buttery smooth transitions on everything */
.nw-smooth, .nw-smooth * {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   LAYOUT - DISPLAY
   ============================================ */
.nw-block { display: block; }
.nw-inline { display: inline; }
.nw-inline-block { display: inline-block; }
.nw-hidden { display: none; }
.nw-flex { display: flex; }
.nw-inline-flex { display: inline-flex; }
.nw-grid { display: grid; }

/* ============================================
   LAYOUT - FLEXBOX
   ============================================ */
/* Direction */
.nw-flex-row { flex-direction: row; }
.nw-flex-col { flex-direction: column; }
.nw-flex-row-reverse { flex-direction: row-reverse; }
.nw-flex-col-reverse { flex-direction: column-reverse; }

/* Wrap */
.nw-flex-wrap { flex-wrap: wrap; }
.nw-flex-nowrap { flex-wrap: nowrap; }

/* Justify Content */
.nw-justify-start { justify-content: flex-start; }
.nw-justify-end { justify-content: flex-end; }
.nw-justify-center { justify-content: center; }
.nw-justify-between { justify-content: space-between; }
.nw-justify-around { justify-content: space-around; }
.nw-justify-evenly { justify-content: space-evenly; }

/* Align Items */
.nw-items-start { align-items: flex-start; }
.nw-items-end { align-items: flex-end; }
.nw-items-center { align-items: center; }
.nw-items-baseline { align-items: baseline; }
.nw-items-stretch { align-items: stretch; }

/* Align Self */
.nw-self-start { align-self: flex-start; }
.nw-self-end { align-self: flex-end; }
.nw-self-center { align-self: center; }

/* Flex Grow/Shrink */
.nw-flex-1 { flex: 1 1 0%; }
.nw-flex-auto { flex: 1 1 auto; }
.nw-flex-none { flex: none; }
.nw-grow { flex-grow: 1; }
.nw-grow-0 { flex-grow: 0; }
.nw-shrink { flex-shrink: 1; }
.nw-shrink-0 { flex-shrink: 0; }

/* Centering shortcut */
.nw-center { display: flex; justify-content: center; align-items: center; }
.nw-center-col { display: flex; flex-direction: column; justify-content: center; align-items: center; }

/* ============================================
   LAYOUT - GRID
   ============================================ */
.nw-grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.nw-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nw-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nw-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nw-grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.nw-grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.nw-grid-rows-1 { grid-template-rows: repeat(1, minmax(0, 1fr)); }
.nw-grid-rows-2 { grid-template-rows: repeat(2, minmax(0, 1fr)); }
.nw-grid-rows-3 { grid-template-rows: repeat(3, minmax(0, 1fr)); }

/* Column/Row Span */
.nw-col-span-1 { grid-column: span 1 / span 1; }
.nw-col-span-2 { grid-column: span 2 / span 2; }
.nw-col-span-3 { grid-column: span 3 / span 3; }
.nw-col-span-full { grid-column: 1 / -1; }

/* ============================================
   LAYOUT - GAP
   ============================================ */
.nw-gap-0 { gap: 0; }
.nw-gap-1 { gap: 0.25rem; }
.nw-gap-2 { gap: 0.5rem; }
.nw-gap-3 { gap: 0.75rem; }
.nw-gap-4 { gap: 1rem; }
.nw-gap-5 { gap: 1.25rem; }
.nw-gap-6 { gap: 1.5rem; }
.nw-gap-8 { gap: 2rem; }
.nw-gap-10 { gap: 2.5rem; }
.nw-gap-12 { gap: 3rem; }
.nw-gap-16 { gap: 4rem; }

/* ============================================
   SPACING - PADDING
   ============================================ */
.nw-p-0 { padding: 0; }
.nw-p-1 { padding: 0.25rem; }
.nw-p-2 { padding: 0.5rem; }
.nw-p-3 { padding: 0.75rem; }
.nw-p-4 { padding: 1rem; }
.nw-p-5 { padding: 1.25rem; }
.nw-p-6 { padding: 1.5rem; }
.nw-p-8 { padding: 2rem; }
.nw-p-10 { padding: 2.5rem; }
.nw-p-12 { padding: 3rem; }
.nw-p-16 { padding: 4rem; }

/* Padding X (horizontal) */
.nw-px-0 { padding-left: 0; padding-right: 0; }
.nw-px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.nw-px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.nw-px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.nw-px-4 { padding-left: 1rem; padding-right: 1rem; }
.nw-px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.nw-px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.nw-px-8 { padding-left: 2rem; padding-right: 2rem; }

/* Padding Y (vertical) */
.nw-py-0 { padding-top: 0; padding-bottom: 0; }
.nw-py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.nw-py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.nw-py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.nw-py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.nw-py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.nw-py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.nw-py-8 { padding-top: 2rem; padding-bottom: 2rem; }

/* Individual padding */
.nw-pt-0 { padding-top: 0; } .nw-pt-1 { padding-top: 0.25rem; } .nw-pt-2 { padding-top: 0.5rem; } .nw-pt-3 { padding-top: 0.75rem; } .nw-pt-4 { padding-top: 1rem; } .nw-pt-6 { padding-top: 1.5rem; } .nw-pt-8 { padding-top: 2rem; }
.nw-pb-0 { padding-bottom: 0; } .nw-pb-1 { padding-bottom: 0.25rem; } .nw-pb-2 { padding-bottom: 0.5rem; } .nw-pb-3 { padding-bottom: 0.75rem; } .nw-pb-4 { padding-bottom: 1rem; } .nw-pb-6 { padding-bottom: 1.5rem; } .nw-pb-8 { padding-bottom: 2rem; }
.nw-pl-0 { padding-left: 0; } .nw-pl-1 { padding-left: 0.25rem; } .nw-pl-2 { padding-left: 0.5rem; } .nw-pl-3 { padding-left: 0.75rem; } .nw-pl-4 { padding-left: 1rem; } .nw-pl-6 { padding-left: 1.5rem; } .nw-pl-8 { padding-left: 2rem; }
.nw-pr-0 { padding-right: 0; } .nw-pr-1 { padding-right: 0.25rem; } .nw-pr-2 { padding-right: 0.5rem; } .nw-pr-3 { padding-right: 0.75rem; } .nw-pr-4 { padding-right: 1rem; } .nw-pr-6 { padding-right: 1.5rem; } .nw-pr-8 { padding-right: 2rem; }

/* ============================================
   SPACING - MARGIN
   ============================================ */
.nw-m-0 { margin: 0; }
.nw-m-1 { margin: 0.25rem; }
.nw-m-2 { margin: 0.5rem; }
.nw-m-3 { margin: 0.75rem; }
.nw-m-4 { margin: 1rem; }
.nw-m-5 { margin: 1.25rem; }
.nw-m-6 { margin: 1.5rem; }
.nw-m-8 { margin: 2rem; }
.nw-m-auto { margin: auto; }

/* Margin X (horizontal) */
.nw-mx-0 { margin-left: 0; margin-right: 0; }
.nw-mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
.nw-mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.nw-mx-3 { margin-left: 0.75rem; margin-right: 0.75rem; }
.nw-mx-4 { margin-left: 1rem; margin-right: 1rem; }
.nw-mx-6 { margin-left: 1.5rem; margin-right: 1.5rem; }
.nw-mx-8 { margin-left: 2rem; margin-right: 2rem; }
.nw-mx-auto { margin-left: auto; margin-right: auto; }

/* Margin Y (vertical) */
.nw-my-0 { margin-top: 0; margin-bottom: 0; }
.nw-my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.nw-my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.nw-my-3 { margin-top: 0.75rem; margin-bottom: 0.75rem; }
.nw-my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.nw-my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.nw-my-8 { margin-top: 2rem; margin-bottom: 2rem; }

/* Individual margin */
.nw-mt-0 { margin-top: 0; } .nw-mt-1 { margin-top: 0.25rem; } .nw-mt-2 { margin-top: 0.5rem; } .nw-mt-3 { margin-top: 0.75rem; } .nw-mt-4 { margin-top: 1rem; } .nw-mt-6 { margin-top: 1.5rem; } .nw-mt-8 { margin-top: 2rem; } .nw-mt-10 { margin-top: 2.5rem; } .nw-mt-12 { margin-top: 3rem; }
.nw-mb-0 { margin-bottom: 0; } .nw-mb-1 { margin-bottom: 0.25rem; } .nw-mb-2 { margin-bottom: 0.5rem; } .nw-mb-3 { margin-bottom: 0.75rem; } .nw-mb-4 { margin-bottom: 1rem; } .nw-mb-6 { margin-bottom: 1.5rem; } .nw-mb-8 { margin-bottom: 2rem; } .nw-mb-10 { margin-bottom: 2.5rem; } .nw-mb-12 { margin-bottom: 3rem; }
.nw-ml-0 { margin-left: 0; } .nw-ml-1 { margin-left: 0.25rem; } .nw-ml-2 { margin-left: 0.5rem; } .nw-ml-3 { margin-left: 0.75rem; } .nw-ml-4 { margin-left: 1rem; } .nw-ml-6 { margin-left: 1.5rem; } .nw-ml-8 { margin-left: 2rem; } .nw-ml-auto { margin-left: auto; }
.nw-mr-0 { margin-right: 0; } .nw-mr-1 { margin-right: 0.25rem; } .nw-mr-2 { margin-right: 0.5rem; } .nw-mr-3 { margin-right: 0.75rem; } .nw-mr-4 { margin-right: 1rem; } .nw-mr-6 { margin-right: 1.5rem; } .nw-mr-8 { margin-right: 2rem; } .nw-mr-auto { margin-right: auto; }

/* Negative margins */
.nw--mt-1 { margin-top: -0.25rem; } .nw--mt-2 { margin-top: -0.5rem; } .nw--mt-4 { margin-top: -1rem; }
.nw--mb-1 { margin-bottom: -0.25rem; } .nw--mb-2 { margin-bottom: -0.5rem; } .nw--mb-4 { margin-bottom: -1rem; }

/* ============================================
   SIZING - WIDTH
   ============================================ */
.nw-w-auto { width: auto; }
.nw-w-full { width: 100%; }
.nw-w-screen { width: 100vw; }
.nw-w-min { width: min-content; }
.nw-w-max { width: max-content; }
.nw-w-fit { width: fit-content; }
.nw-w-1\/2 { width: 50%; }
.nw-w-1\/3 { width: 33.333%; }
.nw-w-2\/3 { width: 66.667%; }
.nw-w-1\/4 { width: 25%; }
.nw-w-3\/4 { width: 75%; }

/* Fixed widths */
.nw-w-8 { width: 2rem; }
.nw-w-10 { width: 2.5rem; }
.nw-w-12 { width: 3rem; }
.nw-w-16 { width: 4rem; }
.nw-w-20 { width: 5rem; }
.nw-w-24 { width: 6rem; }
.nw-w-32 { width: 8rem; }
.nw-w-40 { width: 10rem; }
.nw-w-48 { width: 12rem; }
.nw-w-64 { width: 16rem; }

/* Max width */
.nw-max-w-xs { max-width: 20rem; }
.nw-max-w-sm { max-width: 24rem; }
.nw-max-w-md { max-width: 28rem; }
.nw-max-w-lg { max-width: 32rem; }
.nw-max-w-xl { max-width: 36rem; }
.nw-max-w-2xl { max-width: 42rem; }
.nw-max-w-3xl { max-width: 48rem; }
.nw-max-w-4xl { max-width: 56rem; }
.nw-max-w-5xl { max-width: 64rem; }
.nw-max-w-6xl { max-width: 72rem; }
.nw-max-w-full { max-width: 100%; }
.nw-max-w-screen { max-width: 100vw; }

/* Min width */
.nw-min-w-0 { min-width: 0; }
.nw-min-w-full { min-width: 100%; }

/* ============================================
   SIZING - HEIGHT
   ============================================ */
.nw-h-auto { height: auto; }
.nw-h-full { height: 100%; }
.nw-h-screen { height: 100vh; }
.nw-h-min { height: min-content; }
.nw-h-max { height: max-content; }
.nw-h-fit { height: fit-content; }

/* Fixed heights */
.nw-h-8 { height: 2rem; }
.nw-h-10 { height: 2.5rem; }
.nw-h-12 { height: 3rem; }
.nw-h-16 { height: 4rem; }
.nw-h-20 { height: 5rem; }
.nw-h-24 { height: 6rem; }
.nw-h-32 { height: 8rem; }
.nw-h-40 { height: 10rem; }
.nw-h-48 { height: 12rem; }
.nw-h-64 { height: 16rem; }

/* Min/Max height */
.nw-min-h-0 { min-height: 0; }
.nw-min-h-full { min-height: 100%; }
.nw-min-h-screen { min-height: 100vh; }
.nw-max-h-full { max-height: 100%; }
.nw-max-h-screen { max-height: 100vh; }

/* ============================================
   TYPOGRAPHY - FONT SIZE
   ============================================ */
.nw-text-xs { font-size: var(--nw-text-xs); }
.nw-text-sm { font-size: var(--nw-text-sm); }
.nw-text-base { font-size: var(--nw-text-base); }
.nw-text-lg { font-size: var(--nw-text-lg); }
.nw-text-xl { font-size: var(--nw-text-xl); }
.nw-text-2xl { font-size: var(--nw-text-2xl); }
.nw-text-3xl { font-size: var(--nw-text-3xl); }
.nw-text-4xl { font-size: var(--nw-text-4xl); }
.nw-text-5xl { font-size: var(--nw-text-5xl); }

/* ============================================
   TYPOGRAPHY - FONT WEIGHT
   ============================================ */
.nw-font-thin { font-weight: 100; }
.nw-font-light { font-weight: 300; }
.nw-font-normal { font-weight: 400; }
.nw-font-medium { font-weight: 500; }
.nw-font-semibold { font-weight: 600; }
.nw-font-bold { font-weight: 700; }
.nw-font-extrabold { font-weight: 800; }
.nw-font-black { font-weight: 900; }

/* ============================================
   TYPOGRAPHY - FONT FAMILY
   ============================================ */
.nw-font-display { font-family: var(--nw-font-display); }
.nw-font-body { font-family: var(--nw-font-body); }
.nw-font-serif { font-family: var(--nw-font-serif); }
.nw-font-mono { font-family: var(--nw-font-mono); }

/* ============================================
   TYPOGRAPHY - TEXT ALIGNMENT
   ============================================ */
.nw-text-left { text-align: left; }
.nw-text-center { text-align: center; }
.nw-text-right { text-align: right; }
.nw-text-justify { text-align: justify; }

/* ============================================
   TYPOGRAPHY - LINE HEIGHT
   ============================================ */
.nw-leading-none { line-height: 1; }
.nw-leading-tight { line-height: 1.25; }
.nw-leading-snug { line-height: 1.375; }
.nw-leading-normal { line-height: 1.5; }
.nw-leading-relaxed { line-height: 1.625; }
.nw-leading-loose { line-height: 2; }

/* ============================================
   TYPOGRAPHY - LETTER SPACING
   ============================================ */
.nw-tracking-tighter { letter-spacing: -0.05em; }
.nw-tracking-tight { letter-spacing: -0.025em; }
.nw-tracking-normal { letter-spacing: 0; }
.nw-tracking-wide { letter-spacing: 0.025em; }
.nw-tracking-wider { letter-spacing: 0.05em; }
.nw-tracking-widest { letter-spacing: 0.1em; }

/* ============================================
   TYPOGRAPHY - TEXT TRANSFORM
   ============================================ */
.nw-uppercase { text-transform: uppercase; }
.nw-lowercase { text-transform: lowercase; }
.nw-capitalize { text-transform: capitalize; }
.nw-normal-case { text-transform: none; }

/* ============================================
   TYPOGRAPHY - TEXT DECORATION
   ============================================ */
.nw-underline { text-decoration: underline; }
.nw-line-through { text-decoration: line-through; }
.nw-no-underline { text-decoration: none; }

/* ============================================
   TYPOGRAPHY - TEXT OVERFLOW
   ============================================ */
.nw-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nw-text-ellipsis { text-overflow: ellipsis; }
.nw-text-clip { text-overflow: clip; }

/* ============================================
   COLORS - TEXT (NW Brand)
   ============================================ */
.nw-text-ember { color: var(--nw-ember); }
.nw-text-ember-light { color: var(--nw-ember-light); }
.nw-text-ember-dark { color: var(--nw-ember-dark); }
.nw-text-gold { color: var(--nw-gold); }
.nw-text-gold-light { color: var(--nw-gold-light); }
.nw-text-mystic { color: var(--nw-mystic); }
.nw-text-mystic-light { color: var(--nw-mystic-light); }

/* Neutrals */
.nw-text-white { color: #ffffff; }
.nw-text-black { color: #000000; }
.nw-text-dark { color: var(--nw-dark); }
.nw-text-darker { color: var(--nw-darker); }
.nw-text-gray-100 { color: var(--nw-gray-100); }
.nw-text-gray-200 { color: var(--nw-gray-200); }
.nw-text-gray-300 { color: var(--nw-gray-300); }
.nw-text-gray-400 { color: var(--nw-gray-400); }
.nw-text-gray-500 { color: var(--nw-gray-500); }

/* Semantic */
.nw-text-success { color: var(--nw-success); }
.nw-text-warning { color: var(--nw-warning); }
.nw-text-error { color: var(--nw-error); }
.nw-text-info { color: var(--nw-info); }

/* Opacity text */
.nw-text-muted { color: rgba(255, 255, 255, 0.6); }
.nw-text-faded { color: rgba(255, 255, 255, 0.4); }
.nw-text-ghost { color: rgba(255, 255, 255, 0.2); }

/* ============================================
   COLORS - BACKGROUND (NW Brand)
   ============================================ */
.nw-bg-ember { background-color: var(--nw-ember); }
.nw-bg-ember-light { background-color: var(--nw-ember-light); }
.nw-bg-ember-dark { background-color: var(--nw-ember-dark); }
.nw-bg-gold { background-color: var(--nw-gold); }
.nw-bg-gold-light { background-color: var(--nw-gold-light); }
.nw-bg-mystic { background-color: var(--nw-mystic); }
.nw-bg-mystic-light { background-color: var(--nw-mystic-light); }

/* Neutrals */
.nw-bg-white { background-color: #ffffff; }
.nw-bg-black { background-color: #000000; }
.nw-bg-dark { background-color: var(--nw-dark); }
.nw-bg-darker { background-color: var(--nw-darker); }
.nw-bg-transparent { background-color: transparent; }

/* Semantic */
.nw-bg-success { background-color: var(--nw-success); }
.nw-bg-warning { background-color: var(--nw-warning); }
.nw-bg-error { background-color: var(--nw-error); }
.nw-bg-info { background-color: var(--nw-info); }

/* Glass effects */
.nw-bg-glass { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(12px); }
.nw-bg-glass-dark { background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(12px); }
.nw-bg-glass-ember { background: rgba(255, 107, 0, 0.1); backdrop-filter: blur(12px); }
.nw-bg-glass-gold { background: rgba(255, 215, 0, 0.1); backdrop-filter: blur(12px); }

/* ============================================
   COLORS - BORDER (NW Brand)
   ============================================ */
.nw-border-ember { border-color: var(--nw-ember); }
.nw-border-gold { border-color: var(--nw-gold); }
.nw-border-mystic { border-color: var(--nw-mystic); }
.nw-border-white { border-color: #ffffff; }
.nw-border-dark { border-color: var(--nw-dark); }
.nw-border-transparent { border-color: transparent; }
.nw-border-muted { border-color: rgba(255, 255, 255, 0.1); }
.nw-border-faded { border-color: rgba(255, 255, 255, 0.05); }

/* ============================================
   BORDERS - WIDTH & STYLE
   ============================================ */
.nw-border-0 { border-width: 0; }
.nw-border { border-width: 1px; border-style: solid; }
.nw-border-2 { border-width: 2px; border-style: solid; }
.nw-border-3 { border-width: 3px; border-style: solid; }
.nw-border-4 { border-width: 4px; border-style: solid; }

.nw-border-t { border-top-width: 1px; border-top-style: solid; }
.nw-border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.nw-border-l { border-left-width: 1px; border-left-style: solid; }
.nw-border-r { border-right-width: 1px; border-right-style: solid; }

.nw-border-dashed { border-style: dashed; }
.nw-border-dotted { border-style: dotted; }
.nw-border-none { border-style: none; }

/* ============================================
   BORDERS - RADIUS
   ============================================ */
.nw-rounded-none { border-radius: 0; }
.nw-rounded-sm { border-radius: 0.125rem; }
.nw-rounded { border-radius: 0.25rem; }
.nw-rounded-md { border-radius: 0.375rem; }
.nw-rounded-lg { border-radius: 0.5rem; }
.nw-rounded-xl { border-radius: 0.75rem; }
.nw-rounded-2xl { border-radius: 1rem; }
.nw-rounded-3xl { border-radius: 1.5rem; }
.nw-rounded-full { border-radius: 9999px; }

/* Individual corners */
.nw-rounded-t-lg { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; }
.nw-rounded-b-lg { border-bottom-left-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }

/* ============================================
   EFFECTS - SHADOWS
   ============================================ */
.nw-shadow-none { box-shadow: none; }
.nw-shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
.nw-shadow { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); }
.nw-shadow-md { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); }
.nw-shadow-lg { box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); }
.nw-shadow-xl { box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4); }
.nw-shadow-2xl { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }

/* NW Brand Glow Shadows */
.nw-shadow-ember { box-shadow: 0 0 20px rgba(255, 107, 0, 0.4); }
.nw-shadow-gold { box-shadow: 0 0 20px rgba(255, 215, 0, 0.4); }
.nw-shadow-mystic { box-shadow: 0 0 20px rgba(168, 85, 247, 0.4); }

/* ============================================
   EFFECTS - GLOW
   ============================================ */
.nw-glow-ember { 
  box-shadow: 0 0 10px var(--nw-ember), 0 0 20px rgba(255, 107, 0, 0.3), 0 0 40px rgba(255, 107, 0, 0.1);
}
.nw-glow-gold { 
  box-shadow: 0 0 10px var(--nw-gold), 0 0 20px rgba(255, 215, 0, 0.3), 0 0 40px rgba(255, 215, 0, 0.1);
}
.nw-glow-mystic { 
  box-shadow: 0 0 10px var(--nw-mystic), 0 0 20px rgba(168, 85, 247, 0.3), 0 0 40px rgba(168, 85, 247, 0.1);
}
.nw-glow-success { 
  box-shadow: 0 0 10px var(--nw-success), 0 0 20px rgba(34, 197, 94, 0.3);
}

/* Text glow */
.nw-text-glow-ember { text-shadow: 0 0 10px var(--nw-ember), 0 0 20px var(--nw-ember), 0 0 40px var(--nw-ember); }
.nw-text-glow-gold { text-shadow: 0 0 10px var(--nw-gold), 0 0 20px var(--nw-gold), 0 0 40px var(--nw-gold); }

/* ============================================
   EFFECTS - OPACITY
   ============================================ */
.nw-opacity-0 { opacity: 0; }
.nw-opacity-10 { opacity: 0.1; }
.nw-opacity-20 { opacity: 0.2; }
.nw-opacity-30 { opacity: 0.3; }
.nw-opacity-40 { opacity: 0.4; }
.nw-opacity-50 { opacity: 0.5; }
.nw-opacity-60 { opacity: 0.6; }
.nw-opacity-70 { opacity: 0.7; }
.nw-opacity-80 { opacity: 0.8; }
.nw-opacity-90 { opacity: 0.9; }
.nw-opacity-100 { opacity: 1; }

/* ============================================
   EFFECTS - BLUR
   ============================================ */
.nw-blur-none { filter: blur(0); }
.nw-blur-sm { filter: blur(4px); }
.nw-blur { filter: blur(8px); }
.nw-blur-md { filter: blur(12px); }
.nw-blur-lg { filter: blur(16px); }
.nw-blur-xl { filter: blur(24px); }

.nw-backdrop-blur-sm { backdrop-filter: blur(4px); }
.nw-backdrop-blur { backdrop-filter: blur(8px); }
.nw-backdrop-blur-md { backdrop-filter: blur(12px); }
.nw-backdrop-blur-lg { backdrop-filter: blur(16px); }

/* ============================================
   POSITIONING
   ============================================ */
.nw-static { position: static; }
.nw-relative { position: relative; }
.nw-absolute { position: absolute; }
.nw-fixed { position: fixed; }
.nw-sticky { position: sticky; }

/* Inset */
.nw-inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.nw-inset-auto { top: auto; right: auto; bottom: auto; left: auto; }

.nw-top-0 { top: 0; } .nw-top-1 { top: 0.25rem; } .nw-top-2 { top: 0.5rem; } .nw-top-4 { top: 1rem; } .nw-top-auto { top: auto; }
.nw-bottom-0 { bottom: 0; } .nw-bottom-1 { bottom: 0.25rem; } .nw-bottom-2 { bottom: 0.5rem; } .nw-bottom-4 { bottom: 1rem; } .nw-bottom-auto { bottom: auto; }
.nw-left-0 { left: 0; } .nw-left-1 { left: 0.25rem; } .nw-left-2 { left: 0.5rem; } .nw-left-4 { left: 1rem; } .nw-left-auto { left: auto; }
.nw-right-0 { right: 0; } .nw-right-1 { right: 0.25rem; } .nw-right-2 { right: 0.5rem; } .nw-right-4 { right: 1rem; } .nw-right-auto { right: auto; }

/* Z-Index */
.nw-z-0 { z-index: 0; }
.nw-z-10 { z-index: 10; }
.nw-z-20 { z-index: 20; }
.nw-z-30 { z-index: 30; }
.nw-z-40 { z-index: 40; }
.nw-z-50 { z-index: 50; }
.nw-z-max { z-index: 9999; }

/* ============================================
   OVERFLOW
   ============================================ */
.nw-overflow-auto { overflow: auto; }
.nw-overflow-hidden { overflow: hidden; }
.nw-overflow-visible { overflow: visible; }
.nw-overflow-scroll { overflow: scroll; }
.nw-overflow-x-auto { overflow-x: auto; }
.nw-overflow-y-auto { overflow-y: auto; }
.nw-overflow-x-hidden { overflow-x: hidden; }
.nw-overflow-y-hidden { overflow-y: hidden; }

/* ============================================
   TRANSITIONS & ANIMATIONS
   ============================================ */
.nw-transition-none { transition: none; }
.nw-transition-all { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.nw-transition-fast { transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.nw-transition-slow { transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.nw-transition-colors { transition: color 0.3s, background-color 0.3s, border-color 0.3s; }
.nw-transition-opacity { transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.nw-transition-transform { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }

/* Duration */
.nw-duration-75 { transition-duration: 75ms; }
.nw-duration-100 { transition-duration: 100ms; }
.nw-duration-150 { transition-duration: 150ms; }
.nw-duration-200 { transition-duration: 200ms; }
.nw-duration-300 { transition-duration: 300ms; }
.nw-duration-500 { transition-duration: 500ms; }
.nw-duration-700 { transition-duration: 700ms; }
.nw-duration-1000 { transition-duration: 1000ms; }

/* Easing */
.nw-ease-linear { transition-timing-function: linear; }
.nw-ease-in { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
.nw-ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.nw-ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.nw-ease-bounce { transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55); }

/* ============================================
   TRANSFORMS
   ============================================ */
.nw-scale-0 { transform: scale(0); }
.nw-scale-50 { transform: scale(0.5); }
.nw-scale-75 { transform: scale(0.75); }
.nw-scale-90 { transform: scale(0.9); }
.nw-scale-95 { transform: scale(0.95); }
.nw-scale-100 { transform: scale(1); }
.nw-scale-105 { transform: scale(1.05); }
.nw-scale-110 { transform: scale(1.1); }
.nw-scale-125 { transform: scale(1.25); }
.nw-scale-150 { transform: scale(1.5); }

.nw-rotate-0 { transform: rotate(0deg); }
.nw-rotate-45 { transform: rotate(45deg); }
.nw-rotate-90 { transform: rotate(90deg); }
.nw-rotate-180 { transform: rotate(180deg); }
.nw--rotate-45 { transform: rotate(-45deg); }
.nw--rotate-90 { transform: rotate(-90deg); }

.nw-translate-y-0 { transform: translateY(0); }
.nw-translate-y-1 { transform: translateY(0.25rem); }
.nw-translate-y-2 { transform: translateY(0.5rem); }
.nw-translate-y-4 { transform: translateY(1rem); }
.nw--translate-y-1 { transform: translateY(-0.25rem); }
.nw--translate-y-2 { transform: translateY(-0.5rem); }
.nw--translate-y-4 { transform: translateY(-1rem); }

.nw-translate-x-0 { transform: translateX(0); }
.nw-translate-x-1 { transform: translateX(0.25rem); }
.nw-translate-x-2 { transform: translateX(0.5rem); }
.nw-translate-x-4 { transform: translateX(1rem); }
.nw--translate-x-1 { transform: translateX(-0.25rem); }
.nw--translate-x-2 { transform: translateX(-0.5rem); }
.nw--translate-x-4 { transform: translateX(-1rem); }

/* ============================================
   INTERACTIVITY
   ============================================ */
.nw-cursor-pointer { cursor: pointer; }
.nw-cursor-default { cursor: default; }
.nw-cursor-not-allowed { cursor: not-allowed; }
.nw-cursor-wait { cursor: wait; }
.nw-cursor-grab { cursor: grab; }
.nw-cursor-grabbing { cursor: grabbing; }

.nw-select-none { user-select: none; }
.nw-select-text { user-select: text; }
.nw-select-all { user-select: all; }

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

/* ============================================
   HOVER STATES (buttery smooth)
   ============================================ */
.nw-hover\:scale-105:hover { transform: scale(1.05); }
.nw-hover\:scale-110:hover { transform: scale(1.1); }
.nw-hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.nw-hover\:-translate-y-2:hover { transform: translateY(-0.5rem); }
.nw-hover\:opacity-80:hover { opacity: 0.8; }
.nw-hover\:opacity-100:hover { opacity: 1; }
.nw-hover\:text-ember:hover { color: var(--nw-ember); }
.nw-hover\:text-gold:hover { color: var(--nw-gold); }
.nw-hover\:bg-ember:hover { background-color: var(--nw-ember); }
.nw-hover\:bg-gold:hover { background-color: var(--nw-gold); }
.nw-hover\:border-ember:hover { border-color: var(--nw-ember); }
.nw-hover\:border-gold:hover { border-color: var(--nw-gold); }
.nw-hover\:shadow-ember:hover { box-shadow: 0 0 20px rgba(255, 107, 0, 0.4); }
.nw-hover\:shadow-gold:hover { box-shadow: 0 0 20px rgba(255, 215, 0, 0.4); }
.nw-hover\:glow-ember:hover { box-shadow: 0 0 10px var(--nw-ember), 0 0 20px rgba(255, 107, 0, 0.3), 0 0 40px rgba(255, 107, 0, 0.1); }

/* ============================================
   ACTIVE STATES
   ============================================ */
.nw-active\:scale-95:active { transform: scale(0.95); }
.nw-active\:scale-100:active { transform: scale(1); }
.nw-active\:opacity-70:active { opacity: 0.7; }

/* ============================================
   FOCUS STATES
   ============================================ */
.nw-focus\:outline-none:focus { outline: none; }
.nw-focus\:ring-ember:focus { box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.4); }
.nw-focus\:ring-gold:focus { box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.4); }
.nw-focus\:border-ember:focus { border-color: var(--nw-ember); }

/* ============================================
   NW COMPONENT CLASSES (Pre-built)
   ============================================ */

/* NW Button Base */
.nw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  outline: none;
}
.nw-btn:active { transform: scale(0.95); }

/* Button Variants */
.nw-btn-ember {
  background: linear-gradient(135deg, var(--nw-ember), var(--nw-ember-dark));
  color: white;
}
.nw-btn-ember:hover {
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
  transform: translateY(-2px);
}

.nw-btn-gold {
  background: linear-gradient(135deg, var(--nw-gold), var(--nw-gold-dark));
  color: black;
}
.nw-btn-gold:hover {
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  transform: translateY(-2px);
}

.nw-btn-outline {
  background: transparent;
  border: 2px solid var(--nw-ember);
  color: var(--nw-ember);
}
.nw-btn-outline:hover {
  background: var(--nw-ember);
  color: white;
}

.nw-btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}
.nw-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* NW Card */
.nw-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nw-card:hover {
  border-color: rgba(255, 107, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nw-card-ember {
  border-color: rgba(255, 107, 0, 0.2);
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.05), rgba(255, 107, 0, 0.02));
}
.nw-card-ember:hover {
  border-color: var(--nw-ember);
  box-shadow: 0 0 30px rgba(255, 107, 0, 0.2);
}

.nw-card-gold {
  border-color: rgba(255, 215, 0, 0.2);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 215, 0, 0.02));
}
.nw-card-gold:hover {
  border-color: var(--nw-gold);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

/* NW Glass Card */
.nw-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}

/* NW Badge */
.nw-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
}
.nw-badge-ember { background: var(--nw-ember); color: white; }
.nw-badge-gold { background: var(--nw-gold); color: black; }
.nw-badge-mystic { background: var(--nw-mystic); color: white; }
.nw-badge-success { background: var(--nw-success); color: white; }
.nw-badge-error { background: var(--nw-error); color: white; }

/* NW Input */
.nw-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: white;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}
.nw-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.nw-input:focus {
  border-color: var(--nw-ember);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes nw-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes nw-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes nw-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes nw-slide-down {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes nw-scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes nw-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes nw-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes nw-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes nw-glow-pulse {
  0%, 100% { box-shadow: 0 0 10px var(--nw-ember), 0 0 20px rgba(255, 107, 0, 0.3); }
  50% { box-shadow: 0 0 20px var(--nw-ember), 0 0 40px rgba(255, 107, 0, 0.5); }
}
@keyframes nw-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Animation classes */
.nw-animate-fade-in { animation: nw-fade-in 0.3s ease-out; }
.nw-animate-fade-out { animation: nw-fade-out 0.3s ease-out; }
.nw-animate-slide-up { animation: nw-slide-up 0.4s ease-out; }
.nw-animate-slide-down { animation: nw-slide-down 0.4s ease-out; }
.nw-animate-scale-in { animation: nw-scale-in 0.3s ease-out; }
.nw-animate-pulse { animation: nw-pulse 2s ease-in-out infinite; }
.nw-animate-bounce { animation: nw-bounce 1s ease-in-out infinite; }
.nw-animate-spin { animation: nw-spin 1s linear infinite; }
.nw-animate-glow { animation: nw-glow-pulse 2s ease-in-out infinite; }

/* Shimmer effect */
.nw-shimmer {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: nw-shimmer 1.5s infinite;
}

/* ============================================
   RESPONSIVE - MOBILE FIRST
   ============================================ */
/* sm: 640px+ */
@media (min-width: 640px) {
  .sm\:nw-flex { display: flex; }
  .sm\:nw-hidden { display: none; }
  .sm\:nw-block { display: block; }
  .sm\:nw-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:nw-text-lg { font-size: var(--nw-text-lg); }
  .sm\:nw-p-6 { padding: 1.5rem; }
  .sm\:nw-px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* md: 768px+ */
@media (min-width: 768px) {
  .md\:nw-flex { display: flex; }
  .md\:nw-hidden { display: none; }
  .md\:nw-block { display: block; }
  .md\:nw-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:nw-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:nw-text-xl { font-size: var(--nw-text-xl); }
  .md\:nw-text-2xl { font-size: var(--nw-text-2xl); }
  .md\:nw-p-8 { padding: 2rem; }
  .md\:nw-px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:nw-gap-6 { gap: 1.5rem; }
}

/* lg: 1024px+ */
@media (min-width: 1024px) {
  .lg\:nw-flex { display: flex; }
  .lg\:nw-hidden { display: none; }
  .lg\:nw-block { display: block; }
  .lg\:nw-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:nw-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:nw-text-2xl { font-size: var(--nw-text-2xl); }
  .lg\:nw-text-3xl { font-size: var(--nw-text-3xl); }
  .lg\:nw-p-10 { padding: 2.5rem; }
  .lg\:nw-gap-8 { gap: 2rem; }
}

/* xl: 1280px+ */
@media (min-width: 1280px) {
  .xl\:nw-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xl\:nw-grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .xl\:nw-max-w-6xl { max-width: 72rem; }
}

/* ============================================
   TAILWIND COMPATIBILITY LAYER
   Direct Tailwind class names for migration
   ============================================ */

/* Display */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }

/* Flexbox */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-none { flex: none; }
.flex-shrink-0 { flex-shrink: 0; }
.grow { flex-grow: 1; }
.shrink-0 { flex-shrink: 0; }

/* Justify & Align */
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-stretch { align-items: stretch; }
.self-center { align-self: center; }
.self-start { align-self: flex-start; }
.self-end { align-self: flex-end; }

/* Grid */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.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)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-full { grid-column: 1 / -1; }

/* Gap */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-x-2 { column-gap: 0.5rem; }
.gap-x-4 { column-gap: 1rem; }
.gap-y-2 { row-gap: 0.5rem; }
.gap-y-4 { row-gap: 1rem; }

/* Spacing - Padding */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.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; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.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-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-20 { padding-bottom: 5rem; }
.pl-2 { padding-left: 0.5rem; }
.pl-4 { padding-left: 1rem; }
.pr-2 { padding-right: 0.5rem; }
.pr-4 { padding-right: 1rem; }

/* Spacing - Margin */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-4 { margin: 1rem; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.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-8 { margin-bottom: 2rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-4 { margin-left: 1rem; }
.ml-auto { margin-left: auto; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mr-4 { margin-right: 1rem; }
.-mt-1 { margin-top: -0.25rem; }
.-mt-2 { margin-top: -0.5rem; }
.-ml-1 { margin-left: -0.25rem; }

/* Space Between */
.space-x-1 > * + * { margin-left: 0.25rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Width */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-screen { width: 100vw; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.w-1\/4 { width: 25%; }
.w-3\/4 { width: 75%; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-40 { width: 10rem; }
.w-48 { width: 12rem; }
.w-64 { width: 16rem; }
.min-w-0 { min-width: 0; }
.min-w-full { min-width: 100%; }
.min-w-\[140px\] { min-width: 140px; }
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-full { max-width: 100%; }

/* Height */
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-screen { height: 100vh; }
.h-1\/2 { height: 50%; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-40 { height: 10rem; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }
.min-h-screen { min-height: 100vh; }
.min-h-full { min-height: 100%; }
.max-h-full { max-height: 100%; }
.max-h-screen { max-height: 100vh; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.static { position: static; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.inset-y-0 { top: 0; bottom: 0; }
.top-0 { top: 0; }
.top-1 { top: 0.25rem; }
.top-2 { top: 0.5rem; }
.top-4 { top: 1rem; }
.top-1\/2 { top: 50%; }
.right-0 { right: 0; }
.right-2 { right: 0.5rem; }
.right-4 { right: 1rem; }
.bottom-0 { bottom: 0; }
.bottom-2 { bottom: 0.5rem; }
.bottom-4 { bottom: 1rem; }
.left-0 { left: 0; }
.left-1\/2 { left: 50%; }

/* Z-Index */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-\[100\] { z-index: 100; }
.-z-10 { z-index: -10; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-scroll { overflow: scroll; }
.overflow-visible { overflow: visible; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-hidden { overflow-y: hidden; }

/* Typography - Font Size */
.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-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

/* Typography - Font Weight */
.font-thin { font-weight: 100; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

/* Typography - Font Style */
.italic { font-style: italic; }
.not-italic { font-style: normal; }
.font-mono { font-family: ui-monospace, SFMono-Regular, monospace; }

/* Typography - Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

/* Typography - Line Height */
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }

/* Typography - Text Transform */
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.normal-case { text-transform: none; }

/* Typography - Text Decoration */
.underline { text-decoration: underline; }
.line-through { text-decoration: line-through; }
.no-underline { text-decoration: none; }

/* Typography - Whitespace */
.whitespace-normal { white-space: normal; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre { white-space: pre; }
.whitespace-pre-line { white-space: pre-line; }
.whitespace-pre-wrap { white-space: pre-wrap; }

/* Typography - Word Break */
.break-normal { word-break: normal; overflow-wrap: normal; }
.break-words { overflow-wrap: break-word; }
.break-all { word-break: break-all; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Text Colors */
.text-white { color: #ffffff; }
.text-black { color: #000000; }
.text-transparent { color: transparent; }
.text-gray-100 { color: #f3f4f6; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-red-300 { color: #fca5a5; }
.text-red-400 { color: #f87171; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-orange-300 { color: #fdba74; }
.text-orange-400 { color: #fb923c; }
.text-orange-500 { color: #f97316; }
.text-orange-600 { color: #ea580c; }
.text-yellow-200\/80 { color: rgba(254, 240, 138, 0.8); }
.text-yellow-300 { color: #fde047; }
.text-yellow-400 { color: #facc15; }
.text-yellow-500 { color: #eab308; }
.text-yellow-600 { color: #ca8a04; }
.text-green-300 { color: #86efac; }
.text-green-400 { color: #4ade80; }
.text-green-500 { color: #22c55e; }
.text-green-600 { color: #16a34a; }
.text-blue-300 { color: #93c5fd; }
.text-blue-400 { color: #60a5fa; }
.text-blue-500 { color: #3b82f6; }
.text-blue-600 { color: #2563eb; }
.text-purple-300 { color: #d8b4fe; }
.text-purple-400 { color: #c084fc; }
.text-purple-500 { color: #a855f7; }
.text-purple-600 { color: #9333ea; }
.text-pink-200\/80 { color: rgba(251, 207, 232, 0.8); }
.text-pink-300 { color: #f9a8d4; }
.text-pink-400 { color: #f472b6; }
.text-pink-500 { color: #ec4899; }
.text-cyan-300 { color: #67e8f9; }
.text-cyan-400 { color: #22d3ee; }

/* Background Colors */
.bg-transparent { background-color: transparent; }
.bg-white { background-color: #ffffff; }
.bg-black { background-color: #000000; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-300 { background-color: #d1d5db; }
.bg-gray-400 { background-color: #9ca3af; }
.bg-gray-500 { background-color: #6b7280; }
.bg-gray-600 { background-color: #4b5563; }
.bg-gray-700 { background-color: #374151; }
.bg-gray-800 { background-color: #1f2937; }
.bg-gray-900 { background-color: #111827; }
.bg-gray-900\/50 { background-color: rgba(17, 24, 39, 0.5); }
.bg-red-500 { background-color: #ef4444; }
.bg-red-500\/10 { background-color: rgba(239, 68, 68, 0.1); }
.bg-red-500\/30 { background-color: rgba(239, 68, 68, 0.3); }
.bg-orange-500 { background-color: #f97316; }
.bg-orange-500\/10 { background-color: rgba(249, 115, 22, 0.1); }
.bg-orange-600 { background-color: #ea580c; }
.bg-yellow-400 { background-color: #facc15; }
.bg-yellow-500 { background-color: #eab308; }
.bg-yellow-500\/10 { background-color: rgba(234, 179, 8, 0.1); }
.bg-yellow-500\/20 { background-color: rgba(234, 179, 8, 0.2); }
.bg-yellow-600 { background-color: #ca8a04; }
.bg-green-500 { background-color: #22c55e; }
.bg-green-500\/10 { background-color: rgba(34, 197, 94, 0.1); }
.bg-green-500\/30 { background-color: rgba(34, 197, 94, 0.3); }
.bg-blue-500 { background-color: #3b82f6; }
.bg-blue-500\/10 { background-color: rgba(59, 130, 246, 0.1); }
.bg-purple-500 { background-color: #a855f7; }
.bg-purple-500\/10 { background-color: rgba(168, 85, 247, 0.1); }
.bg-pink-500 { background-color: #ec4899; }
.bg-pink-500\/10 { background-color: rgba(236, 72, 153, 0.1); }

/* NW Brand Background Colors */
.bg-iron { background-color: #9ca3af; }
.bg-wood { background-color: #a1887f; }
.bg-stone { background-color: #78909c; }
.bg-gold { background-color: #ffd700; }
.bg-diamond { background-color: #b9f2ff; }

/* Gradients */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-l { background-image: linear-gradient(to left, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-bl { background-image: linear-gradient(to bottom left, var(--tw-gradient-stops)); }
.bg-gradient-to-tr { background-image: linear-gradient(to top right, var(--tw-gradient-stops)); }
.bg-gradient-to-tl { background-image: linear-gradient(to top left, var(--tw-gradient-stops)); }
.from-orange-500 { --tw-gradient-from: #f97316; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-yellow-500 { --tw-gradient-from: #eab308; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-orange-600 { --tw-gradient-to: #ea580c; }
.to-yellow-600 { --tw-gradient-to: #ca8a04; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }

/* Border Radius */
.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: 0.125rem; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.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; }
.rounded-t-lg { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; }
.rounded-b-lg { border-bottom-left-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }
.rounded-l-lg { border-top-left-radius: 0.5rem; border-bottom-left-radius: 0.5rem; }
.rounded-r-lg { border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }

/* Border Width */
.border { border-width: 1px; }
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-8 { border-width: 8px; }
.border-t { border-top-width: 1px; }
.border-r { border-right-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-l { border-left-width: 1px; }
.border-t-2 { border-top-width: 2px; }
.border-b-2 { border-bottom-width: 2px; }

/* Border Style */
.border-solid { border-style: solid; }
.border-dashed { border-style: dashed; }
.border-dotted { border-style: dotted; }
.border-none { border-style: none; }

/* Border Colors */
.border-transparent { border-color: transparent; }
.border-white { border-color: #ffffff; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-500 { border-color: #6b7280; }
.border-gray-600 { border-color: #4b5563; }
.border-gray-600\/30 { border-color: rgba(75, 85, 99, 0.3); }
.border-gray-700 { border-color: #374151; }
.border-red-500 { border-color: #ef4444; }
.border-red-500\/20 { border-color: rgba(239, 68, 68, 0.2); }
.border-orange-500 { border-color: #f97316; }
.border-orange-500\/30 { border-color: rgba(249, 115, 22, 0.3); }
.border-orange-500\/50 { border-color: rgba(249, 115, 22, 0.5); }
.border-orange-900\/30 { border-color: rgba(124, 45, 18, 0.3); }
.border-yellow-400 { border-color: #facc15; }
.border-yellow-400\/40 { border-color: rgba(250, 204, 21, 0.4); }
.border-yellow-400\/50 { border-color: rgba(250, 204, 21, 0.5); }
.border-yellow-500 { border-color: #eab308; }
.border-yellow-500\/30 { border-color: rgba(234, 179, 8, 0.3); }
.border-green-500 { border-color: #22c55e; }
.border-green-500\/20 { border-color: rgba(34, 197, 94, 0.2); }
.border-green-500\/30 { border-color: rgba(34, 197, 94, 0.3); }
.border-blue-500 { border-color: #3b82f6; }
.border-purple-500 { border-color: #a855f7; }
.border-purple-500\/30 { border-color: rgba(168, 85, 247, 0.3); }
.border-pink-400\/40 { border-color: rgba(244, 114, 182, 0.4); }
.border-pink-400\/60 { border-color: rgba(244, 114, 182, 0.6); }
.border-pink-500\/30 { border-color: rgba(236, 72, 153, 0.3); }

/* Shadow */
.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* Cursor */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }
.cursor-move { cursor: move; }
.cursor-grab { cursor: grab; }

/* Pointer Events */
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* User Select */
.select-none { user-select: none; }
.select-text { user-select: text; }
.select-all { user-select: all; }

/* Transition */
.transition-none { transition-property: none; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }
.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; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }
.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.ease-in { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

/* Transform */
.transform { transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.transform-none { transform: none; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-y-0 { transform: translateY(0); }
.translate-y-1 { transform: translateY(0.25rem); }
.translate-y-full { transform: translateY(100%); }
.-translate-y-full { transform: translateY(-100%); }
.scale-95 { transform: scale(0.95); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }
.rotate-0 { transform: rotate(0deg); }
.rotate-45 { transform: rotate(45deg); }
.rotate-90 { transform: rotate(90deg); }
.rotate-180 { transform: rotate(180deg); }
.-rotate-45 { transform: rotate(-45deg); }
.-rotate-90 { transform: rotate(-90deg); }

/* Object Fit */
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.object-fill { object-fit: fill; }
.object-center { object-position: center; }

/* Aspect Ratio */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.aspect-\[3\/4\] { aspect-ratio: 3 / 4; }

/* Filter */
.blur { filter: blur(8px); }
.blur-sm { filter: blur(4px); }
.blur-md { filter: blur(12px); }
.blur-lg { filter: blur(16px); }
.blur-none { filter: blur(0); }
.brightness-50 { filter: brightness(0.5); }
.brightness-75 { filter: brightness(0.75); }
.brightness-100 { filter: brightness(1); }
.brightness-110 { filter: brightness(1.1); }
.brightness-125 { filter: brightness(1.25); }
.grayscale { filter: grayscale(100%); }
.grayscale-0 { filter: grayscale(0); }

/* Backdrop Filter */
.backdrop-blur { backdrop-filter: blur(8px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.backdrop-blur-lg { backdrop-filter: blur(16px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); }

/* Ring */
.ring-1 { box-shadow: 0 0 0 1px var(--tw-ring-color, rgba(59, 130, 246, 0.5)); }
.ring-2 { box-shadow: 0 0 0 2px var(--tw-ring-color, rgba(59, 130, 246, 0.5)); }
.ring-4 { box-shadow: 0 0 0 4px var(--tw-ring-color, rgba(59, 130, 246, 0.5)); }
.ring-orange-500 { --tw-ring-color: #f97316; }
.ring-offset-2 { --tw-ring-offset-width: 2px; }

/* Visibility */
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* Screen Reader Only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }

/* Hover States */
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:bg-gray-700:hover { background-color: #374151; }
.hover\:bg-orange-600:hover { background-color: #ea580c; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:text-orange-400:hover { color: #fb923c; }
.hover\:border-orange-500:hover { border-color: #f97316; }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }

/* Focus States */
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--tw-ring-color, rgba(59, 130, 246, 0.5)); }
.focus\:ring-orange-500:focus { --tw-ring-color: #f97316; }

/* Active States */
.active\:scale-95:active { transform: scale(0.95); }

/* Group Hover */
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }

/* Responsive */
@media (min-width: 640px) {
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none; }
  .sm\:block { display: block; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:text-lg { font-size: 1.125rem; }
  .sm\:p-6 { padding: 1.5rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:text-xl { font-size: 1.25rem; }
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:p-8 { padding: 2rem; }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:gap-6 { gap: 1.5rem; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:text-2xl { font-size: 1.5rem; }
  .lg\:text-3xl { font-size: 1.875rem; }
  .lg\:p-10 { padding: 2.5rem; }
  .lg\:gap-8 { gap: 2rem; }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xl\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .xl\:max-w-6xl { max-width: 72rem; }
}

/* ============================================
   CAPTIVATING BACKGROUND SYSTEM
   Reusable layered background for all pages
   ============================================ */

/* Base background layer container */
.nw-bg-captivating {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
}

/* Hero image layer */
.nw-bg-captivating .bg-image {
  position: absolute;
  inset: 0;
  background: url('/static/hero-banner.webp') center center / cover no-repeat;
  opacity: 0.12;
  filter: blur(2px);
}

/* Alternative backgrounds */
.nw-bg-captivating.bg-guild .bg-image { background-image: url('/static/guild-base.jpg'); }
.nw-bg-captivating.bg-fun .bg-image { background-image: url('/static/guild-fun-1.jpg'); }
.nw-bg-captivating.bg-arena .bg-image { background-image: url('/static/hero-banner.webp'); }

/* Gradient overlay */
.nw-bg-captivating .bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(10,10,20,0.95) 0%,
    rgba(10,10,20,0.7) 20%,
    rgba(20,15,30,0.8) 50%,
    rgba(10,10,20,0.9) 80%,
    rgba(10,10,20,1) 100%);
}

/* Floating particle orbs */
.nw-bg-captivating .bg-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.nw-bg-captivating .bg-particles::before,
.nw-bg-captivating .bg-particles::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: nw-float-particles 15s ease-in-out infinite;
}

.nw-bg-captivating .bg-particles::before {
  background: var(--nw-ember, #ff6b00);
  top: 10%;
  left: -100px;
}

.nw-bg-captivating .bg-particles::after {
  background: var(--nw-gold, #ffd700);
  bottom: 20%;
  right: -100px;
  animation-delay: -7s;
}

@keyframes nw-float-particles {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, 30px) scale(1.1); }
  50% { transform: translate(20px, -20px) scale(0.9); }
  75% { transform: translate(-30px, 40px) scale(1.05); }
}

/* Subtle grid overlay */
.nw-bg-captivating .bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,107,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,0,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Scanline effect (optional) */
.nw-bg-captivating .bg-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
}

/* Vignette effect */
.nw-bg-captivating .bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 100%);
}

/* ============================================
   UNIFIED LANGUAGE SWITCHER - Premium Glass Design
   統一語言切換器 - 透明高質感設計
   ============================================ */

/* Toggle Button */
.nw-lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nw-lang-toggle:hover {
  background: rgba(255, 107, 0, 0.15);
  border-color: rgba(255, 107, 0, 0.4);
  transform: translateY(-1px);
}

.nw-lang-toggle .flag {
  font-size: 20px;
  line-height: 1;
}

.nw-lang-toggle .code {
  font-size: 14px;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.nw-lang-toggle .chevron {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  transition: transform 0.3s ease;
}

.nw-lang-toggle.open .chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.nw-lang-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(15, 15, 25, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 107, 0, 0.2);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(255, 107, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nw-lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Dropdown Items */
.nw-lang-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.nw-lang-item:hover {
  background: rgba(255, 107, 0, 0.15);
  color: #fff;
  transform: translateX(4px);
}

.nw-lang-item.active {
  background: rgba(255, 107, 0, 0.2);
  color: #ff9d4d;
}

.nw-lang-item .flag {
  font-size: 26px;
  line-height: 1;
}

.nw-lang-item .lang-name {
  flex: 1;
}

.nw-lang-item .check {
  width: 18px;
  height: 18px;
  opacity: 0;
  color: #ff6b00;
  transition: opacity 0.2s;
}

.nw-lang-item.active .check {
  opacity: 1;
}

/* Divider between items */
.nw-lang-item + .nw-lang-item {
  margin-top: 4px;
}
