:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f8f4e8;
  background: #07111f;
  font-synthesis: none;
  --ink: #07111f;
  --ink-soft: #0b192b;
  --panel: #0e1e31;
  --panel-light: #132740;
  --gold: #e8bd68;
  --gold-light: #ffe7a7;
  --gold-dark: #a87325;
  --teal: #39d6c1;
  --muted: #9eacbb;
  --line: rgba(232, 189, 104, .18);
  --shadow: 0 22px 60px rgba(0, 0, 0, .32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: #f8f4e8; overflow-x: hidden; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .16;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .18) .6px, transparent .6px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a, .game-cover, .play-button { transition: .22s ease; }
.shell { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-emblem {
  width: 45px;
  height: 45px;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 25px;
}
.brand-emblem::before {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: -1;
  border: 1px solid rgba(255, 231, 167, .5);
  background: linear-gradient(135deg, rgba(232, 189, 104, .16), transparent);
  box-shadow: inset 0 0 22px rgba(232, 189, 104, .08);
  transform: rotate(45deg);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font: 700 27px/1 Georgia, "Times New Roman", serif; letter-spacing: .17em; color: var(--gold-light); }
.brand-copy small { margin-top: 6px; color: #c8d1da; font-size: 8px; font-weight: 700; letter-spacing: .29em; }

.btn {
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.btn-gold {
  color: #172033;
  background: linear-gradient(110deg, #b77a28 0%, #f3d17e 45%, #c38a36 100%);
  border-color: #f8db91;
  box-shadow: 0 10px 30px rgba(192, 137, 48, .24), inset 0 1px rgba(255, 255, 255, .5);
}
.btn-ghost { border-color: rgba(255, 255, 255, .42); background: rgba(4, 12, 23, .36); color: #fff; }
.btn-outline-gold { border-color: rgba(232, 189, 104, .68); background: transparent; color: var(--gold-light); }
.btn-large { min-height: 54px; padding-inline: 34px; }

.hero {
  min-height: 800px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(3, 10, 20, .96) 0%, rgba(4, 13, 25, .8) 35%, rgba(5, 15, 29, .24) 68%, rgba(5, 14, 26, .08) 100%),
    linear-gradient(0deg, #07111f 0%, transparent 26%),
    url('../public/atefia-hero.jpg');
  background-position: center, center, center;
  background-size: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 22% 48%, rgba(19, 68, 91, .25), transparent 38%);
}
.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 46px;
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(255, 231, 167, .16);
}
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { position: relative; color: #d7dee6; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -12px;
  height: 1px;
  background: var(--gold);
  transition: .22s ease;
}
.main-nav a:hover { color: var(--gold-light); }
.main-nav a:hover::after { right: 0; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-actions .btn { min-height: 42px; padding-inline: 20px; }
.hero-content { min-height: 672px; display: flex; align-items: center; position: relative; z-index: 2; }
.hero-copy { width: min(620px, 54%); padding: 42px 0 70px; }
.hero-kicker, .eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero-kicker { display: flex; align-items: center; gap: 12px; }
.hero-kicker span { width: 36px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero h1 {
  margin: 0 0 30px;
  font: 500 clamp(54px, 6vw, 88px)/.93 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
  text-shadow: 0 8px 35px rgba(0, 0, 0, .45);
}
.hero h1 em { color: var(--gold-light); font-weight: 400; }
.offer-label { margin: 0 0 6px; color: #b8c4cf; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.offer-value { margin: 0; font: 500 clamp(22px, 2.6vw, 36px)/1.25 Georgia, serif; }
.offer-value strong { color: var(--gold-light); font-size: 1.28em; }
.offer-spins { margin: 5px 0 25px; color: var(--teal); font-size: 18px; font-weight: 800; letter-spacing: .04em; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.text-link { color: #f5f7f9; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.text-link span, .section-link span { margin-left: 8px; color: var(--gold); }
.text-link:hover, .section-link:hover { color: var(--gold-light); }
.hero-note { margin: 18px 0 0; color: #8697a9; font-size: 10px; }
.hero-ornament {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 14px;
  width: min(1280px, calc(100% - 64px));
  height: 12px;
  transform: translateX(-50%);
  opacity: .55;
  background:
    linear-gradient(135deg, transparent 42%, var(--gold) 43%, var(--gold) 50%, transparent 51%) 0 0 / 14px 14px repeat-x,
    linear-gradient(45deg, transparent 42%, var(--gold) 43%, var(--gold) 50%, transparent 51%) 7px 0 / 14px 14px repeat-x;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}

.trust-strip { position: relative; z-index: 3; background: #0b1829; border-block: 1px solid var(--line); }
.trust-grid { min-height: 100px; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 20px 24px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { border-left: 1px solid var(--line); }
.trust-icon { color: var(--gold); font: 28px/1 Georgia, serif; }
.trust-grid p { margin: 0; display: flex; flex-direction: column; gap: 5px; }
.trust-grid strong { font: 600 14px/1.2 Georgia, serif; color: #fff4d2; }
.trust-grid small { color: var(--muted); font-size: 10px; }

.section { padding-block: 96px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading.centered { justify-content: center; text-align: center; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2, .experience-copy h2, .content h2 {
  margin: 0;
  font: 500 clamp(32px, 4vw, 52px)/1.06 Georgia, "Times New Roman", serif;
  letter-spacing: -.03em;
}
.section-link { padding-bottom: 7px; color: #c7d0da; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.filter-row { display: flex; gap: 8px; margin: 0 0 24px; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-row a { flex: 0 0 auto; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .08); color: #9faebe; background: #0b192a; border-radius: 2px; font-size: 11px; font-weight: 700; }
.filter-row a.active, .filter-row a:hover { color: #172033; border-color: var(--gold); background: var(--gold); }
.filter-row small { margin-left: 7px; opacity: .65; font-size: 9px; }
.games-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.game-card { min-width: 0; }
.game-cover { aspect-ratio: 1.07; display: block; position: relative; overflow: hidden; border-radius: 3px; border: 1px solid rgba(255, 255, 255, .09); background: var(--panel); box-shadow: 0 14px 32px rgba(0, 0, 0, .24); }
.game-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 10, 18, .75), transparent 50%); opacity: .55; transition: .25s ease; }
.game-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.game-card:hover .game-cover { border-color: rgba(232, 189, 104, .75); box-shadow: 0 18px 38px rgba(0, 0, 0, .34), 0 0 0 1px rgba(232, 189, 104, .1); }
.game-card:hover img { transform: scale(1.055); }
.game-card:hover .game-cover::after { opacity: .92; }
.game-badge { position: absolute; z-index: 2; top: 9px; left: 9px; padding: 5px 8px; color: #182033; background: var(--gold); border-radius: 2px; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.play-button { position: absolute; z-index: 3; left: 50%; top: 50%; width: 46px; height: 46px; display: grid; place-items: center; padding-left: 3px; color: #172033; background: var(--gold-light); border: 1px solid #fff0bd; border-radius: 50%; opacity: 0; transform: translate(-50%, -42%) scale(.82); box-shadow: 0 8px 28px rgba(0, 0, 0, .35); }
.game-card:hover .play-button { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.game-meta { padding: 14px 3px 0; display: flex; flex-direction: column; gap: 4px; }
.game-meta strong { overflow: hidden; color: #edf1f4; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.game-meta span { color: #718397; font-size: 10px; }
.all-games-card {
  min-height: 0;
  aspect-ratio: 1.07;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(232, 189, 104, .35);
  border-radius: 3px;
  background: radial-gradient(circle at 50% 0, rgba(232, 189, 104, .24), transparent 48%), linear-gradient(145deg, #132740, #0a1626);
  box-shadow: var(--shadow);
}
.all-games-card::before { content: "♛"; position: absolute; right: -12px; bottom: -24px; color: rgba(232, 189, 104, .08); font-size: 130px; }
.all-games-card span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.all-games-card strong { margin: 7px 0 14px; color: var(--gold-light); font: 500 30px/1 Georgia, serif; }
.all-games-card i { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-style: normal; }
.all-games-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.providers-block { margin-top: 62px; }
.providers-label { margin: 0 0 18px; color: #8898aa; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.providers { display: grid; grid-template-columns: repeat(8, 1fr); border: 1px solid var(--line); background: #091524; }
.providers span { min-height: 72px; display: flex; align-items: center; justify-content: center; padding: 10px; border-right: 1px solid var(--line); color: #c8d1d9; text-align: center; font: 700 12px/1.1 Georgia, serif; }
.providers span:last-child { border-right: 0; }
.providers span:nth-child(2n) { color: var(--gold-light); }

.bonus-section { position: relative; overflow: hidden; padding-block: 96px; border-block: 1px solid var(--line); background: linear-gradient(180deg, #0b1a2d, #081421); }
.bonus-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: linear-gradient(30deg, transparent 48%, var(--gold) 49%, transparent 51%), linear-gradient(-30deg, transparent 48%, var(--gold) 49%, transparent 51%);
  background-size: 72px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 30%, transparent 70%, #000);
}
.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; z-index: 1; }
.bonus-card { min-height: 420px; padding: 32px 28px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; overflow: hidden; border: 1px solid rgba(232, 189, 104, .24); background: linear-gradient(155deg, rgba(21, 43, 69, .98), rgba(8, 20, 34, .98)); box-shadow: var(--shadow); }
.bonus-card::after { content: ""; position: absolute; width: 220px; height: 220px; left: 50%; top: 25px; transform: translateX(-50%); border: 1px solid rgba(232, 189, 104, .12); border-radius: 50%; box-shadow: 0 0 0 24px rgba(232, 189, 104, .025), 0 0 0 50px rgba(232, 189, 104, .015); }
.bonus-card.featured { border-color: rgba(232, 189, 104, .62); background: radial-gradient(circle at 50% 22%, rgba(232, 189, 104, .2), transparent 37%), linear-gradient(155deg, #17324f, #0a1727); }
.bonus-type { position: absolute; top: 14px; left: 14px; padding: 5px 9px; color: var(--gold-light); border: 1px solid rgba(232, 189, 104, .3); font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.bonus-symbol { height: 106px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; color: var(--gold); font: 64px/1 Georgia, serif; text-shadow: 0 0 35px rgba(232, 189, 104, .25); }
.bonus-card p { margin: 9px 0 8px; color: #aeb9c5; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bonus-card h3 { min-height: 60px; margin: 0; color: #fff3ce; font: 500 28px/1.12 Georgia, serif; }
.bonus-card > strong { min-height: 40px; margin-top: 10px; color: var(--teal); font-size: 13px; }
.bonus-card .btn { width: min(230px, 100%); margin-top: 18px; position: relative; z-index: 2; }
.bonus-card small { margin-top: auto; padding-top: 20px; color: #718397; font-size: 9px; }

.experience-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: stretch; gap: 72px; }
.experience-copy { padding: 28px 0; }
.experience-copy h2 { margin-bottom: 24px; }
.experience-copy > p:not(.eyebrow) { max-width: 650px; margin: 0 0 26px; color: #aeb9c4; font-size: 14px; line-height: 1.8; }
.check-list { margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; list-style: none; }
.check-list li { color: #d8dfe5; font-size: 12px; line-height: 1.5; }
.check-list span { width: 20px; height: 20px; display: inline-grid; place-items: center; margin-right: 8px; color: #0b1a2c; background: var(--gold); border-radius: 50%; font-size: 10px; font-weight: 900; }
.royal-panel { min-height: 430px; padding: 92px 38px 38px; display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 1px; position: relative; overflow: hidden; border: 1px solid rgba(232, 189, 104, .36); background: radial-gradient(circle at 50% 0, rgba(232, 189, 104, .18), transparent 38%), #0c1b2d; box-shadow: var(--shadow); }
.royal-panel::before { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(232, 189, 104, .12); pointer-events: none; }
.panel-crown { position: absolute; top: 25px; left: 50%; transform: translateX(-50%); color: var(--gold); font: 45px/1 Georgia, serif; }
.royal-panel > div:not(.panel-crown) { min-height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(232, 189, 104, .1); }
.royal-panel strong { color: var(--gold-light); font: 500 30px/1 Georgia, serif; }
.royal-panel span { margin-top: 8px; color: #8898a9; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.content { padding-block: 30px 100px; color: #aeb9c4; }
.content-intro { max-width: 900px; }
.content h2 { margin-bottom: 22px; color: #f8f4e8; }
.content p { margin: 0 0 18px; font-size: 14px; line-height: 1.85; }
.content section { margin-top: 54px; }
.content h3 { margin: 0 0 15px; color: #fff3ce; font: 500 25px/1.2 Georgia, serif; }
.facts-grid { margin: 40px 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.facts-grid div { min-height: 100px; padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 8px; border-right: 1px solid var(--line); background: #0a1727; }
.facts-grid div:last-child { border-right: 0; }
.facts-grid span { color: #77899c; font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.facts-grid strong { color: #e8edf1; font: 500 15px/1.35 Georgia, serif; }
.info-table-wrap { overflow-x: auto; margin-top: 26px; border: 1px solid var(--line); }
table { width: 100%; min-width: 680px; border-collapse: collapse; background: #0a1727; }
th, td { padding: 16px 18px; border-bottom: 1px solid rgba(232, 189, 104, .11); text-align: left; font-size: 12px; line-height: 1.5; }
th { color: #192235; background: linear-gradient(110deg, #c7913c, #f0cf7a); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
td:first-child { color: #fff0c6; font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
.responsible-box { padding: 28px; display: flex; align-items: center; gap: 24px; border: 1px solid rgba(57, 214, 193, .25); background: rgba(57, 214, 193, .055); }
.responsible-icon { width: 66px; height: 66px; flex: 0 0 66px; display: grid; place-items: center; border: 2px solid var(--teal); border-radius: 50%; color: var(--teal); font-weight: 900; }
.responsible-box h3 { margin-bottom: 6px; font-size: 20px; }
.responsible-box p { margin: 0; }

.footer { padding-top: 70px; border-top: 1px solid var(--line); background: #050d18; }
.footer-main { display: grid; grid-template-columns: 1fr 2fr; gap: 70px; padding-bottom: 55px; }
.footer-brand { align-self: start; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-links strong { display: block; margin-bottom: 18px; color: #f9edc9; font: 500 15px/1.2 Georgia, serif; }
.footer-links a { display: block; margin: 11px 0; color: #78899b; font-size: 11px; }
.footer-links a:hover { color: var(--gold-light); }
.payment-row { padding-block: 30px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(232, 189, 104, .11); border-bottom: 1px solid rgba(232, 189, 104, .11); }
.payment-row > span { color: #78899b; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.payment-row > div { display: flex; align-items: center; justify-content: flex-end; gap: 26px; flex-wrap: wrap; }
.payment-row img { width: 46px; max-height: 28px; opacity: .78; }
.payment-row strong { color: #8f9dac; font-size: 11px; }
.footer-bottom { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #5f7183; font-size: 9px; }
.mobile-auth { display: none; }

@media (max-width: 1100px) {
  .shell { width: min(940px, calc(100% - 40px)); }
  .site-header { gap: 25px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 11px; }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .all-games-card { aspect-ratio: auto; min-height: 220px; }
  .providers { grid-template-columns: repeat(4, 1fr); }
  .providers span:nth-child(4) { border-right: 0; }
  .providers span:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .experience-grid { gap: 40px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid div:nth-child(2) { border-right: 0; }
  .facts-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .hero { min-height: 740px; background-position: center, center, 62% center; }
  .site-header { min-height: 72px; }
  .main-nav { display: none; }
  .hero-content { min-height: 650px; }
  .hero-copy { width: min(570px, 80%); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(2) { border-right: 1px solid var(--line); }
  .trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .bonus-grid { grid-template-columns: 1fr; }
  .bonus-card { min-height: 390px; }
  .experience-grid { grid-template-columns: 1fr; }
  .royal-panel { min-height: 390px; }
  .footer-main { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .hero {
    min-height: 700px;
    background-image:
      linear-gradient(90deg, rgba(3, 10, 20, .94), rgba(3, 10, 20, .68)),
      linear-gradient(0deg, #07111f 0%, transparent 34%),
      url('../public/atefia-hero.jpg');
    background-position: center, center, 68% center;
  }
  .site-header { min-height: 68px; }
  .brand { gap: 9px; }
  .brand-emblem { width: 37px; height: 37px; font-size: 21px; }
  .brand-copy strong { font-size: 20px; }
  .brand-copy small { margin-top: 4px; font-size: 6px; }
  .header-actions .btn-ghost { display: none; }
  .header-actions .btn { min-height: 38px; padding-inline: 13px; font-size: 9px; }
  .hero-content { min-height: 615px; align-items: flex-end; }
  .hero-copy { width: 100%; padding: 70px 0 66px; }
  .hero h1 { font-size: clamp(48px, 15vw, 66px); }
  .offer-value { font-size: 23px; }
  .offer-spins { font-size: 15px; }
  .hero-actions { gap: 18px; }
  .btn-large { min-height: 50px; padding-inline: 22px; }
  .text-link { font-size: 10px; }
  .hero-note { max-width: 330px; line-height: 1.5; }
  .hero-ornament { width: calc(100% - 28px); }
  .trust-grid > div { justify-content: flex-start; padding: 16px 12px; }
  .trust-icon { font-size: 22px; }
  .trust-grid strong { font-size: 11px; }
  .trust-grid small { font-size: 8px; }
  .section, .bonus-section { padding-block: 68px; }
  .section-heading { margin-bottom: 26px; }
  .section-heading h2, .experience-copy h2, .content h2 { font-size: 34px; }
  .section-link { display: none; }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .game-meta { padding-top: 10px; }
  .all-games-card { min-height: 170px; }
  .all-games-card strong { font-size: 25px; }
  .providers-block { margin-top: 45px; }
  .providers { grid-template-columns: repeat(2, 1fr); }
  .providers span { min-height: 62px; border-bottom: 1px solid var(--line); }
  .providers span:nth-child(2n) { border-right: 0; }
  .providers span:nth-last-child(-n+2) { border-bottom: 0; }
  .bonus-card { min-height: 375px; padding-inline: 20px; }
  .bonus-card h3 { font-size: 25px; }
  .experience-copy { padding-top: 0; }
  .check-list { grid-template-columns: 1fr; }
  .royal-panel { min-height: 350px; padding: 85px 20px 25px; }
  .royal-panel strong { font-size: 25px; }
  .royal-panel span { font-size: 7px; }
  .content { padding-block: 10px 70px; }
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid div { min-height: 85px; border-right: 0; border-bottom: 1px solid var(--line); }
  .facts-grid div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .facts-grid div:last-child { border-bottom: 0; }
  .content p { font-size: 13px; line-height: 1.75; }
  .content h3 { font-size: 22px; }
  .responsible-box { align-items: flex-start; padding: 22px 18px; }
  .responsible-icon { width: 50px; height: 50px; flex-basis: 50px; font-size: 12px; }
  .footer { padding-top: 55px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 32px 18px; }
  .payment-row { align-items: flex-start; flex-direction: column; }
  .payment-row > div { justify-content: flex-start; gap: 18px; }
  .footer-bottom { min-height: 110px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 8px; }
  .footer-bottom p { margin: 0; }
  .mobile-auth {
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: calc(68px + env(safe-area-inset-bottom));
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-top: 1px solid rgba(232, 189, 104, .28);
    background: rgba(5, 13, 24, .96);
    box-shadow: 0 -12px 35px rgba(0, 0, 0, .38);
    backdrop-filter: blur(14px);
  }
  .mobile-auth a { min-width: 0; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
  .mobile-login { color: var(--gold-light); background: #0b1a2c; }
  .mobile-register { color: #172033; background: linear-gradient(110deg, #b77a28, #f3d17e, #c38a36); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Compatibility layer for the supplied German Atefia content */
.hero .nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(255, 231, 167, .16);
}
.hamburger { width: 22px; display: grid; gap: 4px; }
.hamburger i { height: 1px; display: block; background: var(--gold-light); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #d7dee6; font-size: 12px; font-weight: 700; }
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:first-letter { color: var(--gold); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { min-height: 42px; padding-inline: 20px; }
.btn-outline { border-color: rgba(255, 255, 255, .42); background: rgba(4, 12, 23, .36); color: #fff; }
.btn-pink {
  color: #172033;
  border-color: #f8db91;
  background: linear-gradient(110deg, #b77a28 0%, #f3d17e 45%, #c38a36 100%);
  box-shadow: 0 10px 30px rgba(192, 137, 48, .24), inset 0 1px rgba(255, 255, 255, .5);
}
.hero .hero-content {
  width: min(1280px, calc(100% - 64px));
  min-height: 680px;
  margin-inline: auto;
  padding: 45px 0 90px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  position: relative;
  z-index: 2;
}
.hero-content > .logo { display: none; }
.hero-content::before {
  content: "𓂀  ATEFIA";
  margin-bottom: 24px;
  color: var(--gold-light);
  font: 600 29px/1 Georgia, serif;
  letter-spacing: .17em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .45);
}
.hero-content .eyebrow { margin-bottom: 16px; color: var(--gold); }
.hero-title {
  max-width: 650px;
  margin: 0 0 26px;
  color: #f8f4e8;
  font: 500 clamp(48px, 5.2vw, 76px)/.98 Georgia, serif;
  letter-spacing: -.045em;
  text-shadow: 0 8px 35px rgba(0, 0, 0, .45);
}
.hero-title span { color: var(--gold-light); }
.hero-cta { margin-bottom: 25px; }
.hero-cta .btn { min-width: 215px; min-height: 54px; }
.pay-row { display: flex; align-items: center; gap: 20px; color: #aab7c4; }
.pay-row img { width: 44px; max-height: 28px; opacity: .82; }
.pay-row strong { font-size: 10px; }

.benefits { border-block: 1px solid var(--line); background: #0b1829; overflow: hidden; }
.benefits-track { width: 100%; min-height: 88px; display: flex; align-items: center; justify-content: space-around; }
.benefits-track > div { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 16px 25px; white-space: nowrap; }
.benefits-track > div[aria-hidden="true"] { display: none; }
.benefits-track .small-icon { width: 25px; height: 25px; filter: sepia(1) saturate(2) hue-rotate(350deg) brightness(1.35); }
.benefits-track strong { color: #fff3ce; font: 500 13px/1.2 Georgia, serif; }
.benefits-track small { color: var(--muted); font-size: 9px; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head > div:last-child { display: flex; align-items: center; gap: 14px; }
.section-head a { color: #c7d0da; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.section-head span { color: var(--gold); }
.section-title { color: #f8f4e8; font: 500 clamp(30px, 3.7vw, 48px)/1.08 Georgia, serif; letter-spacing: -.03em; }
.game-art {
  aspect-ratio: 1.07;
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 3px;
  background: var(--panel);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .24);
}
.game-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 10, 18, .62), transparent 50%); pointer-events: none; }
.game-art .slot-image { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.game-card:hover .game-art { border-color: rgba(232, 189, 104, .75); }
.game-card:hover .slot-image { transform: scale(1.055); }
.badge { position: absolute; z-index: 2; top: 9px; left: 9px; padding: 5px 8px; color: #182033; background: var(--gold); border-radius: 2px; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.more-card {
  min-height: 0;
  aspect-ratio: 1.07;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(232, 189, 104, .35);
  color: var(--gold-light);
  background: radial-gradient(circle at 50% 0, rgba(232, 189, 104, .24), transparent 48%), linear-gradient(145deg, #132740, #0a1626);
  font: 500 21px/1.2 Georgia, serif;
  text-align: center;
}
.more-card > span { width: 35px; height: 35px; margin-bottom: 12px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; }
.more-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.providers-head { margin-top: 62px; }

.rewards { padding-top: 0; }
.reward-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.reward-grid article { min-height: 260px; padding: 28px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; position: relative; border: 1px solid rgba(232, 189, 104, .22); background: radial-gradient(circle at 50% 0, rgba(232, 189, 104, .15), transparent 40%), linear-gradient(155deg, #132943, #091624); text-align: center; box-shadow: var(--shadow); }
.reward-icon { width: 90px; height: 90px; display: grid; place-items: center; }
.reward-icon img { width: 70px; height: 70px; object-fit: contain; filter: sepia(1) saturate(2.2) hue-rotate(350deg) brightness(1.28) drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }
.reward-title { min-height: 42px; margin: 12px 0 5px; display: flex; align-items: center; color: #fff3ce; font: 500 17px/1.25 Georgia, serif; }
.reward-grid p { margin: 0; color: #8798a9; font-size: 10px; line-height: 1.55; }

.vegasnow-content { padding-block: 40px 100px; color: #aeb9c4; }
.vegasnow-content section { margin-top: 56px; }
.vegasnow-content .vegasnow-intro { max-width: 980px; margin-top: 0; }
.vegasnow-content h1, .vegasnow-content h2 { margin: 0 0 22px; color: #f8f4e8; font: 500 clamp(30px, 3.5vw, 48px)/1.1 Georgia, serif; letter-spacing: -.03em; }
.vegasnow-content h1 { font-size: clamp(34px, 4vw, 54px); }
.vegasnow-content h3 { margin: 34px 0 13px; color: #fff3ce; font: 500 23px/1.2 Georgia, serif; }
.vegasnow-content p, .vegasnow-content li { font-size: 14px; line-height: 1.85; }
.vegasnow-content p { margin: 0 0 18px; }
.vegasnow-content ul, .vegasnow-content ol { margin: 8px 0 24px; padding-left: 24px; }
.vegasnow-content li { margin: 6px 0; padding-left: 5px; }
.vegasnow-content li::marker { color: var(--gold); font-weight: 800; }
.table-responsive { width: 100%; margin: 28px 0; overflow-x: auto; border: 1px solid var(--line); }
.article-visual { margin: 26px 0 30px; position: relative; overflow: hidden; border: 1px solid rgba(232, 189, 104, .28); background: #0a1727; box-shadow: var(--shadow); }
.article-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 45px rgba(5, 13, 24, .28); }
.article-visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.content-faq { border-left: 1px solid var(--gold-dark); padding-left: 22px; }
.content-faq > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.content-faq h3 { margin: 0 0 8px; font-size: 18px; }
.content-faq p { margin: 0; color: #94a2b0; }

.footer.shell { margin-top: 30px; padding: 72px 0 30px; border-top: 1px solid var(--line); background: transparent; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 70px; padding-bottom: 52px; }
.footer-logo { display: none; }
.footer-top::before { content: "𓂀  ATEFIA"; align-self: start; color: var(--gold-light); font: 600 26px/1 Georgia, serif; letter-spacing: .16em; }
.footer-title { margin-bottom: 18px; color: #f9edc9; font: 500 15px/1.2 Georgia, serif; }
.footer-strip { padding-block: 28px; border-top: 1px solid rgba(232, 189, 104, .11); }
.footer-strip > strong { color: #78899b; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.brand-row { margin-top: 22px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.brand-row img { width: 48px; max-height: 28px; opacity: .76; }
.brand-row span { color: #8796a5; font-size: 11px; font-weight: 800; }
.text-brands { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.text-brands span { min-height: 58px; display: grid; place-items: center; border: 1px solid var(--line); background: #091524; color: #c9d2da; text-align: center; }
.responsible { margin: 0; padding: 26px 0; border-top: 1px solid rgba(232, 189, 104, .11); border-bottom: 1px solid rgba(232, 189, 104, .11); color: #728294; font-size: 10px; line-height: 1.6; }
.legal-bottom { min-height: 72px; display: flex; align-items: center; gap: 15px; color: #607184; font-size: 9px; }
.age { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-light); font-weight: 900; }
.mobile-join { color: #172033; background: linear-gradient(110deg, #b77a28, #f3d17e, #c38a36); }

@media (max-width: 900px) {
  .hero .nav { min-height: 72px; }
  .nav-links { display: none; }
  .hero .hero-content { width: min(720px, calc(100% - 40px)); }
  .reward-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .text-brands { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 560px) {
  .hero .nav { width: calc(100% - 28px); }
  .hamburger { display: none; }
  .nav-actions .btn-outline { display: none; }
  .nav-actions .btn { min-height: 38px; padding-inline: 13px; font-size: 9px; }
  .hero .hero-content { width: calc(100% - 28px); min-height: 620px; padding-bottom: 68px; align-items: flex-start; text-align: left; }
  .hero-content::before { font-size: 22px; }
  .hero-title { font-size: clamp(42px, 13vw, 57px); }
  .hero-cta .btn { min-width: 190px; min-height: 50px; }
  .benefits-track { width: max-content; min-width: max-content; min-height: 72px; justify-content: flex-start; gap: 34px; padding-right: 34px; animation: benefits-marquee 18s linear infinite; }
  .benefits-track > div[aria-hidden="true"] { display: flex; }
  .benefits-track > div { flex: 0 0 auto; padding: 14px 8px; }
  .section-head a { display: none; }
  .section-title { font-size: 32px; }
  .more-card { min-height: 170px; }
  .reward-grid { grid-template-columns: 1fr; }
  .reward-grid article { min-height: 225px; }
  .vegasnow-content { padding-block: 25px 70px; }
  .vegasnow-content section { margin-top: 45px; }
  .vegasnow-content h1 { font-size: 36px; }
  .vegasnow-content h2 { font-size: 29px; }
  .vegasnow-content h3 { font-size: 21px; }
  .vegasnow-content p, .vegasnow-content li { font-size: 13px; line-height: 1.75; }
  .article-visual { margin: 20px 0 24px; }
  .footer.shell { width: calc(100% - 28px); }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .text-brands { grid-template-columns: repeat(2, 1fr); }
}

@keyframes benefits-marquee { to { transform: translateX(-50%); } }

/* Keep the modern fcert landing independent from the legacy Atefia markup above. */
.atefia-landing .hero .hero-content {
  width: min(1280px, calc(100% - 64px));
  min-height: 672px;
  margin-inline: auto;
  padding: 0;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}
.atefia-landing .hero .hero-content::before { content: none; margin: 0; }

@media (max-width: 820px) {
  .atefia-landing .hero {
    background-position: center, center, right center;
    background-size: cover, cover, auto 100%;
  }
  .atefia-landing .hero .hero-content {
    width: min(720px, calc(100% - 40px));
    min-height: 650px;
  }
}

@media (max-width: 560px) {
  .atefia-landing .hero {
    background-position: center, center, right center;
    background-size: cover, cover, auto 100%;
  }
  .atefia-landing .hero .hero-content {
    width: calc(100% - 28px);
    min-height: 615px;
    padding: 0;
    align-items: flex-end;
  }
}
