:root {
  --font-text: "Montserrat", sans-serif;
  --font-title: "Lexend", sans-serif;
  --color-light: #f4f4f4;
  --color-true-dark: #000;
  --color-dark: #0d0d0d;
  --color-grey: #bfbfbf;
  --color-dark-grey: #8c8c8c;
  --color-yellow: #ffcb20;
  --color-yellow-d: #c99b00;
  --color-green: #34c759;
  --bg: #0c0c0c;
  --bg2: #111111;
  --bg3: #161616;
  --surface: #1c1c1c;
  --border: #2a2a2a;
  --text: #e8e8e8;
  --muted: #888;
  --red: #e63946;
  --font-head: "Montserrat", sans-serif;
  --font-body: "Montserrat", sans-serif;
  --font-cond: "Montserrat", sans-serif;
  --font-price: "Montserrat", sans-serif;
  --radius: 10px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-text);
}

body {
  background: var(--bg);
  color: var(--text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  color: var(--color-light);
}

.titulo-logo {
  color: var(--color-yellow);
}

a {
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

/* ========== JOGOS PAGE ========== */
.jogos-page {
  min-height: 100vh;
  background: var(--bg);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Hero Section */
.jogos-page-back {
  color: var(--color-light) !important;
  font-weight: 600;
  border-bottom: 2px solid var(--color-yellow);
  padding-bottom: 4px;
  transition: var(--transition);
}

.jogos-page-back:hover {
  color: var(--color-yellow) !important;
}

/* Game Cards */
.game-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.game-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: var(--bg3);
}

.game-card .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.game-card:hover .card-img-top {
  transform: scale(1.08);
}

.game-card .card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.game-card .card-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--color-light);
  text-transform: capitalize;
}

.game-price {
  color: var(--color-yellow);
  font-size: 1.25rem;
  font-weight: 700;
}

.game-card .btn-warning {
  background: var(--color-yellow) !important;
  color: var(--color-true-dark) !important;
  border: none;
  font-weight: 700;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.game-card .btn-warning:hover {
  background: var(--color-yellow-d) !important;
  transform: translateX(4px);
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(255, 203, 32, 0.15);
  border-color: var(--color-yellow);
}

.game-card:focus-within {
  outline: 2px solid var(--color-yellow);
  outline-offset: 2px;
}

/* ========== RESPONSIVENESS ========== */
@media (max-width: 768px) {
  .jogos-page {
    padding-top: 1.5rem;
  }

  .game-image-wrapper {
    height: 180px;
  }

  .game-card .card-body {
    padding: 1.25rem;
  }

  .game-card .card-title {
    font-size: 1rem;
  }

  .game-price {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .game-image-wrapper {
    height: 160px;
  }

  .game-card .card-body {
    padding: 1rem;
  }

  .game-card .card-title {
    font-size: 0.95rem;
  }

  .game-price {
    font-size: 1rem;
  }

  .game-card .btn-warning {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem !important;
  }
}
