/* AgeVerif / SFW gate — xcafe layout (list_blocks masonry, Font Awesome site) */

/* ---- Blur / lock adult thumbs ---- */
html.sfw-version .list_blocks.masonry-video > li > a > img,
html.sfw-version .list_blocks.masonry > li > a > img,
html.sfw-version .list_blocks > li > a > img,
html.sfw-version .list_blocks li.view_block img,
html.sfw-version .related-queries .images img,
html.sfw-version .list_gifs .item .content video,
html.sfw-version .list_gifs .item .content img,
html.sfw-version .list_gifs .item img,
html.sfw-version #kt_player video,
html.sfw-version #kt_player .fluid_pseudo_poster,
html.sfw-version #kt_player .fp-poster,
html.sfw-version .player-holder img,
html.sfw-version .view_gif video,
html.sfw-version .view_gif img,
html.sfw-version .nativeline,
html.sfw-version .footbnr,
html.sfw-version .ntw-a-b,
html.sfw-version .ntw-a,
html.sfw-version .list_gifs .item .item-thumb,
html.sfw-version .bnr_download_format,
html.sfw-version .rtb-vs-root,
html.sfw-version .related-queries .images .img, .related-queries .images img,
html.sfw-version .view-item .avatar,
html.sfw-version .list_gifs .item .item-thumb,
html.sfw-version .adinner {
  filter: blur(28px) !important;
}


html.sfw-version #kt_player,
html.sfw-version .list_gifs .item .content,
html.sfw-version .related-queries a,
html.sfw-version .nativeline,
html.sfw-version .list_gifs>.item,
html.sfw-version .download_formats .btn,
html.sfw-version .rtb-vs-root,
html.sfw-version .list_blocks li img,
html.sfw-version .adinner,
html.sfw-version .switch,
html.sfw-version .ntw-b,
html.sfw-version .ntw-a {
  pointer-events: none;
}

html.sfw-version .list_blocks .data .title,
html.sfw-version .list_blocks .title,
html.sfw-version .block_title h1,
html.sfw-version .block_title h2,
html.sfw-version .head_line h1,
html.sfw-version .head_line h2,
html.sfw-version .content h1:not(.sfw-landing-title),
html.sfw-version .content h2:not(.sfw-landing-title),
html.sfw-version .list_text_inner,
html.sfw-version .quote_text,
html.sfw-version .block_title .text,
html.sfw-version .item-desc,
html.sfw-version .list_blocks li .desc,
html.sfw-version .items-list .list-item a,
html.sfw-version .video_meta .btn-primary,
html.sfw-version .content_source_text .btn-default,
html.sfw-version .tabs_head li a,
html.sfw-version .video_meta p.desc,
html.sfw-version .view_item .item_desc,
html.sfw-version .list_titles .item {
  filter: blur(4px);
}

html.sfw-version .ageverif-modal,
html.sfw-version .ageverif-modal *,
html.sfw-version .ageverif-bar,
html.sfw-version .ageverif-bar * {
  filter: none !important;
  pointer-events: auto !important;
}

/* ---- Modal hero / content ---- */
.sfw-landing-hero {
  margin: 0;
  padding: 28px 20px 32px;
  background: linear-gradient(135deg, rgba(198, 40, 40, 0.42) 0%, rgba(20, 20, 20, 0.98) 55%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  text-align: center;
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
}

.sfw-landing-hero-inner {
  max-width: 680px;
  margin: 0 auto;
}

.sfw-landing-badge {
  display: inline-block;
  width: 52px;
  height: 52px;
  line-height: 52px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #c62828;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 8px 20px rgba(198, 40, 40, 0.4);
}

.sfw-landing-title {
  margin: 0 0 12px;
  padding: 0 36px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  filter: none !important;
}

.sfw-landing-lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.sfw-landing-region {
  display: inline-block;
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.sfw-landing-region strong {
  color: #fff;
}

.sfw-landing-benefits-intro {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.sfw-landing-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 16px;
  max-width: 420px;
}

.sfw-landing-stat {
  flex: 1 1 140px;
  min-width: 120px;
  padding: 12px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sfw-landing-stat-value {
  display: block;
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.sfw-landing-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.sfw-landing-points {
  margin: 0 auto 18px;
  padding: 0;
  list-style: none;
  max-width: 480px;
  text-align: left;
}

.sfw-landing-points li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
}

.sfw-landing-points li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #81c784;
  font-weight: 700;
}

.sfw-landing-note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}

.av-verify-btn {
  display: inline-block;
  margin: 0;
  padding: 12px 22px;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff !important;
  background: linear-gradient(135deg, #ff4d6d 0%, #c62828 55%, #8e0000 100%);
  box-shadow: 0 8px 22px rgba(198, 40, 40, 0.4);
  text-decoration: none !important;
}

.av-verify-btn:hover,
.av-verify-btn:focus {
  filter: brightness(1.06);
  color: #fff !important;
}

.av-verify-btn:disabled,
.av-verify-btn--loading {
  cursor: wait;
  opacity: 0.75;
  pointer-events: none;
}

.av-verify-btn__icon {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  vertical-align: middle;
}

.av-verify-btn--lg {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 12px;
}

.av-verify-btn--bar {
  flex-shrink: 0;
  min-height: 38px;
  padding: 8px 16px;
  font-size: 13px;
}

.ageverif-sdk-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(198, 40, 40, 0.25);
  border: 1px solid rgba(255, 138, 128, 0.4);
  color: #ffcdd2;
  font-size: 13px;
  text-align: center;
}

/* ---- Sticky bar ---- */
.ageverif-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  background: linear-gradient(90deg, rgba(142, 0, 0, 0.96) 0%, rgba(25, 25, 25, 0.98) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
}

.ageverif-bar[hidden] {
  display: none !important;
}

.ageverif-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
}

.ageverif-bar__badge {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 800;
  color: #ff8a80;
  flex-shrink: 0;
}

.ageverif-bar__text {
  margin: 0;
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  min-width: 0;
}

.ageverif-bar .ageverif-sdk-error {
  flex: 1 1 100%;
  margin: 0;
}

/* ---- Modal ---- */
.ageverif-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.ageverif-modal[hidden] {
  display: none !important;
}

.ageverif-modal__backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.78);
  cursor: pointer;
}

.ageverif-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.75);
  background: #141414;
  -webkit-overflow-scrolling: touch;
}

.ageverif-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  display: block;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  color: #fff !important;
  background: #2a2a2a !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  font-size: 28px;
  font-weight: 400;
  line-height: 38px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.ageverif-modal__close:hover,
.ageverif-modal__close:focus {
  background: #c62828 !important;
  border-color: #c62828;
  color: #fff !important;
  outline: 0;
}

.ageverif-modal__hero {
  border-radius: 14px;
}

body.ageverif-modal-open {
  overflow: hidden !important;
}

@media (max-width: 767px) {
  .sfw-landing-title {
    font-size: 20px;
    padding: 0 28px;
  }

  .sfw-landing-lead {
    font-size: 14px;
  }

  .sfw-landing-points,
  .sfw-landing-note,
  .sfw-landing-benefits-intro {
    display: none;
  }

  .ageverif-bar__text {
    flex: 1 1 100%;
    font-size: 13px;
  }

  .av-verify-btn--bar {
    width: 100%;
  }

  .ageverif-modal {
    padding: 10px;
  }

  .ageverif-modal__panel {
    max-height: calc(100vh - 20px);
  }

  .ageverif-modal__close {
    top: 8px;
    right: 8px;
  }
}
