
/* Consistent premium interaction design */
:root{--ui-pink:#f18bdb;--ui-purple:#ab72ee;--ui-edge:rgba(230,166,255,.29)}
html{scroll-padding-top:105px;scrollbar-color:#8950af #110d19}
body{overflow-x:hidden}
button,a,input{transition:background-color .22s ease,color .22s ease,border-color .22s ease,box-shadow .22s ease,transform .22s ease,opacity .22s ease}
button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #f2b6ff!important;outline-offset:3px!important}
/* Single border on the search shell; remove browser-native input outline */
.search-glass .search{display:flex!important;align-items:center!important;gap:11px!important;min-height:52px!important;padding:0 18px!important;border:1px solid #c990f064!important;border-radius:999px!important;background:#100d1ddc!important;box-shadow:inset 0 1px #ffffff12!important;transition:border-color .2s,box-shadow .2s!important}
.search-glass .search:focus-within{border-color:#ed9ce8!important;box-shadow:0 0 0 3px #d479e622,inset 0 1px #ffffff1c!important}
.search-glass .search input,.search-glass .search input:focus,.search-glass .search input:active{display:block!important;width:100%!important;min-width:0!important;flex:1!important;padding:0!important;margin:0!important;height:44px!important;line-height:44px!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;appearance:none!important;-webkit-appearance:none!important;color:#fff!important;border-radius:0!important}
.search-glass .search input::-webkit-search-decoration,.search-glass .search input::-webkit-search-cancel-button{appearance:none}
.search-glass .search span{line-height:1!important;flex-shrink:0}
/* Category chips: glass pills, tactile feedback, no underlines or pseudo borders */
#categories{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;border:0!important;box-shadow:none!important;background:transparent!important;overflow:visible!important}
#categories:before,#categories:after,#categories button:before,#categories button:after{content:none!important;display:none!important}
#categories button.chip{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:10px 19px!important;border:1px solid #d9a4ef35!important;border-radius:999px!important;background:linear-gradient(145deg,#35223e,#24172e)!important;color:#e8dcef!important;font-size:12px!important;font-weight:650!important;line-height:1.2!important;white-space:nowrap!important;text-decoration:none!important;box-shadow:inset 0 1px #ffffff16,0 3px 12px #0003!important;transform:translateZ(0)!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease!important}
#categories button.chip:hover{transform:translateY(-2px)!important;border-color:#e9a8f59c!important;box-shadow:inset 0 1px #ffffff27,0 7px 20px #c458e630!important}
#categories button.chip.active{color:#fff!important;background:linear-gradient(115deg,#f17bc9,#8e53df)!important;border-color:#f5c0ffb5!important;box-shadow:0 0 22px #d56aff55,inset 0 1px #ffffff6b!important}
#categories button.chip:active{transform:scale(.96)!important}
/* Navigation and controls */
.nav-links a{position:relative;transition:color .24s ease,transform .24s ease!important}
.nav-links a:hover{color:#ffc3ef!important;transform:translateY(-1px)}
.nav-links a:after{content:'';position:absolute;bottom:-6px;left:50%;width:0;height:2px;background:linear-gradient(90deg,#ff8ac9,#ae78ff);border-radius:3px;transform:translateX(-50%);transition:width .25s ease}
.nav-links a:hover:after,.nav-links a:focus-visible:after{width:75%}
.nav-actions .auth-link:hover,.nav-actions .nav-join:hover{transform:translateY(-2px);box-shadow:0 8px 22px #df8de355!important}
.drop-filter:hover,.sort-trigger:hover,.sort-options button:hover{transform:translateY(-1px)}
.sort-options button:focus-visible{outline-offset:-2px!important}
/* Footer shared across all pages */
.legal-footer{position:relative;margin-top:76px;border-top:1px solid #db9ff52c;background:linear-gradient(180deg,#140d1d,#0a0810);color:#bcb0c8}
.legal-footer-inner{width:min(1200px,calc(100% - 48px));margin:auto;padding:28px 0 34px}
.legal-footer-top,.legal-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.legal-footer-top{padding-bottom:20px;border-bottom:1px solid #ffffff14}
.legal-footer-brand{font-weight:850;font-size:21px;color:#f4e9fc;letter-spacing:-.8px}
.legal-footer-brand:hover{color:#f6a0e4}
.legal-footer-top>span{font-size:12px;color:#a699b4}
.legal-footer-bottom{padding-top:21px;font-size:12px}
.legal-footer-bottom nav{display:flex;align-items:center;flex-wrap:wrap;gap:21px}
.legal-footer-bottom a:hover{color:#f3a1e4}
.legal-footer-bottom small{color:#8f839c}
/* Legal pages */
.legal-layout{width:min(860px,calc(100% - 36px));margin:0 auto;padding:72px 0 0}
.legal-back{display:inline-flex;color:#d7b6ed;font-size:13px;margin-bottom:42px}
.legal-kicker{font-size:11px;font-weight:800;letter-spacing:2px;color:#e99cde}
.legal-layout h1{font-size:clamp(38px,6vw,65px);line-height:1.05;letter-spacing:-.055em;margin:14px 0;background:linear-gradient(95deg,#fff,#f48dd1,#ae8aff);color:transparent;background-clip:text}
.legal-intro{font-size:16px;color:#baafc6;line-height:1.7;margin:0 0 30px}
.legal-document{border:1px solid #d6a2f43b;border-radius:24px;padding:clamp(22px,4vw,45px);background:linear-gradient(145deg,#24182fbd,#120e1add);box-shadow:0 15px 50px #0004,inset 0 1px #ffffff15}
.legal-section{padding:0 0 22px;margin-bottom:25px;border-bottom:1px solid #ffffff15}
.legal-section:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.legal-section h2{font-size:20px;margin:0 0 10px;color:#f7ebff;letter-spacing:-.4px}
.legal-section p{font-size:14px;line-height:1.85;color:#bdb0c9;margin:0}
.legal-contact a{color:#f2a4e9;text-decoration:underline;text-underline-offset:3px}
@media(max-width:620px){.legal-footer-top,.legal-footer-bottom{align-items:flex-start;flex-direction:column}.legal-footer-bottom nav{gap:14px}.search-glass .search{width:100%!important;flex-basis:100%!important}.nav-links a:after{display:none}}
@media(prefers-reduced-motion:reduce){button,a,input{transition:none!important}.nav-links a:after{transition:none!important}}

/* WRVTHFUL-inspired legal page hierarchy, adapted to onlynsfw.vip's purple glass system */
.legal-layout{width:min(900px,calc(100% - 36px));padding-top:64px}
.legal-back{margin:22px 0 30px;padding:10px 0;transition:color .22s ease,transform .22s ease}
.legal-back:hover{color:#ff9cde;transform:translateX(-3px)}
.legal-date-pill{display:inline-flex;align-items:center;padding:11px 17px;border:1px solid #bd73e46b;background:linear-gradient(110deg,#442048,#31133f);border-radius:999px;color:#ffb3e5;letter-spacing:.14em;font-size:11px;font-weight:850;box-shadow:0 0 24px #c957d221}
.legal-layout h1{margin-top:19px}
.legal-intro{max-width:750px}
.legal-document{background:linear-gradient(135deg,#20172ed9,#100e19f0);border-color:#b478d54a}
.legal-section{padding-bottom:27px;margin-bottom:27px}
.legal-section h2{font-size:21px;margin-bottom:13px}
.legal-section p{margin:0 0 11px;line-height:1.8}
.legal-section p:last-child{margin-bottom:0}
.legal-section ul{padding-left:22px;margin:0;color:#c5b9d1;font-size:14px;line-height:1.85}
.legal-section li{padding-left:3px;margin:9px 0}
.legal-section li::marker{color:#dd85d9}
.legal-section li p{display:inline}
.legal-section a{color:#f3a5e3;text-decoration:underline;text-underline-offset:4px}
.legal-footer a{transition:color .2s ease}
@media(max-width:600px){.legal-layout{padding-top:30px}.legal-date-pill{font-size:10px;letter-spacing:.07em}.legal-document{padding:24px 19px}}

/* Legal pages use the same floating global navbar as the home page. */
body:has(.legal-layout) .legal-layout{padding-top:clamp(122px,13vw,154px)!important;}
body:has(.legal-layout) .legal-date-pill{margin-top:0}
@media(max-width:600px){body:has(.legal-layout) .legal-layout{padding-top:125px!important}}

/* Community invitation + travelling light effect */
.join-community{position:relative;isolation:isolate;margin-top:80px;padding:95px 20px 82px;text-align:center;overflow:hidden;border-top:1px solid #ffffff12;border-bottom:1px solid #ffffff16;background:radial-gradient(ellipse 60% 80% at 50% 58%,#8b245327 0%,#3b123022 42%,transparent 78%),#09070e}
.join-community-inner{position:relative;z-index:1;max-width:680px;margin:auto}
.join-community-eyebrow{margin:0 0 18px;color:#f79cce;letter-spacing:.24em;font-size:11px;font-weight:800}
.join-community h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(39px,5vw,62px);line-height:1.04;letter-spacing:-.03em;color:#fff;margin:0 0 22px}
.join-community h2 span{color:#f6d2ef}
.join-community-description{max-width:610px;margin:0 auto 30px;color:#c0b4c8;font-size:clamp(15px,1.7vw,18px);line-height:1.6}
.join-community-button{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;overflow:hidden;isolation:isolate;max-width:450px;min-height:64px;margin:0 auto;padding:14px 22px;border-radius:999px;background:#fff;color:#141016!important;text-decoration:none!important;font-size:19px;font-weight:900;letter-spacing:.015em;box-shadow:0 13px 40px #ed79c12c;transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s ease}
.join-community-button:hover{transform:translateY(-3px);box-shadow:0 18px 52px #f37dc64c}
.join-community-note{margin:17px 0 0;color:#a89db1;font-size:12px}
.nav-join{position:relative;overflow:hidden;isolation:isolate}
.join-community-button::before,.nav-join::before{content:'';position:absolute;z-index:0;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 24%,#ffffff00 38%,#cbb3d5b8 49%,#ffffff00 60%,transparent 74%);transform:translateX(-160%);animation:join-shimmer 3.7s ease-in-out infinite}
.join-community-button>*,.nav-join>*{position:relative;z-index:1}
.nav-join::before{background:linear-gradient(110deg,transparent 20%,#fff0 36%,#d3a9e9b8 50%,#fff0 64%,transparent 80%)}
@keyframes join-shimmer{0%,17%{transform:translateX(-170%)}64%,100%{transform:translateX(170%)}}
@media(max-width:600px){.join-community{padding:68px 18px 65px;margin-top:55px}.join-community-button{font-size:16px;min-height:58px}.join-community-eyebrow{font-size:10px}}
@media(prefers-reduced-motion:reduce){.join-community-button::before,.nav-join::before{animation:none}.join-community-button,.nav-join{transition:none}}

/* Discord logo and brand-name polish */
.join-community-button svg,.nav-join svg{display:block;flex:0 0 auto;width:23px;height:23px;fill:currentColor;stroke:none;transform:none!important;filter:none!important}
.nav-join svg{width:18px;height:18px}
.join-community-button{display:inline-flex;align-items:center;justify-content:center;gap:13px;isolation:isolate}
.join-community-button span{position:relative;z-index:1;white-space:nowrap;letter-spacing:.015em}
.join-community h2{letter-spacing:-.025em}
@media(max-width:480px){.join-community-button{gap:10px}.join-community-button span{font-size:clamp(14px,4vw,19px)}}

/* Join section transition and neutral white shimmer refinement */
body:has(.join-community) {background:#09070e}
.join-community{margin-top:0!important; padding-top:clamp(100px,12vw,180px)!important;padding-bottom:clamp(90px,11vw,155px)!important;border-top:0!important;border-bottom:0!important;background:radial-gradient(ellipse 55% 48% at 50% 53%,rgba(98,20,48,.18),transparent 80%),linear-gradient(180deg,#100b17 0%,#09070e 22%,#060507 48%,#09070e 78%,#100b17 100%)!important;box-shadow:none!important}
.join-community::after{content:'';position:absolute;pointer-events:none;inset:0;background:linear-gradient(180deg,transparent 0%,#05040611 50%,transparent 100%);z-index:0}
.join-community+.legal-footer{margin-top:0!important;border-top:1px solid rgba(230,181,255,.10)!important;background:linear-gradient(180deg,#100b17 0%,#130d1c 100%)!important}
.join-community-button,.nav-join{background:#fff!important;color:#101013!important;overflow:hidden!important;isolation:isolate}
.join-community-button{box-shadow:0 10px 40px rgba(255,255,255,.08)!important}
.join-community-button:hover{box-shadow:0 15px 55px rgba(255,255,255,.15)!important}
.join-community-button::before,.nav-join::before{content:''!important;position:absolute!important;inset:-25% 0!important;z-index:0!important;pointer-events:none!important;background:linear-gradient(105deg,transparent 0%,transparent 35%,rgba(255,255,255,.06) 43%,rgba(255,255,255,.95) 50%,rgba(255,255,255,.06) 57%,transparent 65%,transparent 100%)!important;transform:translateX(-155%) skewX(-15deg);animation:onlynsfw-white-sweep 3.8s cubic-bezier(.28,.1,.2,1) infinite!important;mix-blend-mode:difference;opacity:.85}
.join-community-button>*,.nav-join>*{position:relative;z-index:1}
@keyframes onlynsfw-white-sweep{0%,16%{transform:translateX(-155%) skewX(-15deg)}66%,100%{transform:translateX(155%) skewX(-15deg)}}
@media(max-width:600px){.join-community{padding-top:90px!important;padding-bottom:85px!important}}
@media(prefers-reduced-motion:reduce){.join-community-button::before,.nav-join::before{animation:none!important;opacity:0!important}}

/* Crisp vector feature icons with subtle continuous motion and hover response */
.stat-icon,.search-icon{position:relative;isolation:isolate;overflow:hidden;transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s ease;box-shadow:0 9px 25px #c461e845,inset 0 1px #ffffff4a}
.stat-icon:before,.search-icon:before{content:"";position:absolute;inset:-45%;background:conic-gradient(from 0deg,transparent 0 45%,#ffffff35 55%,transparent 65%);animation:icon-halo 7s linear infinite;z-index:-1}
.feature-svg{width:25px;height:25px;display:block;flex:none;filter:drop-shadow(0 2px 5px #ffffff36);transition:transform .45s cubic-bezier(.2,.8,.2,1);animation:icon-float 4s ease-in-out infinite}
.stat-icon-verified .feature-svg{animation-delay:-1.2s}.stat-icon-premium .feature-svg{animation-delay:-2.3s}.search-icon .feature-svg{animation-delay:-.6s}
.stat-glass:hover .stat-icon,.search-glass:hover .search-icon{transform:translateY(-3px) rotate(-3deg);box-shadow:0 12px 28px #e270f87c,inset 0 1px #ffffff55}
.stat-glass:hover .feature-svg,.search-glass:hover .search-icon .feature-svg{transform:scale(1.13) rotate(6deg)}
.search-inline-icon{display:inline-flex;align-items:center;justify-content:center;color:#d9a9f5;flex-shrink:0}
.search-inline-icon .feature-svg{width:19px;height:19px;animation:none;filter:none}
.search-glass .search:focus-within .search-inline-icon{color:#fff}
@keyframes icon-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes icon-halo{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.feature-svg,.stat-icon:before,.search-icon:before{animation:none!important}}

/* Home: give the VIP membership panel breathing room before the community CTA.
   Only affects the home page's membership section; card visuals stay intact. */
#main:has(> #memberships){padding-bottom:clamp(48px,6vw,88px)!important;}
@media(max-width:650px){#main:has(> #memberships){padding-bottom:48px!important;}}

/* Membership: premium account access action */
#memberships .section-top .member-only-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 12px 20px; border-radius: 14px;
  color: #fff; font-weight: 800; letter-spacing: .025em; text-decoration: none;
  background: linear-gradient(115deg, #ae3eec 0%, #e64caf 55%, #b645ef 100%);
  border: 1px solid rgba(255,205,255,.48);
  box-shadow: 0 5px 24px rgba(205,57,200,.29), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
#memberships .section-top .member-only-link[hidden] { display: none !important; }
#memberships .section-top .member-only-link:hover {
  transform: translateY(-2px); filter: brightness(1.1);
  box-shadow: 0 8px 32px rgba(219,68,205,.46), inset 0 1px 0 rgba(255,255,255,.3);
}
#memberships .section-top .member-only-link:focus-visible {
  outline: 3px solid #f6c8ff; outline-offset: 3px;
}
@media(max-width: 560px) {
  #memberships .section-top .member-only-link { padding: 11px 15px; font-size: 13px; }
}
