/* Google Font loaded via <link> in HTML <head> */

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

body {
  background: #0d0d0d;
  color: #f5ead0;
  font-family: 'Inter', sans-serif;
  line-height: 1.8;
  font-size: 18px;
}

img {
  max-width: 100%;
  height: auto;
}

header {
  background: #1c1c1c;
  position: sticky;
  top: 0;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  flex-wrap: nowrap;
}

.site-logo a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #f5ead0;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.site-logo a:hover {
  color: #d4a843;
}

.site-logo img {
  width: 128px;
  height: 72px;
  object-fit: contain;
  border-radius: 6px;
}

nav ul {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

nav a {
  color: #f5ead0;
  text-decoration: none;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #d4a843;
}

nav a[aria-current="page"] {
  color: #d4a843;
  border-bottom: 2px solid #d4a843;
}

.nav-toggle,
#navToggle {
  display: none;
  min-height: 44px;
  min-width: 44px;
  background: none;
  border: none;
  color: #f5ead0;
  font-size: 1.5rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-header {
  padding: 0.65rem 1.75rem;
  font-size: 1rem;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: unset;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

h1 {
  color: #d4a843;
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

h2 {
  color: #d4a843;
  font-size: 1.9rem;
  border-bottom: 1px solid rgba(212, 168, 67, 0.3);
  padding-bottom: 0.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

h3 {
  color: #f5ead0;
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.4rem;
  line-height: 1.75;
}

a {
  color: #d4a843;
  transition: color 0.3s ease;
}

a:hover {
  color: #e8c060;
}

strong {
  color: #f5ead0;
  font-weight: 600;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  border: 1px solid rgba(212, 168, 67, 0.35);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(212, 168, 67, 0.15), 0 8px 40px rgba(0, 0, 0, 0.7);
  background: #1c1c1c;
}

th {
  background: rgba(212, 168, 67, 0.18);
  color: #d4a843;
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(212, 168, 67, 0.5);
  border-right: 1px solid rgba(212, 168, 67, 0.25);
}

th:last-child {
  border-right: none;
}

td {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(212, 168, 67, 0.25);
  color: #f5ead0;
}

tbody td {
  background: rgba(212, 168, 67, 0.18);
}

tr:hover td {
  background: rgba(212, 168, 67, 0.06);
  transition: background 0.2s ease;
}

footer {
  background: #1c1c1c;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #f5ead0;
}

footer a {
  color: #f5ead0;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: #d4a843;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer__logo {
  width: 64px;
  height: auto;
  border-radius: 8px;
}

.footer__socials {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.footer__social {
  width: 36px;
  height: 36px;
  background: #27272f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5ead0;
}

.footer__nav {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.footer__nav a {
  font-size: 0.9rem;
  color: #808092;
}

.footer__nav a:hover {
  color: #d4a843;
}

.footer__payments {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.payment-badge {
  background: #27272f;
  color: #f5ead0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  color: #808092;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.footer__bottom a {
  color: #808092;
}

.footer__bottom a:hover {
  color: #d4a843;
}

@media (max-width: 768px) {
  .footer__inner {
    padding: 2rem 1rem 1.5rem;
  }

  .footer__payments {
    padding: 1rem;
  }

  .footer__bottom {
    padding: 1rem;
  }
}

.btn-signin {
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  color: #d4a843;
  border: 2px solid #d4a843;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.btn-signin:hover {
  background: #d4a843;
  color: #0d0d0d;
}

.btn-signup {
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d4a843;
  color: #0d0d0d;
  border: 2px solid #d4a843;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.btn-signup:hover {
  background: #e8c060;
  border-color: #e8c060;
  color: #0d0d0d;
}

.faq {
  margin: 2rem 0;
}

.faq__item {
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
  padding: 0.5rem 0;
}

.faq__item h3 {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  border-bottom: none;
  font-size: inherit;
  color: inherit;
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  color: #f5ead0;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: left;
  padding: 1rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.faq__question::after {
  content: "+";
  color: #d4a843;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq__question[aria-expanded="true"] {
  color: #d4a843;
}

.faq__question[aria-expanded="true"]::after {
  content: "−";
}

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

.faq__answer p {
  padding-bottom: 1rem;
  color: #f5ead0;
  opacity: 0.85;
}

ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
  counter-reset: ol-counter;
}

ol li {
  counter-increment: ol-counter;
  margin-bottom: 0.75rem;
  padding-left: 2.75rem;
  position: relative;
}

ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.75rem;
  height: 1.75rem;
  background: linear-gradient(135deg, #d4a843, #e8c060);
  color: #0d0d0d;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

ul li {
  margin-bottom: 0.4rem;
}

.nav-play-mobile {
  display: none;
  gap: 0.75rem;
}

.bottom-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1c1c1c;
  border-top: 1px solid rgba(212, 168, 67, 0.2);
  padding: 0.75rem 1rem;
  display: none;
  gap: 0.75rem;
  z-index: 999;
  justify-content: center;
}

.btn-bottom {
  flex: 1;
  max-width: 200px;
  text-align: center;
  padding: 0.75rem 1rem;
}

/* Why Cards */
.why-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.4rem;
}

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #1c1c1c;
  border-radius: 16px;
  padding: 18px;
  flex: 1 1 calc(50% - 6px);
  min-width: 240px;
}

.why-card svg {
  flex-shrink: 0;
  color: #d4a843;
  margin-top: 3px;
}

.why-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #f5ead0;
}

.why-card--accent {
  background: #d4a843;
  box-shadow: 0 4px 22px rgba(212,168,67,0.35);
}

.why-card--accent svg {
  color: #0d0d0d;
}

.why-card--accent p {
  color: #0d0d0d;
}

@media (max-width: 600px) {
  .why-card {
    flex: 1 1 100%;
  }
}

/* Games Slider */
.games-slider-section {
  width: 100%;
  padding: 40px 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.games-slider-title {
  color: #f5ead0;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  border: none;
  margin: 0;
  padding: 0;
}

.games-slider {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 16px;
  padding: 8px 2rem 16px;
  width: 100%;
  max-width: 1200px;
}

.game-card {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.game-card:hover {
  transform: translateY(-6px);
}

.game-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.game-card__play span {
  background: #d4a843;
  color: #0d0d0d;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.6rem 1.6rem;
  border-radius: 8px;
  pointer-events: none;
}

.game-card__play span::before {
  content: "▶ ";
}

.game-card:hover .game-card__play,
.game-card.touched .game-card__play {
  opacity: 1;
}

.game-card img {
  width: 100%;
  height: 348px;
  object-fit: cover;
  display: block;
}

.game-card__name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.games-slider-cta {
  font-size: 1rem;
  padding: 0.75rem 2.5rem;
  border-radius: 8px;
  font-weight: 700;
}

/* Hero Banner */
.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-banner {
  height: 420px;
}

@media (max-width: 768px) {
  .hero-banner {
    height: 260px;
  }

  .hero-banner img {
    object-position: 70% center;
  }
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 50%, transparent 75%);
  pointer-events: none;
}

.hero-banner__overlay {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  z-index: 1;
}

.hero-banner__promo {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin: 0;
  line-height: 1.3;
}

.hero-banner__amount {
  font-size: 2.6rem;
  font-weight: 700;
  color: #ffc700;
  margin: 0;
  line-height: 1.1;
}

.hero-banner__fs {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.2;
}

.hero-banner__btn {
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 700;
}

.hero-banner__note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
  .games-slider {
    grid-template-columns: repeat(2, 1fr);
    padding: 8px 1rem 16px;
  }

  .game-card img {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .hero-banner__overlay {
    left: 5%;
    gap: 4px;
  }

  .hero-banner__promo {
    font-size: 0.8rem;
  }

  .hero-banner__amount {
    font-size: 1.6rem;
  }

  .hero-banner__fs {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .hero-banner__btn {
    font-size: 0.85rem;
    padding: 0.6rem 1.4rem;
  }
}

@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
  }

  .site-logo {
    order: 1;
  }

  #navToggle {
    order: 2;
    margin-left: auto;
    display: flex;
  }

  .nav-toggle {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  nav#mainNav {
    order: 3;
    width: 100%;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 0.5rem 0;
  }

  nav ul.nav-open {
    display: flex;
    flex-direction: column;
  }

  nav ul li {
    min-height: 44px;
    padding: 0.25rem 0;
    display: flex;
    align-items: center;
  }

  .header-cta {
    display: none;
  }

  .btn-header {
    display: none;
  }

  .site-logo img {
    width: 96px;
    height: 54px;
  }

  .nav-play-mobile {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
  }

  body {
    padding-bottom: 72px;
  }

  .bottom-cta-bar {
    display: flex;
  }

  main {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.95rem;
  }

  li {
    font-size: 0.95rem;
  }

  table {
    display: block;
    overflow-x: auto;
    border: none;
    box-shadow: none;
  }

  td {
    word-break: break-word;
  }

  th {
    word-break: break-word;
  }

  thead {
    display: none;
  }

  tbody {
    display: block;
  }

  tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #d4a843;
  }

  td {
    display: block;
    padding: 0.5rem 0.75rem;
    border: none;
    border-bottom: 1px solid #1c1c1c;
    text-align: left;
  }

  td::before {
    content: attr(data-label);
    display: block;
    color: #d4a843;
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
}