/* Games page — loaded after base.css */

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* PAGE HERO */
.page-hero {
  position: relative;
  height: 280px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 48px;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://i.imgur.com/DrgApaf.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.25);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 20, 20, 0.2) 0%, rgba(20, 20, 20, 0.9) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  animation: fadeup 0.8s ease both;
}

@keyframes fadeup {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.page-hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
}

.page-hero p {
  font-size: 15px;
  color: #909090;
  margin-top: 10px;
  line-height: 1.6;
}

/* MAIN CONTENT */
main {
  flex: 1;
  padding: 64px 24px;
}

.content {
  max-width: 960px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 48px;
}

/* GAMES GRID */
.games-grid {
  display: flex;
  justify-content: left;
  gap: 40px;
  flex-wrap: wrap;
}

.game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  width: 220px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  animation: fadeup 0.6s ease both;
}

.game-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.game-image {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--border);
  transition: border-color 0.2s;
}

.game-card:hover .game-image {
  border-color: var(--orange-dim);
}

.game-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

.play-btn {
  width: 100%;
  height: 44px;
  background: #00b95b;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}

.play-btn:hover {
  background: #019546;
  transform: scale(0.97);
}

/* Remove play triangle */
.play-btn.no-play::before {
  display: none;
}

.robux-icon {
  width: 14px;
  height: 14px;
  fill: white;
}

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 24px 0;
}
