/* content/static/css/style.css */

/* ================= THEME VARIABLES ================= */
:root {
  --blue-dark: #0d47a1;
  --blue-light: #42a5f5;
  --accent: #ffca28;

  --bg-light: #f4f8ff;
  --bg-dark: #0b1220;

  --text-light: #ffffff;
  --text-dark: #1e293b;

  --card-light: #ffffff;
  --card-dark: #121a2f;
}

/* ================= THEME MODE ================= */
body[data-theme="light"] {
  background: var(--bg-light);
  color: var(--text-dark);
}

body[data-theme="dark"] {
  background: var(--bg-dark);
  color: var(--text-light);
}

/* ================= GLOBAL ================= */
body {
  padding-top: 70px;
  font-family: 'Poppins', system-ui, sans-serif;
  transition: background 0.3s, color 0.3s;
}

/* ================= NAVBAR ================= */
.navbar {
  background: linear-gradient(90deg, var(--blue-dark), #0a357a);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ================= HERO ================= */
.hero {
  background: linear-gradient(
    135deg,
    var(--blue-dark),
    var(--blue-light)
  );
  padding: 100px 20px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.hero h1 {
  font-weight: 800;
}

.hero .btn {
  border-radius: 999px;
  padding: 14px 28px;
}

/* ================= CARDS ================= */
.card {
  border-radius: 18px;
  border: none;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body[data-theme="dark"] .card,
body[data-theme="dark"] .modal-content {
  background: var(--card-dark);
  color: var(--text-light);
}

body[data-theme="light"] .card,
body[data-theme="light"] .modal-content {
  background: var(--card-light);
  color: var(--text-dark);
}

body[data-theme="dark"] .text-muted {
  color: #b0bec5 !important;
}

body[data-theme="dark"] .navbar,
body[data-theme="dark"] footer {
  background: linear-gradient(90deg, #0b1220, #121a2f);
}

body[data-theme="light"] footer {
  background: var(--blue-dark);
}

body[data-theme="dark"] a {
  color: #ffffff;
}

body[data-theme="dark"] a:hover {
  color: #ffffff;
}


.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

/* ================= GAME CARD IMAGE ================= */
.game-thumb {
  height: 160px;
  background: linear-gradient(
    135deg,
    var(--blue-light),
    var(--blue-dark)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: white;
}

/* ================= BADGE ================= */
.badge {
  border-radius: 999px;
  padding: 6px 14px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .hero {
    padding: 70px 20px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }
}
/* ================= form ================= */
form input {
  border-radius: 12px;
  padding: 12px;
}

form button {
  border-radius: 999px;
  padding: 12px;
  font-weight: 600;
}

.navbar-brand img {
  transition: transform 0.2s ease;
}

.navbar-brand:hover img {
  transform: rotate(-5deg) scale(1.05);
}

.game-card {
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.game-thumb {
  height: 180px;
  overflow: hidden;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

