﻿/* =========================================================
   BoomArena — How to Play v3.0 "BRIEFING ROOM"
   ========================================================= */

.br-page {
  min-height: 100vh;
  padding-top: var(--nav-height);
  background: #060610;
  color: #e0e0f8;
  position: relative;
}

/* Header */
.br-header {
  position: relative;
  padding: 2.5rem 3rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.br-header-inner { max-width: 960px; margin: 0 auto; }
.br-header-tag {
  font-family: var(--font-display);
  font-size: 0.5rem;
  letter-spacing: 0.35em;
  color: rgba(0,229,255,0.5);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.br-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem,4vw,2.4rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0 0 8px;
  text-shadow: 0 0 30px rgba(0,229,255,0.2);
}
.br-subtitle { font-size: 0.9rem; color: rgba(255,255,255,0.4); margin: 0; }

/* Layout */
.br-layout { max-width: 960px; margin: 0 auto; padding: 2rem 2rem 5rem; display: flex; flex-direction: column; gap: 3rem; }

/* Section headers */
.br-section-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.br-tag-num {
  font-family: var(--font-display);
  font-size: 0.6rem;
  color: rgba(0,229,255,0.5);
  border: 1px solid rgba(0,229,255,0.25);
  padding: 2px 8px;
  letter-spacing: 0.1em;
}
.br-tag-label {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.5);
}

/* Controls grid */
.br-controls-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Terminal cards */
.br-terminal-card {
  background: #080818;
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
}
.br-tc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.br-tc-icon { font-size: 0.9rem; }
.br-tc-title { font-family: var(--font-display); font-size: 0.55rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.45); }
.br-tc-body { padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; }

/* Key layouts */
.br-key-row { display: flex; align-items: flex-start; gap: 14px; }
.br-keys { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; min-width: 140px; }
.br-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-bottom: 2px solid rgba(0,229,255,0.3);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.br-key-wide { min-width: 52px; padding: 0 10px; }
.br-key-sep { font-family: var(--font-display); font-size: 0.55rem; color: rgba(255,255,255,0.25); margin: 0 3px; }
.br-key-info { display: flex; flex-direction: column; gap: 2px; }
.br-key-info strong { font-family: var(--font-display); font-size: 0.65rem; color: rgba(255,255,255,0.8); letter-spacing: 0.05em; }
.br-key-info span { font-size: 0.74rem; color: rgba(255,255,255,0.35); }

/* Mobile dpad */
.br-mobile-intro { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin: 0 0 1rem; }
.br-dpad-demo { display: flex; align-items: center; gap: 2rem; margin-bottom: 1rem; }
.br-dpad {
  display: grid;
  grid-template-rows: 28px 28px 28px;
  grid-template-columns: 28px 28px 28px;
  gap: 2px;
  justify-items: center;
  align-items: center;
}
.br-dpad-up { grid-column: 2; }
.br-dpad-row { grid-column: 1/-1; display: flex; gap: 2px; }
.br-dpad-down { grid-column: 2; }
.br-dpad-btn {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.25);
  font-size: 0.5rem;
  color: rgba(0,229,255,0.7);
}
.br-dpad-center { width: 28px; height: 28px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.br-bomb-demo {
  font-size: 2rem;
  filter: drop-shadow(0 0 10px rgba(255,165,0,0.5));
  animation: bomb-pulse 1.5s ease-in-out infinite;
}
@keyframes bomb-pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.12)} }
.br-touch-tips { display: flex; flex-direction: column; gap: 5px; }
.br-tip { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

/* Power-ups */
.br-powerups-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.br-pu-card {
  background: #080818;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s;
}
.br-pu-card:hover { border-color: rgba(0,229,255,0.2); }
.br-pu-icon { font-size: 1.8rem; }
.br-pu-name { font-family: var(--font-display); font-size: 0.65rem; letter-spacing: 0.1em; color: #fff; }
.br-pu-desc { font-size: 0.77rem; color: rgba(255,255,255,0.4); margin: 0; line-height: 1.5; }

/* Objectives */
.br-objectives { display: flex; flex-direction: column; gap: 1px; }
.br-obj-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.2rem 1.5rem;
  background: #080818;
  border: 1px solid rgba(255,255,255,0.06);
}
.br-obj-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  opacity: 0.18;
  flex-shrink: 0;
  min-width: 50px;
}
.br-obj-text { display: flex; flex-direction: column; gap: 4px; }
.br-obj-text strong { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.85); }
.br-obj-text p { font-size: 0.82rem; color: rgba(255,255,255,0.4); margin: 0; line-height: 1.6; }

/* Tips */
.br-tips-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.br-tip-card {
  background: #080818;
  border: 1px solid rgba(255,255,255,0.07);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.br-tip-n { font-family: var(--font-display); font-size: 0.52rem; color: rgba(0,229,255,0.5); letter-spacing: 0.2em; margin-bottom: 4px; }
.br-tip-card h4 { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.85); margin: 0; }
.br-tip-card p { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin: 0; line-height: 1.55; }

/* CTA */
.br-cta { text-align: center; }
.br-cta-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 2.5rem 4rem;
  border: 1px solid rgba(0,229,255,0.15);
  position: relative;
}
.br-cta-title { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.3em; color: rgba(0,229,255,0.6); }
.br-cta-btn {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 13px 36px;
  background: rgba(0,229,255,0.12);
  border: 1px solid rgba(0,229,255,0.45);
  color: #00e5ff;
  text-decoration: none;
  clip-path: polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
  transition: background 0.2s;
}
.br-cta-btn:hover { background: rgba(0,229,255,0.22); }

@media (max-width: 768px) {
  .br-controls-grid { grid-template-columns: 1fr; }
  .br-powerups-grid { grid-template-columns: repeat(2,1fr); }
  .br-tips-grid { grid-template-columns: 1fr; }
  .br-header { padding: 1.5rem 1rem; }
  .br-layout { padding: 1.5rem 1rem 3rem; }
}
@media (max-width: 480px) {
  .br-header { padding: 1rem; }
  .br-layout { padding: 1rem 0.75rem 3rem; gap: 1rem; }
  .br-section-head { font-size: 0.5rem; }
  .br-terminal-card { padding: 1rem 0.75rem; }
  .br-key { min-width: 24px; height: 24px; font-size: 0.55rem; padding: 0 5px; }
  .br-key-wide { min-width: 44px; }
  .br-key-row { flex-direction: column; gap: 8px; }
  .br-keys { min-width: unset; gap: 3px; }
  .br-powerups-grid { grid-template-columns: 1fr; }
  .br-powerup-card { flex-direction: row; gap: 12px; text-align: left; }
  .br-powerup-icon { font-size: 1.4rem; min-width: 32px; }
  .br-tips-grid { grid-template-columns: 1fr; }
  .br-dpad { gap: 2px; }
  .br-dpad-key { min-width: 28px; height: 28px; font-size: 0.65rem; }
  .br-cta-inner { padding: 1.5rem 1rem; }
}