@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;800;900&family=Outfit:wght@700;900&display=swap');

:root {
  /* 
   * 8 CORE COLORS ONLY (No generic blue):
   * Base UI:
   * 1. --bg-main: Deep Dark Void
   * 2. --bg-card: Dark Charcoal Surface
   * 3. --border-card: Muted Slate Border
   * 4. --text-primary: Crisp White
   * 5. --text-muted: Muted Gray
   * 
   * The 4 Special Wireframe Colors (From the 3rd image style):
   * 6. --neon-yellow: #ffd000
   * 7. --neon-coral:  #ff4d2e (Main action color instead of blue)
   * 8. --neon-green:  #00ff88
   * 9. --neon-violet: #a855f7
   */
  --bg-main: #07080d;
  --bg-card: #10121a;
  --border-card: #202432;
  --text-primary: #ffffff;
  --text-muted: #8c94a6;

  /* 4 Neon Outline Wireframe Colors (From the 3rd image style) */
  --neon-yellow: #ffd000;
  --neon-coral: #ff4d2e;
  --neon-green: #00ff88;
  --neon-violet: #a855f7;

  /* Fallback aliases if referenced anywhere */
  --accent-cyan: var(--neon-coral);
  --accent-green: var(--neon-green);
  --accent-gold: var(--neon-yellow);
  --accent-red: var(--neon-coral);
  --glow-cyan: rgba(255, 77, 46, 0.4);

  /* White Square Inputs */
  --input-bg: #ffffff;
  --input-text: #05060a;
  --input-border: #d4d8e4;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Orbitron', 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-family);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Lucide Icons */
.icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: -2px;
  stroke-width: 2.2;
}

.icon-sm {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  stroke-width: 2.2;
}

.icon-lg {
  width: 20px;
  height: 20px;
  vertical-align: -4px;
  stroke-width: 2.2;
}

.icon-hero {
  width: 56px;
  height: 56px;
  stroke-width: 2.5;
  margin-bottom: 12px;
}

/* Mobile-First Container */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 18px 14px;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
    padding: 32px 20px;
  }
}

@media (min-width: 1024px) {
  .container.container-wide {
    max-width: 1100px;
  }
}

/* 
 * SPECIAL 3RD STYLE: MULTI-LAYERED CHROMATIC WIREFRAME TEXT
 * Inspired directly by the bottom-left "2022" graphic in the reference image.
 * 4 overlapping offset outline strokes: Green, Yellow, Coral, Violet.
 */
.wf-stack {
  display: inline-grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-items: center;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(28px, 7.5vw, 46px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  line-height: 1.15;
  position: relative;
  margin: 10px 0;
  text-align: center;
}

.wf-stack > .wf-item {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  color: transparent;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  mix-blend-mode: screen;
  white-space: normal;
}

.wf-stack > .wf-green {
  -webkit-text-stroke: 1.6px var(--neon-green);
  transform: translate(-3px, -2px);
  filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.45));
  opacity: 0.9;
}

.wf-stack > .wf-yellow {
  -webkit-text-stroke: 1.6px var(--neon-yellow);
  transform: translate(0px, 0px);
  filter: drop-shadow(0 0 6px rgba(255, 208, 0, 0.6));
  opacity: 0.95;
}

.wf-stack > .wf-coral {
  -webkit-text-stroke: 1.6px var(--neon-coral);
  transform: translate(3px, 2px);
  filter: drop-shadow(0 0 5px rgba(255, 77, 46, 0.5));
  opacity: 0.9;
}

.wf-stack > .wf-violet {
  -webkit-text-stroke: 1.6px var(--neon-violet);
  transform: translate(6px, 0px);
  filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.45));
  opacity: 0.85;
}

/* Compact Wireframe Header for Admin / Status / Scanner / Login */
.wf-stack.wf-sm {
  font-size: clamp(18px, 4.5vw, 24px);
  letter-spacing: 2px;
  margin: 4px 0;
}

.wf-stack.wf-sm > .wf-item {
  -webkit-text-stroke-width: 1.2px;
}

.wf-stack.wf-sm > .wf-green { transform: translate(-2px, -1px); }
.wf-stack.wf-sm > .wf-yellow { transform: translate(0px, 0px); }
.wf-stack.wf-sm > .wf-coral { transform: translate(2px, 1px); }
.wf-stack.wf-sm > .wf-violet { transform: translate(4px, 0px); }

/* Styled Techno Subtitle (matches "Happy New Year!" typography from image) */
.techno-subtitle {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

/* Styled Techno Event Info Strip (matches "Happy New Year!" typography from image) */
.event-info-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.event-info-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  border-radius: 0px; /* Clean eckig */
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.2;
}

.event-info-pill .icon {
  width: 15px;
  height: 15px;
  color: #ffffff; /* Crisp white icon */
  stroke-width: 2.2;
  opacity: 0.95;
  flex-shrink: 0;
}

/* Clean, Flat, Angular Card (No blurry glows) */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 0px; /* Eckig / Square */
  padding: 22px 16px;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .card {
    padding: 28px 24px;
  }
}

/* Simple, Angular Badges (Flat, no glow) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: 0px; /* Eckig */
  border: 1px solid currentColor;
}

.badge-coral { background: transparent; color: var(--neon-coral); }
.badge-green { background: transparent; color: var(--neon-green); }
.badge-gold { background: transparent; color: var(--neon-yellow); }
.badge-violet { background: transparent; color: var(--neon-violet); }
.badge-muted { background: transparent; color: var(--text-muted); border-color: var(--border-card); }
.badge-cyan, .badge-red { background: transparent; color: var(--neon-coral); }

/* 
 * WEISSE, ECKIGE EINGABEFELDER (Mobile-optimiert)
 */
.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
  color: #adb5c7;
}

input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--input-bg);
  color: var(--input-text);
  border: 2px solid var(--input-border);
  border-radius: 0px; /* Eckig */
  font-family: inherit;
  font-size: 16px; /* Verhindert Auto-Zoom auf iPhones */
  font-weight: 600;
  transition: border-color 0.15s ease;
}

input::placeholder, textarea::placeholder {
  color: #8c93a4;
  font-weight: 400;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #000000;
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 0 3px rgba(255, 77, 46, 0.35); /* Coral focus ring */
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Large Touch-Friendly Terms Checkbox Card */
.checkbox-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, background 0.15s ease;
  margin-bottom: 22px;
}

.checkbox-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: #3e465e;
}

.checkbox-card input[type="checkbox"] {
  appearance: auto;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  accent-color: var(--neon-coral);
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}

.checkbox-card span {
  font-size: 13.5px;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.45;
}

/* 
 * BUTTONS (Eckig, kontrastreich, kein Blau)
 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 0px; /* Eckig */
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease, color 0.15s ease;
  border: 2px solid transparent;
  text-decoration: none;
  user-select: none;
}

.btn:active {
  transform: scale(0.97);
}

/* Primary Action Button: Neon Coral / Warm (statt Blau) */
.btn-primary {
  background: var(--neon-coral);
  color: #000000;
  border-color: var(--neon-coral);
}

.btn-primary:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.btn-secondary {
  background: #181b24;
  color: #ffffff;
  border: 2px solid #282d3e;
}

.btn-secondary:hover {
  background: #282d3e;
  border-color: #3d455e;
}

.btn-success {
  background: var(--neon-green);
  color: #000000;
  border-color: var(--neon-green);
}

.btn-success:hover {
  background: #ffffff;
  border-color: #ffffff;
}

.btn-gold {
  background: var(--neon-yellow);
  color: #000000;
  border-color: var(--neon-yellow);
}

.btn-gold:hover {
  background: #ffffff;
  border-color: #ffffff;
}

.btn-sm {
  min-height: 38px;
  padding: 6px 12px;
  font-size: 12px;
}

/* Modals (Eckig, Clean) */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

@media (min-width: 640px) {
  .modal-overlay {
    align-items: center;
    padding: 20px;
  }
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #10121a;
  border: 2px solid #282d3e;
  border-radius: 0px; /* Eckig */
  width: 100%;
  max-width: 580px;
  padding: 24px 18px;
  max-height: 90vh;
  overflow-y: auto;
}

@media (min-width: 640px) {
  .modal {
    padding: 28px;
  }
}

/* Tables (Clean, Eckig, Kontrastreich) */
.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 14px;
  border: 1px solid var(--border-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  white-space: nowrap;
}

th {
  text-align: left;
  padding: 12px 14px;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 2px solid var(--border-card);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #090a0f;
}

td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-card);
}

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.mono {
  font-family: var(--font-mono);
}

/* ==========================================================================
   PAYMENT & COPY EXPERIENCES (IBAN, Reference Code, GiroCode)
   ========================================================================== */
.payment-section-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  padding: 16px;
  margin-top: 14px;
}

.payment-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #090a10;
  border: 1px solid var(--border-card);
  padding: 11px 14px;
  margin-bottom: 9px;
  border-radius: 0px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.payment-field:hover {
  border-color: #3b4358;
  background: #0e111a;
}

.payment-field.highlight-field {
  border: 1.5px solid var(--neon-coral);
  background: rgba(255, 77, 46, 0.05);
}

.payment-field.highlight-iban {
  border: 1.5px solid var(--neon-yellow);
  background: rgba(255, 208, 0, 0.04);
}

.payment-field-info {
  flex: 1;
  min-width: 0;
}

.payment-field-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.payment-field-val {
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  word-break: break-all;
  user-select: all;
  letter-spacing: 0.5px;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #171b26;
  color: #ffffff;
  border: 1px solid #2d3548;
  border-radius: 0px;
  padding: 8px 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 38px;
  transition: all 0.15s ease;
  user-select: none;
}

.btn-copy:hover {
  background: #252c3d;
  border-color: #4b5877;
}

.btn-copy:active {
  transform: scale(0.97);
}

.btn-copy.copied {
  background: var(--neon-green) !important;
  color: #000000 !important;
  border-color: var(--neon-green) !important;
  box-shadow: 0 0 14px rgba(0, 255, 136, 0.45);
}

.btn-copy.copied,
.btn-copy.copied span,
.btn-copy.copied svg,
.btn-copy.copied i {
  color: #000000 !important;
  stroke: #000000 !important;
}

.btn-paypal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #0070ba;
  color: #ffffff !important;
  border: 1px solid #005ea6;
  border-radius: 0px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  padding: 13px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
}

.btn-paypal:hover {
  background: #0079c1;
  color: #ffffff !important;
  border-color: #008ee0;
  box-shadow: 0 0 16px rgba(0, 121, 193, 0.4);
}

.btn-paypal:active {
  transform: scale(0.98);
}

.girocode-box {
  margin-top: 14px;
  padding: 14px;
  background: #08090e;
  border: 1px dashed #282f42;
  text-align: center;
}

.girocode-img {
  width: 170px;
  height: 170px;
  background: #ffffff;
  padding: 6px;
  border: 2px solid var(--neon-green);
  margin: 12px auto 8px auto;
  display: block;
}

@media (max-width: 480px) {
  .payment-field {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .payment-field .btn-copy {
    width: 100%;
  }
}

/* ==========================================================================
   COLLAPSIBLE PAYMENT ACCORDIONS
   ========================================================================== */
.payment-accordion {
  border: 1px solid var(--border-card);
  background: #090a10;
  margin-bottom: 12px;
  border-radius: 0px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.payment-accordion:hover {
  border-color: #353c52;
}

.payment-accordion.active {
  border-color: #434c68;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #0e111a;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
}

.accordion-header:hover {
  background: #141824;
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #ffffff;
}

.accordion-chevron {
  width: 18px;
  height: 18px;
  color: #8c94a6;
  transition: transform 0.25s ease;
}

.payment-accordion.active .accordion-chevron {
  transform: rotate(180deg);
  color: #ffffff;
}

.accordion-content {
  display: none;
  padding: 16px;
  border-top: 1px solid #1a1e2c;
  background: #08090f;
}

.payment-accordion.active .accordion-content {
  display: block;
}

/* ==============================================================================
 * FORM ROW (DESKTOP & MOBILE)
 * ============================================================================== */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ==============================================================================
 * MOBILE RESPONSIVE OPTIMIZATIONS (< 640px)
 * Keeps Desktop untouched while making Smartphone views punchy, full-width, and native-feeling.
 * ============================================================================== */
@media (max-width: 639px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 12px 36px 12px !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
  }

  /* Rave Wireframe Title sized to safely fit 320px-390px mobile viewports */
  .wf-stack {
    font-size: clamp(22px, 7vw, 32px);
    letter-spacing: 1px;
    margin: 10px 0 8px 0;
    max-width: 100%;
    word-break: break-word;
    overflow: hidden;
  }

  .wf-stack > .wf-green { transform: translate(-1.5px, -1px); }
  .wf-stack > .wf-yellow { transform: translate(0px, 0px); }
  .wf-stack > .wf-coral { transform: translate(1.5px, 1px); }
  .wf-stack > .wf-violet { transform: translate(2.5px, 0.5px); }

  /* Stack event info pills vertically so each row has 100% width and cannot blow out layout */
  .event-info-strip {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    margin-top: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .event-info-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-align: center;
    white-space: normal;
    word-break: break-word;
  }

  .event-info-pill .icon {
    flex-shrink: 0;
  }

  .event-info-pill:last-child {
    width: 100%;
    padding: 8px 10px;
    font-size: 11px;
  }

  /* Form row stacks to full-width comfortable inputs */
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* Card and Form Touch Targets */
  .card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 18px 14px;
    margin-bottom: 16px;
  }

  input:not([type="checkbox"]):not([type="radio"]), select, textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 16px; /* Prevents auto-zoom on iOS */
  }

  .btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-height: 50px;
    font-size: 14px;
    letter-spacing: 0.8px;
  }

  .checkbox-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 12px;
    gap: 12px;
    margin-bottom: 18px;
    cursor: pointer;
  }

  .checkbox-card input[type="checkbox"] {
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    accent-color: var(--neon-coral);
    cursor: pointer;
  }

  .checkbox-card span {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: #e2e8f0;
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
  }

  #priceDisplay {
    font-size: 24px !important;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 12px;
    margin-top: 20px;
    font-size: 11.5px;
  }
}


