/* =========================================================
   GOATFLAP: NAVY CHIEF PETTY OFFICER EDITION
   CSS STYLING & MILITARY / CPO MESS THEME
   ========================================================= */

@font-face {
  font-family: 'Black Ops One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/BlackOpsOne-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ChakraPetch-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/ChakraPetch-600.ttf') format('truetype');
}

@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/ChakraPetch-700.ttf') format('truetype');
}

:root {
  --navy-dark: #040d1a;
  --navy-blue: #0b1f3a;
  --navy-deep: #0e274a;
  --haze-gray: #7a889b;
  --haze-light: #9db0c6;
  --deck-steel: #2e3b4e;
  --khaki-gold: #c6a75a;
  --khaki-fabric: #bf9b53;
  --khaki-light: #ecdcb9;
  --chief-gold: #ffbe26;
  --gold-glow: rgba(255, 190, 38, 0.4);
  --brass: #d4a017;
  --danger-red: #d93829;
  --hazard-yellow: #f5b000;
  --lcd-green: #39ff14;
  --shadow-black: rgba(0, 0, 0, 0.75);
}

html, body {
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  overscroll-behavior: none;
}

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

body {
  background-color: var(--navy-dark);
  background-image: 
    radial-gradient(circle at 50% 20%, rgba(14, 39, 74, 0.8) 0%, rgba(4, 13, 26, 0.95) 75%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.015), rgba(255,255,255,0.015) 1px, transparent 1px, transparent 2px);
  color: #f0f4f8;
  font-family: 'Chakra Petch', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 10px;
}

/* Outer Shell / Riveted Frame */
.game-wrapper {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(180deg, #1b2636 0%, #101926 100%);
  border: 3px solid #3c4f6b;
  border-radius: 12px;
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -2px 0 rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

/* Rivet Corner Accents */
.game-wrapper::before,
.game-wrapper::after {
  content: "•   •   •   •   •   •   •   •   •   •   •   •   •   •   •";
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  font-size: 11px;
  color: #4b607c;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
  opacity: 0.6;
}
.game-wrapper::before { top: 4px; }
.game-wrapper::after { bottom: 4px; }

/* HEADER */
.naval-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px 8px 18px;
  background: linear-gradient(90deg, #0f1c2e 0%, #152438 50%, #0f1c2e 100%);
  border-bottom: 2px solid #2a3d56;
}

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

.anchor-svg {
  filter: drop-shadow(0 0 6px rgba(255, 190, 38, 0.6));
}

.title-block {
  display: flex;
  flex-direction: column;
}

.sub-title {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--khaki-gold);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.main-title {
  font-family: 'Black Ops One', cursive, sans-serif;
  font-size: 26px;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 
    0 0 10px rgba(255, 190, 38, 0.4),
    2px 2px 0 #070e17;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cubs-w-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0e3386;
  border: 2px solid #cc3433;
  font-family: 'Black Ops One', sans-serif;
  font-size: 14px;
  padding: 1px 6px;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  text-shadow: none;
}

/* CO's Command Philosophy Strip */
.cubs-philosophy-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  background: linear-gradient(90deg, #0b245b 0%, #0e3386 50%, #0b245b 100%);
  border-bottom: 2px solid #cc3433;
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #e2e8f0;
  font-weight: 600;
  flex-wrap: wrap;
}

.cubs-pill b {
  color: #ffbe26;
  font-family: 'Black Ops One', sans-serif;
  font-size: 11px;
}

.cubs-dot {
  color: #cc3433;
  font-weight: 700;
}

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

.status-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #2c3e55;
}

.status-label {
  font-size: 9px;
  color: var(--haze-light);
  letter-spacing: 1px;
}

.status-val {
  font-family: 'Black Ops One', sans-serif;
  font-size: 13px;
  color: var(--lcd-green);
  text-shadow: 0 0 8px var(--lcd-green);
}

.status-val.red-alert {
  color: var(--danger-red);
  text-shadow: 0 0 8px var(--danger-red);
  animation: pulse-alert 1.5s infinite;
}

@keyframes pulse-alert {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.audio-controls {
  display: flex;
  gap: 6px;
}

.icon-btn {
  background: #1e2c3f;
  border: 1px solid #3d5475;
  color: #e2e8f0;
  font-size: 16px;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.icon-btn:hover {
  background: #2b3e58;
  border-color: var(--chief-gold);
  transform: translateY(-1px);
}

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

/* CANVAS CONTAINER */
.canvas-container {
  position: relative;
  width: 100%;
  aspect-ratio: 480 / 680;
  background: #000;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  overflow: hidden;
  touch-action: none;
}

#gameCanvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  touch-action: none;
}

/* HUD OVERLAY */
.hud-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

.hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.score-display, .best-display {
  display: flex;
  flex-direction: column;
  background: rgba(8, 20, 36, 0.75);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid rgba(198, 167, 90, 0.4);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.best-display {
  align-items: flex-end;
}

.hud-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--khaki-gold);
}

.hud-digits {
  font-family: 'Black Ops One', sans-serif;
  font-size: 26px;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  line-height: 1;
}

.rank-banner {
  background: linear-gradient(180deg, rgba(30, 48, 72, 0.85) 0%, rgba(15, 27, 43, 0.95) 100%);
  border: 1px solid var(--chief-gold);
  border-radius: 20px;
  padding: 4px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 12px var(--gold-glow);
}

.rank-stars {
  color: var(--chief-gold);
  font-size: 14px;
  letter-spacing: 2px;
}

.rank-name {
  font-family: 'Black Ops One', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  color: #fff;
}

/* C.U.B.S. Command Philosophy HUD Tracker */
.cubs-hud-tracker {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.cubs-letter-box {
  flex: 1;
  background: rgba(11, 28, 54, 0.8);
  border: 1px solid rgba(122, 136, 155, 0.45);
  border-radius: 5px;
  padding: 2px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.25s ease;
  opacity: 0.55;
}

.cubs-letter-box .cubs-letter {
  font-family: 'Black Ops One', sans-serif;
  font-size: 13px;
  line-height: 1.05;
  color: #9db0c6;
}

.cubs-letter-box .cubs-word {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #9db0c6;
}

.cubs-letter-box.active {
  opacity: 1;
  background: linear-gradient(180deg, #0e3386 0%, #091f52 100%);
  border-color: #cc3433;
  box-shadow: 0 0 10px rgba(204, 52, 51, 0.75);
  transform: translateY(-1px);
}

.cubs-letter-box.active .cubs-letter {
  color: #ffffff;
  text-shadow: 0 0 6px #cc3433;
}

.cubs-letter-box.active .cubs-word {
  color: #ffbe26;
}

.cubs-w-flag-box {
  width: 30px;
  height: 26px;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(157, 176, 198, 0.4);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
  transition: all 0.3s ease;
}

.cubs-w-flag-box .w-flag-letter {
  font-family: 'Black Ops One', sans-serif;
  font-size: 14px;
  color: #9db0c6;
}

.cubs-w-flag-box.active {
  opacity: 1;
  background: #ffffff;
  border-color: #0e3386;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.9);
  animation: fly-the-w-pulse 0.6s infinite alternate;
}

.cubs-w-flag-box.active .w-flag-letter {
  color: #0e3386;
}

@keyframes fly-the-w-pulse {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}

.cubs-badge-pill {
  background: #0e3386 !important;
  border-color: #cc3433 !important;
  color: #ffffff !important;
}

.monster-badge-pill {
  background: #0c140e !important;
  border-color: #39ff14 !important;
  color: #39ff14 !important;
  text-shadow: 0 0 6px rgba(57, 255, 20, 0.5);
}

.cubs-install-btn {
  background: linear-gradient(180deg, #0e3386 0%, #081f54 100%);
  color: #ffffff;
  border: 2px solid #cc3433;
  font-size: 12px;
  padding: 9px 14px;
  box-shadow: 0 4px 12px rgba(14, 51, 134, 0.6);
}

.cubs-install-btn:hover {
  background: linear-gradient(180deg, #1644ad 0%, #0e3386 100%);
  border-color: #ffbe26;
}

/* Powerup Status Bars (Coffee & Zyn) */
.powerup-hud-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.powerup-bar-container {
  border-radius: 6px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(4px);
}

.coffee-theme {
  background: rgba(18, 12, 6, 0.88);
  border: 1px solid var(--chief-gold);
  box-shadow: 0 0 14px rgba(255, 165, 0, 0.5);
  animation: glow-pulse-coffee 1s infinite alternate;
}

.monster-theme {
  background: rgba(6, 18, 8, 0.92);
  border: 1px solid #39ff14;
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.55);
  animation: glow-pulse-monster 0.85s infinite alternate;
}

.zyn-theme {
  background: rgba(3, 24, 38, 0.9);
  border: 1px solid #00d8ff;
  box-shadow: 0 0 14px rgba(0, 216, 255, 0.5);
  animation: glow-pulse-zyn 0.8s infinite alternate;
}

@keyframes glow-pulse-coffee {
  from { box-shadow: 0 0 8px rgba(255, 165, 0, 0.4); }
  to { box-shadow: 0 0 18px rgba(255, 190, 38, 0.8); }
}

@keyframes glow-pulse-monster {
  from { box-shadow: 0 0 8px rgba(57, 255, 20, 0.45); }
  to { box-shadow: 0 0 20px rgba(57, 255, 20, 0.95); }
}

@keyframes glow-pulse-zyn {
  from { box-shadow: 0 0 8px rgba(0, 216, 255, 0.4); }
  to { box-shadow: 0 0 20px rgba(0, 255, 230, 0.9); }
}

.powerup-label {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.coffee-theme .powerup-label {
  color: #ffcc00;
}

.monster-theme .powerup-label {
  color: #39ff14;
  text-shadow: 0 0 6px rgba(57, 255, 20, 0.65);
}

.zyn-theme .powerup-label {
  color: #00e5ff;
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.6);
}

.powerup-track {
  flex: 1;
  height: 8px;
  background: #0d1520;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #334e68;
}

.powerup-fill {
  height: 100%;
  width: 100%;
  transition: width 0.1s linear;
}

.coffee-fill {
  background: linear-gradient(90deg, #ff9900, #ffdd00);
}

.monster-fill {
  background: linear-gradient(90deg, #1b8a1b, #39ff14, #aaff80);
}

.zyn-fill {
  background: linear-gradient(90deg, #0077b6, #00e5ff, #80ffdb);
}

/* OVERLAY SCREENS (Start, GameOver, Leaderboard) */
.overlay-screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 11, 20, 0.82);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 50;
}

.overlay-screen.active {
  opacity: 1;
  visibility: visible;
}

.screen-card {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(180deg, #1b293d 0%, #101a27 100%);
  border: 2px solid var(--khaki-gold);
  border-radius: 12px;
  padding: 20px 20px 16px 20px;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(198, 167, 90, 0.25);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  animation: card-appear 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes card-appear {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.stencil-stamp {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-dark);
  color: var(--khaki-gold);
  border: 1.5px solid var(--khaki-gold);
  padding: 2px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 4px;
}

.stencil-stamp.stamp-danger {
  color: #fff;
  background: var(--danger-red);
  border-color: #ff6b6b;
  box-shadow: 0 0 10px rgba(217, 56, 41, 0.7);
}

.chief-avatar-preview {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 6px auto 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle, #253954 0%, #0e1b2d 75%);
  border: 3px solid var(--chief-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px var(--gold-glow);
}

.screen-title {
  font-family: 'Black Ops One', sans-serif;
  font-size: 22px;
  letter-spacing: 1.5px;
  color: var(--chief-gold);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  margin-top: 4px;
}

.game-over-title {
  font-family: 'Black Ops One', sans-serif;
  font-size: 24px;
  letter-spacing: 2px;
  color: #ff5544;
  text-shadow: 0 0 10px rgba(255, 85, 68, 0.5);
}

.tagline {
  font-size: 13px;
  color: #d1dbe5;
  line-height: 1.4;
  font-style: italic;
  padding: 0 8px;
}

.instructions-card {
  background: rgba(7, 15, 26, 0.75);
  border: 1px solid #283a52;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.instruction-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.key-badge {
  background: #24354b;
  border: 1px solid #4a6385;
  color: var(--khaki-gold);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
}

.instruction-desc {
  color: #cbd5e1;
}

/* Action Buttons */
.action-row {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.navy-btn {
  flex: 1;
  padding: 12px 16px;
  font-family: 'Black Ops One', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.primary-btn {
  background: linear-gradient(180deg, #f5be38 0%, #d49511 100%);
  color: #0c192c;
  border: 2px solid #ffe182;
  box-shadow: 0 4px 12px rgba(212, 149, 17, 0.5);
}

.primary-btn:hover {
  background: linear-gradient(180deg, #ffd359 0%, #e8a81d 100%);
  box-shadow: 0 6px 18px rgba(255, 190, 38, 0.7);
  transform: translateY(-2px);
}

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

.secondary-btn {
  background: #1b2a3f;
  color: var(--khaki-gold);
  border: 2px solid #3d5475;
  text-decoration: none;
}

.apk-download-btn {
  font-size: 12px;
  padding: 9px 14px;
}

.secondary-btn:hover {
  background: #263c5a;
  border-color: var(--khaki-gold);
}

.btn-star {
  font-size: 16px;
}

.quick-tips {
  font-size: 11px;
  color: var(--haze-light);
  letter-spacing: 0.5px;
}

/* Chief Quote Box */
.chief-quote-box {
  background: rgba(11, 22, 38, 0.85);
  border-left: 3px solid var(--chief-gold);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  text-align: left;
}

.quote-header {
  font-size: 10px;
  color: var(--khaki-gold);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.chief-quote {
  font-size: 13px;
  color: #fff;
  font-style: italic;
  line-height: 1.35;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.stat-box {
  background: rgba(8, 17, 30, 0.7);
  border: 1px solid #23354c;
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
}

.stat-title {
  font-size: 10px;
  color: var(--haze-light);
  letter-spacing: 1px;
}

.stat-number {
  font-family: 'Black Ops One', sans-serif;
  font-size: 20px;
  color: #fff;
}

.rank-glow {
  color: var(--chief-gold);
  text-shadow: 0 0 6px var(--gold-glow);
}

/* Medal Section */
.medal-award {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(229, 169, 59, 0.1);
  border: 1px solid rgba(229, 169, 59, 0.35);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: left;
}

.medal-icon {
  font-size: 28px;
}

.medal-label {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--khaki-gold);
  font-weight: 700;
}

.medal-name {
  font-weight: 700;
  font-size: 13px;
  color: #fff;
}

/* Callsign Input Row */
.callsign-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 17, 30, 0.85);
  border: 1px solid #2e435e;
  border-radius: 6px;
  padding: 6px 10px;
}

.callsign-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--khaki-gold);
  white-space: nowrap;
}

.callsign-input {
  flex: 1;
  background: #0c1624;
  border: 1px solid #3c5473;
  border-radius: 4px;
  color: var(--chief-gold);
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 3px 8px;
  outline: none;
  user-select: text;
  -webkit-user-select: text;
  touch-action: manipulation;
}

.callsign-input:focus {
  border-color: var(--chief-gold);
  box-shadow: 0 0 8px rgba(255, 190, 38, 0.35);
}

/* Leaderboard Roster Table */
.roster-card {
  max-width: 440px;
}

.roster-table-wrap {
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid #2e415b;
  border-radius: 6px;
  background: rgba(8, 18, 32, 0.85);
}

.roster-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}

.roster-table th {
  background: #18283d;
  color: var(--khaki-gold);
  padding: 8px 10px;
  font-weight: 700;
  border-bottom: 2px solid #334a69;
}

.roster-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #1a2a40;
  color: #e2e8f0;
}

.roster-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.roster-table tr:hover {
  background: rgba(255, 190, 38, 0.1);
}

/* FOOTER */
.naval-footer {
  background: #0d1724;
  border-top: 2px solid #23344a;
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}

.creed-snippet {
  font-size: 11px;
  color: var(--khaki-light);
  opacity: 0.85;
}

.footer-links {
  font-size: 11px;
  color: var(--haze-gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.link-btn {
  background: none;
  border: none;
  color: var(--chief-gold);
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0 4px;
}

.link-btn:hover {
  color: #fff;
}

/* RESPONSIVENESS */
@media (max-width: 500px) {
  html, body {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  body {
    padding: 0;
  }
  .game-wrapper {
    max-width: 100vw;
    height: 100%;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    border: none;
  }
  .canvas-container {
    aspect-ratio: auto;
    flex: 1;
  }
  .main-title {
    font-size: 22px;
  }
}
