/* ==========================================================================
   EMOJI BLADE - MODERN HIGH-AESTHETICS STYLESHEET (V2.0 Full Edition)
   Dark Cyber Arena / Glassmorphism / Mobile-Friendly / Performance-First
   ========================================================================== */

:root {
  --bg-primary: #080c15;
  --bg-secondary: #0f1626;
  --bg-card: rgba(18, 27, 46, 0.75);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-card-hover: rgba(26, 38, 64, 0.85);

  --accent-cyan: #00f0ff;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-coral: #ff4757;
  --accent-orange: #ff7f50;
  --accent-gold: #ffd32a;
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-glow-cyan: 0 0 25px rgba(0, 240, 255, 0.25);
  --shadow-glow-coral: 0 0 25px rgba(255, 71, 87, 0.25);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

/* Reset & Basics */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Ambience Glow Background */
.bg-glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.orb-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #ff4757 0%, transparent 70%);
  top: 15%;
  right: -120px;
}

.bg-grid-pattern {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Section Containers */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 21, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--bg-card-border);
  padding: 12px 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-emoji {
  font-size: 32px;
  display: inline-block;
  animation: logo-spin 12s linear infinite;
  transform-origin: center;
}

@keyframes logo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.accent-text {
  color: var(--accent-cyan);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

.logo-sub {
  display: block;
  font-size: 9px;
  font-family: var(--font-mono);
  color: var(--accent-coral);
  letter-spacing: 2px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-pill-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-card-border);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.icon-pill-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Language Link Switcher */
.lang-switch-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-family: var(--font-mono);
}

.lang-switch-links a {
  color: var(--text-dim);
  text-decoration: none;
  padding: 3px 6px;
  border-radius: 4px;
}

.lang-switch-links a:hover,
.lang-switch-links a.active {
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
}

/* ==========================================================================
   ARENA & HERO SECTION
   ========================================================================== */
.arena-section {
  padding: 24px 0 45px 0;
}

.arena-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 10px 18px;
}

.streak-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.streak-badge strong {
  color: var(--accent-gold);
  font-size: 18px;
  font-family: var(--font-mono);
}

.best-streak {
  color: var(--text-dim);
  font-size: 12px;
  margin-left: 4px;
}

.stage-badge {
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 1px;
}

.stage-badge strong {
  color: var(--accent-cyan);
  margin-left: 4px;
}

.arena-status-msg {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.top-bar-tools {
  display: flex;
  gap: 6px;
}

/* Viewport and Canvas Container */
.arena-viewport-wrapper {
  background: radial-gradient(circle at center, #111a2e 0%, #090e18 100%);
  border: 1px solid rgba(0, 240, 255, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.75), inset 0 0 40px rgba(0, 240, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 10px;
  position: relative;
  overflow: hidden;
}

.arena-canvas-container {
  width: 100%;
  height: 520px;
  position: relative;
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  background: #060911;
  display: flex;
  justify-content: center;
  align-items: center;
}

canvas#battleCanvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
}

/* 3, 2, 1, GO SHOOT! COUNTDOWN OVERLAY */
.countdown-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 110px;
  font-weight: 900;
  font-family: var(--font-sans);
  color: #fff;
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.8), 0 0 60px rgba(0, 240, 255, 0.5);
  pointer-events: none;
  z-index: 40;
  animation: countdown-pop 0.65s ease-out infinite;
}

.countdown-overlay.go-shoot {
  font-size: 64px;
  color: var(--accent-coral);
  text-shadow: 0 0 30px rgba(255, 71, 87, 0.9), 0 0 60px rgba(255, 127, 80, 0.6);
  letter-spacing: 2px;
}

@keyframes countdown-pop {
  0% { transform: scale(0.6); opacity: 0; }
  40% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1.0); opacity: 0.9; }
}

/* HUD Overlay Elements */
.hud-player-stats {
  position: absolute;
  top: 16px;
  width: 180px;
  background: rgba(10, 15, 26, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  pointer-events: none;
  z-index: 10;
  transition: all 0.2s ease;
}

.hud-left {
  left: 16px;
  border-left: 3px solid var(--accent-cyan);
}

.hud-right {
  right: 16px;
  border-right: 3px solid var(--accent-coral);
}

.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.hud-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 2px 6px;
  border-radius: 4px;
}

.hud-tag.blue {
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
}

.hud-tag.red {
  background: rgba(255, 71, 87, 0.15);
  color: var(--accent-coral);
}

.hud-tier {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--accent-gold);
  font-weight: 700;
}

.hud-emoji-preview {
  font-size: 32px;
  text-align: center;
  margin: 2px 0 6px 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-family: var(--font-mono);
}

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 50px;
  transition: width 0.1s linear;
}

.blue-fill {
  background: linear-gradient(90deg, #00f0ff, #3b82f6);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.red-fill {
  background: linear-gradient(90deg, #ff4757, #ff7f50);
  box-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
}

.hud-vs-center {
  position: absolute;
  top: 18px;
  font-size: 20px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 2px;
  pointer-events: none;
  z-index: 10;
}

/* Launch Aim Guide */
.launch-aim-guide {
  position: absolute;
  bottom: 20px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 18px;
  border-radius: 50px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
  z-index: 10;
  animation: pulse-guide 2.2s infinite ease-in-out;
}

@keyframes pulse-guide {
  0%, 100% { opacity: 0.85; transform: translateY(0); }
  50% { opacity: 0.4; transform: translateY(-4px); }
}

/* Result Modal Overlay */
.battle-overlay-modal {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 14, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--bg-card-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  max-width: 420px;
  width: 90%;
}

.result-banner {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #00f0ff, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.result-banner.defeat {
  background: linear-gradient(135deg, #ff4757, #ff7f50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.clash-summary {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.result-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: rgba(0, 0, 0, 0.35);
  padding: 14px;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
}

.res-stat-item strong {
  display: block;
  font-size: 16px;
  color: var(--text-main);
  font-family: var(--font-mono);
}

.res-label {
  font-size: 11px;
  color: var(--text-dim);
}

.modal-btn-row {
  display: flex;
  gap: 12px;
}

.primary-glow-btn {
  flex: 1;
  background: linear-gradient(135deg, #00f0ff, #3b82f6);
  color: #040810;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-glow-cyan);
  transition: all 0.2s ease;
}

.primary-glow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--bg-card-border);
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   GAME CONTROL PANEL / DOCK
   ========================================================================== */
.game-control-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.panel-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-title-row h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.card-icon {
  font-size: 20px;
}

.tiny-ghost-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-card-border);
  color: var(--text-muted);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tiny-ghost-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-main);
}

/* Player Input Dock */
.emoji-input-wrapper {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

#player-emoji-input {
  width: 64px;
  height: 52px;
  font-size: 28px;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-md);
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease;
}

#player-emoji-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.blade-style-select {
  flex: 1;
}

.blade-style-select select,
.rival-selector-row select {
  width: 100%;
  height: 52px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

/* Quick Pickers */
.quick-picker-group {
  margin-bottom: 18px;
}

.picker-label {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 8px;
  font-weight: 600;
}

.quick-emojis {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.emoji-chip {
  width: 36px;
  height: 36px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.emoji-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.emoji-chip.active {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

/* Radar Stats Preview */
.stats-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(0, 0, 0, 0.25);
  padding: 14px;
  border-radius: var(--radius-md);
}

.stat-cell .stat-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.stat-cell strong {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.stat-meter {
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  background: linear-gradient(90deg, #00f0ff, #3b82f6);
  border-radius: 50px;
}

/* Trophies Shelf */
.trophies-container {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trophy-title {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.trophies-shelf {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.trophy-item {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 50%;
  font-size: 14px;
}

/* Right Panel: Launch Config */
.mode-toggles {
  display: flex;
  gap: 6px;
}

.pill-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-card-border);
  color: var(--text-muted);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 50px;
  cursor: pointer;
}

.pill-tab.active {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
}

.rival-selector-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.rival-selector-row label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

#custom-enemy-input {
  width: 52px;
  height: 52px;
  font-size: 24px;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 71, 87, 0.4);
  border-radius: var(--radius-md);
  color: #fff;
}

/* Sliders */
.launch-sliders {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.slider-group {
  background: rgba(0, 0, 0, 0.25);
  padding: 10px 14px;
  border-radius: var(--radius-md);
}

.slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.slider-label strong {
  color: var(--accent-gold);
  font-family: var(--font-mono);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

/* Massive Launch Button */
.action-btn-wrapper {
  margin-bottom: 12px;
}

.massive-clash-btn {
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, #ff4757 0%, #ff7f50 50%, #ffa502 100%);
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(255, 71, 87, 0.4);
  transition: all 0.2s ease;
}

.massive-clash-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 71, 87, 0.6);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  animation: btn-glow 3s infinite ease-in-out;
}

@keyframes btn-glow {
  0% { left: -100%; }
  50%, 100% { left: 200%; }
}

.launch-tip {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}

/* ==========================================================================
   CONTENT / SEO SECTIONS (TIER LIST, GUIDE, EMBED, FAQ)
   ========================================================================== */
.content-section {
  padding: 60px 0;
}

.content-section.dark-alt {
  background: rgba(10, 16, 28, 0.6);
  border-top: 1px solid var(--bg-card-border);
  border-bottom: 1px solid var(--bg-card-border);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px auto;
}

.sub-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.section-head p {
  font-size: 15px;
  color: var(--text-muted);
}

/* Tier Grid */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.tier-s { border-top: 3px solid #ff4757; }
.tier-a { border-top: 3px solid #ffa502; }
.tier-b { border-top: 3px solid #3b82f6; }

.tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tier-rank {
  font-size: 20px;
  font-weight: 900;
  font-family: var(--font-mono);
}

.tier-s .tier-rank { color: #ff4757; }
.tier-a .tier-rank { color: #ffa502; }
.tier-b .tier-rank { color: #3b82f6; }

.tier-desc {
  font-size: 12px;
  color: var(--text-dim);
}

.tier-emojis {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tier-item {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.25);
  padding: 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.tier-item:hover {
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

.tier-item .t-emoji {
  font-size: 26px;
  margin-bottom: 4px;
}

.tier-item strong {
  font-size: 14px;
  color: var(--text-main);
}

.tier-item small {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}

.step-num {
  font-size: 36px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.07);
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Embed Box */
.embed-box {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.embed-info h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
}

.embed-info p {
  color: var(--text-muted);
  font-size: 14px;
}

.embed-code-block textarea {
  width: 100%;
  height: 90px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 12px;
  resize: none;
  outline: none;
  margin-bottom: 12px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.faq-item summary {
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-main);
  outline: none;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.6;
}

/* Prose for standalone subpages */
.prose-container {
  max-width: 820px;
  margin: 40px auto;
  padding: 0 20px;
}

.prose-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.prose-card h1 {
  font-size: 34px;
  margin-bottom: 16px;
  color: #fff;
}

.prose-card h2 {
  font-size: 24px;
  margin: 28px 0 12px 0;
  color: var(--accent-cyan);
}

.prose-card p, .prose-card ul {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.prose-card ul {
  padding-left: 24px;
}

.prose-card a {
  color: var(--accent-cyan);
}

/* Footer */
.site-footer {
  background: #050810;
  border-top: 1px solid var(--bg-card-border);
  padding: 50px 0 24px 0;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer-brand strong {
  display: block;
  font-size: 18px;
  color: var(--text-main);
  margin-top: 6px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  max-width: 320px;
}

.footer-brand .disclaimer {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 8px;
}

.footer-links-group {
  display: flex;
  gap: 40px;
}

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

.footer-col strong {
  font-size: 13px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 20px;
  font-size: 12px;
  color: var(--text-dim);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 900px) {
  .game-control-panel {
    grid-template-columns: 1fr;
  }

  .tier-grid, .steps-grid, .embed-box {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .arena-canvas-container {
    height: 440px;
  }

  .hud-player-stats {
    width: 140px;
    padding: 8px 10px;
  }

  .hud-emoji-preview {
    font-size: 26px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .arena-canvas-container {
    height: 380px;
  }

  .hud-player-stats {
    width: 120px;
    top: 8px;
  }

  .hud-left { left: 8px; }
  .hud-right { right: 8px; }

  .arena-top-bar {
    flex-wrap: wrap;
    gap: 8px;
  }
}
