/* Esal.si — bold 2026 redesign. Loaded last. */

:root {
  --esal-red: #ff2d4a;
  --esal-pink: #ff5a70;
  --esal-ink: #110d0e;
  --esal-muted: #6b6160;
  --esal-bg: #ebe4df;
  --esal-card: #fffdfa;
  --esal-dark: #100c0d;
  --esal-panel: #1a1416;
  --font-display: "Outfit", "Manrope", sans-serif;
  --font-body: "Manrope", "Baloo 2", sans-serif;
}

html { scroll-behavior: smooth; }

::selection {
  background: var(--esal-red);
  color: #fff;
}

body {
  font-family: var(--font-body) !important;
  color: var(--esal-ink);
  background: var(--esal-bg) !important;
}

h1, h2, h3, .heading, .intro-home__title, .mini-review__title,
.method-card__title, .author-card__name,
.page-standalone__title, .contact-page__name {
  font-family: var(--font-display) !important;
  letter-spacing: -0.015em;
}

a:focus-visible,
button:focus-visible {
  outline: 0.2rem solid var(--esal-red);
  outline-offset: 0.3rem;
}

.button {
  border-radius: 999px !important;
  padding: 1.3rem 2.2rem !important;
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  background: var(--esal-red) !important;
  box-shadow: 0 1rem 2.4rem rgba(255, 45, 74, 0.35);
}

.button:hover {
  background: #e01432 !important;
  transform: translateY(-0.2rem);
}

/* ---- Headings ---- */
.heading,
.content .container > .heading,
.band .heading {
  color: var(--esal-ink);
  font-weight: 800 !important;
  line-height: 1.12;
  margin-top: 6rem;
  margin-bottom: 2rem;
  max-width: 24ch;
}

.heading::after { display: none !important; }

.content .container > p,
.band .container > p {
  max-width: 68rem;
  font-size: 1.85rem;
  line-height: 1.65;
  color: var(--esal-muted);
}

/* ---- Header (dark) ---- */
.header .logo {
  background: #fff;
  border-radius: 1.4rem;
  padding: 0.35rem 0.9rem;
  height: auto !important;
}

.search-toggle:hover,
.search-toggle:focus {
  background: rgba(255, 255, 255, 0.1);
}

/* ---- Hero ---- */
.intro-home {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 54rem;
  padding: 6rem 0 8rem !important;
  text-align: left !important;
  background-color: #0b0708 !important;
}

.intro-home::before {
  content: "";
  position: absolute;
  inset: auto auto 12% -8%;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 74, 0.45), transparent 68%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}

.intro-home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 5, 6, 0.78) 0%, rgba(8, 5, 6, 0.35) 55%, rgba(8, 5, 6, 0.55) 100%),
    linear-gradient(180deg, rgba(8, 5, 6, 0.15) 0%, rgba(8, 5, 6, 0.72) 100%);
}

.intro-home .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.intro-home__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 2rem !important;
  padding: 0.55rem 1.2rem 0.55rem 0.55rem;
  width: fit-content;
  color: #fff !important;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 0.1rem solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.intro-home__kicker::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--esal-red);
  box-shadow: 0 0 1.2rem var(--esal-red);
}

.intro-home__title {
  margin: 0 0 2rem !important;
  max-width: 16ch;
  color: #fff !important;
  font-size: clamp(3.4rem, 5.6vw, 6.4rem) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  text-shadow: none !important;
}

.intro-home__text {
  max-width: 46rem;
  margin: 0 0 3.2rem !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 1.8rem !important;
  font-weight: 500 !important;
  line-height: 1.55;
}

.intro-home__list {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 1rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.intro-home__list li {
  margin: 0 !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
}

.intro-home__list a {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 1.1rem 1.6rem !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 0.1rem solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  backdrop-filter: blur(16px);
  box-shadow: none !important;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease !important;
}

.intro-home__list a:hover,
.intro-home__list a:focus {
  background: var(--esal-red) !important;
  border-color: var(--esal-red) !important;
  color: #fff !important;
  transform: translateY(-0.15rem);
}

.intro-home__list svg {
  width: 2.2rem !important;
  height: 2.2rem !important;
  margin-right: 0.8rem !important;
  filter: brightness(10);
}

/* ---- Bands ---- */
.band {
  margin: 5rem 0 0;
  padding: 6rem 0 7rem;
}

.band--ink {
  background:
    radial-gradient(60rem 30rem at 100% 0%, rgba(255, 45, 74, 0.18), transparent 50%),
    var(--esal-dark);
  color: #f6eeec;
}

.band--ink .heading {
  color: #fff;
  margin-top: 0;
}

.band--ink .container > p {
  color: rgba(255, 255, 255, 0.68);
}

/* ---- Widget ---- */
#top-seznam {
  margin-top: -4.5rem;
  position: relative;
  z-index: 2;
  padding: 2.4rem;
  background: var(--esal-card);
  border-radius: 2.8rem;
  box-shadow: 0 2.4rem 6rem rgba(16, 8, 10, 0.18);
}

#top-seznam .heading,
.content .container > #top-seznam .heading {
  margin-top: 0;
  max-width: none;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
}

#casino-widget-iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 1.8rem;
  background: #fff;
}

.content-figure {
  margin: 0 0 2.8rem;
  overflow: hidden;
  border-radius: 2.4rem;
  box-shadow: 0 1.6rem 4rem rgba(16, 8, 10, 0.12);
}

.content-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Tables ---- */
.table {
  background: var(--esal-card);
  border-radius: 2.2rem;
  box-shadow: 0 1.6rem 4rem rgba(16, 8, 10, 0.1);
  border: 0;
  overflow: hidden;
}

.table table { background: transparent; }

.table table th {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--esal-dark);
  border-bottom: 0;
}

.table table td {
  font-size: 1.6rem;
  color: var(--esal-ink);
  border-bottom: 0.1rem solid rgba(16, 12, 13, 0.08);
}

.table table tbody tr:nth-child(even) td { background: #f6efe9; }
.table table tbody tr:hover td { background: #ffe4e8; }
.table table tbody tr:last-child td { border-bottom: 0; }

.table--alt table td:first-child { font-weight: 800; background: transparent; }
.table--alt table tbody tr:nth-child(even) td:first-child { background: #f6efe9; }
.table--alt table tbody tr:hover td:first-child { background: #ffe4e8; }
.table--alt table td:nth-child(2) {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--esal-red);
}

/* ---- Mini reviews ---- */
.mini-reviews {
  display: grid;
  gap: 2.4rem;
  margin: 3rem 0 0;
  counter-reset: review;
}

.mini-review {
  position: relative;
  display: grid;
  gap: 1.6rem;
  padding: 2.4rem;
  overflow: hidden;
  background: var(--esal-panel);
  border: 0.1rem solid rgba(255, 255, 255, 0.08);
  border-radius: 2.4rem;
  box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.28);
  counter-increment: review;
}

.mini-review::before {
  content: counter(review, decimal-leading-zero);
  position: absolute;
  top: -1.2rem;
  right: 1.2rem;
  font-family: var(--font-display);
  font-size: 9rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 45, 74, 0.22);
  pointer-events: none;
}

.mini-review__logo {
  width: 16rem;
  max-height: 7rem;
  object-fit: contain;
  object-position: left center;
  padding: 0.8rem 1rem;
  background: #fff;
  border-radius: 1.2rem;
}

.mini-review__head { padding-right: 8rem; }

.mini-review__title {
  margin: 0 0 0.6rem;
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
}

.mini-review__meta {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.5;
  color: #ff8a98;
}

.mini-review__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
}

.mini-review__fact {
  margin: 0;
  padding: 1.1rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1.2rem;
}

.mini-review__fact-label {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.mini-review__fact-value {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.mini-review__text {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.mini-review__shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.mini-review__shot {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 1.3rem;
  background: #000;
  cursor: pointer;
}

.mini-review__shot img {
  display: block;
  width: 100%;
  height: 15rem;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mini-review__shot:hover img { transform: scale(1.08); }

.mini-review__shot-zoom {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: #fff;
  background: var(--esal-red);
  pointer-events: none;
}

.mini-review__shot-zoom svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ---- Method cards ---- */
.method-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  margin: 2.4rem 0 1.2rem;
}

.method-card {
  padding: 2.4rem;
  background: var(--esal-card);
  border: 0;
  border-radius: 2.2rem;
  box-shadow: 0 1.2rem 3.2rem rgba(16, 8, 10, 0.08);
}

.method-card__head {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}

.method-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 1.6rem;
  color: #fff;
  background: var(--esal-red);
}

.method-card__icon svg {
  width: 2.8rem;
  height: 2.8rem;
  filter: brightness(10);
}

.method-card__title {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--esal-ink);
}

.method-card__body p {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.7;
  color: var(--esal-muted);
}

.method-card__body p + p { margin-top: 1rem; }

/* ---- FAQ ---- */
.faq {
  font-size: 1.8rem !important;
}

.faq__card {
  padding: 0.4rem 0.6rem;
  background: var(--esal-card);
  border: 0 !important;
  border-radius: 1.8rem !important;
  box-shadow: 0 0.8rem 2.4rem rgba(16, 8, 10, 0.06);
}

.faq__question {
  padding: 0 5.2rem 0 0 !important;
  line-height: 1.35 !important;
}

.faq__question::before {
  top: 2.2rem !important;
  right: 1.8rem !important;
}

.faq__question .faq__label,
.faq__label {
  font-family: var(--font-body) !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.4 !important;
  white-space: normal;
  overflow-wrap: break-word;
  padding: 1.6rem 0 1.6rem 1.6rem !important;
}

.faq__label::before {
  display: none !important;
}

.faq__body {
  color: var(--esal-muted);
  font-size: 1.7rem;
  line-height: 1.7;
}

.faq__input:checked ~ .faq__body {
  padding: 0 2rem 2rem 2rem;
}

/* ---- Author / contact ---- */
.author-byline {
  margin: 2.8rem 0 0 !important;
  padding: 1.6rem 1.8rem !important;
  border: 0 !important;
  border-radius: 2rem !important;
  background: var(--esal-card) !important;
  box-shadow: 0 1rem 3rem rgba(16, 8, 10, 0.08) !important;
}

.author-card {
  background: var(--esal-card);
  border: 0;
  border-radius: 2.4rem;
}

.contact-page .heading,
.contact-page .content .container > .heading {
  margin-top: 0;
  max-width: none;
}

.contact-page__card {
  border: 0;
  border-radius: 2.2rem;
  box-shadow: 0 1.4rem 3.6rem rgba(16, 8, 10, 0.1);
}

.page-standalone__code {
  font-family: var(--font-display) !important;
  color: var(--esal-red) !important;
  opacity: 0.18 !important;
}

/* ---- Lightbox ---- */
.shot-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 2.4rem;
}

.shot-lightbox.is-open { display: flex; }
body.shot-lightbox-open { overflow: hidden; }

.shot-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 5, 6, 0.86);
  backdrop-filter: blur(10px);
}

.shot-lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(110rem, 100%);
}

.shot-lightbox__dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 12rem);
  border-radius: 1.6rem;
}

.shot-lightbox__caption {
  margin: 1.2rem 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
}

.shot-lightbox__close,
.shot-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  background: var(--esal-red);
  cursor: pointer;
}

.shot-lightbox__close {
  top: 1.6rem;
  right: 1.6rem;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  font-size: 3.2rem;
  line-height: 1;
}

.shot-lightbox__nav {
  top: 50%;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  transform: translateY(-50%);
}

.shot-lightbox__nav svg { width: 2.2rem; height: 2.2rem; }
.shot-lightbox__nav--prev { left: 1.6rem; }
.shot-lightbox__nav--next { right: 1.6rem; }

.search-toggle { border-radius: 50%; }
.gift {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  top: 0;
}

.button-scroll-up::before {
  background-color: var(--esal-red);
  border-radius: 1.4rem;
}

@media screen and (min-width: 768px) {
  .intro-home { min-height: 58rem; padding: 7rem 0 9rem !important; }

  .method-cards { grid-template-columns: 1fr 1fr; }
  .method-card--wide { grid-column: 1 / -1; }

  .mini-review__shot img { height: 16rem; }
}

@media screen and (min-width: 992px) {
  .intro-home .container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    column-gap: 6rem;
    row-gap: 1.6rem;
    align-items: end;
  }

  .intro-home__kicker { grid-column: 1; }
  .intro-home__title { grid-column: 1; max-width: 12ch; }
  .intro-home__text {
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0 !important;
    align-self: end;
  }
  .intro-home__list { grid-column: 1 / -1; }

  .heading,
  .content .container > .heading,
  .band .heading {
    font-size: 4.8rem !important;
  }

  .mini-review {
    grid-template-columns: 18rem 1fr;
    column-gap: 2.4rem;
    padding: 2.8rem;
  }

  .mini-review__logo {
    grid-row: 1 / 3;
    align-self: start;
    width: 100%;
    max-height: none;
    height: auto;
    padding: 1.4rem;
  }

  .mini-review__head,
  .mini-review__facts,
  .mini-review__text,
  .mini-review__shots { grid-column: 2; }
}

@media screen and (max-width: 575px) {
  .mini-review__facts,
  .mini-review__shots { grid-template-columns: 1fr; }

  .mini-review__shot img { height: 18rem; }

  #top-seznam {
    margin-top: -2.4rem;
    padding: 1.6rem;
    border-radius: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .mini-review__shot img, .intro-home__list a {
    transition: none;
  }
}
