/* ===== Vox Casino – Premium Casino UI ===== */
:root {
  --bg-deep: #0E1220;
  --bg-card: #14182A;
  --accent: #F7941D;
  --accent-hover: #FF8A00;
  --text: #FFFFFF;
  --text-muted: #B5B8C5;
  --text-inactive: #7A7E8C;
  --glow: rgba(247, 148, 29, 0.4);
  --radius: 16px;
  --radius-pill: 999px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* Fix viewport on mobile */
@viewport {
  width: device-width;
  initial-scale: 1;
  maximum-scale: 1;
  user-scalable: no;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 18, 32, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.header__logo {
  display: flex;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
}
.header__logo img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  border-radius: 10px;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text);
  border-radius: var(--radius);
  transition: background 0.2s;
}
.burger:hover,
.burger:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}
.burger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.burger[aria-expanded="true"] .burger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger[aria-expanded="true"] .burger__line:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] .burger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover,
.nav__link:focus-visible {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.header__cta {
  flex-shrink: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  box-shadow: 0 4px 20px var(--glow);
}
.btn--primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 28px var(--glow);
}

.btn--cta {
  padding: 16px 32px;
  font-size: 1.0625rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  box-shadow: 0 4px 24px var(--glow);
}
.btn--cta:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 32px var(--glow);
}

.btn--small {
  padding: 8px 16px;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn--small:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent);
}

.btn--large {
  padding: 18px 40px;
  font-size: 1.125rem;
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  padding: 12px 20px 0;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumbs__item:not(:last-child)::after {
  content: '›';
  margin-left: 8px;
  color: var(--text-inactive);
}

.breadcrumbs__item a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumbs__item a:hover {
  color: var(--accent);
}

.breadcrumbs__item:last-child span {
  color: var(--text);
}

/* ===== Banner ===== */
.banner {
  position: relative;
  margin-bottom: 40px;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}

.banner__picture {
  display: block;
  width: 100%;
  aspect-ratio: 1920 / 600;
  max-height: 420px;
  position: relative;
  z-index: 0;
}

.banner__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.banner__cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background: linear-gradient(180deg, rgba(14, 18, 32, 0.5) 0%, rgba(14, 18, 32, 0.85) 100%);
  text-align: center;
  pointer-events: none;
}

.banner__cta-overlay .btn--cta {
  pointer-events: auto;
}

/* H1 i lead pod bankierem */
.page-title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.page-lead {
  margin: 0 0 24px;
  font-size: 1rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .page-title {
    font-size: 1.25rem;
  }

  .page-lead {
    font-size: 0.9375rem;
  }

  .banner__cta-overlay {
    padding: 16px;
  }

  .banner__cta-overlay .btn--cta {
    padding: 14px 24px;
    font-size: 0.9375rem;
  }
}

/* ===== Content ===== */
.content-wrap {
  padding: 0 20px 48px;
}

.section {
  margin-bottom: 48px;
}

.section-title {
  margin: 0 0 20px;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
}

.h3 {
  margin: 24px 0 12px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

.intro p,
.section p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.list {
  margin: 0 0 20px;
  padding-left: 1.25rem;
  color: var(--text-muted);
}
.list li {
  margin-bottom: 8px;
}

.list--check li::marker {
  content: '✓ ';
  color: var(--accent);
}

.list--numbered {
  list-style: decimal;
}

.games-desc {
  margin-top: 24px;
}
.games-desc p {
  margin-bottom: 12px;
}

/* ===== Tables (desktop + mobile cards) ===== */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.data-table th {
  font-weight: 600;
  color: var(--text);
  background: rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.data-table td {
  color: var(--text-muted);
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.data-table .btn--small {
  white-space: nowrap;
}

/* Mobile: table as cards */
@media (max-width: 768px) {
  .data-table thead {
    display: none;
  }

  .data-table tbody tr {
    display: block;
    padding: 16px;
    margin-bottom: 12px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
  }

  .data-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .data-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .data-table td:last-child {
    border-bottom: none;
    padding-top: 14px;
  }

  .data-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text);
    flex-shrink: 0;
    min-width: 100px;
  }

  .data-table td:last-child::before {
    display: none;
  }

  .data-table td:last-child {
    justify-content: flex-start;
  }

  .table-wrapper {
    overflow: visible;
    background: transparent;
    border: none;
  }
}

/* ===== Slots grid ===== */
.slots-section {
  margin-bottom: 48px;
}

.slots-intro {
  margin-bottom: 24px;
  color: var(--text-muted);
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 480px) {
  .slots-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 420px;
  }
}

@media (min-width: 640px) {
  .slots-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 560px;
  }
}

@media (min-width: 900px) {
  .slots-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 100%;
  }
}

.slot-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  max-width: 120px;
  margin: 0 auto;
  aspect-ratio: 1;
}
.slot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: var(--accent);
}

.slot-card img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
}

/* ===== FAQ ===== */
.faq-section {
  margin-bottom: 48px;
}

.faq {
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq__item {
  margin-bottom: 8px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__question {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.faq__trigger:hover,
.faq__trigger:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
  outline: none;
}

.faq__trigger::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s, color 0.2s;
}

.faq__item:has(.faq__trigger[aria-expanded="true"]) .faq__trigger::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq__answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq__item:has(.faq__trigger[aria-expanded="true"]) .faq__answer {
  max-height: 500px;
}

.faq__answer p {
  margin: 0 0 20px;
  padding-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ===== CTA section ===== */
.cta-section {
  padding: 48px 20px;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 24, 42, 0.8) 100%);
  border-radius: var(--radius);
}

.cta-section .section-title {
  margin-bottom: 16px;
}

.cta-section__text {
  max-width: 640px;
  margin: 0 auto 24px;
  color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
  padding: 40px 20px 24px;
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__payments-title {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer__pay-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer__pay-logos img {
  height: 28px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  opacity: 0.85;
}

.footer__disclaimer {
  margin: 0 auto 8px;
  font-size: 0.8125rem;
  color: var(--text-inactive);
  text-align: center;
  max-width: 560px;
}

.footer__contact {
  margin: 0 0 12px;
  font-size: 0.875rem;
  text-align: center;
}

.footer__contact a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer__contact a:hover {
  color: var(--accent);
}

.footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-inactive);
  text-align: center;
}

/* ===== Mobile nav ===== */
@media (max-width: 900px) {
  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav__link {
    padding: 14px 16px;
  }
}

