/* 
  Dark theme base styles for VOX Casino landing page.
  Uses fixed full-screen background with parallax effect and layered content.
*/

:root {
  --bg-overlay: rgba(7, 7, 12, 0.78);
  --card: rgba(18, 18, 28, 0.86);
  --accent: #ffb703;
  --accent-strong: #ff8f00;
  --text: #f4f6fb;
  --muted: #c4c8d4;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
  --max-width: 1200px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: #07070c;
  line-height: 1.7;
  overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  margin: 0 0 12px;
  line-height: 1.2;
  color: #fff;
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0 0 16px 20px;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  /* Cache-busted reference to the updated background image */
  background-image: url("img/bg/bg.png?v=2");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
}

.page-shell {
  background: linear-gradient(180deg, rgba(7,7,12,0.85), rgba(7,7,12,0.9));
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 6px;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 7, 12, 0.75);
  border-bottom: 1px solid var(--border);
}

.header-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand__logo {
  width: 72px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.menu-toggle__bar {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  display: block;
}

.primary-nav__list {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-nav__link {
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.primary-nav__link:hover,
.primary-nav__link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  outline: none;
}

.breadcrumbs {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 12px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumbs__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.breadcrumbs__list li::after {
  content: "/";
  margin-left: 6px;
  color: var(--muted);
}

.breadcrumbs__list li:last-child::after {
  content: "";
}

.breadcrumbs a {
  color: var(--accent);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: 80px 20px 60px;
  background-image: url("img/baner/baner.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  text-align: center;
  background: var(--card);
  padding: 26px 26px 30px;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.hero__content p {
  color: var(--muted);
}

.hero__cta {
  margin-top: 14px;
}

.content-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px;
  background: rgba(18, 18, 28, 0.6);
  border-top: 1px solid var(--border);
}

.section-header {
  margin-bottom: 16px;
}

.lead {
  color: var(--muted);
}

.slots-gallery {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 36px 20px 20px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  background: rgba(18, 18, 28, 0.65);
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.slots-grid img {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.slots-grid img:hover,
.slots-grid img:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  outline: none;
}

.table-wrapper {
  background: rgba(18, 18, 28, 0.72);
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.slots-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text);
}

.slots-table th,
.slots-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.slots-table thead {
  background: rgba(255, 255, 255, 0.05);
}

.slots-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn--primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  color: #0b0b0f;
  box-shadow: 0 12px 24px rgba(255, 183, 3, 0.32);
}

.btn--accent {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border);
}

.btn:hover {
  transform: translateY(-2px);
}

.site-footer {
  padding: 30px 20px 40px;
  background: rgba(5, 5, 10, 0.9);
  border-top: 1px solid var(--border);
}

.footer__payments {
  max-width: var(--max-width);
  margin: 0 auto 18px;
}

.payment-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  align-items: center;
}

.payment-logos img {
  max-height: 40px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.footer__meta {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}

/* Responsive tweaks for tablets and phones */
@media (max-width: 960px) {
  .header-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    width: 100%;
    display: none;
    margin-top: 8px;
  }

  .primary-nav.is-open {
    display: block;
    width: 100%;
  }

  .primary-nav__list {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
  }

  .primary-nav__link {
    display: block;
    width: 100%;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
  }

  .hero {
    padding: 60px 16px 40px;
    min-height: 65vh;
  }

  .hero__content {
    width: 100%;
  }

  .slots-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .hero {
    background-image: url("img/baner/baner-mob.png");
    min-height: 60vh;
  }

  .breadcrumbs {
    padding: 0 16px 10px;
  }

  .content-section {
    padding: 32px 16px;
  }

  .slots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slots-table thead {
    display: none;
  }

  .slots-table,
  .slots-table tbody,
  .slots-table tr,
  .slots-table td {
    display: block;
    width: 100%;
  }

  .slots-table tr {
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
  }

  .slots-table td {
    border: none;
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 130px;
    min-height: 48px;
  }

  .slots-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: var(--muted);
  }
}

@media (min-width: 1024px) {
  .slots-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

