/* ============================================================
   PLAY233.COM — SHARED STYLESHEET
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --dark:    #0F1218;
  --dark2:   #161C26;
  --dark3:   #1E2535;
  --border:  rgba(255,255,255,0.07);
  --red:     #E63946;
  --green:   #4CAF50;
  --blue:    #2196F3;
  --light:   #F8F9FA;
  --muted:   #8892A4;
  --cream:   #EAECF0;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.15;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  display: block;
}
.eyebrow.red   { color: var(--red); }
.eyebrow.green { color: var(--green); }
.eyebrow.blue  { color: var(--blue); }

/* ── LAYOUT ── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--light);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 680px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: #c42d38; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.04); }

.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-green:hover { background: #3d9140; transform: translateY(-1px); }

/* ── CARDS ── */
.card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(255,255,255,0.14); transform: translateY(-2px); }

/* ── BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}
.badge-live   { background: rgba(76,175,80,0.15);  color: var(--green); border: 1px solid rgba(76,175,80,0.3); }
.badge-dev    { background: rgba(33,150,243,0.12); color: var(--blue);  border: 1px solid rgba(33,150,243,0.25); }
.badge-dot    { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

/* ── DIVIDER ── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ════════════════════════════════════════
   NAV
   ════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(15,18,24,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}
/* SVG logo inline — matches supplied PNG exactly */
.nav-logo svg { height: 30px; width: auto; }

/* Footer logo */
.footer-logo svg { height: 28px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a:hover { color: var(--light); }
.nav-links a.active { color: var(--light); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #c42d38 !important; }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--cream);
  display: block;
  transition: all 0.3s;
  border-radius: 2px;
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.footer {
  background: #0A0D12;
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 10px;
}
.footer-brand-name span.r { color: var(--red); }
.footer-brand-name span.g { color: var(--green); }
.footer-brand-name span.b { color: var(--blue); }

.footer-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-contact {
  font-size: 13px;
  color: var(--muted);
}
.footer-contact a { color: var(--muted); transition: color 0.2s; }
.footer-contact a:hover { color: var(--light); }

/* ════════════════════════════════════════
   PAGE HERO (shared across inner pages)
   ════════════════════════════════════════ */
.page-hero {
  padding: 160px 0 80px;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(230,57,70,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 700;
  color: var(--light);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 540px;
  position: relative;
  z-index: 1;
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: rgba(15,18,24,0.98); padding: 20px; gap: 20px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { padding: 0 20px; }
  .page-hero { padding: 120px 0 56px; }
}

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .card { padding: 24px 20px; }
  /* Hero CTA visible above fold at 375px */
  .home-hero { padding-top: 80px; padding-bottom: 40px; min-height: auto; }
  .home-hero h1 { font-size: clamp(30px, 8vw, 42px); margin-bottom: 16px; }
  .home-hero-sub { font-size: 15px; margin-bottom: 28px; }
  .home-hero-eyebrow { margin-bottom: 16px; }
}
