/* PlayJax — clean responsive stylesheet
   Mobile-first; breakpoints at 768px (tablet) and 1024px (desktop).
   No external font dependency — uses system stack. */

/* ------- Reset / base ------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #1a2747;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

/* ------- Variables ------- */
:root {
  --green: #62cb47;
  --green-light: #b4f26c;
  --green-dark: #4ba834;
  --navy: #1a2747;
  --navy-dark: #131e3a;
  --purple: #2c1b5b;
  --purple-light: #4a2e8c;
  --gold: #f6c844;
  --gray-light: #f5f6f8;
  --gray-mid: #cdd2db;
  --container: 1140px;
}

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

/* ------- Header / nav ------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--gray-light);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo img { height: 32px; width: auto; }
.nav-toggle {
  background: none; border: 0; width: 40px; height: 40px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 1px; }
.nav-menu {
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: #ffffff;
  padding: 24px 20px;
  transform: translateY(-150%);
  transition: transform 0.25s ease;
  display: flex; flex-direction: column; gap: 4px;
}
.nav-menu.open { transform: translateY(0); }
.nav-menu a {
  font-weight: 700; font-size: 18px; padding: 14px 8px;
  border-bottom: 1px solid var(--gray-light);
  color: var(--navy);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--green-dark); }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static; transform: none; display: flex; flex-direction: row;
    padding: 0; gap: 32px; background: transparent;
  }
  .nav-menu a {
    padding: 0; border: 0; font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase;
  }
  .logo img { height: 38px; }
}

/* ------- Hero ------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  padding: 48px 0 80px;
  overflow: hidden;
  text-align: center;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px;
  background: #ffffff;
  clip-path: ellipse(80% 100% at 50% 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(48px, 13vw, 110px);
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 4px 0 rgba(26,39,71,0.15);
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0 0 24px;
}
.hero h1 .accent { color: var(--navy); display: block; }
.hero-socials {
  display: flex; justify-content: center; gap: 14px; margin: 24px 0;
}
.hero-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #ffffff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.15s;
}
.hero-socials a:hover { transform: translateY(-2px); }
.hero-socials svg { width: 18px; height: 18px; fill: currentColor; }
.hero-image { margin-top: 24px; display: flex; justify-content: center; }
.hero-image img { margin: 0 auto; max-width: 280px; width: 80%; height: auto; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25)); }

@media (min-width: 1024px) {
  .hero { padding: 100px 0 140px; text-align: left; }
  .hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .hero-socials { justify-content: flex-start; }
  .hero-image { margin-top: 0; }
  .hero-image img { max-width: 460px; width: 100%; }
}

/* ------- Section heading ------- */
.section { padding: 48px 0; }
.section-title {
  text-align: center;
  font-size: clamp(32px, 6vw, 48px);
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 12px;
}
.section-title-underline {
  width: 64px; height: 4px; background: var(--green); border-radius: 2px;
  margin: 0 auto 32px;
}
@media (min-width: 768px) {
  .section { padding: 64px 0; }
}

/* ------- Heat in Vegas banner card ------- */
.game-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin: 0 auto;
  max-width: 960px;
  background: var(--purple);
  box-shadow: 0 10px 30px rgba(44,27,91,0.25);
}
.game-card .game-banner-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  max-width: 100%;
}
.game-card .store-buttons {
  position: absolute;
  left: 0; right: 0; bottom: 6%;
  display: flex; flex-direction: row; gap: 8px; justify-content: center;
  z-index: 2;
  padding: 0 8px;
}
.game-card .store-buttons a { display: inline-flex; }
.game-card .store-buttons img {
  width: clamp(90px, 22vw, 180px);
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.35));
}
@media (min-width: 768px) {
  .game-card .store-buttons { bottom: 8%; gap: 16px; padding: 0 24px; }
}

/* ------- About / We are PlayJax ------- */
.about { background: var(--gray-light); }
.about-grid {
  display: flex; flex-direction: column; gap: 32px; align-items: center;
}
.about-image { max-width: 280px; }
.about-text h2 { font-size: clamp(28px, 5vw, 40px); text-transform: uppercase; margin-bottom: 16px; }
.about-text h2 + .underline { width: 64px; height: 4px; background: var(--green); border-radius: 2px; margin: 0 0 24px; }
.about-text p { font-size: 16px; line-height: 1.7; }
.about-text .tagline { font-weight: 800; color: var(--navy); margin-top: 24px; }

@media (min-width: 768px) {
  .about-grid { flex-direction: row; gap: 60px; align-items: center; }
  .about-image { flex: 0 0 38%; }
  .about-text { flex: 1; }
}

/* ------- Generic content page (terms, privacy, support, contact) ------- */
.page-header {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  padding: 60px 0 80px;
  color: #ffffff;
  text-align: center;
  position: relative;
}
.page-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 30px;
  background: #ffffff;
  clip-path: ellipse(80% 100% at 50% 100%);
}
.page-header h1 {
  font-size: clamp(36px, 7vw, 56px); text-transform: uppercase;
  color: #ffffff; text-shadow: 0 3px 0 rgba(26,39,71,0.15);
  margin: 0;
}
.content {
  padding: 60px 0;
}
.content .container { max-width: 820px; }
.content h2 { font-size: 24px; color: var(--navy); margin-top: 36px; }
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 18px; color: var(--navy); margin-top: 24px; }
.content p { color: #3a4866; font-size: 16px; line-height: 1.75; }
.content a { color: var(--green-dark); text-decoration: underline; }
.content ul, .content ol { color: #3a4866; line-height: 1.75; padding-left: 24px; }
.content li { margin-bottom: 8px; }
.content em { color: var(--navy); }

/* Contact form */
.contact-form { max-width: 600px; margin: 0 auto; }
.contact-form .field { margin-bottom: 20px; }
.contact-form label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--gray-mid); border-radius: 8px;
  font-family: inherit; font-size: 16px; color: var(--navy);
  background: #ffffff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--green); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 8px;
  background: var(--green); color: #ffffff; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; font-size: 15px;
  border: 0; transition: background 0.15s;
}
.btn:hover { background: var(--green-dark); }

/* ------- Footer ------- */
.site-footer {
  background: var(--navy);
  color: #c8d0e0;
  padding: 56px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: flex; flex-direction: column; gap: 36px;
}
.footer-brand { text-align: center; }
.footer-brand img { max-width: 200px; margin: 0 auto 10px; display: block; }
.footer-brand .tagline {
  font-size: 11px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: #ffffff; margin: 0;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-brand { text-align: left; }
  .footer-brand img { margin: 0 0 10px 0; }
  .footer-brand .tagline { text-align: left; }
}
.footer-col h4 {
  color: #ffffff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0 0 12px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a:hover { color: #ffffff; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; justify-content: center;
  color: #ffffff;
}
.footer-socials a:hover { background: var(--green); }
.footer-socials svg { width: 16px; height: 16px; fill: currentColor; }
.footer-stores { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.footer-stores img { max-width: 140px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px; margin-top: 40px;
  text-align: center; color: #98a4c0; font-size: 12px;
}

@media (min-width: 768px) {
  .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1fr;
    gap: 28px; align-items: start;
  }
  .footer-stores { flex-direction: column; }
}

/* ------- Utility ------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
