:root {
  --bg: #060d1f;
  --bg-alt: #0c1733;
  --surface: #101c3f;
  --surface-soft: #17264f;
  --text: #f4f7ff;
  --muted: #aeb9d8;
  --brand: #ffd452;
  --brand-strong: #ff9f1c;
  --ok: #34d399;
  --max: 1140px;
  --radius: 16px;
  --shadow: 0 14px 30px rgba(1, 10, 38, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 212, 82, 0.14), transparent 35%),
    radial-gradient(circle at 85% 0%, rgba(89, 145, 255, 0.2), transparent 30%),
    linear-gradient(180deg, #030714 0%, #08122b 48%, #060d1f 100%);
  line-height: 1.6;
}

a {
  color: #a7d7ff;
  text-decoration: none;
}

a:hover {
  color: #d9ecff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(var(--max), 92%);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 13, 31, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(7px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(3, 9, 28, 0.6);
  color: var(--text);
  font-size: 1.3rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 6px 18px rgba(255, 171, 47, 0.45);
  position: relative;
}

.logo-mark::before {
  content: "J";
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  color: #14110b;
  font-weight: 800;
  font-size: 1.1rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
}

.nav.is-open {
  max-height: 400px;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.hero {
  padding: 1.4rem 0 0.8rem;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 1.4rem;
  align-items: stretch;
}

.hero-copy,
.hero-banner {
  background: linear-gradient(160deg, rgba(15, 31, 68, 0.9), rgba(10, 22, 49, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 1.4rem;
}

.hero-visual-title {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.7rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff3cd;
  text-transform: uppercase;
}

.hero-sub {
  margin: 0.8rem 0 0;
  color: var(--muted);
  max-width: 56ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.content-cta {
  margin: 1.3rem 0 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(8, 20, 48, 0.85);
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.content-cta p {
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.content-cta img {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #231700;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: #eff5ff;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.badge {
  border: 1px solid rgba(87, 245, 172, 0.35);
  background: rgba(22, 40, 76, 0.6);
  color: #c8ffea;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
}

.hero-banner {
  overflow: hidden;
  position: relative;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner::after {
  content: "40,000,000 Free Coins";
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  background: rgba(6, 13, 31, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
}

.lobby {
  padding: 0.9rem 0 1.4rem;
}

.section-title {
  margin: 0 0 0.65rem;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.slot-card {
  background: linear-gradient(160deg, rgba(14, 28, 60, 0.9), rgba(9, 19, 43, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.slot-card img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
}

.slot-card .slot-meta {
  padding: 0.6rem;
}

.slot-card-link {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  text-indent: -9999px;
}

.slot-card h3 {
  margin: 0;
  font-size: 0.88rem;
}

.slot-card p {
  margin: 0.3rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.content-wrap {
  background: rgba(8, 17, 39, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.4rem 0 5rem;
}

article {
  background: linear-gradient(160deg, rgba(11, 23, 50, 0.9), rgba(8, 17, 39, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 1.3rem;
}

article h1,
article h2,
article h3 {
  line-height: 1.3;
}

article h1 {
  margin-top: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
}

article h2 {
  margin-top: 1.6rem;
  font-size: 1.27rem;
}

article h3 {
  margin-top: 1.2rem;
  font-size: 1.08rem;
}

article p,
article li {
  color: #e9efff;
}

article ul,
article ol {
  padding-left: 1.2rem;
}

.table-scroll {
  overflow-x: auto;
  margin: 0.9rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 0.94rem;
}

th,
td {
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.6rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  padding: 1.25rem 0 5.6rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.sticky-popup {
  position: fixed;
  z-index: 40;
  right: 0.8rem;
  left: 0.8rem;
  bottom: 0.8rem;
  background: linear-gradient(145deg, rgba(13, 27, 59, 0.95), rgba(8, 19, 44, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  box-shadow: 0 18px 34px rgba(3, 9, 28, 0.56);
}

.popup-inner {
  display: grid;
  grid-template-columns: 95px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.55rem;
}

.popup-inner img {
  border-radius: 10px;
  width: 95px;
  height: 80px;
  object-fit: cover;
}

.popup-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.popup-close {
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.2rem;
}

.noindex {
  display: inline-flex;
}

@media (max-width: 930px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .slot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .header-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    position: relative;
  }

  .slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  article {
    padding: 1rem;
  }

  .popup-inner {
    grid-template-columns: 80px 1fr;
  }

  .popup-inner .btn {
    grid-column: span 2;
  }

  .popup-close {
    position: absolute;
    top: 0.25rem;
    right: 0.45rem;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 220ms ease;
    background: rgba(6, 13, 31, 0.95);
    padding: 0;
    border-radius: 0 0 16px 16px;
    border: 0;
    opacity: 0;
    pointer-events: none;
  }

  .nav.is-open {
    max-height: 320px;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }
}
