*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #111827;
  background: #f5f5f7;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  color: #050816;
}

p {
  margin: 0;
  color: #4b5563;
}

/* Header / Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 245, 247, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% -20%, #fde68a, #facc15 30%, #b45309);
  color: #0b1120;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.1rem;
}

.brand-tagline {
  font-size: 0.8rem;
  color: #6b7280;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
}

.nav-list a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #4b5563;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: #111827;
  border-color: #facc15;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  border: none;
  background: transparent;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
}

/* Hero */

.hero {
  padding: 3.5rem 0 2.5rem;
  background: radial-gradient(circle at top left, #fef9c3, transparent 55%),
    radial-gradient(circle at bottom right, #dbeafe, transparent 55%),
    #f5f5f7;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.hero-content p {
  font-size: 0.98rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0.75rem;
}

.hero-note {
  font-size: 0.84rem;
  color: #6b7280;
}

.hero-visual {
  position: relative;
}

.hero-card-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  z-index: 2;
}

.hero-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 0.9rem;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card:nth-child(3) {
  grid-column: 1 / -1;
  justify-content: center;
}

.hero-card img {
  max-height: 70px;
  object-fit: contain;
}

.hero-pattern {
  position: absolute;
  inset: 10% -10% -12%;
  border-radius: 32px;
  background:
    radial-gradient(circle at 15% 10%, rgba(250, 204, 21, 0.6), transparent 60%),
    radial-gradient(circle at 85% 80%, rgba(37, 99, 235, 0.3), transparent 60%),
    linear-gradient(120deg, rgba(15, 23, 42, 0.96), rgba(15, 118, 110, 0.95));
  opacity: 0.8;
  filter: blur(18px);
  z-index: 1;
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section-alt {
  padding: 3rem 0;
  background: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  max-width: 32rem;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* Game cards */

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.game-card {
  background: #f9fafb;
  border-radius: 1.25rem;
  padding: 1.35rem 1.35rem 1.2rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.game-card-beta {
  background: #fefce8;
  border-color: #facc15;
}

.game-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-logo img {
  max-height: 78px;
  object-fit: contain;
}

.game-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.game-body p {
  font-size: 0.9rem;
}

.game-features {
  margin: 0.75rem 0 0.85rem;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: #4b5563;
}

.game-features li + li {
  margin-top: 0.15rem;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: #e5f0ff;
  color: #1d4ed8;
}

.badge-muted {
  background: #e5e7eb;
  color: #4b5563;
}

.badge-outline {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #4b5563;
}

.beta-label {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: #f97316;
  color: #fefce8;
  margin-bottom: 0.4rem;
}

.beta-note {
  font-size: 0.78rem;
  color: #854d0e;
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Coming soon */

.coming-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.coming-card {
  background: #f9fafb;
  border-radius: 1.1rem;
  padding: 1.1rem 1.2rem;
  border: 1px dashed #d1d5db;
}

.coming-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.coming-card p {
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
}

.coming-note {
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Support */

.support-content {
  max-width: 34rem;
  margin: 0 auto;
  text-align: center;
  font-size: 0.9rem;
}

.support-email a {
  font-weight: 600;
  color: #1d4ed8;
}

.support-note {
  margin-top: 0.75rem;
  font-size: 0.84rem;
  color: #6b7280;
}

/* Footer */

.site-footer {
  background: #020617;
  color: #e5e7eb;
  padding-top: 2.25rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  padding-bottom: 1.75rem;
}

.footer-column h3,
.footer-column h4 {
  color: #f9fafb;
  margin-bottom: 0.6rem;
}

.footer-column p {
  font-size: 0.85rem;
  color: #9ca3af;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 0.3rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: #e5e7eb;
}

.footer-links a:hover {
  color: #facc15;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.85rem 0 1.3rem;
}

.footer-bottom-inner {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    background-color 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.btn-primary {
  background: radial-gradient(circle at 20% -20%, #fde68a, #facc15 30%, #b45309);
  color: #0b1120;
  box-shadow: 0 12px 25px rgba(202, 138, 4, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(202, 138, 4, 0.6);
}

.btn-secondary {
  background: #ffffff;
  color: #111827;
  border-color: #d1d5db;
}

.btn-secondary:hover {
  background: #f3f4f6;
}

.btn-store {
  background: #111827;
  color: #f9fafb;
  border-color: #020617;
}

.btn-store:hover {
  background: #020617;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.45);
}

/* Responsive */

@media (max-width: 800px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero-visual {
    order: -1;
  }

  .games-grid,
  .coming-grid,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .game-card {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding-inline: 1rem;
  }

  .nav-list {
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(245, 245, 247, 0.98);
    padding: 0.5rem 1.25rem 0.9rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.18s ease;
  }

  .nav-list.is-open {
    max-height: 220px;
  }

  .nav-toggle {
    display: inline-flex;
  }
}


