:root {
  --primary-color: #6c5ce7;
  --bg-color: #0f0f13;
  --card-bg: #1e1e24;
  --text-main: #ffffff;
  --text-muted: #a4b0be;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

body { background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; }

header { background: rgba(30, 30, 36, 0.9); padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; backdrop-filter: blur(10px); }
.logo { font-size: 1.5rem; font-weight: bold; color: var(--primary-color); text-decoration: none; }
nav a { color: var(--text-main); text-decoration: none; margin-left: 20px; transition: var(--transition); }
nav a:hover { color: var(--primary-color); }

.container { padding: 2rem 5%; max-width: 1400px; margin: 0 auto; }
.section-title { margin-bottom: 2rem; border-left: 4px solid var(--primary-color); padding-left: 10px; }

/* Grid System */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }

/* Add to css/style.css */
.category-filters { display: flex; gap: 10px; margin-bottom: 2rem; flex-wrap: wrap; }
.filter-btn { background: var(--card-bg); color: var(--text-main); border: 1px solid var(--primary-color); padding: 8px 16px; border-radius: 20px; cursor: pointer; transition: var(--transition); font-size: 0.9rem; }
.filter-btn:hover, .filter-btn.active { background: var(--primary-color); color: white; }

/* Game Card */
.game-card { background: var(--card-bg); border-radius: 10px; overflow: hidden; transition: var(--transition); cursor: pointer; text-decoration: none; color: inherit; display: block; }
.game-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(108, 92, 231, 0.2); }
.game-img { width: 100%; height: 180px; object-fit: cover; }
.game-info { padding: 15px; }
.game-title { font-size: 1.1rem; margin-bottom: 5px; }
.game-category { font-size: 0.8rem; color: var(--primary-color); text-transform: uppercase; }

/* Game Player iframe */
.game-container { width: 100%; max-width: 1000px; margin: 0 auto; aspect-ratio: 16/9; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 0 30px rgba(0,0,0,0.5); }
iframe { width: 100%; height: 100%; border: none; }

/* Breadcrumbs */
.breadcrumbs { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 0.9rem; }
.breadcrumbs a { color: var(--primary-color); text-decoration: none; }

footer { text-align: center; padding: 2rem; border-top: 1px solid var(--card-bg); margin-top: 3rem; color: var(--text-muted); }
