/*! Site Stylesheet v2.0.3 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html {
  scroll-behavior: smooth;
}

body { margin: 0; background: #05070C; }
a { color: #FACC15; }
a:hover { color: #FDE047; }

:focus-visible {
  outline: 2px solid #FACC15;
  outline-offset: 2px;
}

@keyframes wop-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.visuallyHidden, .skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 200;
  width: auto;
  height: auto;
  clip-path: none;
  background: #FACC15;
  color: #0B0F19;
  padding: 8px 12px;
  font-weight: 700;
}
.navPanel { display: none; }
.navPanel.is-open { display: block; }
.menuToggle { min-width: 44px; min-height: 44px; }

#games,
#free-coins,
#responsible-gaming {
  scroll-margin-top: 96px;
}

.gameCard {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.gameCard:hover,
.gameCard:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(250, 204, 21, 0.18);
  border-color: rgba(250, 204, 21, 0.38) !important;
}

.card-btn {
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.card-btn:hover,
.card-btn:focus-visible {
  transform: scale(1.045);
  filter: brightness(1.08);
  box-shadow: 0 6px 16px rgba(250, 204, 21, 0.28);
  color: #0B0F19;
}
a.card-btn:hover,
a.card-btn:focus-visible {
  color: #0B0F19;
}

.modalShell[hidden] {
  display: none !important;
}
.modalShell .modalDialog {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.modalShell.is-open .modalDialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.partnerLogos a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.partnerLogos a:hover img {
  opacity: 0.85;
}

@media (min-width: 768px) {
  .pageWrap { max-width: 720px !important; width: 100%; }
  .hero-section { padding: 56px 24px 40px !important; }
  .hero-section h1 { font-size: 32px !important; }
  .hero-section p { font-size: 16px !important; }
  .gamesBlock { padding: 16px 24px 40px !important; }
  .gamesBlock h2 { font-size: 24px !important; }
  .games-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; }
  .panelWrap { padding: 16px 24px 40px !important; }
  .panelWrap h2 { font-size: 22px !important; }
  .legalArticle { padding: 36px 24px 48px !important; }
  .legalArticle h1 { font-size: 28px !important; }
  .legalArticle h2 { font-size: 18px !important; }
  .app-footer { padding: 40px 24px 32px !important; }
  .footerGrid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footerWide { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .pageWrap { max-width: 1200px !important; }
  .menuToggle { display: none !important; }
  .headerMain {
    display: flex;
    align-items: center;
    background: #0B0F19;
  }
  .headerBar { border-bottom: none !important; flex: 0 0 auto; }
  .navPanel {
    display: block !important;
    flex: 1 1 auto;
  }
  .navInner {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
    padding: 10px 16px 10px 8px !important;
    border-bottom: none !important;
  }
  .navInner a { white-space: nowrap; }
  .navActions { flex: 0 0 auto !important; }
  .navActions button { flex: 0 0 auto !important; min-width: 110px; }
  .hero-section { padding: 72px 32px 52px !important; }
  .hero-section h1 { font-size: 40px !important; }
  .gamesBlock { padding: 24px 32px 48px !important; }
  .gamesBlock h2 { font-size: 28px !important; }
  .games-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 24px !important; }
  .contentRow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 0 32px 48px;
    align-items: stretch;
  }
  .contentRow .panelWrap { padding: 0 !important; }
  .legalArticle { padding: 48px 32px 64px !important; max-width: 860px; }
  .legalArticle h1 { font-size: 34px !important; }
  .app-footer { padding: 48px 32px 36px !important; }
  .footerGrid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gameCard,
  .card-btn,
  .modalShell .modalDialog,
  .partnerLogos a img {
    transition: none;
  }
  .gameCard:hover,
  .gameCard:focus-within,
  .card-btn:hover,
  .card-btn:focus-visible {
    transform: none;
  }
  .main-header [style*="animation"] {
    animation: none !important;
  }
}
