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

:root {
  --bg-deep: #02111f;
  --bg-mid: #062a4a;
  --bg-light: #0a3d62;
  --accent: #00d4ff;
  --accent-glow: rgba(0, 212, 255, 0.55);
  --danger: #ff4d6d;
  --success: #2bffb1;
  --warning: #ffb347;
  --text: #e8f6ff;
  --text-dim: #8fb8d4;
  --card-bg: rgba(6, 42, 74, 0.72);
  --card-border: rgba(0, 212, 255, 0.25);
}

html, body {
  min-height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: radial-gradient(ellipse at top, var(--bg-light) 0%, var(--bg-mid) 45%, var(--bg-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 20px 60px;
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -150px;
  animation: floatBubble 18s ease-in-out infinite;
}

body::after {
  width: 500px;
  height: 500px;
  bottom: -180px;
  right: -120px;
  animation: floatBubble 22s ease-in-out infinite reverse;
}

@keyframes floatBubble {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
}

.game-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  background: var(--card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 32px 34px 28px;
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: containerIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes containerIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.game-header {
  text-align: center;
  margin-bottom: 22px;
}

.game-header h1 {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, var(--accent), #7ef9ff 50%, var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 4s linear infinite;
  text-shadow: 0 0 30px var(--accent-glow);
}

@keyframes shineText {
  to { background-position: 200% center; }
}

.subhead {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.4px;
  font-weight: 400;
}

.hidden {
  display: none !important;
}

/* ============================================================
   HEADER LINK
   ============================================================ */

.header-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  transition: filter 0.2s ease;
}

/* ============================================================
   SITE NAV (category links)
   ============================================================ */

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.12);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-dim);
  text-decoration: none;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 99px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent);
  background: rgba(0, 212, 255, 0.15);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.35);
  transform: translateY(-1px);
}

.nav-link:active {
  transform: scale(0.97);
}

/* ============================================================
   START SCREEN
   ============================================================ */

.start-screen {
  text-align: center;
  padding: 24px 10px 14px;
  animation: fadeIn 0.5s ease;
}

.start-illustration {
  font-size: 3.4rem;
  margin-bottom: 14px;
  animation: pufferBob 2s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.35));
}

@keyframes pufferBob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}

.start-screen h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.start-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.start-btn {
  padding: 16px 52px !important;
  font-size: 1.1rem !important;
  letter-spacing: 1.5px;
  animation: startPulse 2.2s ease-in-out infinite;
}

@keyframes startPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(0, 212, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
  50% { box-shadow: 0 4px 30px rgba(0, 212, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================================
   GAME SCREEN
   ============================================================ */

.game-screen {
  animation: fadeIn 0.4s ease;
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 22px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.depth-meter {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent-glow);
  font-variant-numeric: tabular-nums;
}

.depth-icon {
  font-size: 1.25rem;
  filter: drop-shadow(0 0 6px var(--accent-glow));
}

.timer-box {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  min-width: 160px;
  flex: 1;
  justify-content: flex-end;
}

#timerDisplay {
  min-width: 26px;
  text-align: right;
  color: var(--accent);
}

.timer-bar-bg {
  width: 100px;
  height: 7px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.timer-bar-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--success), var(--accent));
  border-radius: 99px;
  transition: width 0.1s linear, background 0.3s ease;
}

.timer-bar-fill.warn {
  background: linear-gradient(90deg, var(--warning), #ff8c42);
}

.timer-bar-fill.danger {
  background: linear-gradient(90deg, var(--danger), #ff2e63);
  animation: dangerBlink 0.5s ease-in-out infinite alternate;
}

@keyframes dangerBlink {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

.question-panel {
  background: linear-gradient(160deg, rgba(0, 212, 255, 0.08), rgba(0, 0, 0, 0.15));
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 16px;
  padding: 28px 28px 22px;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.question-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scanLine 3s linear infinite;
}

@keyframes scanLine {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(50%); }
}

.question-number {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.question-number span {
  color: var(--accent);
}

#questionText {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 16px;
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.puffer-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 2rem;
  height: 46px;
}

.puffer-emoji {
  display: inline-block;
  animation: pufferBob 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.3));
}

.puffer-hint {
  font-size: 1.15rem;
  animation: hintFloat 0.9s ease-in-out infinite alternate;
}

@keyframes hintFloat {
  from { transform: translateY(0) scale(1); opacity: 0.7; }
  to { transform: translateY(-4px) scale(1.15); opacity: 1; }
}

.input-area {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

#answerInput {
  flex: 1;
  padding: 15px 20px;
  font-size: 1.05rem;
  font-family: inherit;
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(0, 212, 255, 0.25);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#answerInput::placeholder {
  color: rgba(143, 184, 212, 0.55);
}

#answerInput:focus {
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15), 0 0 20px rgba(0, 212, 255, 0.15);
}

#answerInput:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 15px 26px;
  letter-spacing: 0.5px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
  user-select: none;
}

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

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #0090c9);
  color: #001a2b;
  box-shadow: 0 4px 18px rgba(0, 212, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn.primary:hover {
  filter: brightness(1.12);
  box-shadow: 0 6px 24px rgba(0, 212, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn.primary:disabled {
  filter: grayscale(0.6) brightness(0.7);
  cursor: not-allowed;
  box-shadow: none;
}

.btn.secondary {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  border: 1.5px solid rgba(0, 212, 255, 0.4);
  padding: 12px 26px;
  font-size: 0.9rem;
}

.btn.secondary:hover {
  background: rgba(0, 212, 255, 0.18);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.feedback-msg {
  min-height: 24px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
  transition: opacity 0.25s ease;
}

.feedback-msg:empty {
  opacity: 0;
}

.feedback-msg.success {
  color: var(--success);
  text-shadow: 0 0 14px rgba(43, 255, 177, 0.5);
  animation: feedbackPop 0.35s ease;
}

.feedback-msg.error {
  color: var(--danger);
  text-shadow: 0 0 14px rgba(255, 77, 109, 0.5);
  animation: shake 0.4s ease;
}

.feedback-msg.info {
  color: var(--warning);
  text-shadow: 0 0 12px rgba(255, 179, 71, 0.4);
}

@keyframes feedbackPop {
  0% { transform: scale(0.85); opacity: 0; }
  60% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* ============================================================
   GAME OVER PANEL
   ============================================================ */

.game-over-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  background: rgba(2, 17, 31, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px 24px;
  text-align: center;
  animation: fadeIn 0.4s ease;
  min-height: 100dvh;
  height: 100dvh;
  overflow-y: auto;
  padding-top: max(40px, env(safe-area-inset-top));
  padding-bottom: max(40px, env(safe-area-inset-bottom));
}

.game-over-panel.hidden {
  display: none !important;
}

.game-over-panel > * {
  flex-shrink: 0;
}

.game-over-panel::before {
  content: '';
  margin-top: auto;
}

.game-over-panel::after {
  content: '';
  margin-bottom: auto;
}

.game-over-panel h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 30px var(--accent-glow);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.game-over-panel p {
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 600;
}

.game-over-panel p span {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.5rem;
  text-shadow: 0 0 16px var(--accent-glow);
}

.game-over-panel .btn.primary {
  margin-top: 14px;
  padding: 15px 40px;
  font-size: 1.05rem;
}

.share-section {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.share-label {
  font-size: 0.85rem !important;
  color: var(--text-dim) !important;
  font-weight: 600 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 !important;
}

.share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.share-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.08);
  color: var(--text);
  font-size: 1.15rem;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.share-btn:hover {
  background: rgba(0, 212, 255, 0.22);
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

.share-btn:active {
  transform: scale(0.92);
}

.share-icon {
  display: inline-block;
  line-height: 1;
  pointer-events: none;
}

#shareTwitter .share-icon { font-size: 1.2rem; }
#shareFacebook .share-icon { font-size: 1.25rem; font-weight: 800; }
#shareWhatsapp .share-icon { font-size: 1.2rem; }
#shareTelegram .share-icon { font-size: 1.1rem; }
#shareCopy .share-icon { font-size: 1.05rem; }

.copy-feedback {
  min-height: 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: opacity 0.2s ease;
}

.copy-feedback.success {
  color: var(--success);
  text-shadow: 0 0 10px rgba(43, 255, 177, 0.5);
}

.copy-feedback.error {
  color: var(--danger);
  text-shadow: 0 0 10px rgba(255, 77, 109, 0.5);
}

/* ============================================================
   INFO / SEO TEXT MODULES
   ============================================================ */

.info-section {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.info-card {
  background: linear-gradient(160deg, rgba(0, 212, 255, 0.06), rgba(0, 0, 0, 0.18));
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 16px;
  padding: 28px 30px 24px;
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.04),
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.08),
    0 14px 36px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.info-card h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.4px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.35);
  position: relative;
}

.info-card h2::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 52px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  border-radius: 2px;
}

.info-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card p strong {
  color: var(--text);
  font-weight: 700;
}

.info-card p em {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

.steps-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: 0 0 16px;
}

.steps-list li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 46px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.steps-list li strong {
  color: var(--text);
  font-weight: 700;
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 1px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #0090c9);
  color: #001a2b;
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
}

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

.tips-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.tips-list li:last-child {
  margin-bottom: 0;
}

.tips-list li strong {
  color: var(--text);
  font-weight: 700;
}

.tips-list li::before {
  content: '▸';
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  text-shadow: 0 0 8px var(--accent-glow);
}

/* FAQ accordion */
.faq-item {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item[open] {
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.05);
}

.faq-item summary {
  cursor: pointer;
  padding: 15px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.2px;
  list-style: none;
  position: relative;
  padding-right: 44px;
  transition: color 0.2s ease;
  user-select: none;
}

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

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.25s ease, color 0.2s ease;
}

.faq-item[open] summary::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
  color: #7ef9ff;
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item p {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-dim);
  margin: 0;
  animation: fadeIn 0.25s ease;
}

/* ============================================================
   FOOTER
   ============================================================ */

.game-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 212, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer-link:hover {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}

.footer-divider {
  color: rgba(143, 184, 212, 0.4);
  font-weight: 400;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */

.legal-page {
  max-width: 860px;
}

.legal-content {
  text-align: left;
  margin-top: 4px;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.legal-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.4px;
  margin-bottom: 20px;
  font-style: italic;
}

.legal-content h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 22px;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.legal-content p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.legal-content p strong {
  color: var(--text);
  font-weight: 700;
}

.legal-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 14px;
}

.legal-content ul li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.legal-content ul li::before {
  content: '▸';
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 700;
}

.legal-content a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dotted rgba(0, 212, 255, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-content a:hover {
  color: #7ef9ff;
  border-bottom-color: var(--accent);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet / small desktop */
@media (max-width: 1024px) {
  .game-container {
    max-width: 760px;
  }
}

@media (max-width: 560px) {
  body {
    padding: 24px 14px 40px;
  }

  .game-container {
    padding: 22px 16px 20px;
    border-radius: 18px;
  }

  .game-header h1 {
    font-size: 1.45rem;
    letter-spacing: 0.8px;
  }

  .subhead {
    font-size: 0.72rem;
  }

  .site-nav {
    gap: 6px;
    margin-bottom: 18px;
    padding-bottom: 14px;
  }

  .nav-link {
    padding: 7px 12px;
    font-size: 0.75rem;
  }

  .status-bar {
    padding: 10px 12px;
    gap: 8px;
  }

  .depth-meter {
    font-size: 1rem;
  }

  .timer-box {
    min-width: 100px;
    font-size: 0.85rem;
  }

  .timer-bar-bg {
    width: 50px;
  }

  #questionText {
    font-size: 1.1rem;
  }

  .question-panel {
    padding: 20px 16px 16px;
  }

  .input-area {
    flex-direction: column;
  }

  .btn.primary {
    width: 100%;
    padding: 13px;
  }

  .puffer-container {
    font-size: 1.6rem;
  }

  .start-screen h2 {
    font-size: 1.3rem;
  }

  .start-desc {
    font-size: 0.88rem;
  }

  .start-btn {
    padding: 14px 36px !important;
    font-size: 1rem !important;
  }

  .game-over-panel h2 {
    font-size: 1.45rem;
  }

  .game-over-panel p {
    font-size: 1rem;
  }

  .share-btn {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }

  .share-buttons {
    gap: 8px;
  }

  /* Info modules mobile */
  .info-section {
    margin-top: 24px;
    gap: 16px;
  }

  .info-card {
    padding: 20px 18px 18px;
    border-radius: 14px;
  }

  .info-card h2 {
    font-size: 1.15rem;
    margin-bottom: 12px;
  }

  .info-card p,
  .steps-list li,
  .tips-list li {
    font-size: 0.87rem;
  }

  .steps-list li {
    padding-left: 38px;
  }

  .steps-list li::before {
    width: 26px;
    height: 26px;
    font-size: 0.78rem;
  }

  .faq-item summary {
    padding: 12px 14px;
    padding-right: 36px;
    font-size: 0.88rem;
  }

  .faq-item summary::after {
    right: 14px;
  }

  .faq-item p {
    padding: 0 14px 14px;
    font-size: 0.84rem;
  }

  .game-footer {
    font-size: 0.72rem;
    margin-top: 22px;
    padding-top: 16px;
  }

  .legal-content h2 {
    font-size: 1.25rem;
  }

  .legal-content h3 {
    font-size: 0.95rem;
  }

  .legal-content p,
  .legal-content ul li {
    font-size: 0.87rem;
  }
}

@media (max-width: 380px) {
  .status-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .timer-box {
    justify-content: space-between;
  }

  .timer-bar-bg {
    flex: 1;
  }

  .share-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .game-header h1 {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
  }

  .subhead {
    font-size: 0.66rem;
  }

  .nav-link {
    padding: 6px 10px;
    font-size: 0.7rem;
  }

  #questionText {
    font-size: 1rem;
  }

  .info-card {
    padding: 18px 14px 16px;
  }

  .info-card h2 {
    font-size: 1.05rem;
  }

  .info-card p,
  .steps-list li,
  .tips-list li {
    font-size: 0.83rem;
  }

  .faq-item summary {
    font-size: 0.84rem;
    padding: 11px 12px;
    padding-right: 34px;
  }

  .faq-item p {
    padding: 0 12px 12px;
    font-size: 0.8rem;
  }
}

/* ============================================================
   LARGE DESKTOP — extra breathing room
   ============================================================ */

@media (min-width: 1280px) {
  body {
    padding: 56px 32px 80px;
  }

  .game-container {
    max-width: 1040px;
    padding: 38px 42px 32px;
  }

  .game-header h1 {
    font-size: 2.35rem;
  }

  .subhead {
    font-size: 0.88rem;
  }

  #questionText {
    font-size: 1.55rem;
  }

  .info-card {
    padding: 32px 36px 28px;
  }

  .info-card h2 {
    font-size: 1.5rem;
  }

  .info-card p,
  .steps-list li,
  .tips-list li {
    font-size: 1rem;
  }

  .faq-item summary {
    font-size: 1rem;
    padding: 17px 22px;
    padding-right: 46px;
  }

  .faq-item p {
    font-size: 0.95rem;
    padding: 0 22px 20px;
  }
}

/* ============================================================
   UTILITIES
   ============================================================ */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.no-select {
  user-select: none;
  -webkit-user-select: none;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
