/* Global layout + dark theme shell */
:root {
  color-scheme: dark;
  --bg-overlay: rgba(7, 10, 14, 0.75);
  --card: rgba(18, 24, 33, 0.8);
  --border: rgba(255, 255, 255, 0.08);
  --accent: #f28c18;
  --accent-strong: #ffb33b;
  --text: #f3f5f9;
  --muted: #b9c1d1;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  --radius: 18px;
  --transition: 180ms ease;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background: url("img/bg/bg.png") center center / cover no-repeat fixed;
}

/* Parallax helper: content scrolls over fixed background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  z-index: 0;
  pointer-events: none;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

.page-shell {
  position: relative;
  z-index: 1; /* Keep content above the background overlay */
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}

/* Buttons with consistent behavior */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition), color var(--transition), background var(--transition);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #0d0f14;
  box-shadow: var(--shadow);
  border-color: rgba(255, 179, 59, 0.5);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 45px rgba(242, 140, 24, 0.35);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: sticky;
  top: 16px;
  backdrop-filter: blur(8px);
}

.logo-wrap img {
  height: 48px;
  width: auto;
  display: block;
}

.header-actions {
  display: flex;
  gap: 10px;
}

/* Breadcrumbs */
.breadcrumbs {
  margin: 18px 0 12px;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--accent-strong);
  text-decoration: none;
}

.breadcrumbs li + li::before {
  content: "›";
  color: var(--muted);
  margin: 0 6px;
}

/* Hero banner with centered CTA */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.hero picture,
.hero img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: linear-gradient(
    120deg,
    rgba(7, 10, 14, 0.65),
    rgba(7, 10, 14, 0.4)
  );
}

.hero-copy {
  max-width: 640px;
  background: rgba(7, 10, 14, 0.6);
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.hero-copy h1 {
  margin: 6px 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.hero-copy p {
  margin: 0 0 14px;
  color: var(--muted);
}

.hero-copy .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--accent-strong);
  margin: 0;
}

/* Slots grid */
.slots {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0 0 4px;
  font-size: 1.4rem;
}

.section-heading p {
  margin: 0 0 14px;
  color: var(--muted);
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)); /* 6 columns on desktop */
  gap: 12px;
}

.slots-grid figure {
  margin: 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.slots-grid img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
}

.slots-cta {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}

/* Article text block */
.article {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.article h2,
.article h3 {
  margin: 12px 0 8px;
}

.article p {
  margin: 8px 0 12px;
  color: #e5e9f0;
}

.article ol,
.article ul {
  padding-left: 20px;
  margin: 8px 0 12px;
}

.article li {
  margin-bottom: 6px;
}

.article-cta {
  margin-top: 14px;
}

/* Responsive table with mobile stacking */
.table-wrap {
  margin: 18px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.01);
}

thead {
  background: rgba(255, 255, 255, 0.05);
}

th,
td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  font-weight: 700;
}

tbody tr:last-child td {
  border-bottom: none;
}

/* Footer with payment icons */
.site-footer {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.payments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
}

.payments img {
  max-height: 28px;
  width: auto;
  filter: brightness(0.95);
}

.footer-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

/* Mobile-first adjustments */
@media (max-width: 768px) {
  .site-header {
    position: sticky;
    top: 8px;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .hero-copy {
    padding: 14px 16px;
  }

  /* Lock screen feel on mobile: body fixed, inner scroll */
  body.is-mobile-locked {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  body.is-mobile-locked .page-shell {
    height: 100vh;
    overflow-y: auto;
    padding-bottom: 28px;
  }

  /* Stack table cells with labels */
  table thead {
    display: none;
  }

  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }

  tr {
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
  }

  td {
    border: none;
    padding: 8px 10px;
    position: relative;
    padding-left: 44%;
  }

  td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 8px;
    font-weight: 700;
    color: var(--muted);
  }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Small phone tweaks */
@media (max-width: 520px) {
  .slots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* Compact grid on small phones */
  }

  .hero-copy h1 {
    font-size: 1.4rem;
  }

  .logo-wrap img {
    height: 38px;
  }
}

