/*
Theme Name: PornSpritze Clean Simple
Theme URI: https://porn-spritze.com/
Author: OpenAI
Description: Sauberes WordPress-Theme ohne obere Seitenliste, mit täglicher 18+-Abfrage und normal bearbeitbarer Startseite.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: pornspritze
*/

:root{
  --bg:#090909;
  --panel:#121212;
  --panel2:#181818;
  --line:#2a2a2a;
  --text:#f5f5f5;
  --muted:#b8b8b8;
  --accent:#ff4141;
  --accent2:#b61616;
  --max:1280px;
  --radius:18px;
  --shadow:0 20px 50px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:linear-gradient(180deg,#070707 0%, #0c0c0c 100%);
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.65;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent);text-decoration:none;transition:.2s ease}
a:hover{color:#fff}
.container{width:min(calc(100% - 28px),var(--max));margin:0 auto}
.site-shell{min-height:100vh;display:flex;flex-direction:column}

.site-header{
  position:sticky;top:0;z-index:90;
  background:rgba(10,10,10,.96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.site-header__inner{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:18px;
  align-items:center;
  padding:16px 0;
}
.site-branding{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.site-logo-text{
  font-size:clamp(1.6rem,2.2vw,2.3rem);
  font-weight:800;
  letter-spacing:-.03em;
  color:#fff;
  white-space:nowrap;
}
.site-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:46px;
  height:46px;
  padding:0 12px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#fff;
  font-weight:800;
}
.primary-nav .menu,
.primary-fallback{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}
.primary-nav a,
.primary-fallback a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 14px;
  border-radius:999px;
  color:#f5f5f5;
  font-weight:700;
}
.primary-nav a:hover,
.primary-fallback a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a{
  background:rgba(255,65,65,.12);
  color:#fff;
}
.site-search{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.site-search__input{
  width:250px;
  min-height:42px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#111;
  color:#fff;
  padding:0 16px;
}
.site-search__input:focus{outline:none;border-color:var(--accent)}
.site-search__button,
.button-link,
.wp-block-button__link,
button,
input[type="submit"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 18px;
  border:0;
  border-radius:999px;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#fff;
  font-weight:800;
  cursor:pointer;
  box-shadow:var(--shadow);
}
.site-search__button:hover,
.button-link:hover,
.wp-block-button__link:hover{color:#fff;transform:translateY(-1px)}

.site-content{flex:1;padding:28px 0 40px}
.page-entry,.single-entry,.archive-head,.empty-state{
  background:var(--panel);
  border:1px solid rgba(255,255,255,.06);
  border-radius:22px;
  padding:26px;
  box-shadow:var(--shadow);
}
.entry-title,.archive-title{margin:0 0 14px;font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.08;color:#fff}
.entry-content > *:first-child{margin-top:0}
.entry-content h2,.entry-content h3,.entry-content h4{color:#fff}
.entry-content p,.entry-content li{color:#d7d7d7}
.posts-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
}
.card{
  background:linear-gradient(180deg,#171717,#101010);
  border:1px solid rgba(255,255,255,.06);
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.card__thumb{
  aspect-ratio:16/9;
  background:linear-gradient(135deg,#1b1b1b,#0e0e0e);
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:800;
  padding:18px;
  text-align:center;
}
.card__body{padding:18px}
.card__meta{display:flex;flex-wrap:wrap;gap:8px 12px;color:var(--muted);font-size:.9rem;margin-bottom:8px}
.card__title{margin:0 0 8px;font-size:1.18rem}
.card__title a{color:#fff}
.card__text{margin:0;color:#d0d0d0}
.pagination-wrap{margin-top:24px}
.nav-links{display:flex;gap:12px;flex-wrap:wrap}
.page-numbers{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:44px;height:44px;border-radius:999px;
  background:var(--panel2);border:1px solid rgba(255,255,255,.06);color:#fff
}
.page-numbers.current{background:rgba(255,65,65,.18)}

.site-footer{
  margin-top:auto;
  background:#0b0b0b;
  border-top:1px solid rgba(255,255,255,.06);
}
.site-footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  padding:24px 0;
}
.site-footer__copy{margin:0;color:var(--muted)}
.site-footer__links{display:flex;gap:18px;flex-wrap:wrap}

.screen-reader-text{
  position:absolute !important;
  width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* Age gate */
.ps-age-lock{overflow:hidden !important}
#ps-age-gate{
  position:fixed;inset:0;z-index:999999;
  display:none;align-items:center;justify-content:center;
  padding:20px;background:rgba(0,0,0,.88);backdrop-filter:blur(8px);
}
#ps-age-gate.is-visible{display:flex}
.ps-age-box{
  width:100%;max-width:560px;padding:30px;
  background:linear-gradient(180deg,#161616,#0d0d0d);
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  box-shadow:0 25px 70px rgba(0,0,0,.45);
  text-align:center;color:#fff;
}
.ps-age-badge{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:82px;height:82px;padding:0 18px;border-radius:999px;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  font-size:1.9rem;font-weight:900;margin-bottom:18px;
}
.ps-age-title{margin:0 0 12px;font-size:2.2rem;line-height:1.1}
.ps-age-text{margin:0 0 22px;color:#dfdfdf}
.ps-age-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.ps-age-note{margin-top:14px;color:#b8b8b8;font-size:.9rem}

@media (max-width:1040px){
  .site-header__inner{grid-template-columns:1fr}
}
@media (max-width:760px){
  .site-search{width:100%}
  .site-search__input{width:100%}
  .page-entry,.single-entry,.archive-head,.empty-state{padding:20px}
  .site-footer__inner{flex-direction:column;align-items:flex-start}
}
