/* ===== shared components ===== */

/* buttons */
body .wrapper .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 15px; font-weight: 700; border-radius: 24px; padding: 11px 20px; cursor: pointer; transition: background-color 0.15s ease, transform 0.12s ease, border-color 0.15s ease; white-space: nowrap; }
body .wrapper .btn:hover { transform: translateY(-1px); }
body .wrapper .btn .btn-ico { display: flex; }
body .wrapper .btn-primary { background-color: #f5c518; color: #000000; }
body .wrapper .btn-primary:hover { background-color: #ffd643; color: #000000; }
body .wrapper .btn-ghost { background-color: transparent; color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.35); }
body .wrapper .btn-ghost:hover { border-color: #f5c518; color: #f5c518; }
body .wrapper .btn-ghost.is-saved { border-color: #1ea672; color: #6fe0b4; }
body .wrapper .btn-sm { font-size: 13px; padding: 8px 14px; }

/* chips */
body .wrapper .chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
body .wrapper .chip { display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; letter-spacing: 0.2px; color: rgba(255, 255, 255, 0.85); background-color: #1f1f1f; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 20px; padding: 7px 14px; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
body .wrapper .chip:hover { border-color: #f5c518; color: #ffffff; }
body .wrapper .chip.is-active { background-color: #f5c518; color: #000000; border-color: #f5c518; font-weight: 700; }
body .wrapper .chip.is-static { cursor: default; }
body .wrapper .chip.is-static:hover { border-color: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.85); }

/* tile placeholder colors (logo / thumb backgrounds) */
body .wrapper .tile-1 { background: linear-gradient(135deg, #c0392b, #7b241c); }
body .wrapper .tile-2 { background: linear-gradient(135deg, #1f6fb2, #0e3a63); }
body .wrapper .tile-3 { background: linear-gradient(135deg, #16a085, #0b5345); }
body .wrapper .tile-4 { background: linear-gradient(135deg, #8e44ad, #4a235a); }
body .wrapper .tile-5 { background: linear-gradient(135deg, #d68910, #7e5109); }
body .wrapper .tile-6 { background: linear-gradient(135deg, #2c3e92, #16204f); }
body .wrapper .tile-7 { background: linear-gradient(135deg, #117a65, #0b3d33); }
body .wrapper .tile-8 { background: linear-gradient(135deg, #b03a5b, #6e1f37); }

/* ===== rails / carousels ===== */
body .wrapper .rail { margin-top: 40px; }
body .wrapper .rail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
body .wrapper .rail-all { display: inline-flex; align-items: center; gap: 3px; font-size: 14px; font-weight: 600; color: #f5c518; }
body .wrapper .rail-all:hover { color: #ffd643; }
body .wrapper .rail-wrap { position: relative; }
body .wrapper .rail-track { display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: none; }
body .wrapper .rail-track::-webkit-scrollbar { display: none; }
body .wrapper .rail-track > li { scroll-snap-align: start; flex: 0 0 auto; }

body .wrapper .rail-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 40px; height: 40px; border-radius: 50%; background-color: rgba(0, 0, 0, 0.85); border: 1px solid rgba(255, 255, 255, 0.2); color: #ffffff; display: none; align-items: center; justify-content: center; cursor: pointer; transition: background-color 0.15s ease; }
body .wrapper .rail-arrow:hover { background-color: #f5c518; color: #000000; border-color: #f5c518; }
body .wrapper .rail-prev { left: -6px; }
body .wrapper .rail-next { right: -6px; }

/* poster card (casino) */
body .wrapper .poster { width: 168px; }
body .wrapper .poster-link { display: block; color: inherit; }
body .wrapper .poster-link:hover { color: inherit; }
body .wrapper .poster-thumb { position: relative; height: 168px; border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
body .wrapper .poster:hover .poster-thumb { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); }
body .wrapper .poster-thumb { transition: transform 0.18s ease, box-shadow 0.18s ease; }
body .wrapper .poster-init { font-size: 52px; font-weight: 800; color: rgba(255, 255, 255, 0.92); }
body .wrapper .poster-rank { position: absolute; top: 8px; left: 8px; width: 24px; height: 24px; border-radius: 6px; background-color: rgba(0, 0, 0, 0.7); color: #f5c518; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
body .wrapper .poster-fav { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; background-color: rgba(0, 0, 0, 0.65); color: rgba(255, 255, 255, 0.85); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: color 0.15s ease, background-color 0.15s ease; }
body .wrapper .poster-fav:hover { color: #f5c518; }
body .wrapper .poster-fav.is-saved { color: #f5c518; background-color: rgba(0, 0, 0, 0.85); }
body .wrapper .poster-body { padding: 10px 2px 0; display: flex; flex-direction: column; gap: 3px; }
body .wrapper .poster-score { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: #ffffff; }
body .wrapper .poster-score .ps-star { color: #f5c518; display: flex; }
body .wrapper .poster-name { font-size: 15px; font-weight: 600; color: #ffffff; }
body .wrapper .poster-bonus { font-size: 12px; color: rgba(255, 255, 255, 0.6); }

/* slot card */
body .wrapper .slot { width: 150px; }
body .wrapper .slot-thumb { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: transform 0.18s ease, box-shadow 0.18s ease; }
body .wrapper .slot:hover .slot-thumb { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); }
body .wrapper .slot-init { font-size: 40px; font-weight: 800; color: rgba(255, 255, 255, 0.92); letter-spacing: 1px; }
body .wrapper .slot-rtp { position: absolute; top: 8px; left: 8px; font-size: 11px; font-weight: 700; color: #000000; background-color: #f5c518; border-radius: 20px; padding: 3px 8px; }
body .wrapper .slot-name { display: block; font-size: 14px; font-weight: 600; color: #ffffff; margin-top: 8px; }
body .wrapper .slot-prov { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.6); }

/* faq accordion */
body .wrapper .faq { margin-top: 44px; }
body .wrapper .faq-list { border-top: 1px solid rgba(255, 255, 255, 0.1); }
body .wrapper .faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
body .wrapper .faq-q { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 4px; font-size: 16px; font-weight: 600; color: #ffffff; cursor: pointer; }
body .wrapper .faq-q:hover { color: #f5c518; }
body .wrapper .faq-toggle { flex-shrink: 0; color: rgba(255, 255, 255, 0.6); transition: transform 0.25s ease; display: flex; }
body .wrapper .faq-item.is-open .faq-toggle { transform: rotate(180deg); color: #f5c518; }
body .wrapper .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
body .wrapper .faq-a p { padding: 0 4px 18px; font-size: 15px; color: rgba(255, 255, 255, 0.72); line-height: 1.65; max-width: 760px; }

@media (min-width: 768px) {
  body .wrapper .rail-arrow { display: flex; }
  body .wrapper .poster { width: 184px; }
  body .wrapper .poster-thumb { height: 184px; }
}

body .wrapper .slot-link { display: block; color: inherit; text-decoration: none; }
body .wrapper .slot-link:hover { color: inherit; }

/* Merkliste / Watchlist */
body .wrapper .nav-watchlist { position: relative; cursor: pointer; }
body .wrapper .nav-watchlist.has-items .watch-count { background-color: #f5c518; color: #000000; }
body .wrapper .btn[data-watch].is-saved { background-color: #f5c518; color: #000000; border-color: #f5c518; }
body .wrapper .btn[data-watch].is-saved .btn-ico svg { fill: #000000; }
body .wrapper .wl-panel { position: absolute; top: calc(100% + 10px); right: 0; width: 260px; background-color: #1f1f1f; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 10px; padding: 12px 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); z-index: 60; text-align: left; }
body .wrapper .wl-panel .wl-head { font-size: 13px; font-weight: 600; color: #ffffff; margin: 0 0 8px; }
body .wrapper .wl-panel .wl-empty { font-size: 13px; color: rgba(255, 255, 255, 0.6); line-height: 1.5; margin: 0; }
body .wrapper .wl-panel .wl-list { list-style: none; margin: 0; padding: 0; }
body .wrapper .wl-panel .wl-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
body .wrapper .wl-panel .wl-list li:last-child { border-bottom: none; }
body .wrapper .wl-panel .wl-list a { color: #ffffff; font-size: 14px; text-decoration: none; }
body .wrapper .wl-panel .wl-list a:hover { color: #f5c518; }
body .wrapper .wl-panel .wl-remove { color: rgba(255, 255, 255, 0.5); font-size: 17px; line-height: 1; cursor: pointer; padding: 0 2px; }
body .wrapper .wl-panel .wl-remove:hover { color: #e0294a; }
