/* ==========================================================================
   POP Gaming — shared stylesheet
   ========================================================================== */

:root {
  --brand-orange: #f7941d;
  --brand-pink: #ec1e79;
  --brand-gradient: linear-gradient(120deg, var(--brand-orange), var(--brand-pink));
  --brand-gradient-soft: linear-gradient(120deg, rgba(247, 148, 29, 0.18), rgba(236, 30, 121, 0.18));

  --bg: #0b0a10;
  --bg-alt: #121016;
  --surface: #17151f;
  --surface-2: #1e1b28;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f6f4f9;
  --text-muted: #a6a1b3;
  --text-faint: #6f6b7c;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 8px 24px rgba(236, 30, 121, 0.25);

  --container: 1240px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: "Fredoka", "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
  color: var(--text-muted);
}

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head p {
  margin-top: 8px;
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #1a0b12;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--brand-pink);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 10, 16, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
}

.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--text);
  border-color: var(--brand-orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.lang-switch {
  position: relative;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--text);
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.lang-trigger svg {
  width: 16px;
  height: 16px;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  min-width: 160px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
}

.lang-switch.open .lang-menu {
  display: flex;
}

.lang-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  text-align: left;
}

.lang-menu button:hover {
  background: var(--surface-2);
  color: var(--text);
}

.lang-menu img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 0 7px;
  background: var(--text);
  border-radius: 2px;
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-alt);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 10, 16, 0.92) 10%, rgba(11, 10, 16, 0.55) 55%, rgba(11, 10, 16, 0.25) 100%),
    linear-gradient(0deg, rgba(11, 10, 16, 0.9), rgba(11, 10, 16, 0.1) 40%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 140px 0 80px;
}

.hero-content h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  margin-bottom: 20px;
}

.hero-content h1 .accent {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  font-size: 18px;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Small page hero used on inner pages */
.page-hero {
  position: relative;
  padding: 96px 0 56px;
  background: var(--bg-alt);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 480px;
  height: 480px;
  background: var(--brand-gradient);
  opacity: 0.18;
  filter: blur(90px);
  border-radius: 50%;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 10px;
}

.page-hero p {
  max-width: 560px;
}

/* -------------------------------------------------------------------------
   Feature strip
   ------------------------------------------------------------------------- */

.feature-strip {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: -64px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--brand-orange);
}

.feature-card h4 {
  font-size: 15px;
  margin-bottom: 2px;
}

.feature-card p {
  font-size: 13px;
  margin: 0;
}

/* -------------------------------------------------------------------------
   Game cards / grid
   ------------------------------------------------------------------------- */

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.game-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.game-card__media {
  position: relative;
  aspect-ratio: 339 / 180;
  overflow: hidden;
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--brand-gradient);
  color: #1a0b12;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.game-card__fav {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 10, 16, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.game-card__fav svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.game-card__fav.is-active svg {
  fill: var(--brand-pink);
  stroke: var(--brand-pink);
}

.game-card__body {
  padding: 14px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.game-card__info {
  min-width: 0;
}

.game-card__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card__rtp {
  font-size: 11px;
  color: var(--text-faint);
}

.game-card .btn {
  padding: 7px 14px;
  font-size: 12px;
  flex-shrink: 0;
}

/* -------------------------------------------------------------------------
   Games page toolbar
   ------------------------------------------------------------------------- */

.games-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.category-tabs button {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.category-tabs button:hover {
  color: var(--text);
}

.category-tabs button.active {
  background: var(--brand-gradient);
  color: #1a0b12;
  border-color: transparent;
}

.toolbar-controls {
  display: flex;
  gap: 10px;
}

.search-box {
  position: relative;
}

.search-box input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 16px 10px 38px;
  color: var(--text);
  font-size: 14px;
  width: 220px;
}

.search-box svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  stroke: var(--text-faint);
}

.sort-select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
}

.games-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-faint);
  display: none;
}

.games-empty.is-visible {
  display: block;
}

/* -------------------------------------------------------------------------
   Play Now destination page
   ------------------------------------------------------------------------- */

.playnow-hero {
  padding-bottom: 44px;
}

.playnow-hero h1 {
  text-transform: uppercase;
}

.playnow-section {
  padding-top: 32px;
}

.play-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.play-option {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 32px;
}

.play-option__main {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-width: 0;
}

.play-option__logo {
  width: 148px;
  height: 94px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-option__logo--light {
  background: var(--text);
}

.play-option__logo--dark {
  background: var(--bg);
}

.play-option__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.play-option__copy {
  min-width: 0;
}

.play-option__copy h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 4px;
}

.flag-icon {
  width: 1.1em;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.play-option__copy p {
  margin: 0;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.play-option__copy strong {
  color: var(--text-muted);
}

.play-option__copy span {
  color: var(--brand-orange);
  font-size: 0.78em;
  margin-left: 8px;
  white-space: nowrap;
}

.play-option__meta {
  display: grid;
  grid-template-columns: 132px 176px;
  gap: 28px;
  align-items: center;
  min-width: 0;
}

.safety-index {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.safety-index span {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.safety-index strong {
  min-width: 64px;
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-gradient-soft);
  color: var(--text);
  font-family: "Fredoka", "Inter", sans-serif;
  font-size: 28px;
  line-height: 1;
}

.safety-index em {
  color: var(--text);
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
}

.play-option__cta {
  width: 176px;
  max-width: 100%;
  min-height: 52px;
}

/* -------------------------------------------------------------------------
   Promo banner
   ------------------------------------------------------------------------- */

.promo-banner {
  background: var(--brand-gradient);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: #1a0b12;
}

.promo-banner h2,
.promo-banner p {
  color: #1a0b12;
}

.promo-banner p {
  opacity: 0.75;
}

.promo-banner .btn-outline {
  border-color: rgba(26, 11, 18, 0.4);
  color: #1a0b12;
}

.promo-banner .btn-outline:hover {
  border-color: #1a0b12;
}

/* -------------------------------------------------------------------------
   About page
   ------------------------------------------------------------------------- */

.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}

.about-block.reverse .about-media {
  order: 2;
}

.about-media img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.about-media video{
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  width: 100%;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 34px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 13px;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------------
   News
   ------------------------------------------------------------------------- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.news-card:hover {
  transform: translateY(-4px);
}

.news-card__media {
  aspect-ratio: 339 / 180;
  overflow: hidden;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__body {
  padding: 20px;
}

.news-card__date {
  font-size: 12px;
  color: var(--brand-orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.news-card h3 {
  font-size: 18px;
  margin: 8px 0;
}

.news-card__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

/* -------------------------------------------------------------------------
   Contact
   ------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-pink);
}

.form-note {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 14px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(247, 148, 29, 0.12);
  border: 1px solid rgba(247, 148, 29, 0.35);
  color: var(--text);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 18px;
  font-size: 14px;
}

.form-success.is-visible {
  display: flex;
}

.form-error {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: var(--text);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 18px;
  font-size: 14px;
}

.form-error.is-visible {
  display: flex;
}

.support-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.support-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.support-card p {
  font-size: 13px;
  margin: 0;
}

/* -------------------------------------------------------------------------
   Legal / stub pages
   ------------------------------------------------------------------------- */

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-size: 22px;
  margin-top: 36px;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 15px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content ul {
  padding-left: 20px;
  list-style: disc;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}

.footer-trust {
  text-align: center;
  padding-bottom: 48px;
}

.footer-trust h3 {
  font-size: 18px;
  margin-bottom: 24px;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  stroke: var(--brand-orange);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr) auto;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border);
}

.footer-brand .brand {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  max-width: 260px;
}

.footer-col h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-col ul a:hover {
  color: var(--text);
}

.footer-social {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease;
}

.footer-social a:hover {
  border-color: var(--brand-pink);
}

.footer-social img {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  padding-bottom: 28px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  margin: 0 0 20px;
}

.responsible-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.responsible-row img {
  height: 34px;
  width: auto;
  opacity: 0.85;
}

/* -------------------------------------------------------------------------
   Cookie banner
   ------------------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 20px;
  display: none;
  gap: 14px;
  align-items: flex-start;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner img.cookie-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.cookie-banner p {
  font-size: 13px;
  margin: 0 0 12px;
}

.cookie-banner .cookie-close {
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  padding: 0;
}

.cookie-banner .cookie-close img {
  width: 100%;
  height: 100%;
}

/* -------------------------------------------------------------------------
   Toast
   ------------------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 20px);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .nav-links,
  .header-actions .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header.nav-open .nav-links {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 14px;
  }

  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 24px;
  }

  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-block,
  .about-block.reverse .about-media {
    grid-template-columns: 1fr;
    order: 0;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .play-option {
    grid-template-columns: 1fr;
  }

  .play-option__meta {
    grid-template-columns: 132px 176px;
    justify-content: end;
  }
}

@media (max-width: 640px) {
  .hero-content {
    padding: 110px 0 56px;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .game-card__body {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .game-card__body .btn {
    width: 100%;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

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

  .search-box input {
    width: 100%;
  }

  .playnow-hero {
    padding-top: 72px;
  }

  .playnow-hero h1 {
    font-size: 30px;
    overflow-wrap: anywhere;
  }

  .playnow-hero p {
    overflow-wrap: anywhere;
  }

  .play-option {
    padding: 24px;
  }

  .play-option__main {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .play-option__logo {
    width: 100%;
    max-width: 190px;
  }

  .play-option__meta {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .play-option__copy h2,
  .play-option__copy p {
    overflow-wrap: anywhere;
  }

  .play-option__copy span {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }

  .play-option__cta {
    width: 100%;
  }
}
