/* ===========================================================
   Before Uhuru - Newspaper Theme
   Vintage broadsheet aesthetic with serif typography
   =========================================================== */

:root{
  /* Paper & Ink Palette */
  --paper: #e8e0d0;
  --paper-dark: #d4cbb8;
  --paper-aged: #b8b0a0;
  --ink: #0f0f0f;
  --ink-light: #3a3a3a;
  --ink-muted: #5a5a5a;
  --accent-red: #8b0000;
  --accent-blue: #1e3a5f;
  --accent-gold: #8b6914;
  --border-ink: rgba(26,26,26,0.15);
  --border-strong: rgba(26,26,26,0.25);
  
  /* Typography */
  --serif: "Times New Roman", Times, Georgia, serif;
  --serif-display: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono: "Courier New", Courier, monospace;
  
  /* Sizing */
  --tile: 44px;
  --radius: 2px;
  --shadow: 0 4px 12px rgba(0,0,0,0.15);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  background: var(--paper-dark);
  overflow: hidden;
  line-height: 1.5;
}

/* ===========================================================
   Masthead & Header
   =========================================================== */

.topbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 16px;
  background: var(--paper);
  border-bottom: 3px double var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.brand{ 
  display: flex; 
  flex-direction: column; 
  line-height: 1.1;
}

.logo{ 
  font-family: var(--serif-display);
  font-weight: 900;
  letter-spacing: 0.5px;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--ink);
}

.subtitle{ 
  font-family: var(--sans);
  color: var(--ink-muted); 
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.topbar-actions{ 
  display: flex; 
  gap: 6px; 
  flex-wrap: wrap; 
  justify-content: flex-end;
}

/* ===========================================================
   Buttons - Press Style
   =========================================================== */

.btn{
  appearance: none;
  border: 1px solid var(--border-strong);
  background: var(--paper);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: all 120ms ease;
}

.btn:hover{ 
  background: var(--paper-dark);
  border-color: var(--ink-light);
}

.btn:active{ transform: translateY(1px); }

.btnPrimary{
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btnPrimary:hover{
  background: var(--ink-light);
}

/* ===========================================================
   Layout - Newspaper Columns
   =========================================================== */

.layout{
  position: fixed;
  inset: 0;
  padding-top: 56px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  grid-template-rows: 1fr;
  gap: 0;
  background: var(--paper-dark);
}

/* Left Sidebar - Edition Info */
.sidebar-left{
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  background: var(--paper);
  border-right: 1px solid var(--border-ink);
  display: flex;
  flex-direction: column;
  overflow: auto;
}

/* Center - The Board (Map) */
.boardWrap{
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  position: relative;
  background: var(--paper-dark);
  overflow: hidden;
}


/* ===========================================================
   Map Area
   =========================================================== */

.mapWrap{
  position: absolute;
  inset: 4px;
  background: var(--paper);
  border: 1px solid var(--border-ink);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
}

.mapCanvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 10;
}

.svgLayer{
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 5;
}

.svgLayer.show{ opacity: 1; pointer-events: auto; z-index: 15; }

/* ===========================================================
   Newspaper Panel Styling
   =========================================================== */

/* Player Faction Highlight */
.player-faction-highlight {
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.8);
  border: 2px solid #d4af37;
  animation: factionHighlight 2s ease-in-out infinite;
}

@keyframes factionHighlight {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.8);
    border: 2px solid #d4af37;
  }
  50% {
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 1);
    border: 2px solid #f5d76e;
  }
}

.panel-section{
  padding: 16px;
  border-bottom: 1px solid var(--border-ink);
}

.panel-section:last-child{ border-bottom: none; }

.section-header{
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--ink);
}

/* ===========================================================
   Selection Card - Dispatch Style
   =========================================================== */

/* Newspaper Feed (left sidebar) */
.newspaperFeed{
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
}

.newspaperItem{
  padding: 8px 10px;
  border-left: 3px solid var(--accent-red);
  border-top: 1px solid var(--border-ink);
  border-right: 1px solid var(--border-ink);
  border-bottom: 1px solid var(--border-ink);
  font-size: 12px;
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: break-word;
}

.newspaperItem b{
  font-weight: 700;
  color: var(--accent-red);
}

.newspaperItem .newsTime{
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-muted);
  display: block;
  margin-top: 4px;
}

.card{
  background: var(--paper);
  border: 1px solid var(--border-ink);
  padding: 12px;
  box-shadow: var(--shadow);
}

.cardTitle{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-ink);
}

.cardTitle h3{
  margin: 0;
  font-family: var(--serif-display);
  font-size: 16px;
  font-weight: 700;
  text-transform: capitalize;
}

.tag{
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  background: var(--paper-dark);
  border: 1px solid var(--border-ink);
}

.card .line{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dotted var(--border-ink);
}

.card .line:last-child{ border-bottom: 0; }

.card .line .label{
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-muted);
}

.card .line .value{
  font-family: var(--mono);
  font-weight: 600;
}

/* ===========================================================
   Build/Train Lists
   =========================================================== */

.buildList, .trainList{
  margin-top: 10px;
}

.buildRow, .trainRow{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dotted var(--border-ink);
}

.buildRow:last-child, .trainRow:last-child{ border-bottom: 0; }

.buildName, .trainName{
  font-weight: 600;
  font-size: 13px;
}

.buildName{
  font-family: var(--sans);
  font-size: 12px;
  text-transform: capitalize;
}

.trainMeta{ display: flex; flex-direction: column; gap: 2px; }

.trainCost{
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.cardActionRow{
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ===========================================================
   Log - Telegraph Style
   =========================================================== */

.logSection{
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: 180px;
  width: 100%;
}

.log{
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  padding-right: 8px;
}

.logItem{
  padding: 10px;
  background: var(--paper);
  border-left: 3px solid var(--ink);
  border-top: 1px solid var(--border-ink);
  border-right: 1px solid var(--border-ink);
  border-bottom: 1px solid var(--border-ink);
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.logItem b{
  font-weight: 700;
  color: var(--accent-red);
}

/* ===========================================================
   Turn Panel - Edition Info
   =========================================================== */

.turnPanel{
  position: absolute;
  left: 16px;
  bottom: 80px;
  width: 260px;
  z-index: 40;
}

.turnPanel .card h2{
  margin: 0 0 10px;
  font-family: var(--serif-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}

.kv{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 10px;
  align-items: center;
}

.k{
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-muted);
}

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

/* ===========================================================
   Faction Meters - War Correspondent Style
   =========================================================== */

.meters{ display: flex; flex-direction: column; gap: 12px; }

.meterRow{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--border-ink);
}

.meterTop{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.meterName{
  font-family: var(--serif-display);
  font-size: 14px;
  font-weight: 700;
}

.meterVals{
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-muted);
}

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

.barRow{
  display: grid;
  grid-template-columns: 60px 1fr 36px;
  gap: 8px;
  align-items: center;
}

.barLabel{
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-light);
}

.barNum{
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-muted);
  text-align: right;
}

.bar{
  height: 8px;
  background: var(--paper-dark);
  border: 1px solid var(--border-ink);
  overflow: hidden;
}

.bar > i{
  display: block;
  height: 100%;
  width: 0%;
  background: var(--ink);
}

.bar.loyalty > i{ background: var(--accent-gold); }
.bar.morale > i{ background: var(--accent-blue); }
.bar.tech > i{ background: var(--ink-light); }
.bar.fatigue > i{ background: var(--accent-red); }

/* ===========================================================
   Economy Panel - Treasury Ledger Style
   =========================================================== */

.econBlock{
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--border-ink);
  margin-bottom: 12px;
}

.econGDP{
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: baseline;
}

.econGDPLabel{
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-muted);
}

.econGDPValue{
  font-family: var(--serif-display);
  font-size: 28px;
  font-weight: 700;
}

.econGDPUnit{
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-muted);
}

.econRate{
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
}

.econRateLabel{ color: var(--ink-muted); }

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

.points-display{
  margin-bottom: 12px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--border-ink);
  border-radius: var(--radius);
}

.points-label{
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.points-value{
  font-family: var(--serif-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-gold);
}

.points-cost{
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 4px;
}

.econSectionTitle{
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.econGrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* ===========================================================
   Command Panel - Operations Room
   =========================================================== */

.panelActions{
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cmdSectionTitle{
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 16px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-ink);
}

.cmdSubdetails{
  margin-top: 12px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--border-ink);
}

.cmdSubdetails summary{
  cursor: pointer;
  list-style: none;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink-light);
}

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

.cmdSubdetailsBody{ margin-top: 10px; }

/* ===========================================================
   Catalog - Unit Cards
   =========================================================== */

.catalog{ display: flex; flex-direction: column; gap: 10px; }

.unitCard{
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--border-ink);
}

.thumb{
  width: 48px;
  height: 48px;
  background: var(--paper-dark);
  border: 1px solid var(--border-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.thumbPh{
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-muted);
}

.unitMeta{ display: flex; flex-direction: column; gap: 4px; }

.unitNameRow{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.unitName{
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 13px;
}

.unitCosts{
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-muted);
}

/* ===========================================================
   Modal - Dispatch Window
   =========================================================== */

.overlay{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(26,26,26,0.7);
  backdrop-filter: blur(4px);
}

.overlay.show{ display: flex; }

.modal{
  width: min(720px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  position: relative;
}

.modal::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,0.03) 2px,
      rgba(0,0,0,0.03) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,0.03) 2px,
      rgba(0,0,0,0.03) 4px
    );
  z-index: 1;
}

.modal::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    rgba(139, 90, 43, 0.1) 100%
  );
  z-index: 2;
}

.modalHeader{
  padding: 16px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.modalTitle{
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.modalSub{
  font-family: var(--sans);
  font-size: 13px;
  margin-top: 4px;
  opacity: 0.8;
}

.modalBadge{
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 10px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper);
}

.form{
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.archives-grid{
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.archive-card{
  padding: 16px;
  background: var(--paper-aged);
  border: 1px solid var(--border-weak);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.archive-card:hover{
  border-color: var(--border-strong);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.archive-card.locked{
  opacity: 0.6;
  cursor: not-allowed;
}

.archive-card.locked:hover{
  border-color: var(--border-weak);
  box-shadow: none;
}

.archive-title{
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--ink);
}

.archive-card.locked .archive-title{
  color: var(--muted);
}

.archive-preview{
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.archive-card:not(.locked) .archive-preview{
  color: var(--ink);
}

.archive-locked-hint{
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  font-style: italic;
}

.archive-points-display{
  font-family: var(--serif-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 16px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--border-ink);
  text-align: center;
}

.archive-unlock-btn{
  margin-top: 8px;
  padding: 8px 16px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s;
}

.archive-unlock-btn:hover:not(:disabled){
  opacity: 0.8;
}

.archive-unlock-btn:disabled{
  opacity: 0.5;
  cursor: not-allowed;
}

.fragment-detail-content{
  padding: 20px;
  max-height: 400px;
  overflow-y: auto;
}

.fragment-text{
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  white-space: pre-line;
}

.archive-full-content{
  display: none;
  padding: 20px;
  background: var(--paper-aged);
  border-top: 1px solid var(--border-weak);
  margin-top: 12px;
}

.archive-card.expanded .archive-full-content{
  display: block;
}

.archive-text{
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  white-space: pre-line;
  margin-bottom: 16px;
}

.fieldRow{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Credits Modal */
.credits-modal{
  max-width: 600px;
}

.credits-content{
  padding: 20px;
  max-height: 500px;
  overflow-y: auto;
}

.credits-section{
  margin-bottom: 24px;
}

.credits-section h3{
  font-family: var(--serif-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.credits-section p{
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-light);
  margin: 4px 0;
}

.credits-section a{
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-blue);
  text-decoration: none;
  word-break: break-all;
}

.credits-section a:hover{
  text-decoration: underline;
}

.credits-license{
  font-family: var(--serif-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 8px;
  margin-bottom: 4px;
}

.credits-license-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.credits-license-list li{
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-muted);
  margin: 2px 0;
  padding-left: 16px;
  position: relative;
}

.credits-license-list li::before{
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
}

.credits-divider{
  height: 1px;
  background: var(--border-ink);
  margin: 20px 0;
}

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

.field span{
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-muted);
}

.field input{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  outline: none;
}

.field input:focus{
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(26,26,26,0.1);
}

.sidePick, .mapPick{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sideTitle{
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-muted);
}

.sideGrid{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.sideOption{ display: block; cursor: pointer; }

.sideOption input{ position: absolute; opacity: 0; pointer-events: none; }

.sideCard{
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--border-strong);
  transition: all 120ms ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 280px;
  position: relative;
}

.sideImage{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.3;
  z-index: 0;
}

.sideName{
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.sideDesc{
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.sideAdvantages{
  text-align: left;
  width: 100%;
  position: relative;
  z-index: 1;
  flex: 1;
}

.advantageTitle{
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  color: var(--ink);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.advantageList{
  list-style: none;
  padding: 0;
  margin: 0;
}

.advantageList li{
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-light);
  margin-bottom: 3px;
  padding-left: 12px;
  position: relative;
}

.advantageList li::before{
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: bold;
}

.sideOption input:checked + .sideCard{
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink);
}

.selectWrap{ display: flex; align-items: center; gap: 8px; }

.select{
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
}

.formActions{ display: flex; gap: 12px; flex-wrap: wrap; }

/* ===========================================================
   Icon Button
   =========================================================== */

.iconBtn{
  appearance: none;
  border: 1px solid var(--paper);
  background: transparent;
  color: var(--paper);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 120ms ease;
}

.iconBtn:hover{
  background: var(--paper);
  color: var(--ink);
}

/* ===========================================================
   Collapsible Sections
   =========================================================== */

.collapse{ position: relative; }

.collapse > .collapseBody{ display: none; }

.collapse[open] > .collapseBody{ display: block; }

.collapse summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  user-select: none;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--border-ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.collapse[open] summary{
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.collapseBody{
  margin-top: 0;
  padding: 12px;
  background: var(--paper-dark);
  border: 1px solid var(--border-ink);
  border-top: none;
}

/* Control panel removed — functions moved to Details pane */


/* ===========================================================
   Hint & Helper Text
   =========================================================== */

.hint{
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-muted);
  margin-top: 12px;
  font-style: italic;
}

.muted{ color: var(--ink-muted); }

.small{ font-size: 12px; }

/* ===========================================================
   Chip / Badge
   =========================================================== */

.chip{
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 10px;
  background: var(--paper-dark);
  border: 1px solid var(--border-ink);
}

/* ===========================================================
   Recruitment / Collaborators
   =========================================================== */

.collabWrap{ margin-top: 12px; }

.collabList{
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.collabItem{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--border-ink);
}

.collabItem .name{
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 14px;
}

.collabItem .meta{
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-muted);
}

/* ===========================================================
   Responsive Adjustments
   =========================================================== */

@media (max-width: 1200px){
  .layout{
    grid-template-columns: 220px 1fr;
  }
}

@media (max-width: 900px){
  .layout{
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }
  
  .sidebar-left{
    display: none;
  }
  
  .boardWrap{
    grid-column: 1;
    grid-row: 1;
  }
  
  .fieldRow{ grid-template-columns: 1fr; }
  .sideGrid{ grid-template-columns: 1fr; }
}

/* ===========================================================
   Tutorial Overlay
   =========================================================== */

.tutorialOverlay{
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 250;
  display: none;
  max-width: min(400px, calc(100vw - 28px));
}

.tutorialOverlay.show{ display: block; }

.tutorialCard{
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  padding: 16px;
  animation: tutorialIn 180ms ease;
}

@keyframes tutorialIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tutorialHeader{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-ink);
}

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

.tutorialAvatar{
  width: 44px;
  height: 44px;
  background: var(--paper-dark);
  border: 1px solid var(--border-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tutorialWho{ display: flex; flex-direction: column; }

.tutorialName{
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 15px;
}

.tutorialRole{
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-muted);
}

.tutorialBody{ display: flex; flex-direction: column; gap: 8px; }

.tutorialTitle{
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 16px;
}

.tutorialText{
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-light);
}

.tutorialText b{
  font-weight: 700;
  color: var(--accent-red);
}

.tutorialFooter{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-ink);
}

.tutorialDots{ display: flex; gap: 8px; }

.tutorialDot{
  width: 8px;
  height: 8px;
  background: var(--border-ink);
}

.tutorialDot.is-active{
  background: var(--ink);
}

.tutorialActions{ display: flex; gap: 8px; }

/* ===========================================================
   Utility Classes
   =========================================================== */

.recruitmentPerksList{
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-light);
}

.pill{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 4px 10px;
  background: var(--paper);
  border: 1px solid var(--border-ink);
  font-size: 12px;
}

.swatch{ width: 12px; height: 12px; display: inline-block; }

/* ===========================================================
   1950s Radio Music Player
   =========================================================== */

.radio-player{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  font-family: var(--serif-display);
  transition: all 0.3s ease;
}

.radio-player.collapsed{
  width: 60px;
  height: 60px;
}

.radio-player.collapsed .radio-case{
  background: linear-gradient(145deg, #3d2817 0%, #2a1a0f 50%, #1a0f08 100%);
  border-radius: 50%;
  box-shadow:
    0 4px 8px rgba(0,0,0,0.4),
    inset 0 2px 4px rgba(255,200,150,0.1),
    inset 0 -2px 4px rgba(0,0,0,0.3);
}

.radio-player.collapsed .radio-body{
  display: none;
}

.radio-player.collapsed .radio-header{
  background: transparent;
  padding: 0;
  justify-content: center;
}

.radio-player.collapsed .radio-brand{
  display: none;
}

.radio-case{
  width: 220px;
  background: linear-gradient(145deg, #4a3728 0%, #3d2817 50%, #2a1a0f 100%);
  border-radius: 12px;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.5),
    inset 0 2px 4px rgba(255,200,150,0.1),
    inset 0 -2px 4px rgba(0,0,0,0.3),
    0 0 0 2px #1a0f08,
    0 0 0 4px #5c4033;
  overflow: hidden;
  border: 3px solid #2a1a0f;
}

.radio-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: linear-gradient(180deg, #5c4033 0%, #4a3728 100%);
  border-bottom: 2px solid #2a1a0f;
}

.radio-brand{
  font-size: 14px;
  font-weight: bold;
  color: #d4c4a8;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  letter-spacing: 2px;
}

.radio-toggle{
  width: 40px;
  height: 40px;
  border: none;
  background: linear-gradient(145deg, #8b4513 0%, #654321 100%);
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 3px 6px rgba(0,0,0,0.4),
    inset 0 1px 2px rgba(255,200,150,0.2);
  transition: all 0.2s ease;
}

.radio-toggle:hover{
  transform: scale(1.05);
  box-shadow:
    0 4px 8px rgba(0,0,0,0.5),
    inset 0 1px 2px rgba(255,200,150,0.3);
}

.radio-toggle:active{
  transform: scale(0.95);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.4);
}

.radio-body{
  padding: 16px;
  background: linear-gradient(180deg, #3d2817 0%, #2a1a0f 100%);
}

.radio-display{
  background: linear-gradient(145deg, #1a3a1a 0%, #0d260d 100%);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
  border: 2px inset #1a0f08;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.5);
}

.radio-station{
  font-size: 11px;
  color: #90ee90;
  text-align: center;
  letter-spacing: 1px;
  text-shadow: 0 0 4px rgba(144,238,144,0.5);
  margin-bottom: 4px;
}

.radio-freq{
  font-size: 18px;
  color: #90ee90;
  text-align: center;
  font-weight: bold;
  font-family: var(--mono);
  text-shadow: 0 0 8px rgba(144,238,144,0.6);
}

.radio-controls{
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.radio-knob{
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, #8b7355 0%, #6b5344 50%, #4a3728 100%);
  color: #d4c4a8;
  font-size: 14px;
  cursor: pointer;
  box-shadow:
    0 3px 6px rgba(0,0,0,0.4),
    inset 0 1px 2px rgba(255,220,180,0.2),
    inset 0 -1px 2px rgba(0,0,0,0.3);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radio-knob:hover{
  transform: translateY(-2px);
  box-shadow:
    0 5px 10px rgba(0,0,0,0.4),
    inset 0 1px 2px rgba(255,220,180,0.3);
}

.radio-knob:active{
  transform: translateY(0);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.4);
}

.play-knob{
  width: 52px;
  height: 52px;
  font-size: 18px;
  background: linear-gradient(145deg, #a08060 0%, #806040 50%, #604830 100%);
}

.radio-track{
  font-size: 12px;
  color: #d4c4a8;
  text-align: center;
  margin-bottom: 12px;
  padding: 8px;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  border: 1px inset rgba(139,69,19,0.3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.radio-volume{
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(180deg, #2a1a0f 0%, #1a0f08 100%);
  border-radius: 4px;
  border: 1px inset #1a0f08;
  outline: none;
  cursor: pointer;
}

.radio-volume::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: linear-gradient(145deg, #8b7355 0%, #6b5344 100%);
  border-radius: 50%;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.4),
    inset 0 1px 1px rgba(255,220,180,0.2);
  cursor: pointer;
}

.radio-volume::-moz-range-thumb{
  width: 16px;
  height: 16px;
  background: linear-gradient(145deg, #8b7355 0%, #6b5344 100%);
  border-radius: 50%;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.4),
    inset 0 1px 1px rgba(255,220,180,0.2);
  cursor: pointer;
  border: none;
}

/* ===========================================================
   Loading Screen
   =========================================================== */

.loading-screen{
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.loading-content{
  text-align: center;
  max-width: 480px;
  padding: 2rem;
}

.loading-logo{
  max-width: 320px;
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}

.loading-bar-container{
  margin-bottom: 1rem;
}

.loading-track{
  position: relative;
  width: 100%;
  height: 24px;
  background: var(--paper-aged);
  border-radius: 12px;
  border: 2px solid var(--border-strong);
  overflow: visible;
}

.loading-progress{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #4a7c59 0%, #6b9b7a 50%, #4a7c59 100%);
  border-radius: 10px;
  transition: width 0.3s ease;
}

.loading-unit{
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  left: 0%;
  transition: left 0.3s ease;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3));
}

.loading-unit-gif{
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scaleX(-1);
  height: 48px;
  width: auto;
  left: 0%;
  transition: left 0.3s ease;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3));
}

.loading-hint{
  font-family: var(--serif-display);
  font-size: 0.9rem;
  color: var(--accent-red);
  margin-bottom: 1.5rem;
  animation: pulse 1.5s ease-in-out infinite;
  font-style: italic;
}

@keyframes pulse{
  0%, 100%{ opacity: 0.6; }
  50%{ opacity: 1; }
}

.loading-text{
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

.loading-disclaimer{
  border-top: 1px solid var(--border-ink);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.loading-disclaimer p{
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--ink-light);
}

.loading-disclaimer strong{
  font-family: var(--serif-display);
  color: var(--accent-red);
  font-size: 1rem;
}

.disclaimer-tagline{
  font-style: italic;
  color: var(--ink-muted) !important;
  font-size: 0.85rem !important;
}

/* ===========================================================
   Bug Report Button
   =========================================================== */

.btn-bug{
  background: rgba(139,0,0,0.08) !important;
  border-color: rgba(139,0,0,0.25) !important;
  color: #8b0000 !important;
}

.btn-bug:hover{
  background: rgba(139,0,0,0.15) !important;
  border-color: rgba(139,0,0,0.4) !important;
}

/* ===========================================================
   Interactive Tutorial
   =========================================================== */

.tutorial-overlay{
  position: fixed;
  inset: 0;
  z-index: 3000;
  pointer-events: none;
}

.tutorial-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  pointer-events: auto;
}

.tutorial-spotlight{
  position: absolute;
  border-radius: 8px;
  box-shadow:
    0 0 0 9999px rgba(0,0,0,0.75),
    inset 0 0 30px rgba(255,255,255,0.5),
    inset 0 0 8px rgba(255,200,100,0.3);
  pointer-events: none;
  transition: all 0.3s ease;
  animation: spotlightGlow 2s ease-in-out infinite;
}

@keyframes spotlightGlow{
  0%, 100%{ box-shadow: 0 0 0 9999px rgba(0,0,0,0.75), inset 0 0 30px rgba(255,255,255,0.5), inset 0 0 8px rgba(255,200,100,0.3); }
  50%{ box-shadow: 0 0 0 9999px rgba(0,0,0,0.7), inset 0 0 40px rgba(255,255,255,0.6), inset 0 0 12px rgba(255,200,100,0.4); }
}

.tutorial-card{
  background: var(--paper);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.25rem;
  max-width: 320px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  pointer-events: auto;
  transition: all 0.3s ease;
}

.tutorial-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tutorial-skip{
  background: none;
  border: none;
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 0.75rem;
  text-decoration: underline;
  padding: 0;
}

.tutorial-skip:hover{
  color: var(--accent-red);
}

.tutorial-card h3{
  margin: 0 0 0.5rem 0;
  font-family: var(--serif-display);
  font-size: 1.1rem;
  color: var(--ink);
}

.tutorial-card p{
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.5;
}

.tutorial-actions{
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

/* Form select styling */
.form select{
  width: 100%;
  padding: 0.6rem 0.7rem;
  font-family: var(--serif);
  font-size: 0.95rem;
  background: var(--paper);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
}

.form select:focus{
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

/* ===========================================================
   Main Menu
   =========================================================== */

.main-menu{
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  overflow: hidden;
}

.main-menu.show{
  display: block;
}

.main-menu-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.splash-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.main-menu-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10,12,18,0.7) 0%,
    rgba(10,12,18,0.3) 30%,
    rgba(10,12,18,0.2) 50%,
    rgba(10,12,18,0.4) 70%,
    rgba(10,12,18,0.85) 100%
  );
}

.main-menu-top-bar{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1.5rem 2rem;
  background: linear-gradient(180deg, rgba(10,12,18,0.9) 0%, rgba(10,12,18,0) 100%);
}

.version-badge{
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(255,255,255,0.15);
  letter-spacing: 0.05em;
}

.main-menu-buttons{
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  background: transparent;
}

.main-menu-content{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

.main-menu-socials{
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  color: #fff;
}

.socials-title{
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  letter-spacing: 0.05em;
}

.socials-links{
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.social-link{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover{
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.social-icon{
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.splash-title{
  font-family: var(--serif-display);
  font-size: 5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.splash-subtitle{
  font-family: var(--serif);
  font-size: 1.3rem;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.version-info{
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 10;
  max-width: 320px;
  padding: 1.25rem;
  background: rgba(10,12,18,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  backdrop-filter: blur(12px);
}

.version-info-header{
  font-family: var(--serif-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.version-info-list{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.version-item{
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}

.version-tag{
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 0.2rem;
  background: rgba(16,185,129,0.3);
  color: rgba(16,185,129,0.9);
  letter-spacing: 0.05em;
}

.version-tag.fix{
  background: rgba(251,191,36,0.3);
  color: rgba(251,191,36,0.9);
}

.btn-radio{
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 10;
}

/* Hide topbar when main menu is active */
body:has(.main-menu.show) .topbar{
  display: none;
}

.btn-menu{
  padding: 0.9rem 2.25rem;
  font-family: var(--serif-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(10,12,18,0.5);
  border: none;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 0;
  min-width: 170px;
  text-align: center;
  transform: skewX(-8deg);
  backdrop-filter: blur(8px);
}

.btn-menu:hover{
  background: rgba(255,255,255,0.12);
  color: #fff;
  transform: skewX(-8deg) translateX(6px);
}

.btn-menu.btn-primary{
  background: rgba(59,130,246,0.65);
  color: #fff;
}

.btn-menu.btn-primary:hover{
  background: rgba(59,130,246,0.85);
}
