/* ===== Mantik Games — Hub Styling ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #e0e0e0;
  background: #0a0a0a;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(6,182,212,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(168,85,247,0.06) 0%, transparent 50%);
  min-height: 100vh;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* ===== Header ===== */
.site-header {
  padding: 3.5rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(6,182,212,0.15);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.logo-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0e2a2e, #0c1929);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 2px solid #06b6d4;
  box-shadow: 0 0 30px rgba(6,182,212,0.2);
}
.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}
.logo-text em {
  font-style: normal;
  background: linear-gradient(135deg, #06b6d4, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.site-header p {
  font-size: 1.05rem;
  color: #999;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Kategorien-Filter ===== */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 0 1rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.5rem 1.1rem;
  border-radius: 20px;
  background: rgba(6,182,212,0.06);
  border: 1px solid rgba(6,182,212,0.2);
  color: #999;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}
.filter-btn:hover {
  color: #e0e0e0;
  background: rgba(6,182,212,0.12);
}
.filter-btn.active {
  color: #0a0a0a;
  background: #06b6d4;
  border-color: #06b6d4;
  font-weight: 600;
}

/* ===== Spiele-Grid ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  padding: 1.5rem 0 4rem;
}

.game-card {
  position: relative;
  background: linear-gradient(135deg, rgba(14,42,46,0.4), rgba(12,25,41,0.4));
  border: 1px solid rgba(6,182,212,0.15);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  cursor: pointer;
  overflow: hidden;
}
.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(6,182,212,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6,182,212,0.4);
  box-shadow: 0 12px 30px -10px rgba(6,182,212,0.2);
}
.game-card:hover::before { opacity: 1; }
.game-card.coming-soon {
  opacity: 0.55;
  cursor: not-allowed;
}
.game-card.coming-soon:hover {
  transform: none;
  border-color: rgba(6,182,212,0.15);
  box-shadow: none;
}

.game-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.game-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}
.game-desc {
  font-size: 0.88rem;
  color: #888;
  flex-grow: 1;
}
.game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(6,182,212,0.1);
}
.game-cat {
  font-size: 0.75rem;
  color: #67e8f9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.game-status {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  font-weight: 600;
}
.game-status.soon {
  background: rgba(168,85,247,0.12);
  color: #c4b5fd;
}

/* ===== Footer ===== */
.site-footer {
  text-align: center;
  padding: 2rem 0 3rem;
  color: #555;
  font-size: 0.85rem;
  border-top: 1px solid rgba(6,182,212,0.1);
}
.site-footer a {
  color: #67e8f9;
  transition: color 0.2s;
}
.site-footer a:hover { color: #06b6d4; }

/* ===== Mobile ===== */
@media (max-width: 600px) {
  .site-header { padding: 2.5rem 0 1.5rem; }
  .site-header h1 { font-size: 1.8rem; }
  .site-header p { font-size: 0.95rem; }
  .games-grid { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .game-card { padding: 1.1rem; }
  .game-icon { font-size: 2.4rem; }
  .game-name { font-size: 1rem; }
  .game-desc { font-size: 0.8rem; }
}
@media (max-width: 400px) {
  .games-grid { grid-template-columns: 1fr; }
}
