/* GLOBAL RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* BASE STYLES */
body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #020617; /* very dark navy */
  color: #e5e7eb;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f172a, #1d4ed8); /* dark neon blue */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-weight: 600;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.logo-sub {
  font-weight: 400;
  font-size: 0.75rem;
  color: #9ca3af;
}

/* NAV */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.main-nav a {
  position: relative;
  font-weight: 500;
  color: #cbd5f5;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  transition: width 0.2s ease-out;
}

.main-nav a:hover::after {
  width: 100%;
}

/* HERO */
.hero {
  padding: 3.5rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 2.7vw, 2.6rem);
  line-height: 1.15;
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 0.8rem;
}

.hero-tagline {
  font-size: 1rem;
  color: #9ca3af;
  max-width: 460px;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background 0.15s ease-out,
    color 0.15s ease-out,
    border-color 0.15s ease-out,
    box-shadow 0.15s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9); /* stronger neon */
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 28px rgba(14, 165, 233, 0.45);
}

.btn-outline {
  background: transparent;
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.6);
}

.btn-outline:hover {
  background: rgba(56, 189, 248, 0.08);
}

.btn-full {
  width: 100%;
}

/* HERO CARD */
.hero-card {
  margin-top: 0.5rem;
}

.card-light {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #0f172a;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  margin-bottom: 0.8rem;
}

.hero-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  color: #0f172a;
}

.hero-card-text {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 0.8rem;
}

.hero-list {
  list-style: disc;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: #4b5563;
  margin-bottom: 1.1rem;
}

.hero-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #2563eb;
}

/* SECTIONS */
.section {
  padding: 2.8rem 0;
}

.section-alt {
  background: transparent;
}

.section-header {
  margin-bottom: 1.8rem;
}

.section-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  color: #f9fafb;
}

.section-header p {
  font-size: 0.95rem;
  color: #9ca3af;
}

/* GAMES GRID */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.game-card {
  position: relative;
  border-radius: 16px;
  padding: 1.4rem 1.4rem 1.6rem;
  border: 1px solid rgba(55, 65, 81, 0.8);
}

.game-card-live {
  background: #020617; /* slightly lighter than body due to shadow + border */
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.55);
}

.game-card--coming-soon {
  background: radial-gradient(circle at top left, #0f172a, #020617);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.5);
}

.game-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.25);
  color: #bbf7d0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-soon {
  background: rgba(249, 115, 22, 0.18);
  color: #fed7aa;
}

.game-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: #f9fafb;
}

.game-tagline {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 0.7rem;
}

.game-description {
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-bottom: 0.9rem;
}

.game-meta {
  list-style: none;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.game-meta li + li {
  margin-top: 0.2rem;
}

/* TOOLS */
.tool-card {
  margin-bottom: 1.6rem;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.about-card h3 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.about-card ul {
  list-style: disc;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 0.9rem;
}

.about-note {
  font-size: 0.85rem;
  color: #6b7280;
  font-style: italic;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid rgba(30, 64, 175, 0.7);
  background: #020617;
  padding: 1.4rem 0;
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-tagline {
  margin-top: 0.2rem;
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-card {
    order: -1;
  }

  .main-nav {
    display: none;
  }

  .header-inner {
    justify-content: center;
  }

  .logo {
    margin: 0 auto;
    text-align: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}
