/* Home — hero «Tischkante» and the collections. From mockup A; new sections in its language. */

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px var(--sec-x) 0; text-align: center; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg picture, .hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg img { opacity: .3; filter: saturate(.7); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 55% at 50% 30%, rgba(213, 180, 107, .14), transparent 70%), linear-gradient(180deg, rgba(16, 19, 24, .35), var(--surface-1) 92%); }
.hero h1 { font: 400 var(--fs-h1)/.98 var(--ff-display); letter-spacing: -.02em; margin: 18px auto; max-width: 13ch; }
.hero h1 em { color: var(--color-brand); font-style: italic; }
.hero__lead { color: var(--text-2); max-width: 56ch; margin: 0 auto; font-size: var(--fs-lead); }
.hero__cta { display: flex; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero__cta--left { justify-content: flex-start; margin-top: 22px; }
.hero__facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--text-2); font-size: 13.5px; }
.hero__facts li { display: flex; align-items: center; gap: 6px; }
.hero__facts .icon { width: 16px; height: 16px; color: var(--color-brand); }

/* the table edge: an arc of live tables */
.table { position: relative; height: 520px; margin: 30px auto 0; max-width: 1180px; }
.table__felt { position: absolute; left: 50%; top: 150px; width: 1500px; height: 1500px; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle at 50% 40%, var(--felt-hi), var(--felt) 45%, #0a201b 70%); box-shadow: inset 0 0 0 10px #2a1f12, inset 0 0 0 11px var(--color-brand-lo), inset 0 0 0 26px #1a130b, inset 0 30px 80px rgba(0, 0, 0, .6); }
.table__felt::before { content: ""; position: absolute; inset: 70px; border-radius: 50%; border: 1px solid rgba(236, 211, 154, .35); }
.table__felt::after { content: ""; position: absolute; inset: 130px; border-radius: 50%; border: 1px dashed rgba(236, 211, 154, .2); }
.spots { position: absolute; left: 50%; top: 236px; translate: -50% 0; display: flex; gap: 46px; z-index: 2; pointer-events: none; }
.spots .spot { width: 58px; height: 58px; font-size: 13px; letter-spacing: .1em; border-color: rgba(236, 211, 154, .5); color: rgba(236, 211, 154, .8); transition: background var(--dur-slow), border-color var(--dur-slow); }
.spots .spot:nth-child(1), .spots .spot:nth-child(5) { translate: 0 -26px; }
.spots .spot:nth-child(2), .spots .spot:nth-child(4) { translate: 0 -6px; }
.spots .spot.is-on { background: rgba(213, 180, 107, .18); border-color: var(--color-brand-hi); }
.arc { position: absolute; inset: 0; --R: 1060px; touch-action: pan-y; }
.arc__card { position: absolute; left: 50%; top: 0; width: 270px; margin-left: -135px; transform-origin: 50% var(--R); transform: rotate(calc(var(--o) * 15deg)) scale(calc(1 - var(--a) * .1)); opacity: calc(1 - var(--a) * .28); transition: transform .8s var(--ease), opacity .8s; z-index: calc(10 - var(--a)); }
.arc__card[data-far] { opacity: 0; pointer-events: none; visibility: hidden; transition: transform .8s var(--ease), opacity .8s, visibility 0s .8s; }
.tile { display: block; width: 100%; border-radius: var(--r-l); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); box-shadow: var(--shadow-2); text-align: left; }
.tile__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease); }
.tile:hover .tile__img img { scale: 1.06; }
.tile__body { display: flex; align-items: center; gap: 10px; padding: 14px 16px 16px; }
.tile__body b { display: block; font-weight: 600; font-size: 15px; }
.tile__body small { color: var(--text-3); font-size: 12.5px; }
.tile .play { margin-left: auto; width: 38px; height: 38px; }
.tile:hover .play { transform: scale(1.1) rotate(-8deg); }
.arc__nav { position: absolute; left: 50%; top: 330px; translate: -50% 0; display: flex; align-items: center; gap: 16px; z-index: 20; }
.arc__label { min-width: 230px; text-align: center; }
.arc__label b { display: block; font: 400 26px/1.1 var(--ff-display); }
.arc__label small { color: var(--text-2); font-size: 13px; }
.progress { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.progress i { width: 22px; height: 3px; border-radius: 3px; background: rgba(245, 245, 245, .18); overflow: hidden; position: relative; }
.progress i.is-on::after { content: ""; position: absolute; inset: 0; background: var(--color-brand); transform-origin: left; animation: fill 5s linear forwards; }
.table.is-paused .progress i.is-on::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- live ---------- */
.live { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.lcard { position: relative; min-height: 360px; border-radius: var(--r-l); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; padding: 72px 28px 28px; border: 1px solid var(--line-soft); transition: border-color var(--dur-slow), transform var(--dur-slow) var(--ease); }
.lcard:hover { border-color: var(--line); transform: translateY(-3px); }
.lcard > picture { position: absolute; inset: 0; z-index: -2; }
.lcard > picture img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.lcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 15, 19, .94) 12%, rgba(12, 15, 19, .35) 78%); }
.lcard:hover > picture img { scale: 1.05; }
.lcard .badge { left: 28px; top: 24px; }
.lcard h3 { font: 400 36px/1.05 var(--ff-display); }
.lcard p { color: var(--text-2); font-size: 14px; max-width: 36ch; margin: 6px 0 14px; }
.lcard__tables { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; max-width: 420px; }
.lcard__tables button { display: inline-flex; flex-direction: column; align-items: flex-start; padding: 7px 12px; border-radius: var(--r-m); background: rgba(12, 15, 19, .6); border: 1px solid var(--line-soft); font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); transition: border-color var(--dur-fast), background var(--dur-fast); }
.lcard__tables button:hover { border-color: var(--color-brand); background: rgba(12, 15, 19, .85); }
.lcard__tables small { font-weight: 400; color: var(--text-3); font-size: 11.5px; }

/* ---------- all games grid ---------- */
.grid-games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-games .game.is-hidden { display: none; }
.grid-games .game.is-entering { animation: card-in .5s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.grid-empty { text-align: center; padding: 40px 0; color: var(--text-2); }
.grid-empty .btn { margin-top: 14px; }

/* ---------- jackpots ---------- */
.jp { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.jrow { position: relative; display: flex; gap: 18px; align-items: center; padding: 16px; border-radius: var(--r-l); background: var(--surface-2); border: 1px solid var(--line-soft); overflow: hidden; transition: border-color var(--dur-slow), background var(--dur-slow); }
.jrow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(236, 211, 154, .08) 50%, transparent 60%); translate: -100% 0; transition: translate 1s var(--ease); pointer-events: none; }
.jrow:hover { border-color: var(--line); background: var(--surface-3); }
.jrow:hover::after { translate: 100% 0; }
.jrow__img { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; flex: none; border: 1px solid var(--color-brand); padding: 4px; }
.jrow__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.jrow__body { flex: 1; min-width: 0; }
.jrow h3 { font: 400 26px/1.1 var(--ff-display); margin: 4px 0 2px; }
.jrow p { color: var(--text-3); font-size: 13px; }
.jrow .kicker { font-size: 11px; }

/* ---------- personal ---------- */
.personal { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.personal .game h3 { font-size: 14px; }
.guest-card { display: flex; align-items: center; gap: 40px; padding: 28px; border-radius: var(--r-l); background: linear-gradient(120deg, var(--surface-2), rgba(18, 59, 51, .35)); border: 1px solid var(--line); }
.guest-card p { font: 400 26px/1.2 var(--ff-display); max-width: 30ch; }
.guest-card__stack { position: relative; width: 220px; height: 150px; flex: none; }
.guest-card__stack span { position: absolute; top: 0; width: 140px; height: 150px; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform var(--dur-slow) var(--ease); }
.guest-card__stack img { width: 100%; height: 100%; object-fit: cover; }
.guest-card__stack span:nth-child(1) { left: 0; rotate: -8deg; }
.guest-card__stack span:nth-child(2) { left: 40px; rotate: 0deg; z-index: 1; }
.guest-card__stack span:nth-child(3) { left: 80px; rotate: 8deg; z-index: 2; }
.guest-card:hover .guest-card__stack span:nth-child(1) { transform: translateX(-14px) rotate(-4deg); }
.guest-card:hover .guest-card__stack span:nth-child(3) { transform: translateX(14px) rotate(4deg); }

/* ---------- providers ---------- */
.providers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.provider { padding: 20px; border-radius: var(--r-l); background: var(--surface-2); border: 1px solid var(--line-soft); transition: border-color var(--dur-slow), transform var(--dur-slow) var(--ease); }
.provider:hover { border-color: var(--line); transform: translateY(-3px); }
.provider__mono { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--color-brand); font: italic 20px/1 var(--ff-display); color: var(--color-brand); margin-bottom: 14px; }
.provider h3 { font: 600 16px/1.3 var(--ff-body); }
.provider p { color: var(--text-2); font-size: 13.5px; margin: 6px 0 10px; }
.provider small { color: var(--text-3); font-size: 12.5px; }

/* ---------- payments ---------- */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; counter-reset: step; }
.steps-row li { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-l); background: rgba(16, 19, 24, .7); border: 1px solid var(--line-soft); backdrop-filter: blur(6px); }
.steps-row h3 { font: 600 16px/1.3 var(--ff-body); }
.steps-row p { color: var(--text-2); font-size: 13.5px; margin-top: 4px; }
.steps-row .spot { font-family: var(--ff-display); font-style: italic; font-weight: 400; font-size: 17px; }
.pay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.pay { display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden; background: rgba(26, 31, 39, .88); border: 1px solid var(--line-soft); backdrop-filter: blur(6px); transition: border-color var(--dur-slow), transform var(--dur-slow) var(--ease); }
.pay:hover { border-color: var(--line); transform: translateY(-3px); }
.pay__mark { display: grid; place-items: center; height: 74px; padding: 0 16px; background: linear-gradient(135deg, #f5f1e6, #e3d7b8); color: #1d1a12; font: 700 19px/1 var(--ff-body); letter-spacing: -.01em; text-align: center; }
.pay__body { padding: 14px 16px 16px; }
.pay h3 { font: 600 15px/1.3 var(--ff-body); }
.pay__type { color: var(--text-3); font-size: 12.5px; margin-bottom: 10px; }
.pay dl { display: grid; gap: 6px; }
.pay dl div { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.pay dt { color: var(--text-2); }
.pay dd { display: flex; align-items: center; gap: 4px; margin: 0; font-weight: 500; }
.pay dd .icon { width: 15px; height: 15px; }
.pay .is-yes dd { color: var(--color-success); }
.pay .is-no dd { color: var(--text-3); }

/* ---------- responsible gambling teaser ---------- */
.rg-teaser { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.rg-teaser__media { position: relative; border-radius: 260px 260px var(--r-l) var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.rg-teaser__media img { width: 100%; height: 100%; object-fit: cover; }
.rg-teaser__media::after { content: ""; position: absolute; inset: 12px; border-radius: 250px 250px 14px 14px; border: 1px solid rgba(236, 211, 154, .35); pointer-events: none; }
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tools li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r-l); background: var(--surface-2); border: 1px solid var(--line-soft); }
.tools .icon { color: var(--color-brand); margin-top: 2px; }
.tools h3 { font: 600 15px/1.3 var(--ff-body); }
.tools p { color: var(--text-2); font-size: 13px; margin-top: 2px; }

/* ---------- company ---------- */
.company__grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: center; }
.company__seal { display: grid; justify-items: center; gap: 14px; color: var(--text-2); font-size: 13px; text-align: center; }
.company__seal .spot { background: rgba(16, 19, 24, .7); backdrop-filter: blur(6px); animation: slow-spin 40s linear infinite; }
.company__seal .spot::after { inset: 10px; }
@keyframes slow-spin { to { rotate: 360deg; } }

@media (max-width: 1200px) {
  .grid-games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .providers { grid-template-columns: repeat(2, 1fr); }
  .shelf { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
}
@media (max-width: 900px) {
  .hero { padding: 44px var(--sec-x) 0; }
  .hero__lead { font-size: 16px; }
  .hero__facts { gap: 6px 14px; font-size: 12.5px; }
  .table { height: 440px; margin-top: 18px; }
  .table__felt { top: 150px; width: 900px; height: 900px; }
  .spots { gap: 18px; top: 220px; }
  .spots .spot { width: 44px; height: 44px; font-size: 11px; }
  .arc { --R: 760px; }
  .arc__card { width: 220px; margin-left: -110px; transform: rotate(calc(var(--o) * 18deg)) scale(calc(1 - var(--a) * .1)); }
  .arc__nav { top: 300px; gap: 10px; }
  .arc__label { min-width: 150px; }
  .arc__label b { font-size: 21px; }
  .shelf { grid-auto-columns: 72%; }
  .live, .jp, .personal { grid-template-columns: 1fr; }
  .lcard { min-height: 300px; padding: 60px 20px 20px; }
  .lcard .badge { left: 20px; top: 18px; }
  .lcard h3 { font-size: 30px; }
  .grid-games { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid-games .game__body { padding: 10px 12px 12px; }
  .grid-games .game h3 { font-size: 13.5px; }
  .grid-games .play { width: 34px; height: 34px; }
  .steps-row { grid-template-columns: 1fr; }
  .rg-teaser { grid-template-columns: 1fr; gap: 28px; }
  .rg-teaser__media { aspect-ratio: 16 / 10; border-radius: 200px 200px var(--r-l) var(--r-l); }
  .tools { grid-template-columns: 1fr; }
  .company__grid { grid-template-columns: 1fr; }
  .company__seal { order: -1; }
  .company__seal .spot { width: 110px; height: 110px; font-size: 26px; }
  .guest-card { flex-direction: column; align-items: flex-start; gap: 24px; padding: 22px; }
  .guest-card p { font-size: 22px; }
}
@media (max-width: 600px) {
  .providers { grid-template-columns: 1fr; }
  .jrow__img { width: 72px; height: 72px; }
  .jrow h3 { font-size: 22px; }
}
@media (max-width: 389px) {
  .arc__label { min-width: 120px; }
  .spots { display: none; }
}
@media (max-width: 900px) {
  .hero .kicker--lines::before, .hero .kicker--lines::after { display: none; }
  .shelf-arrows { display: none; }
  .lcard::before { background: linear-gradient(0deg, rgba(12, 15, 19, .96) 48%, rgba(12, 15, 19, .5)); }
}
@media (max-width: 1024px) { .spots { display: none; } }
@media (max-width: 900px) { .arc__card { opacity: calc(1 - var(--a) * .45); } }
