* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #111; color: #fff; font: 16px/1.4 Arial, Helvetica, sans-serif; }
a { color: #ff4d6a; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.red { color: #e00; }
.num { font-variant-numeric: tabular-nums; }
.no-js-show { display: block; }
.js .no-js-show { display: none; }

.warn { padding: 6px 10px; background: #c00; color: #fff; font-size: 13px; font-weight: bold; text-align: center; }

.top { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: #000; border-bottom: 3px solid #d10a2c; }
.logo { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.logo img { flex: none; width: 52px; height: 52px; filter: drop-shadow(0 0 6px rgb(242 193 78 / 45%)); }
.logo .lt { font: 400 34px/1 "Pirata One", "UnifrakturCook", Georgia, serif; letter-spacing: .5px; text-shadow: 2px 2px 0 #d10a2c; white-space: nowrap; }
.logo em { color: #d10a2c; font-style: normal; text-shadow: 2px 2px 0 #fff; }
.online { font-size: 14px; color: #ccc; white-space: nowrap; }
.online b { color: #3f3; }
.online i, .meta i { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 50%; background: #2ecc40; box-shadow: 0 0 6px #2ecc40; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* Quiz stage */
.stage { position: relative; display: flex; justify-content: center; padding: 30px 12px 40px; overflow: hidden; }
.bg { position: absolute; inset: -30px; background: #333 center 20% / cover; filter: blur(14px) brightness(.45) saturate(1.3); }
.bg.nun-bg { inset: -6px; background-image: url("../images/nun-bg.webp"); background-position: 60% 30%; filter: blur(2px) brightness(.5) saturate(1.15); }
.box { position: relative; width: 100%; max-width: 520px; padding: 22px 20px 16px; background: #fff; color: #222; border-radius: 6px; border: 3px solid #d10a2c; box-shadow: 0 0 0 4px rgb(209 10 44 / 30%), 0 20px 50px rgb(0 0 0 / 70%); text-align: center; }
.box h1 { margin: 0 0 8px; color: #e00; font: 900 30px/1.1 "Arial Black", Arial, sans-serif; text-transform: uppercase; }
.sub { margin: 0 0 16px; font-size: 17px; }
.sub u { color: #d10a2c; font-weight: bold; }
.q { display: none; }
.q.is-on { display: block; }
.qn { margin: 0; color: #888; font-size: 12px; font-weight: bold; text-transform: uppercase; }
.qt { margin: 6px 0 16px; font-size: 22px; font-weight: bold; line-height: 1.25; }
.yn { display: flex; gap: 10px; }
.yn button, .ages button { flex: 1; padding: 16px 10px; border: 0; border-radius: 5px; color: #fff; font: 900 24px "Arial Black", Arial, sans-serif; text-shadow: 1px 1px 0 rgb(0 0 0 / 35%); }
.yes { background: linear-gradient(#4ee44e, #1f9e1f); border-bottom: 5px solid #146b14 !important; }
.no { background: linear-gradient(#ff5b5b, #c41212); border-bottom: 5px solid #850a0a !important; }
.yn button:active, .ages button:active, .go:active { transform: translateY(3px); border-bottom-width: 2px !important; }
.ages { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ages button { background: linear-gradient(#1c1c1c, #000); border-bottom: 5px solid #d10a2c; font-size: 22px; }
.bar { height: 22px; border: 2px solid #222; border-radius: 4px; overflow: hidden; background: #eee; }
.bar span { display: block; height: 100%; width: 0; background: repeating-linear-gradient(45deg, #2ecc40 0 12px, #27b036 12px 24px); transition: width 2.6s linear; }
.q.is-on .bar span { width: 100%; }
.checks { margin: 14px 0 0; padding: 0; list-style: none; text-align: left; font-size: 16px; }
.checks li { margin: 6px 0; color: #1f9e1f; font-weight: bold; opacity: 0; transition: opacity .3s; }
.checks li.is-on { opacity: 1; }
.found { margin: 4px 0 12px; font-size: 24px; line-height: 1.2; }
.found b { color: #e00; }
.mini { display: flex; justify-content: center; margin-bottom: 12px; }
.mini .ph, .mini .more { width: 58px; height: 58px; margin-left: -12px; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px #d10a2c; }
.mini .ph:first-child { margin-left: 0; }
.more { display: grid; place-items: center; background: #d10a2c; color: #fff; font-weight: 900; }
.rules { margin: 0 0 12px; font-size: 14px; }
.safe { margin: 12px 0 0; color: #666; font-size: 13px; }

.go {
  display: block; padding: 18px 12px; border-radius: 5px; border-bottom: 5px solid #146b14;
  background: linear-gradient(#4ee44e, #1f9e1f); color: #fff; font: 900 24px/1 "Arial Black", Arial, sans-serif;
  text-align: center; text-decoration: none; text-shadow: 1px 1px 0 rgb(0 0 0 / 40%);
  animation: beat 2.2s ease-in-out infinite;
}
.go:hover { background: linear-gradient(#5cf05c, #22b022); animation-play-state: paused; }
@keyframes beat { 0%, 40%, 100% { transform: scale(1); } 10% { transform: scale(1.05); } 20% { transform: scale(1); } 30% { transform: scale(1.03); } }

.ph { display: block; background: #444 center 20% / cover no-repeat; }
.av-1 { background-image: url("../images/ufs-av-1.webp"); }
.av-2 { background-image: url("../images/ufs-av-2.webp"); }
.av-3 { background-image: url("../images/ufs-av-3.webp"); }
.av-4 { background-image: url("../images/ufs-av-4.webp"); }

/* Girls grid */
.girls { max-width: 980px; margin: 0 auto; padding: 26px 10px 30px; }
.girls h2 { margin: 0 0 14px; color: #d10a2c; font: 900 22px/1.2 "Arial Black", Arial, sans-serif; text-align: center; text-transform: uppercase; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.girl { position: relative; display: block; aspect-ratio: 440 / 585; overflow: hidden; border: 2px solid #333; border-radius: 4px; color: #fff; text-decoration: none; }
.girl:hover { border-color: #d10a2c; }
.girl .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.girl:hover .ph { transform: scale(1.05); }
.girl .ph.nsfw { filter: blur(14px) brightness(.8); transform: scale(1.15); }
.nsfw-tag { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-weight: 900; font-size: 16px; text-shadow: 0 1px 6px #000; }
.nsfw-tag small { padding: 3px 8px; border-radius: 3px; background: #d10a2c; font-size: 12px; text-shadow: none; }
.tag { position: absolute; top: 6px; left: 6px; padding: 2px 6px; background: #e00; font-size: 11px; font-weight: 900; }
.meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 8px 8px; background: linear-gradient(transparent, rgb(0 0 0 / 90%)); }
.meta b { display: block; font-size: 15px; }
.meta small { color: #bbb; font-size: 12px; }
.chat { position: absolute; top: 6px; right: 6px; padding: 3px 7px; border-radius: 3px; background: rgb(0 0 0 / 70%); font-size: 12px; font-weight: bold; }
.go.wide { max-width: 520px; margin: 18px auto 0; }

/* Text */
.text { max-width: 820px; margin: 0 auto; padding: 20px 14px 30px; color: #bbb; font-size: 15px; }
.text h2 { color: #fff; font-size: 20px; }
.text h3 { margin: 18px 0 6px; color: #fff; font-size: 17px; }
.text p { margin: 0 0 10px; }
.text details { border-top: 1px solid #2a2a2a; }
.text summary { padding: 10px 0; color: #fff; font-weight: bold; cursor: pointer; }

.foot { padding: 16px 14px 90px; background: #000; color: #777; font-size: 12px; text-align: center; }
.foot a { color: #aaa; }

/* Chat popup */
.pop { position: fixed; right: 12px; bottom: 84px; z-index: 70; display: flex; gap: 10px; width: 290px; padding: 10px; border-radius: 6px; background: #fff; color: #222; text-decoration: none; box-shadow: 0 8px 30px rgb(0 0 0 / 60%); border-left: 5px solid #d10a2c; transform: translateX(130%); transition: transform .4s; }
.pop.is-in { transform: none; }
.pop .ph { flex: none; width: 50px; height: 50px; border-radius: 50%; }
.pop-body { display: flex; flex-direction: column; font-size: 14px; }
.pop-body small { color: #1f9e1f; font-weight: normal; font-size: 11px; }
.pop-x { position: absolute; top: 2px; right: 6px; color: #999; font-size: 18px; }
.typing i { display: inline-block; width: 6px; height: 6px; margin-right: 3px; border-radius: 50%; background: #999; animation: blink .9s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgb(0 0 0 / 90%); border-top: 2px solid #d10a2c; transform: translateY(110%); transition: transform .3s; }
.sticky-cta.is-on { transform: none; }
.sticky-cta .go { max-width: 520px; margin: 0 auto; padding: 14px; font-size: 20px; }

/* Legal pages */
.page { max-width: 760px; margin: 0 auto; padding: 30px 14px 50px; color: #bbb; }
.page h1 { color: #fff; }
.page .page-sub { color: #d10a2c; }

@media (max-width: 600px) {
  .box h1 { font-size: 24px; }
  .qt { font-size: 19px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .logo { font-size: 21px; }
  .online { font-size: 12px; }
  .pop { right: 8px; left: 8px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Naughty nun theme ---------- */
body { background: #0b0b0b radial-gradient(80% 50% at 50% 0%, rgb(209 10 44 / 18%), transparent 70%) no-repeat; }
.top { border-bottom: 3px solid #d10a2c; background: #000 repeating-linear-gradient(90deg, transparent 0 46px, rgb(255 255 255 / 3%) 46px 48px); }
.box { border: 0; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 0 0 6px #d10a2c, 0 20px 50px rgb(0 0 0 / 70%); }
.veil-top { margin: -22px -20px 14px; padding: 10px 10px 8px; background: #000; color: #f2c14e; font: 400 18px/1 "Pirata One", Georgia, serif; letter-spacing: 1px; }
.box h1 { color: #000; font: 400 42px/1 "Pirata One", Georgia, serif; text-transform: none; }
.box h1 span { color: #d10a2c; }
.ages button { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 18px; line-height: 1.1; }
.ages button small { font: 700 13px Arial, sans-serif; color: #f2c14e; text-shadow: none; }
.found b, .red { color: #d10a2c; }
.mini .ph, .mini .more { box-shadow: 0 0 0 2px #d10a2c; }
.more { background: #000; border-color: #f2c14e !important; color: #f2c14e; }
.girls h2 { color: #fff; font: 400 32px/1.1 "Pirata One", Georgia, serif; text-transform: none; }
.girl { border-color: #222; }
.girl:hover { border-color: #d10a2c; }
.tag { background: #d10a2c; letter-spacing: .3px; }
.girl .tag + .meta, .meta { padding-top: 40px; }
.chat { background: rgb(0 0 0 / 75%); border: 1px solid rgb(242 193 78 / 60%); }
.text h2 { font: 400 28px/1.1 "Pirata One", Georgia, serif; }
.pop { border-left-color: #d10a2c; }
.sticky-cta { border-top-color: #d10a2c; }
@media (max-width: 600px) {
  .logo .lt { font-size: 28px; }
  .logo img { width: 38px; height: 38px; }
  .box h1 { font-size: 36px; }
  .girls h2 { font-size: 26px; }
  .tag { font-size: 10px; }
}
/* Show the nun photo above the quiz box */
.stage { padding-top: 190px; }
.bg.nun-bg { background-position: 55% 0%; background-size: cover; filter: blur(1px) brightness(.72) saturate(1.15); }
.stage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 20%, rgb(11 11 11 / 85%) 75%); pointer-events: none; }
@media (min-width: 700px) {
  .stage { padding-top: 260px; }
  .bg.nun-bg { background-position: center 10%; }
}
