@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&family=Silkscreen:wght@400;700&display=swap');

:root {
  /* Dark Gothic Palette */
  --bg: #0a0a0a;
  --surface: #1a1a1a;
  --surface-2: #151515;
  
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-tertiary: #999999;
  
  --accent: #ffffff;
  --accent-hover: #e0e0e0;
  
  --success: #00ff00;
  --success-bg: rgba(0, 255, 0, 0.1);
  --warning: #ffaa00;
  --warning-bg: rgba(255, 170, 0, 0.1);
  --danger: #ff0000;
  --danger-bg: rgba(255, 0, 0, 0.1);
  
  /* Gothic colors */
  --shadow-dark: #000000;
  --shadow-deep: rgba(0, 0, 0, 0.8);
  --outline-white: #ffffff;
  --outline-gray: #666666;
  
  --border: #333333;
  --border-hover: #555555;
  --divider: #222222;
  
  --shadow-pixel: 3px 3px 0 #000;
  --shadow-deep-pixel: 5px 5px 0 #000, 5px 5px 0 1px #333;
  --shadow-emboss: inset 2px 2px 0 rgba(255,255,255,0.1), inset -2px -2px 0 rgba(0,0,0,0.5);
  
  --radius: 0px;
  
  --font-pixel: 'Press Start 2P', monospace;
  --font-retro: 'VT323', monospace;
  --font-silk: 'Silkscreen', monospace;
}

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

/* Scanline overlay - subtle */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.1) 0px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
  z-index: 9999;
  opacity: 0.3;
}

body {
  font-family: var(--font-retro);
  background: var(--bg);
  background-image: url('/images/bg.gif');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text-primary);
  line-height: 1.5;
  font-size: 20px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

/* Pixel grid pattern - very subtle */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
  z-index: 0;
}

.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 20px;
  position: relative;
  z-index: 1;
}

/* TOP NAV - Gothic Pixel */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000000;
  /* border-top: 3px solid var(--outline-white); */
  border-bottom: 1px solid var(--outline-white);
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* box-shadow: 0 4px 0 var(--shadow-dark); */
  text-transform: uppercase;
}

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

.logo {
  width: 45px;
  height: 45px;
  background: var(--surface-2);
  image-rendering: pixelated;
  box-shadow: var(--shadow-pixel);
}

.logo img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  image-rendering: pixelated;
}

.brand {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-pixel);
  color: #ffffff;
  text-shadow: 
    2px 0 0 #000,
    -2px 0 0 #000,
    0 2px 0 #000,
    0 -2px 0 #000,
    2px 2px 0 #000,
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    3px 3px 0 #555;
  letter-spacing: 1px;
}

.chip-mini {
  padding: 4px 10px;
  background: var(--surface-2);
  border: 2px solid var(--border);
  font-size: 11px; 
  font-weight: 700;
  color: var(--text-tertiary);
  font-family: var(--font-pixel);
  text-transform: uppercase;
  box-shadow: var(--shadow-pixel);
  letter-spacing: 0.5px;
}

/* MAIN LAYOUT */
.launchpad {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 30px;
  align-items: start;
}

/* LEFT COLUMN */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.visual-frame {
  border: 4px solid var(--outline-white);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 1;
  box-shadow: var(--shadow-deep-pixel);
  position: relative;
}

.visual-frame::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.visual-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: pixelated;
}

/* PROGRESS SECTION */
.progress-section {
  background: var(--surface);
  border: 3px solid var(--border);
  padding: 14px;
  box-shadow: var(--shadow-pixel);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.progress-title {
  font-size: 14px;
  font-weight: 900;
  font-family: var(--font-pixel);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 
    1px 0 0 #000,
    -1px 0 0 #000,
    0 1px 0 #000,
    0 -1px 0 #000,
    1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    2px 2px 0 #555;
}

.progress-stats {
  font-family: var(--font-pixel);
  font-weight: 900;
  font-size: 14px;
  color: #ffffff;
  text-shadow: 
    1px 0 0 #000,
    -1px 0 0 #000,
    0 1px 0 #000,
    0 -1px 0 #000,
    1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    2px 2px 0 #555;
}

.progress-bar-wrap {
  width: 100%;
  height: 16px;
  background: var(--surface-2);
  border: 3px solid var(--border);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-emboss);
}

.progress-bar-wrap i {
  height: 100%;
  width: 0%;
  background: linear-gradient(180deg, #ffffff 0%, #cccccc 100%);
  display: block;
  transition: width .3s ease-out;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
  border-right: 2px solid rgba(255, 255, 255, 0.5);
}

/* PHASE STATUS BAR */
#phaseDetails.phase-status-bar {
  width: 100%;
  background: var(--surface);
  padding: 16px;
  border: 3px solid var(--outline-white);
  box-shadow: var(--shadow-pixel);
  margin-bottom: 16px;
}

.phase-line {
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 16px;
  color: var(--text-primary);
  flex-wrap: wrap;
}

.phase-line .pd-name {
  font-weight: 900;
  font-size: 17px;
  font-family: var(--font-pixel);
  color: #ffffff;
  text-shadow: 
    2px 0 0 #000,
    -2px 0 0 #000,
    0 2px 0 #000,
    0 -2px 0 #000,
    2px 2px 0 #000,
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    3px 3px 0 #555;
}

.phase-line .badge-status {
  padding: 6px 14px;
  margin-left: 10px;
  font-size: 11px;
  font-weight: 600;
  background: var(--surface-2);
  color: var(--text-secondary);
  border: 2px solid var(--border);
  font-family: var(--font-pixel);
  box-shadow: 2px 2px 0 var(--shadow-dark);
}

.phase-line .badge-status.live {
  background: var(--success);
  color: #000;
  border-color: var(--success);
}

.phase-line .pd-countdown {
  margin-left: auto;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

/* PRICE PREVIEW */
.price-phase-container {
  background: var(--surface);
  border: 3px solid var(--border);
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-pixel);
}

.price-phase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--divider);
}

.price-phase-title {
  font-size: 14px;
  font-weight: 900;
  font-family: var(--font-pixel);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 
    1px 0 0 #000,
    -1px 0 0 #000,
    0 1px 0 #000,
    0 -1px 0 #000,
    1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    2px 2px 0 #555;
}

.price-phase-title::before {
  content: '💰 ';
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.price-card {
  background: var(--surface-2);
  border: 2px solid var(--border);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s;
  box-shadow: 2px 2px 0 var(--shadow-dark);
}

.price-card:hover {
  border-color: var(--outline-gray);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--shadow-dark);
}

.price-card-label {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-pixel);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-tertiary);
}

.price-card-value {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 18px;
  color: var(--text-primary);
}

.price-card-value.free {
  color: var(--success);
}

.price-card-value.highlight {
  color: var(--warning);
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  background: var(--surface-2);
  border: 3px solid var(--outline-white);
  box-shadow: var(--shadow-pixel);
}

.total-label {
  font-size: 14px;
  font-weight: 900;
  font-family: var(--font-pixel);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-shadow: 
    1px 0 0 #000,
    -1px 0 0 #000,
    0 1px 0 #000,
    0 -1px 0 #000,
    1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    2px 2px 0 #555;
}

.total-label-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-left: 5px;
  text-transform: none;
  font-family: var(--font-retro);
}

.total-value {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 22px;
  color: #ffffff;
  text-shadow: 
    2px 0 0 #000,
    -2px 0 0 #000,
    0 2px 0 #000,
    0 -2px 0 #000,
    2px 2px 0 #000,
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    3px 3px 0 #555;
}

.total-value.free {
  color: var(--success);
}

.total-value.highlight {
  color: var(--warning);
}

/* PHASES SECTION */
.phases-section {
  background: var(--surface);
  border: 3px solid var(--border);
  padding: 14px;
  box-shadow: var(--shadow-pixel);
}

.phases-title {
  font-size: 14px;
  font-weight: 900;
  font-family: var(--font-pixel);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: #ffffff;
  text-shadow: 
    1px 0 0 #000,
    -1px 0 0 #000,
    0 1px 0 #000,
    0 -1px 0 #000,
    1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    2px 2px 0 #555;
}


/* Mint Mode Selection */
.mint-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

/* Card Base */
.mint-mode {
  position: relative;
  padding: 16px 14px;
  border: 2px solid #1a1a1a;
  background: linear-gradient(180deg, #0d0d0d, #080808);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.mint-mode:not(.active):hover {
  border-color: #2a2a2a;
}

/* Title */
.mint-mode .mode-title {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: #dfdfdf;
  transition: color 0.25s ease;
}

/* Price Badge */
.mint-mode .mode-price {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #2a2a2a;
  background: #000;
  letter-spacing: 0.5px;
  color: #dcdcdc;
  transition: all 0.25s ease;
}

/* Active State - GREEN */
.mint-mode.active {
  border-color: #00ff88;
  background: linear-gradient(180deg, #0a1a0f, #050f08);
  box-shadow: 0 0 0 1px #00ff88 inset;
}

.mint-mode.active .mode-title {
  color: #00ff88;
}

.mint-mode.active .mode-price {
  border-color: #00ff88;
  background: rgba(0, 255, 136, 0.05);
  color: #00ff88;
}

/* Mobile */
@media (max-width: 640px) {
  .mint-modes {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .mint-mode {
    padding: 18px 16px;
  }
  
  .mint-mode .mode-title {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .mint-mode .mode-price {
    padding: 7px 14px;
    font-size: 13px;
  }
}

#phaseStrip {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

#phaseStrip .phase-pill {
  background: var(--surface-2);
  border: 3px solid var(--border);
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  text-align: left;
  font-family: var(--font-retro);
  box-shadow: 2px 2px 0 var(--shadow-dark);
}

#phaseStrip .phase-pill:hover {
  border-color: var(--outline-gray);
  box-shadow: 3px 3px 0 var(--shadow-dark);
  transform: translate(-1px, -1px);
}

#phaseStrip .phase-pill.active {
  border-color: var(--outline-white);
  background: var(--surface);
  box-shadow: 4px 4px 0 var(--shadow-dark);
}

#phaseStrip .phase-pill .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

#phaseStrip .phase-pill .row + .row {
  margin-top: 10px;
}

#phaseStrip .phase-pill .chip {
  display: inline-block;
  padding: 4px 10px;
  border: 2px solid;
  font-size: 12px;
  font-weight: 900;
  font-family: var(--font-pixel);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--surface);
  color: var(--text-secondary);
  border-color: var(--border);
  box-shadow: 1px 1px 0 var(--shadow-dark);
}

#phaseStrip .phase-pill .chip-whitelist {
  color: var(--warning);
  border-color: var(--warning);
}

#phaseStrip .phase-pill .chip-public {
  color: var(--success);
  border-color: var(--success);
}

#phaseStrip .phase-pill .price {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 16px;
  color: var(--text-primary);
}

#phaseStrip .phase-pill .name {
  font-weight: 700;
  font-size: 12px;
  color: var(--text-secondary);
}

#phaseStrip .phase-pill .dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  border: 2px solid;
  background: var(--surface);
  box-shadow: 1px 1px 0 var(--shadow-dark);
}

#phaseStrip .phase-pill .dot-whitelist {
  background: var(--warning);
  border-color: var(--warning);
}

#phaseStrip .phase-pill .dot-public {
  background: var(--success);
  border-color: var(--success);
}

/* RIGHT COLUMN */
.right-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mint-panel {
  background: var(--surface);
  border: 4px solid var(--outline-white);
  padding: 24px;
  box-shadow: var(--shadow-deep-pixel);
  position: relative;
}

.mint-panel::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.panel-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--border);
}

.panel-title {
  font-size: 28px;
  font-weight: 900;
  font-family: var(--font-pixel);
  margin-bottom: 12px;
  color: #ffffff;
  text-shadow: 
    3px 0 0 #000,
    -3px 0 0 #000,
    0 3px 0 #000,
    0 -3px 0 #000,
    3px 3px 0 #000,
    -3px -3px 0 #000,
    3px -3px 0 #000,
    -3px 3px 0 #000,
    4px 4px 0 #555,
    5px 5px 0 #000;
  line-height: 1.4;
  letter-spacing: 2px;
}

.panel-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.6;
  font-family: var(--font-retro);
}

/* SECTION TITLES */
.section-title {
  font-size: 14px;
  font-weight: 900;
  font-family: var(--font-pixel);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: #ffffff;
  text-shadow: 
    1px 0 0 #000,
    -1px 0 0 #000,
    0 1px 0 #000,
    0 -1px 0 #000,
    1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    2px 2px 0 #555;
}



/* QUANTITY SECTION */
.quantity-section {
  margin-bottom: 20px;
}

.qty-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: stretch;
}

.qty-input {
  display: flex;
  align-items: center;
  background: var(--surface-2);
  border: 3px solid var(--border);
  height: 60px;
  box-shadow: var(--shadow-emboss);
  overflow: hidden;
}

.qty-input:focus-within {
  border-color: var(--outline-white);
}

.qty-input button {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: none;
  border-right: 2px solid var(--border);
  font-size: 26px;
  font-weight: 900;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.2s;
  font-family: var(--font-pixel);
}

.qty-input button:last-child {
  border-right: none;
  border-left: 2px solid var(--border);
}

.qty-input button:hover:not(:disabled) {
  background: var(--outline-white);
  color: #000;
}

.qty-input button:active:not(:disabled) {
  transform: scale(0.95);
}

.qty-input button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.qty-input input {
  flex: 1;
  height: 60px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 30px;
  font-weight: 900;
  font-family: var(--font-mono);
  outline: none;
  color: var(--text-primary);
}

.qty-input input::-webkit-outer-spin-button,
.qty-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.qty-max {
  padding: 0 18px;
  background: var(--surface-2);
  border: 3px solid var(--border);
  font-family: var(--font-mono);
  font-weight: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 90px;
  height: 60px;
  box-shadow: 2px 2px 0 var(--shadow-dark);
}

.qty-max-label {
  font-size: 11px;
  font-family: var(--font-pixel);
  text-transform: uppercase;
  color: var(--text-tertiary);
  line-height: 1;
}

.qty-max-value {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  text-shadow: 
    2px 0 0 #000,
    -2px 0 0 #000,
    0 2px 0 #000,
    0 -2px 0 #000,
    2px 2px 0 #000,
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    3px 3px 0 #555;
}

.qty-hint {
  font-size: 16px;
  color: #999999;
  margin-top: 8px;
  font-family: var(--font-retro);
}

/* NETWORK FEE - SLIDER */

/* Override inline styles for better readability */
small {
  font-size: 15px !important;
  color: #aaaaaa !important;
}

.slider {
  width: 100%;
  height: 14px;
  background: var(--surface-2);
  border: 3px solid var(--border);
  outline: none;
  -webkit-appearance: none;
  box-shadow: var(--shadow-emboss);
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--outline-white);
  cursor: grab;
  border: 3px solid #000;
  box-shadow: 2px 2px 0 var(--shadow-dark);
}

.slider::-webkit-slider-thumb:hover {
  background: var(--text-secondary);
}

.slider::-webkit-slider-thumb:active {
  cursor: grabbing;
}

.slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--outline-white);
  cursor: grab;
  border: 3px solid #000;
  box-shadow: 2px 2px 0 var(--shadow-dark);
}

#sats_per_byte {
  font-weight: 900;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 18px;
  text-shadow: 
    1px 0 0 #000,
    -1px 0 0 #000,
    0 1px 0 #000,
    0 -1px 0 #000,
    1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    2px 2px 0 #555;
}

/* ADDRESS SECTION */
.address-section {
  margin-bottom: 20px;
}

.address {
  width: 100%;
  padding: 16px 18px;
  background: var(--surface-2);
  border: 3px solid var(--border);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  outline: none;
  box-shadow: var(--shadow-emboss);
  color: var(--text-primary);
}

.address:focus {
  border-color: var(--outline-white);
}

.address::placeholder {
  color: #777777;
  font-size: 14px;
}

.address.invalid {
  border-color: var(--danger);
  animation: errorShake 0.4s ease;
}

@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

/* MINT BUTTON - Gothic Pixel */
.mint-button {
  width: 100%;
  padding: 20px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #cccccc 100%);
  color: #000 !important;
  border: 4px solid #000;
  font-size: 18px;
  font-weight: 900;
  font-family: var(--font-pixel);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 
    4px 4px 0 #000,
    inset 2px 2px 0 rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  min-height: 60px;
  position: relative;
}

.mint-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 
    6px 6px 0 #000,
    inset 2px 2px 0 rgba(255, 255, 255, 0.5);
}

.mint-button:active {
  transform: translate(2px, 2px);
  box-shadow: 
    2px 2px 0 #000,
    inset 2px 2px 0 rgba(255, 255, 255, 0.5);
}

.mint-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  background: #555;
  border-color: #333;
  box-shadow: 2px 2px 0 #000;
}

.btn {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-pixel);
  border: 3px solid;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--shadow-dark);
}

.btn-danger {
  color: var(--danger);
  border-color: var(--danger);
}

.btn-danger:hover {
  background: var(--danger);
  color: #000;
}

/* CONSOLE - TERMINAL */
.console {
  margin-top: 16px;
  padding: 12px;
  background: var(--surface);
  border: 3px solid var(--border);
  max-height: 180px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  box-shadow: var(--shadow-pixel);
}

.console .line {
  padding: 4px 0;
  line-height: 1.6;
  font-size: 14px;
  font-weight: 600;
}

.console .line::before {
  content: '> ';
  color: var(--text-tertiary);
  font-weight: 900;
}

.console .line.dim,
.console .line.info {
  color: var(--text-secondary);
}

.console .line.ok {
  color: var(--success);
}

.console .line.ok::before {
  content: '✓ ';
}

.console .line.warn {
  color: var(--warning);
}

.console .line.warn::before {
  content: '⚠ ';
}

.console .line.err {
  color: var(--danger);
}

.console .line.err::before {
  content: '✗ ';
}

/* ORDERS SECTION */
#ordersConsole,
#completedConsole {
  background: var(--surface);
  border: 3px solid var(--border);
  padding: 16px;
  margin-top: 16px;
  box-shadow: var(--shadow-pixel);
}

.orders-title {
  font-weight: 900;
  margin-bottom: 12px;
  font-size: 14px;
  font-family: var(--font-pixel);
  color: #ffffff;
  text-shadow: 
    1px 0 0 #000,
    -1px 0 0 #000,
    0 1px 0 #000,
    0 -1px 0 #000,
    1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    2px 2px 0 #555;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.order-row {
  padding: 12px;
  border: 2px solid var(--border);
  background: var(--surface-2);
  margin-bottom: 12px;
  font-size: 14px;
  font-family: var(--font-retro);
  box-shadow: 2px 2px 0 var(--shadow-dark);
}

.order-row:last-child {
  margin-bottom: 0;
}

.order-row.completed {
  border-color: var(--success);
}

.order-id {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-weight: 700;
  margin-bottom: 8px;
}

.row-top {
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.row-mid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
}

.row-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn-tx {
  font-size: 12px;
  padding: 6px 12px;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  font-family: var(--font-pixel);
  display: inline-block;
  transition: all 0.2s;
  box-shadow: 1px 1px 0 var(--shadow-dark);
}

.btn-tx:hover {
  background: var(--outline-white);
  color: #000;
}

.row-status {
  padding: 4px 12px;
  font-weight: 900;
  font-size: 11px;
  font-family: var(--font-pixel);
  color: var(--success);
  border: 2px solid var(--success);
  display: inline-block;
  box-shadow: 1px 1px 0 var(--shadow-dark);
}

/* TX MENU */
.tx-menu {
  display: inline-block;
  position: relative;
}

.tx-menu summary {
  cursor: pointer;
  list-style: none;
}

.tx-menu summary::-webkit-details-marker {
  display: none;
}

.tx-list {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  background: var(--surface);
  border: 3px solid var(--border);
  padding: 6px;
  margin-top: 3px;
  min-width: 180px;
  max-width: 280px;
  box-shadow: var(--shadow-pixel);
}

.tx-list a {
  display: block;
  padding: 5px 6px;
  font-size: 9px;
  font-family: var(--font-mono);
  color: var(--text-primary);
  text-decoration: none;
  word-break: break-all;
}

.tx-list a:hover {
  background: var(--surface-2);
}

/* PAYMENT BOX */
.paybox {
  margin-top: 16px;
  padding: 16px;
  background: var(--surface);
  border: 3px solid var(--border);
  display: none;
  box-shadow: var(--shadow-pixel);
}

.paybox-head {
  font-size: 14px;
  font-weight: 900;
  font-family: var(--font-pixel);
  margin-bottom: 16px;
  color: #ffffff;
  text-shadow: 
    1px 0 0 #000,
    -1px 0 0 #000,
    0 1px 0 #000,
    0 -1px 0 #000,
    1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    2px 2px 0 #555;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wallets.compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.wallet-btn {
  padding: 12px 10px;
  background: var(--surface-2);
  border: 3px solid var(--border);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  box-shadow: 2px 2px 0 var(--shadow-dark);
  min-height: 80px;
}

.wallet-btn:hover {
  border-color: var(--outline-white);
  box-shadow: 3px 3px 0 var(--shadow-dark);
  transform: translate(-1px, -1px);
}

.wallet-btn .ico {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  font-family: var(--font-pixel);
  border: 2px solid;
}

.wallet-btn.unisat .ico { 
  background: #F6C343; 
  color: #000; 
  border-color: #000;
}

.wallet-btn.xverse .ico { 
  background: #FFB703; 
  color: #000; 
  border-color: #000;
}

.wallet-btn.me .ico { 
  background: #ff00ff; 
  color: #fff; 
  border-color: #000;
}

.wallet-btn .label b {
  font-size: 12px;
  font-family: var(--font-pixel);
  display: block;
  margin-bottom: 2px;
  color: var(--text-primary);
}

.wallet-btn .label small {
  font-size: 11px;
  color: var(--text-tertiary);
  font-family: var(--font-retro);
}

.paybox--clean {
  padding: 12px;
  background: var(--surface-2);
  border: 2px solid var(--border);
  margin-top: 12px;
  box-shadow: var(--shadow-emboss);
}

#payboxTitle {
  font-size: 12px;
  font-weight: 900;
  font-family: var(--font-pixel);
  margin-bottom: 12px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.payline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 2px solid var(--divider);
  font-size: 14px;
  font-family: var(--font-retro);
}

.payline .k {
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  font-family: var(--font-pixel);
  font-size: 11px;
}

.payline .v {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}

.mono {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
}

.icon-btn {
  width: 28px;
  height: 28px;
  border: 2px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 1px 1px 0 var(--shadow-dark);
}

.icon-btn:hover {
  background: var(--outline-white);
}

.icon-btn.copy::before {
  content: "📋";
  font-size: 14px;
}

.icon-btn.is-copied::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
}

.pay-meta {
  margin-top: 12px;
  text-align: right;
  font-size: 14px;
  font-family: var(--font-retro);
}

#payExpires {
  color: var(--warning);
  font-weight: 700;
  font-family: var(--font-mono);
}

/* FOOTER */
.site-footer {
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #fffbfb;
  font-size: 14px;
  font-family: var(--font-retro);
  color: var(--text-secondary);
  background: #000;
}

.site-footer a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--warning);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .launchpad {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .panel-title {
    font-size: 20px;
    letter-spacing: 1px;
  }
  
  .brand {
    font-size: 14px;
  }
  
  .mint-button {
    font-size: 14px;
    padding: 16px;
  }
  
  .wallets.compact {
    grid-template-columns: 1fr;
  }
  
  .qty-controls {
    grid-template-columns: 1fr;
  }
  
  .qty-max {
    height: auto;
    padding: 12px;
    display: none;
  }
  
  .section-title {
    font-size: 10px;
  }
}

/* Custom Scrollbar - Gothic */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--surface);
  border: 2px solid var(--border);
}

::-webkit-scrollbar-thumb {
  background: var(--text-secondary);
  border: 2px solid #000;
  box-shadow: 1px 1px 0 var(--shadow-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--outline-white);
}