/* Explore Board Zone - shared styles */
:root {
  --bg: #0f1220;
  --bg-alt: #161a2e;
  --card: #1c2138;
  --accent: #ff5a3c;
  --accent-2: #ffb347;
  --text: #e8eaf4;
  --muted: #a2a8c4;
  --border: #2a3050;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --max: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Roboto", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand, .section-title, .btn {
  font-family: "Poppins", "Roboto", sans-serif;
  letter-spacing: -0.01em;
}

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

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15,18,32,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: .95rem;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #12131f;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 40px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 20px rgba(255,90,60,.28);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255,90,60,.4); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 82vh;
  padding: 80px 0;
  /* 🔁 Change the image URL below to swap the hero background */
  background:
    linear-gradient(90deg, rgba(15,18,32,.94) 0%, rgba(15,18,32,.78) 45%, rgba(15,18,32,.55) 100%),
    url("image/bg.jpg") center/cover no-repeat;
}
.hero .container { width: 100%; }
.hero-inner {
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.9rem);
  line-height: 1.12;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p {
  color: #d3d8ee;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 560px;
}
.hero .btn { margin-top: 4px; }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 14px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 46px;
}

/* ---------- Game cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); border-color: var(--accent); }
.card img { height: 180px; object-fit: cover; width: 100%; }
.card-body { padding: 18px 20px 22px; }
.card-body h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: .95rem; }

/* ---------- Split content rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
  margin-bottom: 64px;
}
.split:last-child { margin-bottom: 0; }
.split.reverse .split-media { order: 2; }
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.split h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 600; margin-bottom: 16px; }
.split p { color: var(--muted); margin-bottom: 14px; }

.prose { max-width: 900px; margin: 0 auto; }
.prose p { color: var(--muted); margin-bottom: 18px; text-align: justify; }

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: transform .25s;
}
.feature:hover { transform: translateY(-5px); }
.feature .icon {
  font-size: 1.9rem;
  margin-bottom: 16px;
  color: var(--accent);
  width: 66px;
  height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,90,60,.12);
}
.feature h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ---------- Benefits ---------- */
.benefits { background: var(--bg-alt); }
.benefit-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 960px;
  margin: 0 auto 46px;
}
.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.benefit-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.35rem;
  color: #12131f;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 16px rgba(255,90,60,.28);
}
.benefit-card h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.benefit-card p {
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.55;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0a0c17;
  border-top: 1px solid var(--border);
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 34px;
}
.footer-grid h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}
.footer-grid h4 i { color: var(--accent); margin-right: 8px; }
.social-links { display: flex; gap: 12px; margin-top: 8px; }
.social-links a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all .2s;
}
.social-links a:hover { background: var(--accent); color: #12131f; border-color: var(--accent); }
.footer-grid p, .footer-grid li { color: var(--muted); font-size: .93rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { padding: 6px 0; }
.footer-grid a { transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom {
  text-align: center;
  color: var(--muted);
  font-size: .88rem;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

/* ---------- Legal / content pages ---------- */
.page-hero {
  padding: 60px 0 40px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); font-weight: 600; }
.page-hero p { color: var(--muted); margin-top: 10px; }
.legal { padding: 56px 0 80px; }
.legal .container { max-width: 860px; }
.legal h2 { font-size: 1.55rem; font-weight: 600; margin: 34px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); margin-bottom: 14px; }
.legal ul { margin: 0 0 18px 22px; }
.legal a { color: var(--accent); }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.form-field { margin-bottom: 18px; }
.form-field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; }
.form-field input, .form-field textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-info { color: var(--muted); }
.contact-info .item { margin-bottom: 20px; }
.contact-info .item strong { color: var(--text); display: block; margin-bottom: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    gap: 6px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 8px 0; }
  .nav-toggle { display: block; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 26px; }
  .split.reverse .split-media { order: 0; }
  .split-media img { height: 260px; }
  .benefit-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 50px 0; }
  .hero { padding: 64px 0 56px; }
}
