/* Root Variables */
:root {
  --primary: #2e2e2e;
  --accent: #ff6b35;
  --muted: #f2f2f2;
  --card-bg: #ffffff;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Montserrat', sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 10% 10%, rgba(255,107,53,0.06), transparent 10%),
              radial-gradient(circle at 90% 90%, rgba(46,46,46,0.04), transparent 10%);
  pointer-events: none;
  animation: floatBG 12s linear infinite;
}
@keyframes floatBG {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.02); }
  100% { transform: translateY(0) scale(1); }
}

/* Header */
.site-header {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}
.site-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.site-header p {
  font-size: 1.2rem;
}

/* Navigation */
.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}
.site-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.3s;
}
.site-nav a:hover {
  background: rgba(255,255,255,0.2);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #222, #2f2f2f);
  color: #fff;
  padding: 4rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.hero h2 { font-family: 'Montserrat', sans-serif; }
.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.hero .button {
  background: var(--accent);
  color: #fff;
}

/* Tabs */
.tab-btn {
  background: transparent;
  border: 0;
  color: #fff;
  padding: 0.5rem 0.75rem;
  margin: 0 0.25rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.18s, transform 0.12s;
}
.tab-btn:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.tab-btn.active { background: rgba(255,255,255,0.12); }

/* Timeline */
.timeline-section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.timeline-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}
.timeline {
  position: relative;
  padding: 2rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #ccc;
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 45%;
  background: linear-gradient(135deg, #fff, #f9f9f9);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  opacity: 0;
  transition: transform 0.6s cubic-bezier(.2,.9,.3,1), opacity 0.6s;
}
.timeline-item.in-view { opacity: 1; transform: none; }
.timeline-item:nth-child(odd) {
  left: 0;
  transform: translateX(-50px);
}
.timeline-item:nth-child(even) {
  left: 55%;
  transform: translateX(50px);
}
.timeline-item::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: calc(50% - 10px);
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
}
.timeline-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #2e2e2e;
}

/* Games Grid */
.games-section {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.games-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 1.5rem;
}
.game-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.game-card h3 {
  margin-bottom: 0.75rem;
  color: #2e2e2e;
}
.game-card p {
  flex: 1;
}
.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: #2e2e2e;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  text-align: center;
}

/* Footer */
footer {
  text-align: center;
  background: #2e2e2e;
  color: #fff;
  padding: 1rem;
  margin-top: 2rem;
}

/* Beta & Unreleased Section */
.beta-section {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.beta-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary);
}
.beta-section .games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 1.5rem;
}
.beta-section .game-card {
  border: 2px dashed var(--accent);
}
.button.disabled {
  background: #aaa;
  pointer-events: none;
  opacity: 0.7;
}

/* Tab panels */
.tab-panel { max-width: 1000px; margin: 2rem auto; padding: 0 1rem; }
.tab-panel[hidden] { display: none; }

/* About */
.about-content { background: var(--card-bg); padding: 1.5rem; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,0.06); }

/* Beta & status buttons */
.button.coming-soon {
  background: linear-gradient(90deg, #ff8a5b, #ff6b35);
  color: #fff;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(255,107,53,0.12);
}