*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0d0d0d;
  color: #e8e8e8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.nav a:hover {
  color: #fff;
}

.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(120, 80, 240, 0.12), transparent 70%);
}

.hero-content {
  max-width: 720px;
}

.hero-logo {
  display: block;
  height: 120px;
  width: auto;
  margin: 0 auto 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.highlight {
  background: linear-gradient(135deg, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 36px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #e8e8e8;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.game-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.game-card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-card-emoji {
  font-size: 3.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.game-card-logo {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.game-card-body {
  padding: 20px;
}

.game-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.game-card-body p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
  line-height: 1.55;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(167, 139, 250, 0.15);
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* About */
.about-content {
  max-width: 620px;
}

.about-content p {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.about-content strong {
  color: #e8e8e8;
}

/* Contact */
.contact-text {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 640px) {
  .nav {
    gap: 20px;
  }

  .section {
    padding: 64px 0;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }
}
