/* DBR Arcade — shared site styles */
:root {
  --bg-1: #ff6b9d;
  --bg-2: #7c5cff;
  --bg-3: #ffb56b;
  --card-bg: #ffffff;
  --ink: #2b1f4a;
  --ink-soft: #5c5378;
  --accent: #ff6b9d;
  --accent-2: #7c5cff;
  --accent-3: #22c1a1;
  --gold: #ffcc4d;
  --radius: 20px;
  --shadow: 0 12px 30px rgba(43, 31, 74, 0.18);
  font-size: 16px;
}

* { box-sizing: border-box; }

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

body {
  font-family: 'Baloo 2', 'Trebuchet MS', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 55%, var(--bg-3) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.6rem;
  color: #fff;
  text-shadow: 0 3px 0 rgba(0,0,0,0.15);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  font-size: 1.5rem;
  box-shadow: var(--shadow);
  transform: rotate(-6deg);
}

.tagline {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero {
  text-align: center;
  padding: 1.5rem 1.5rem 2.5rem;
  color: #fff;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 0.5rem;
  text-shadow: 0 4px 0 rgba(0,0,0,0.15);
}

.hero p {
  margin: 0 auto;
  max-width: 640px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.4rem;
  padding: 0 2rem 3rem;
  max-width: 1280px;
  margin: 0 auto;
}

.game-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
  border: 3px solid transparent;
}

.game-card.playable:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 18px 34px rgba(43, 31, 74, 0.28);
  border-color: var(--gold);
}

.game-card .icon {
  font-size: 2.6rem;
  line-height: 1;
}

.game-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.game-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  flex-grow: 1;
}

.badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.badge.play {
  background: var(--accent-3);
  color: #fff;
}

.badge.soon {
  background: #eee6ff;
  color: var(--accent-2);
}

.game-card.locked {
  opacity: 0.72;
}

.play-btn {
  margin-top: 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 6px 14px rgba(124, 92, 255, 0.35);
  transition: transform 0.15s ease;
}

.play-btn:hover { transform: scale(1.04); }

.play-btn.disabled {
  background: #e5e0f5;
  color: #a79ecb;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem 2.5rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 600;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-weight: 700;
  background: rgba(255,255,255,0.18);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin: 1rem 0 0 1.2rem;
}

.back-link:hover { background: rgba(255,255,255,0.3); }
