/* ─── GAMES PAGE ─── */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.game-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.game-card:hover { transform: translateY(-4px); border-color: var(--purple-core); box-shadow: var(--glow); }
.game-banner {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.game-banner img,
.game-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-banner.mmo { background: linear-gradient(135deg, #1a0535, #3d1478); }
.game-banner.fps { background: linear-gradient(135deg, #051535, #143d5c); }
.game-banner.rpg { background: linear-gradient(135deg, #1a1005, #6b4c02); }
.game-banner.moba { background: linear-gradient(135deg, #051a12, #0f5c2e); }
.game-banner.social { background: linear-gradient(135deg, #1a0520, #5c146b); }
.game-banner.upcoming { background: linear-gradient(135deg, #0d0d1a, #2a2a4a); }
.game-badge {
  position: absolute; top: 10px; right: 10px;
  background: rgba(124,58,237,0.7); color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.18rem 0.55rem; border-radius: 3px;
}
.game-body { padding: 1.25rem 1.5rem 1.5rem; }
.game-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-primary); margin-bottom: 0.4rem;
}
.game-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0.85rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.67rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.12rem 0.5rem; border-radius: 3px;
  background: rgba(124,58,237,0.15);
  color: var(--accent-violet); border: 1px solid var(--purple-muted);
}
.future-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 1rem;
}
.future-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.future-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.future-card {
  background: var(--bg-card); border: 1px dashed var(--border);
  border-radius: 6px; padding: 1.1rem 1.35rem;
  display: flex; align-items: center; gap: 0.85rem;
  opacity: 0.75; transition: opacity 0.2s, border-color 0.2s;
}
.future-card:hover { opacity: 1; border-color: var(--purple-muted); }
.future-icon { font-size: 1.5rem; }
.future-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.future-status { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.1rem; }

.future-games-section .future-visual {
    width: 100%;
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 8px 0 0;
  }

  .future-games-section .future-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .future-games-section .future-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .future-games-section .future-content {
    padding: 16px;
    flex-grow: 1;
  }

.titlecolor {
  background: linear-gradient(135deg, var(--purple-bright, #c084fc), var(--purple-glow, #a855f7), #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
}

@media (max-width: 900px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .games-grid,
  .future-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .game-banner {
    height: 180px;
  }
  
  .inner-page {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.casual-games-box {
  margin-top: 3.5rem;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
  background: var(--bg-card);
  border: 1px solid var(--purple-muted);
  border-radius: 28px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--glow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.casual-games-box:hover {
  transform: translateY(-2px);
  border-color: var(--purple-core);
}

.casual-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.casual-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--purple-bright, #c084fc), var(--purple-glow, #a855f7), #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
}

.casual-link {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background: var(--purple-core);
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.casual-link:hover {
  background: var(--purple-bright, #c084fc);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}