/* Vox Casino – mobile-first, #191b28 bg, #e5650e accent */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body, * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
::selection {
  background: transparent;
  color: inherit;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #191b28;
  color: #e8e8e8;
  line-height: 1.5;
  min-height: 100vh;
}
img, a { -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: #e5650e;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
}
.skip-link:focus {
  left: 0.5rem;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Header + logo area */
.header {
  background: #191b28;
  border-bottom: 1px solid rgba(229, 101, 14, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-disclaimer {
  margin: 0;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  color: #f5d4a8;
  text-align: center;
  background: #191b28;
  border-bottom: 1px solid rgba(229, 101, 14, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 8px rgba(229, 101, 14, 0.2);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-wrap {
  display: block;
  flex-shrink: 0;
}
.logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* Mobile menu toggle */
.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  color: #e5650e;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border-radius: 4px;
}
.menu-toggle i {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav */
.nav {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #191b28;
  overflow-y: auto;
  padding: 1rem;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  z-index: 99;
}
.nav.is-open { transform: translateX(0); }
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-list a, .nav-list .has-drop > span {
  display: block;
  padding: 0.85rem 0;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}
.nav-list a:hover, .nav-list a:focus {
  color: #fff;
}
.nav-drop {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1rem;
  border-left: 2px solid #e5650e;
}
.nav-drop li { border-bottom: none; }
.nav-drop a { padding: 0.6rem 0; font-size: 0.95rem; }
.nav-app { color: #e5650e !important; font-weight: 600; }
.nav-list .nav-btn {
  margin: 0.25rem 0;
  text-align: center;
  text-decoration: none;
}
.nav-list > li:first-child .nav-btn { margin-top: 0; }

/* Main banner */
.main-banner {
  width: 100%;
  overflow: hidden;
  background: #191b28;
}
.main-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 50vh;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 599px) {
  .main-banner {
    margin-left: calc(-12px + 2mm);
    width: calc(100% + 12px - 2mm);
  }
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #22242f 0%, #191b28 100%);
  padding: 2rem 1rem 3rem;
}
.hero-inner { max-width: 1000px; margin: 0 auto; }
.hero-title {
  margin: 0 0 0.25rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}
.hero-sub { margin: 0 0 1.5rem; color: #b0b0b0; font-size: 1rem; }
.bonus-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bonus-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(229, 101, 14, 0.4);
  border-radius: 8px;
  padding: 1.25rem;
}
.bonus-card-featured { border-color: #e5650e; background: rgba(229, 101, 14, 0.1); }
.bonus-label { margin: 0 0 0.25rem; font-size: 0.9rem; color: #b0b0b0; }
.bonus-highlight { margin: 0 0 1rem; font-size: 1.25rem; font-weight: 600; color: #e5650e; }
.hero-tagline { margin: 1.5rem 0 0; text-align: center; color: #b0b0b0; font-size: 0.95rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  background: #e5650e;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn:hover, .btn:focus { background: #f07018; color: #fff; }
.btn:active { transform: scale(0.98); }
.btn-small { padding: 0.5rem 1rem; font-size: 0.9rem; }

.font-bold { font-weight: 700; }
.mb-2 { margin-bottom: 0.5rem; }

/* Container + sections */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.content-section { padding: 2rem 0; }
.content-section h2 { margin: 0 0 1rem; font-size: 1.35rem; color: #fff; }
.content-section h3 { margin: 1.5rem 0 0.5rem; font-size: 1.1rem; color: #e8e8e8; }
.content-section p { margin: 0 0 0.75rem; color: #c0c0c0; font-size: 0.95rem; }
.content-section ul, .content-section ol { margin: 0 0 0.75rem; padding-left: 1.5rem; color: #c0c0c0; font-size: 0.95rem; }
.content-section li { margin-bottom: 0.35rem; }
.content-section table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9rem; }
.content-section th, .content-section td { border: 1px solid rgba(255,255,255,0.12); padding: 0.6rem 0.75rem; text-align: left; color: #c0c0c0; }
.content-section th { background: rgba(229, 101, 14, 0.15); color: #e8e8e8; font-weight: 600; }
.content-section tbody tr:nth-child(even) { background: rgba(255,255,255,0.03); }
@media (max-width: 599px) {
  .content-section table, .content-section thead, .content-section tbody, .content-section th, .content-section td, .content-section tr { display: block; }
  .content-section thead { display: none; }
  .content-section tr { margin-bottom: 0.75rem; border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; overflow: hidden; }
  .content-section td { border: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 0.5rem 0.75rem; }
  .content-section td:last-child { border-bottom: none; }
  .content-section td::before { content: attr(data-label); font-weight: 600; color: #e8e8e8; display: block; margin-bottom: 0.25rem; }
}

/* Games */
.games-section { padding: 2rem 0; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.section-head h2 { margin: 0; font-size: 1.35rem; color: #fff; }
.link-more { color: #e5650e; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.link-more:hover { text-decoration: underline; }
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  justify-items: stretch;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}
.game-card {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.game-thumb {
  aspect-ratio: 3/4;
  width: 100%;
  flex-shrink: 0;
  background: #252830;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.game-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.game-name {
  margin: 0;
  padding: 0.75rem 0.75rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e8e8e8;
  line-height: 1.35;
  height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0;
}
.game-card .btn-small {
  margin: 0.5rem 0.75rem 0.75rem;
  margin-top: auto;
  display: inline-block;
  align-self: flex-start;
  flex-shrink: 0;
}

/* App CTA */
.app-cta {
  background: rgba(229, 101, 14, 0.12);
  border-top: 1px solid rgba(229, 101, 14, 0.3);
  border-bottom: 1px solid rgba(229, 101, 14, 0.3);
  padding: 2rem 1rem;
  text-align: center;
}
.app-cta h2 { margin: 0 0 0.5rem; font-size: 1.35rem; color: #fff; }
.app-cta p { margin: 0 0 1rem; color: #c0c0c0; }

/* Providers */
.providers-section { padding: 2rem 0; }
.providers-section h2 { margin: 0 0 0.5rem; font-size: 1.35rem; color: #fff; }

/* FAQ */
.faq-section { padding: 2rem 0; }
.faq-section h2 { margin: 0 0 1rem; font-size: 1.35rem; color: #fff; }
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
}
.faq-item summary {
  padding: 1rem;
  cursor: pointer;
  font-weight: 600;
  color: #e8e8e8;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: " +"; color: #e5650e; }
.faq-item[open] summary::after { content: " −"; }
.faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: #c0c0c0;
  font-size: 0.95rem;
}

/* Author */
.author-section { padding: 2rem 0; border-top: 1px solid rgba(255,255,255,0.08); }
.author-by { margin: 0 0 0.5rem; font-weight: 600; color: #e5650e; }
.author-section p { color: #c0c0c0; margin: 0 0 0.5rem; }

/* Footer */
.footer {
  background: #13141c;
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-logos {
  margin-bottom: 1.5rem;
  max-width: 100%;
}
.footer-logos img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-app { display: inline-block; margin-bottom: 1rem; color: #e5650e; text-decoration: none; font-weight: 600; }
.footer-copy { margin: 0 0 0.5rem; font-size: 0.9rem; color: #909090; }
.footer-cookies { margin: 0 0 1rem; font-size: 0.85rem; color: #707070; max-width: 480px; margin-left: auto; margin-right: auto; }
.cookie-close { margin-top: 0.5rem; }

/* Back to top – orange upward arrow (mobile only) */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5650e;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(229, 101, 14, 0.4);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.back-to-top:hover,
.back-to-top:focus {
  background: #d85c0a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(229, 101, 14, 0.5);
}
.back-to-top-arrow {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: bold;
  font-style: normal;
}

/* Block sections (Bonus powitalny, Kupuj bonusy, Shop, Events, More games) */
.block-section {
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.block-section-title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.block-icon { font-size: 1.25rem; font-style: normal; }
.block-section-sub {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: #b0b0b0;
}
.block-row {
  display: grid;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
.block-row-3 {
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .block-row-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .block-row-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Welcome bonus cards */
.welcome-card {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
}
.welcome-card-img {
  position: relative;
  aspect-ratio: 16/10;
  background: #2a2040;
  overflow: hidden;
}
.welcome-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.welcome-timer {
  font-style: normal;
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.welcome-info {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.95);
  color: #191b28;
  font-size: 0.85rem;
  font-weight: 700;
  font-style: italic;
  text-decoration: none;
  border-radius: 50%;
  line-height: 1;
}
.welcome-info:hover { background: #fff; color: #b84a00; }
.welcome-card-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.welcome-label {
  margin: 0;
  font-size: 0.85rem;
  color: #b0b0b0;
}
.welcome-value {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.btn-block { width: 100%; text-align: center; }
.btn-locked {
  background: #8a6340 !important;
  color: #bbb !important;
  cursor: not-allowed;
}

/* Buy bonuses grid (9 items) */
.buy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 500px) {
  .buy-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .buy-grid { grid-template-columns: repeat(3, 1fr); }
}
.buy-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.buy-card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.buy-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.buy-card-text { flex: 1; min-width: 0; }
.buy-card-text h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
}
.buy-price {
  margin: 0;
  font-size: 0.9rem;
  color: #e5650e;
  font-weight: 600;
}
.buy-card .btn-small { flex-shrink: 0; }

/* Shop cards (Super VIP, Deszcz pieniędzy, Magnes szczęścia) */
.shop-card {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.shop-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: #252830;
  overflow: hidden;
}
.shop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.shop-card-title {
  margin: 0.75rem 0 0.25rem;
  font-size: 1.1rem;
  color: #fff;
}
.shop-card-price {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #e5650e;
}
.shop-card .btn-primary { margin: 0.75rem 1rem 0 0.5rem; }
.shop-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #b0b0b0;
  text-decoration: none;
}
.shop-link:hover { color: #e5650e; }

/* Event cards (Kalendarz wydarzeń) */
.event-card {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
}
.event-card-img {
  position: relative;
  aspect-ratio: 16/10;
  background: #252830;
  overflow: hidden;
}
.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.event-badge {
  font-style: normal;
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: rgba(0,0,0,0.6);
  color: #7c7;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.event-card-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.event-card-body h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #fff;
}
.event-prize {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #e5650e;
}
.event-time {
  margin: 0;
  font-size: 0.85rem;
  color: #b0b0b0;
}
.event-card .btn-primary { margin-top: 0.5rem; align-self: flex-start; }

/* More games – centered block */
.block-section.more-games .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.block-section.more-games .block-section-title {
  justify-content: center;
}
.more-games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
@media (min-width: 600px) {
  .more-games-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .more-games-grid { grid-template-columns: repeat(4, 1fr); }
}
.more-game-card {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0 0 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.more-game-thumb {
  width: 100%;
  aspect-ratio: 1;
  background: #252830;
  overflow: hidden;
}
.more-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.more-game-name {
  font-style: normal;
  margin: 0.5rem 0.5rem 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e8e8e8;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.more-game-card .btn-small { margin: 0 0.5rem; }

/* Placeholder image block (for SVGs) */
.game-thumb img[src$=".svg"] {
  object-fit: contain;
  padding: 1rem;
}

/* Desktop: show nav inline, hide toggle */
@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .nav {
    position: static;
    transform: none;
    padding: 0;
    overflow: visible;
    flex: 1;
    margin-left: 1rem;
    display: flex;
    justify-content: flex-end;
  }
  .nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
  }
  .nav-list > li { border-bottom: none; }
  .nav-list > li > a, .nav-list > li > .has-drop > span {
    padding: 0.5rem 0.6rem;
    font-size: 0.9rem;
  }
  .nav-list .nav-btn { margin: 0; }
  .nav-list .has-drop { position: relative; }
  .nav-drop {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #22242f;
    border: 1px solid rgba(229, 101, 14, 0.3);
    border-radius: 6px;
    padding: 0.5rem 0;
    margin: 0.25rem 0 0;
    border-left: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
  }
  .nav-list .has-drop:hover .nav-drop,
  .nav-list .has-drop:focus-within .nav-drop {
    opacity: 1;
    visibility: visible;
  }
  .nav-drop a { padding: 0.5rem 1rem; }
  .bonus-cards {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .bonus-card { flex: 1 1 200px; max-width: 280px; }
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1100px) {
  .games-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}
