/* Self-hosted fonts (avoids external dependencies for portal submissions) */
@font-face {
  font-family: "Audiowide";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/audiowide.woff2") format("woff2");
}

@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/orbitron.woff2") format("woff2");
}

@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/orbitron.woff2") format("woff2");
}

@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("assets/fonts/orbitron.woff2") format("woff2");
}

body {
  background: #1a0a2a;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  overflow: hidden; /* Critical for mobile game feel */
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  margin: 0;
  width: 100vw;
  height: 100vh; /* Fallback */
  height: 100dvh; /* Mobile Safari fix */
  position: fixed; /* Lock scroll */
  line-height: 1.5;
}

/* ... existing styles ... */

#game-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Fallback */
  height: 100dvh; /* Mobile Safari fix */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(10, 5, 20, 0.85); /* Darker overlay */
  backdrop-filter: blur(8px);
  z-index: 100; /* Ensure above everything */
  transition: opacity 0.3s;
  padding-bottom: env(safe-area-inset-bottom, 20px);
}

.screen.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Blocks input while an ad request is pending. */
#ad-overlay {
  z-index: 200;
  background: rgba(10, 5, 20, 0.92);
}

.ad-overlay-content {
  width: 380px;
}

.ad-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem auto;
  border-radius: 999px;
  border: 4px solid rgba(0, 255, 255, 0.2);
  border-top-color: rgba(0, 255, 255, 0.95);
  animation: ad-spin 0.9s linear infinite;
}

@keyframes ad-spin {
  to {
    transform: rotate(360deg);
  }
}

.screen-content {
  background: rgba(30, 20, 40, 0.95); /* Slightly more opaque */
  padding: 2.5rem; /* More breathing room */
  border-radius: 24px; /* Softer corners */
  box-shadow: 0 0 50px rgba(0, 255, 255, 0.15);
  border: 1px solid rgba(0, 255, 255, 0.2);
  max-width: 90%;
  width: 440px; /* Slightly wider */
}

.logo h1 {
  font-size: 3.5rem;
  margin: 1rem 0; /* More spacing */
  color: #fff;
  text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
  letter-spacing: 2px;
  font-weight: 900;
}

/* ... */

.instructions {
  margin-top: 2rem;
  font-size: 1rem; /* Slightly larger */
  color: #aaccff;
  line-height: 1.6; /* Better readability */
}

/* UI Overlay */
#game-ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  font-family: "Orbitron", sans-serif; /* Premium Font */
}

/* Simple Heart Lives Display */
.lives-container {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 8px;
  background: rgba(0, 20, 40, 0.6);
  padding: 10px 15px;
  border-radius: 20px;
  border: 1px solid rgba(255, 50, 100, 0.3);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 15px rgba(255, 50, 100, 0.1);
}

.life-heart {
  width: 28px;
  height: 28px;
  font-size: 24px;
  line-height: 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.life-heart.filled::before {
  content: "❤️";
}

.life-heart.empty::before {
  content: "🖤";
  opacity: 0.4;
}

.life-heart.danger {
  animation: heart-danger 0.5s infinite;
}

@keyframes heart-danger {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
    filter: brightness(1.5);
  }
}

@keyframes pulse-life {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.score-container {
  position: absolute;
  top: 80px; /* Moved down slightly to clear lives if needed, or stick to 10% */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}

.current-score {
  font-family: "Audiowide", cursive; /* Distinct score font */
  font-size: 5rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.8), 2px 2px 0px rgba(0, 0, 0, 0.5);
}

/* Robot Dock Styling */
.robot-dock-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px; /* Area for robots */
  background: linear-gradient(to top, rgba(0, 20, 40, 0.9), transparent);
  z-index: -1; /* Behind canvas elements? No, canvas is z-0. Overlay is z-5.*/
  /* Wait, checking: CSS z-index 5 is ABOVE canvas. 
       If we want robots to be "in" the dock, the canvas draws them.
       So this overlay provides the 'background' visual.
       BUT because it's z-5, it might block clicks if not pointer-events: none.
       pointer-events IS none on #game-ui. 
       So this needs pointer-events: none too.
    */
  pointer-events: none;
  border-top: 1px solid rgba(0, 255, 255, 0.3);
}

.dock-label {
  position: absolute;
  bottom: 5px; /* Moved down to reduce overlap */
  width: 100%;
  text-align: center;
  font-size: 0.7rem; /* Slightly smaller */
  letter-spacing: 4px;
  color: rgba(0, 255, 255, 0.5);
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
  pointer-events: none;
}

.dock-scanline {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 255, 255, 0.05) 3px
  );
}

.combo-display {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  color: #ffd700;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.top-controls {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 15px;
  pointer-events: auto;
  z-index: 20;
}

.control-btn {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.control-btn:hover {
  background: rgba(0, 255, 255, 0.2);
  border-color: #00ffff;
  transform: scale(1.1);
}

.settings-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
  width: 100%;
}

.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 20, 40, 0.5);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 255, 0.1);
}

.setting-row span {
  font-family: "Orbitron", sans-serif;
  color: #aaccff;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.hidden {
  display: none !important;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  80% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Lives Display */
.lives-display {
  position: absolute; /* Detach from flow to prevent overlap */
  top: 15rem; /* Fixed position below score */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
  color: #ff3333;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  pointer-events: none;
}

.lives-display.shake {
  animation: shake 0.5s;
}

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

/* Ability Modal */

.ability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem; /* Increased gap */
  margin: 2rem 0;
}

.ability-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 15px;
  padding: 1rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem; /* Better separation between icon and label */
}

.ability-btn:hover {
  background: rgba(0, 255, 255, 0.2);
  border-color: #00ffff;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

.ability-btn:active {
  transform: translateY(-2px);
}

.ability-btn .icon {
  font-size: 2.5rem;
}

.ability-btn .label {
  font-size: 1rem;
  font-weight: bold;
}

/* Responsive fix for modal */
@media (max-height: 700px) {
  .screen-content {
    padding: 1.5rem;
  }
  .ability-grid {
    margin: 1rem 0;
  }
  .ability-btn {
    padding: 0.5rem;
  }
}

/* ========== NEW GAMEPLAY UI STYLES ========== */

/* Bonus Start Button */
.bonus-btn {
  /* Rewarded ads must be clearly optional; keep this CTA subtle. */
  border-color: rgba(255, 215, 0, 0.8);
  color: #FFD700;
  margin-top: 0.5rem;
}

.bonus-btn:hover {
  background: rgba(255, 215, 0, 0.08);
  border-color: #FFD700;
}

.bonus-icon {
  margin-right: 0.5rem;
}

/* Tip text in instructions */
.tip {
  display: block;
  margin-top: 0.5rem;
  color: #00FFFF;
  font-size: 0.9rem;
}

/* Game Over Stats Row */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 1.5rem 0;
}

.stat {
  text-align: center;
}

.stat span {
  font-family: "Audiowide", cursive;
  font-size: 2.5rem;
  color: #00FFFF;
  display: block;
}

.stat p {
  font-size: 0.9rem;
  color: #aaccff;
  margin: 0.25rem 0 0 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Checkpoint Button */
.checkpoint-btn {
  background: linear-gradient(135deg, #00FFFF 0%, #0088ff 100%);
  color: #000;
  font-weight: bold;
}

.checkpoint-btn:hover {
  background: linear-gradient(135deg, #88FFFF 0%, #00FFFF 100%);
}

/* Checkpoint Modal */
.checkpoint-desc {
  color: #aaccff;
  margin: 1rem 0;
}

/* Combo Indicator */
.combo-indicator {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 215, 0, 0.2);
  border: 2px solid #FFD700;
  border-radius: 30px;
  padding: 8px 24px;
  pointer-events: none;
}

.combo-indicator span {
  font-family: "Audiowide", cursive;
  font-size: 1.5rem;
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* Game Button Base (ensure exists) */
.game-btn {
  background: linear-gradient(135deg, #00FFFF 0%, #00aaff 100%);
  color: #000;
  font-family: "Orbitron", sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0.5rem 0;
  display: block;
  width: 100%;
}

.game-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.4);
}

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

.game-btn.secondary {
  background: transparent;
  border: 2px solid rgba(0, 255, 255, 0.5);
  color: #00FFFF;
}

.game-btn.secondary:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: #00FFFF;
}

.game-btn.small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Final Score Styling */
.final-score {
  margin: 1rem 0;
}

.final-score span {
  font-family: "Audiowide", cursive;
  font-size: 4rem;
  color: #FFD700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.final-score p {
  color: #aaccff;
  margin: 0.25rem 0 0 0;
  font-size: 1rem;
}

/* New Best Animation */
.new-best {
  font-family: "Audiowide", cursive;
  font-size: 1.5rem;
  color: #FF00FF;
  text-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
  animation: new-best-pulse 0.5s infinite alternate;
  margin: 1rem 0;
}

@keyframes new-best-pulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

/* Continue button special styling */
.continue-btn {
  background: linear-gradient(135deg, #FF00FF 0%, #aa00ff 100%);
}

.continue-btn:hover {
  box-shadow: 0 5px 20px rgba(255, 0, 255, 0.4);
}

/* Best Score Display */
.best-score {
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  color: #FFD700;
  margin: 1rem 0;
}

/* Build/version badge (small, for QA + support) */
.build-badge {
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: rgba(0, 255, 255, 0.85);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.35);
  margin-top: -0.25rem;
}

/* About link on menu */
.about-link {
  margin-top: 0.75rem;
  background: transparent;
  border: none;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: rgba(0, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(0, 255, 255, 0.35);
}

.about-link:hover {
  color: #00FFFF;
  text-decoration-color: rgba(0, 255, 255, 0.8);
}

.about-link:active {
  transform: translateY(1px);
}

/* Sunflower/Ice icon */
.sunflower-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* Tagline */
.tagline {
  color: #aaccff;
  font-size: 1.1rem;
  margin: 0.5rem 0 1.5rem 0;
}

/* About / Credits modal */
.about-content {
  width: 520px;
  max-width: 92%;
  max-height: 90dvh;
  overflow: hidden;
}

.about-tagline {
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

.about-scroll {
  text-align: left;
  max-height: 52dvh;
  overflow-y: auto;
  padding-right: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.about-section-title {
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: rgba(0, 255, 255, 0.85);
  margin: 1.25rem 0 0.5rem 0;
}

.about-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
}

.about-table th,
.about-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 255, 255, 0.12);
  vertical-align: top;
}

.about-table th {
  text-align: left;
  width: 35%;
  color: rgba(170, 204, 255, 0.9);
  font-weight: 700;
  letter-spacing: 1px;
}

.about-table td {
  text-align: left;
  color: #fff;
}

.about-table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 0.85rem;
  color: #FFD700;
  word-break: break-word;
}

.about-legal {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #aaccff;
  margin: 0.5rem 0;
}

.about-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.about-tip {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: rgba(170, 204, 255, 0.9);
}

/* ========== GAME MODE SELECTION ========== */

.mode-select {
  margin: 1.5rem 0;
  width: 100%;
}

.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mode-btn {
  background: rgba(0, 20, 40, 0.6);
  border: 2px solid rgba(0, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.75rem 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: #aaccff;
}

.mode-btn:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.5);
  transform: translateY(-2px);
}

.mode-btn.active {
  background: rgba(0, 255, 255, 0.2);
  border-color: #00ffff;
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.mode-icon {
  font-size: 1.5rem;
}

.mode-name {
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.mode-desc {
  font-size: 0.7rem;
  opacity: 0.7;
}

/* Mode-specific styling */
.mode-btn[data-mode="precision"].active {
  border-color: #ff4444;
  background: rgba(255, 0, 0, 0.15);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.mode-btn[data-mode="chaos"].active {
  border-color: #ff00ff;
  background: rgba(255, 0, 255, 0.15);
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
  animation: chaos-glow 1s infinite alternate;
}

@keyframes chaos-glow {
  from {
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
  }
  to {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
  }
}

.mode-btn[data-mode="sprint"].active {
  border-color: #ffd700;
  background: rgba(255, 215, 0, 0.15);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* Sprint Timer Display */
.sprint-timer {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Audiowide", cursive;
  font-size: 2rem;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
  pointer-events: none;
}

.sprint-timer.danger {
  color: #ff4444;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
  animation: timer-pulse 0.5s infinite alternate;
}

@keyframes timer-pulse {
  from { transform: translateX(-50%) scale(1); }
  to { transform: translateX(-50%) scale(1.1); }
}

/* Precision Mode Indicator */
.precision-indicator {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
  color: #ff4444;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  pointer-events: none;
}

/* Chaos Mode Visual */
.chaos-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 0, 255, 0.03) 3px
    );
  animation: chaos-scanline 10s linear infinite;
}

@keyframes chaos-scanline {
  from { background-position: 0 0; }
  to { background-position: 0 100px; }
}

/* Mobile responsive adjustments for mode grid */
@media (max-width: 400px) {
  .mode-grid {
    gap: 0.5rem;
  }

  .mode-btn {
    padding: 0.5rem 0.25rem;
  }

  .mode-icon {
    font-size: 1.25rem;
  }

  .mode-name {
    font-size: 0.75rem;
  }

  .mode-desc {
    font-size: 0.6rem;
  }
}

/* Very short viewports (mobile landscape) need a compact menu so primary CTAs remain visible. */
@media (max-height: 450px) {
  .screen {
    align-items: flex-start;
    padding-top: 12px;
  }

  .screen-content {
    padding: 1rem;
    border-radius: 18px;
  }

  .screen-content h2 {
    font-size: 1.6rem;
    margin: 0.25rem 0 0.5rem 0;
  }

  .sunflower-icon {
    font-size: 2.25rem;
    margin-bottom: 0.25rem;
  }

  .logo h1 {
    font-size: 2.25rem;
    margin: 0.25rem 0;
  }

  .tagline {
    font-size: 1rem;
    margin: 0.25rem 0 0.75rem 0;
  }

  .mode-select {
    margin: 0.75rem 0;
  }

  .instructions {
    display: none;
  }

  .about-content {
    max-height: 88dvh;
  }

  .about-scroll {
    max-height: 46dvh;
  }

  .game-btn {
    padding: 0.9rem 1.5rem;
    font-size: 1.1rem;
    margin-top: 0.75rem;
  }

  .bonus-btn {
    margin-top: 0.4rem;
  }

  .stats-row {
    display: none;
  }

  .stat span {
    font-size: 2rem;
  }

  .final-score {
    margin: 0.5rem 0;
  }

  .final-score span {
    font-size: 2.6rem;
  }

  .new-best {
    font-size: 1.1rem;
    margin: 0.5rem 0;
  }

  /* Keep the restart CTA visible in short viewports; share is a nice-to-have. */
  #share-btn {
    display: none;
  }
}

/* Wide + short screens: keep mode selection tight to avoid vertical clipping. */
@media (max-height: 450px) and (min-width: 700px) {
  .mode-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .mode-btn {
    padding: 0.5rem 0.25rem;
  }

  .mode-desc {
    display: none;
  }
}

/* Ultra-tiny iframes (e.g., 346x194) must still expose the primary CTA. */
@media (max-height: 260px) {
  #start-screen .tagline,
  #start-screen .best-score,
  #start-screen #build-badge,
  #start-screen .mode-select,
  #start-screen #bonus-start-btn,
  #start-screen .instructions {
    display: none;
  }

  #start-screen .sunflower-icon {
    display: none;
  }

  #start-screen .screen-content {
    padding: 0.75rem;
    border-radius: 16px;
  }

  #start-screen .logo h1 {
    font-size: 1.9rem;
    margin: 0.2rem 0 0.4rem 0;
  }

  #start-screen .game-btn {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    margin-top: 0.5rem;
  }

  #start-screen .about-link {
    margin-top: 0.5rem;
    font-size: 0.8rem;
  }
}
