/* =========================================================================
   BATIQ COMPOSITOR REQUESTS BOARD - LUXURY DESIGN SYSTEM
   ========================================================================= */

:root {
  --bg-void: #05070B;
  --bg-0: #080B11;
  --bg-1: #0D121B;
  --bg-2: #131924;
  --bg-3: #19212F;
  --surface: #1E2636;
  --surface-raised: #252F42;
  --surface-hover: #2E3A52;

  /* Gold & Warm Brass Spectrum */
  --gold-100: #FFF5DD;
  --gold-200: #F6DF9F;
  --gold-300: #E0B356;
  --gold-400: #C28D32;
  --gold-500: #8E601C;
  --gold-glow: rgba(224, 179, 86, 0.16);
  --gold-border: rgba(224, 179, 86, 0.22);
  --gold-subtle: rgba(224, 179, 86, 0.08);
  --gold-gradient: linear-gradient(135deg, #FFF4D9 0%, #E8BD65 42%, #BA852E 78%, #724912 100%);

  /* Soft Porcelain & Warm Ivory Text */
  --ivory-100: #F8F5EE;
  --ivory-200: #E8E1D3;
  --ivory-300: #CEBEAE;
  --text-muted: #8491A2;
  --text-dim: #505D6E;

  /* Node Accent Spectrum */
  --n-read: #3BB1AB;
  --n-solid: #40B584;
  --n-mask: #CA497E;
  --n-keyer: #45B069;
  --n-fx: #E5923A;
  --n-color: #9B70F5;
  --n-blur: #3D86ED;
  --n-merge: #DD6946;
  --n-chan: #2DAAB8;
  --n-xform: #49A0E0;
  --n-write: #D04E77;
  --n-viewer: #E7B03D;

  /* Status Colors */
  --status-in-dev: #40B584;
  --status-planned: #E0B356;
  --status-review: #9B70F5;
  --status-shipped: #3BB1AB;

  /* Fonts */
  --font-display: 'Cinzel', serif;
  --font-ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radii & Spacing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --max-width: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-void);
  color: var(--ivory-100);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-void);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(224, 179, 86, 0.09) 0%, transparent 60%),
    radial-gradient(circle at 15% 35%, rgba(59, 177, 171, 0.035) 0%, transparent 50%),
    radial-gradient(circle at 85% 65%, rgba(229, 146, 58, 0.03) 0%, transparent 50%),
    linear-gradient(to bottom, #05070B 0%, #090C13 50%, #05070B 100%);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
}

::selection {
  background: var(--gold-300);
  color: #06080D;
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  width: 100%;
}

/* Ambient Pattern */
.batik-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23E0B356' stroke-width='1'%3E%3Ccircle cx='60' cy='60' r='50'/%3E%3Ccircle cx='60' cy='60' r='38' stroke-dasharray='4,4'/%3E%3Ccircle cx='60' cy='60' r='24'/%3E%3Cpath d='M60 10 C35 35 35 85 60 110 C85 85 85 35 60 10 Z'/%3E%3Cpath d='M10 60 C35 35 85 35 110 60 C85 85 35 85 10 60 Z'/%3E%3Ccircle cx='60' cy='60' r='5' fill='%23E0B356'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  color: var(--ivory-100);
}

h2 {
  font-size: clamp(22px, 3vw, 36px);
  color: var(--ivory-100);
}

h3 {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--ivory-100);
}

.gold-shimmer {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.lead {
  color: var(--ivory-300);
  font-size: clamp(14.5px, 1.2vw, 17px);
  line-height: 1.65;
  max-width: 62ch;
}

.sect-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 12px;
}

.sect-label::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--gold-300);
  opacity: 0.7;
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 17, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(224, 179, 86, 0.14);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5), 0 0 12px var(--gold-glow);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
  list-style: none;
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--ivory-300);
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-200);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-300);
  box-shadow: 0 0 8px var(--gold-glow);
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #07090F;
  background: var(--gold-gradient);
  border: 1px solid #FFEFC2;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px rgba(224, 179, 86, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(224, 179, 86, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(0);
}

.btn.ghost {
  color: var(--gold-200);
  background: rgba(19, 25, 36, 0.6);
  border: 1px solid var(--gold-border);
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
}

.btn.ghost:hover {
  background: rgba(224, 179, 86, 0.1);
  border-color: var(--gold-300);
  color: #FFF;
  box-shadow: 0 8px 22px rgba(0,0,0,0.5), 0 0 16px var(--gold-glow);
}

.btn.primary-action {
  padding: 12px 24px;
  font-size: 12px;
}

.btn-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* =========================================================================
   PAGE HERO & STATS RIBBON
   ========================================================================= */
.requests-hero {
  padding: clamp(40px, 5vw, 64px) 0 clamp(24px, 3vw, 36px);
  position: relative;
  z-index: 2;
}

.requests-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 960px) {
  .requests-hero-grid {
    grid-template-columns: 1.35fr 1fr;
  }
}

.hero-stats-panel {
  background: linear-gradient(170deg, rgba(16, 22, 34, 0.85) 0%, rgba(8, 11, 17, 0.95) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 16px 45px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255, 245, 221, 0.15);
  backdrop-filter: blur(12px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

@media (min-width: 500px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-box {
  padding: 14px 12px;
  background: rgba(19, 25, 36, 0.6);
  border: 1px solid rgba(80, 93, 110, 0.25);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.stat-box:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-200);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.hero-cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(224, 179, 86, 0.12);
}

.hero-cta-desc {
  font-size: 13px;
  color: var(--ivory-300);
}

/* =========================================================================
   TOOLBAR: SEARCH, CATEGORIES & SORT
   ========================================================================= */
.board-toolbar {
  position: sticky;
  top: 70px;
  z-index: 90;
  background: rgba(8, 11, 17, 0.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(224, 179, 86, 0.1);
  border-bottom: 1px solid rgba(224, 179, 86, 0.14);
  padding: 14px 0;
  margin-bottom: 30px;
}

.toolbar-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 900px) {
  .toolbar-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 420px;
}

.search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  background: var(--bg-1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  color: var(--ivory-100);
  font-family: var(--font-ui);
  font-size: 13.5px;
  outline: none;
  transition: all 0.2s;
}

.search-input::placeholder {
  color: var(--text-dim);
}

.search-input:focus {
  border-color: var(--gold-300);
  box-shadow: 0 0 16px var(--gold-glow);
  background: var(--bg-2);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  fill: var(--text-dim);
  pointer-events: none;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-pill {
  padding: 6px 13px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ivory-300);
  background: rgba(19, 25, 36, 0.7);
  border: 1px solid rgba(80, 93, 110, 0.25);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.filter-pill:hover {
  border-color: var(--gold-300);
  color: var(--ivory-100);
}

.filter-pill.active {
  background: var(--gold-300);
  color: #06080D;
  border-color: var(--gold-200);
  font-weight: 600;
  box-shadow: 0 0 12px var(--gold-glow);
}

.sort-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.select-control {
  padding: 8px 12px;
  background: var(--bg-1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  color: var(--ivory-200);
  font-family: var(--font-mono);
  font-size: 11px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.select-control:focus {
  border-color: var(--gold-300);
}

/* Category Filter Sub-Bar */
.category-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-border) transparent;
}

.cat-btn {
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.cat-btn:hover {
  color: var(--ivory-200);
  border-color: rgba(224, 179, 86, 0.15);
}

.cat-btn.active {
  color: var(--gold-200);
  background: rgba(224, 179, 86, 0.08);
  border-color: var(--gold-border);
}

/* =========================================================================
   REQUESTS GRID & CARD ARCHITECTURE
   ========================================================================= */
.requests-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 60px;
  min-height: 380px;
}

.request-card {
  position: relative;
  background: linear-gradient(175deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 38px rgba(0,0,0,0.65), inset 0 1px 0 rgba(255, 245, 221, 0.1);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}

.request-card:hover {
  border-color: rgba(224, 179, 86, 0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 20px var(--gold-glow);
}

.card-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 24px;
}

@media (max-width: 600px) {
  .card-main {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }
}

/* Upvote Column Button */
.upvote-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.upvote-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 58px;
  padding: 10px 0;
  background: rgba(19, 25, 36, 0.8);
  border: 1px solid rgba(224, 179, 86, 0.2);
  border-radius: var(--radius-sm);
  color: var(--ivory-200);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.upvote-btn:hover {
  border-color: var(--gold-300);
  background: rgba(224, 179, 86, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}

.upvote-btn.voted {
  background: var(--gold-gradient);
  border-color: #FFEFC2;
  color: #07090F;
  box-shadow: 0 6px 18px rgba(224, 179, 86, 0.35);
  font-weight: 700;
}

.upvote-btn.voted .upvote-icon {
  fill: #07090F;
  transform: translateY(-1px);
}

.upvote-icon {
  width: 14px;
  height: 14px;
  fill: var(--gold-300);
  transition: transform 0.2s;
}

.upvote-count {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

/* Card Body Content */
.card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-badge.in-dev {
  background: rgba(64, 181, 132, 0.15);
  border: 1px solid rgba(64, 181, 132, 0.4);
  color: var(--status-in-dev);
}

.status-badge.planned {
  background: rgba(224, 179, 86, 0.15);
  border: 1px solid rgba(224, 179, 86, 0.4);
  color: var(--gold-200);
}

.status-badge.review {
  background: rgba(155, 112, 245, 0.15);
  border: 1px solid rgba(155, 112, 245, 0.4);
  color: var(--status-review);
}

.status-badge.shipped {
  background: rgba(59, 177, 171, 0.15);
  border: 1px solid rgba(59, 177, 171, 0.4);
  color: var(--status-shipped);
}

.category-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  background: rgba(19, 25, 36, 0.7);
  border: 1px solid rgba(80, 93, 110, 0.3);
  color: var(--ivory-300);
}

.impact-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.software-ref {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold-400);
  background: rgba(224, 179, 86, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px dashed rgba(224, 179, 86, 0.25);
}

.request-title {
  font-size: 18px;
  color: var(--ivory-100);
  line-height: 1.3;
}

.request-desc {
  font-size: 14px;
  color: var(--ivory-300);
  line-height: 1.65;
}

.author-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.author-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface-raised);
  border: 1px solid var(--gold-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--gold-200);
}

/* Card Action Bar & Discussion Toggle */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(8, 11, 17, 0.5);
  border-top: 1px solid rgba(224, 179, 86, 0.08);
}

@media (max-width: 600px) {
  .card-footer {
    padding: 12px 18px;
  }
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--ivory-300);
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
  transition: color 0.2s;
  padding: 4px 6px;
  border-radius: 4px;
}

.footer-btn:hover {
  color: var(--gold-200);
  background: rgba(224, 179, 86, 0.06);
}

.footer-icon {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* =========================================================================
   DISCUSSION / COMMENTS DRAWER
   ========================================================================= */
.discussion-drawer {
  display: none;
  background: #080B11;
  border-top: 1px solid rgba(224, 179, 86, 0.12);
  padding: 20px 24px;
  animation: fadeIn 0.2s ease;
}

.discussion-drawer.open {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.comment-item {
  background: var(--bg-1);
  border: 1px solid rgba(80, 93, 110, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.comment-author {
  color: var(--gold-200);
  font-weight: 600;
}

.comment-time {
  color: var(--text-dim);
}

.comment-text {
  font-size: 13.5px;
  color: var(--ivory-200);
  line-height: 1.6;
}

/* Add Comment Box */
.add-comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 600px) {
  .comment-input-row {
    grid-template-columns: 1fr;
  }
}

.input-field {
  padding: 9px 12px;
  background: var(--bg-2);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  color: var(--ivory-100);
  font-family: var(--font-ui);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.input-field:focus {
  border-color: var(--gold-300);
  background: var(--bg-3);
}

.input-field::placeholder {
  color: var(--text-dim);
}

textarea.input-field {
  resize: vertical;
  min-height: 70px;
  line-height: 1.5;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-1);
  border: 1px dashed var(--gold-border);
  border-radius: var(--radius-lg);
}

.empty-icon {
  width: 48px;
  height: 48px;
  fill: var(--gold-400);
  margin-bottom: 12px;
  opacity: 0.7;
}

/* =========================================================================
   SUBMIT REQUEST MODAL DIALOG
   ========================================================================= */
dialog.luxury-modal {
  margin: auto;
  border: 1.5px solid var(--gold-300);
  border-radius: var(--radius-xl);
  background: linear-gradient(175deg, #0D121B 0%, #06080E 100%);
  color: var(--ivory-100);
  padding: 0;
  max-width: 620px;
  width: 90vw;
  box-shadow:
    0 30px 90px rgba(0,0,0,0.95),
    0 0 40px var(--gold-glow);
  outline: none;
}

dialog.luxury-modal::backdrop {
  background: rgba(5, 7, 11, 0.85);
  backdrop-filter: blur(12px);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(224, 179, 86, 0.15);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ivory-100);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: var(--gold-200);
  background: rgba(224, 179, 86, 0.1);
}

.modal-form {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-200);
}

.form-helper {
  font-size: 11.5px;
  color: var(--text-muted);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 540px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(224, 179, 86, 0.12);
}

/* =========================================================================
   HOW IT WORKS BANNER & EXAMPLE BADGES
   ========================================================================= */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.step-card {
  background: rgba(13, 18, 27, 0.6);
  border: 1px dashed rgba(224, 179, 86, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(224, 179, 86, 0.15);
  border: 1px solid var(--gold-300);
  color: var(--gold-200);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text h4 {
  font-size: 13.5px;
  color: var(--ivory-100);
  margin-bottom: 3px;
}

.step-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.example-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  color: #06080D;
  background: var(--gold-gradient);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =========================================================================
   TOAST NOTIFICATION
   ========================================================================= */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #0D121B;
  border: 1px solid var(--gold-300);
  border-radius: var(--radius-sm);
  color: var(--ivory-100);
  font-family: var(--font-ui);
  font-size: 13px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px var(--gold-glow);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Footer */
footer {
  border-top: 1px solid var(--gold-border);
  background: #040508;
  padding: 36px 0 28px;
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
