/* AnonPics — Private. Paid. No Face. */

:root {
  --bg: #0a0a0c;
  --bg-soft: #121216;
  --surface: #18181c;
  --surface-elevated: #1e1e24;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(232, 160, 184, 0.25);
  --text: #f4f2f0;
  --text-muted: #9c98a0;
  --accent: #e8a0b8;
  --accent-dim: #c97d9a;
  --accent-glow: rgba(232, 160, 184, 0.2);
  --accent-subtle: rgba(232, 160, 184, 0.08);
  --purple: #a78bfa;
  --purple-dim: #7c5dd6;
  --radius: 12px;
  --radius-lg: 20px;
  --img-size: 160px;
  --img-size-lg: 200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@supports (padding: max(0px, env(safe-area-inset-left))) {
  body { padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); }
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: 960px;
}

@media (max-width: 480px) {
  .container,
  .container-wide { padding: 0 1rem; }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ——— Age Gate ——— */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse 90% 70% at 50% 35%, #1a0f14 0%, #0d0a0b 50%, #0a0a0c 100%);
  padding: 1.5rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.age-gate.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate-lang {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  gap: 0.35rem;
}

.gate-lang .lang-btn {
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.gate-lang .lang-btn:hover,
.gate-lang .lang-btn.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-subtle);
}

.gate-inner {
  text-align: center;
  max-width: 420px;
}

.gate-icon {
  font-family: "Outfit", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.gate-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.gate-text {
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  line-height: 1.6;
}

.gate-text strong {
  color: var(--text);
}

.gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .age-gate { padding: 1rem; padding-top: max(1rem, env(safe-area-inset-top)); }
  .gate-lang { top: max(1rem, env(safe-area-inset-top)); right: 1rem; flex-wrap: wrap; }
  .gate-icon { font-size: 2rem; }
  .gate-title { font-size: 1.65rem; }
  .gate-text { font-size: 0.95rem; margin-bottom: 1.25rem; }
  .age-gate .btn { padding: 0.85rem 1.25rem; font-size: 0.95rem; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.btn-accept {
  background: var(--accent);
  color: #0a0a0c;
}

.btn-accept:hover {
  background: var(--accent-dim);
  box-shadow: 0 0 28px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-leave {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-leave:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ——— Main Site ——— */
.main-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Locale prompt (PT detection, first visit) */
.locale-prompt {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  padding-top: max(1.5rem, env(safe-area-inset-top, 0px));
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.locale-prompt[data-open="true"] {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.locale-prompt-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.locale-prompt-inner {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 2rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4), 0 0 40px var(--accent-glow);
  text-align: center;
}

.locale-prompt-flag {
  display: block;
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.locale-prompt-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.locale-prompt-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.locale-prompt-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.locale-prompt-actions .btn { width: 100%; }

.btn-locale-no {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-locale-no:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

@media (max-width: 480px) {
  .locale-prompt-inner { padding: 1.5rem; }
  .locale-prompt-flag { font-size: 2.5rem; margin-bottom: 0.75rem; }
  .locale-prompt-title { font-size: 1.35rem; }
  .locale-prompt-desc { font-size: 0.9rem; margin-bottom: 1.25rem; }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  padding-top: max(1rem, env(safe-area-inset-top, 0px));
  background: linear-gradient(to bottom, rgba(10, 10, 12, 0.92) 0%, transparent 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent);
}

.lang-dropdown {
  position: relative;
}

.lang-trigger {
  padding: 0.4rem 0.75rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.lang-trigger:hover {
  color: var(--accent);
  border-color: var(--border-hover);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 160px;
  padding: 0.5rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  display: none;
  flex-direction: column;
  gap: 0.25rem;
}

.lang-menu.open {
  display: flex;
}

.lang-opt {
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  text-align: left;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.lang-opt:hover,
.lang-opt.active {
  color: var(--accent);
  background: var(--accent-subtle);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  transition: background 0.2s;
}

.nav-toggle:hover span {
  background: var(--accent);
}

/* Round images — base */
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.hero-img-wrap {
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 110% 85% at 25% 15%, var(--accent-glow) 0%, transparent 45%),
    radial-gradient(ellipse 85% 65% at 75% 85%, rgba(167, 139, 250, 0.1) 0%, transparent 50%),
    var(--bg);
  pointer-events: none;
}

.hero-imgs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-img-wrap {
  position: absolute;
  width: var(--img-size-lg);
  height: var(--img-size-lg);
  border: 3px solid rgba(232, 160, 184, 0.2);
  box-shadow: 0 0 40px var(--accent-glow);
}

.hero-img-1 { top: 18%; right: 8%; }
.hero-img-2 { top: 45%; right: 18%; width: 140px; height: 140px; }
.hero-img-3 { bottom: 20%; right: 5%; width: 120px; height: 120px; }

@media (min-width: 900px) {
  .hero-img-1 { width: 220px; height: 220px; right: 12%; top: 15%; }
  .hero-img-2 { width: 180px; height: 180px; right: 22%; top: 42%; }
  .hero-img-3 { width: 150px; height: 150px; right: 10%; bottom: 18%; }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-tag {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 1.25rem;
  color: var(--text);
  word-break: break-word;
}

.hero-desc {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 0 2rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
  color: #0a0a0c;
}

.btn-primary:hover {
  box-shadow: 0 0 36px var(--accent-glow);
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 640px;
  margin: -1.5rem auto 2.5rem;
  text-align: center;
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 1rem;
  text-align: center;
  color: var(--text);
}

/* How it works */
.how {
  padding: 5rem 0;
  background: var(--bg-soft);
}

.steps {
  display: grid;
  gap: 2rem;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.step:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 32px var(--accent-glow);
}

.step-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.step h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

.step p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* Safety */
.safety {
  padding: 5rem 0;
}

.safety-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.safety-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.safety-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 28px var(--accent-glow);
}

.safety-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

.safety-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.safety-summary {
  padding: 1.75rem 2rem;
  background: var(--accent-subtle);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  text-align: center;
}

.safety-summary-text {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 500;
}

/* Trust */
.trust {
  padding: 5rem 0;
  background: var(--bg-soft);
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.trust-list li:last-child {
  border-bottom: none;
}

.trust-list .check {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* FAQ */
.faq {
  padding: 5rem 0;
}

.faq-list {
  max-width: 640px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  min-height: 48px;
  padding: 1.1rem 1rem 1.1rem 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.faq-q:hover {
  color: var(--accent);
}

.faq-q::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a p {
  margin: 0;
  padding: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.open .faq-a {
  max-height: 800px;
}

/* CTA */
.cta {
  padding: 5rem 0 6rem;
  background: var(--bg-soft);
  text-align: center;
  position: relative;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta-desc {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.cta .section-title {
  margin-top: 0;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-tag {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.85;
  margin: 0;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(280px, 85vw);
  max-width: 100%;
  padding: 4rem 1.5rem 1.5rem;
  padding-top: max(4rem, calc(3rem + env(safe-area-inset-top, 0px)));
  padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  background: var(--surface-elevated);
  border-left: 1px solid var(--border);
  flex-direction: column;
  gap: 0.5rem;
  z-index: 90;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--accent);
}

.lang-menu-mobile {
  position: static;
  min-width: auto;
  padding: 0;
  margin-top: 1rem;
  background: transparent;
  border: none;
  box-shadow: none;
  flex-direction: column;
  gap: 0.25rem;
}

.lang-menu-mobile .lang-opt {
  text-align: left;
}

/* Responsive */
@media (max-width: 900px) {
  .nav,
  .lang-dropdown {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header { padding-left: 1rem; padding-right: 1rem; }
  .logo { font-size: 1.35rem; }

  .hero {
    padding: 5rem 0 4rem;
    padding-top: max(5rem, calc(4rem + env(safe-area-inset-top, 0px)));
  }
  .hero-img-1,
  .hero-img-2,
  .hero-img-3 {
    width: 88px;
    height: 88px;
  }
  .hero-img-2 { right: 10%; }
  .hero-img-3 { right: 2%; bottom: 25%; }
  .hero-tag { font-size: 0.75rem; letter-spacing: 0.12em; }
  .hero-desc { margin-bottom: 1.5rem; }

  .how,
  .safety,
  .trust,
  .faq { padding: 3.5rem 0; }
  .cta { padding: 3.5rem 0 4.5rem; padding-bottom: max(4.5rem, calc(3rem + env(safe-area-inset-bottom, 0px))); }
  .steps { gap: 1.25rem; }
  .step { padding: 1.25rem; }
  .safety-grid { gap: 1.25rem; margin-bottom: 1.75rem; }
  .safety-card { padding: 1.25rem; }
  .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .section-lead { font-size: 0.95rem; margin-bottom: 1.75rem; }
}

@media (max-width: 480px) {
  .hero-img-1,
  .hero-img-2,
  .hero-img-3 { width: 72px; height: 72px; }
  .hero-img-1 { right: 4%; top: 12%; }
  .hero-img-2 { right: 8%; top: 40%; }
  .hero-img-3 { right: 2%; bottom: 22%; }
  .how,
  .safety,
  .trust,
  .faq { padding: 2.5rem 0; }
  .cta { padding: 2.5rem 0 3.5rem; padding-bottom: max(3.5rem, calc(2rem + env(safe-area-inset-bottom, 0px))); }
  .step { padding: 1rem; }
  .safety-card { padding: 1rem; }
  .safety-summary { padding: 1rem 1.25rem; }
  .btn-large { min-height: 52px; padding: 1rem 1.5rem; }
  .site-footer { padding: 1.5rem 0; padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 640px) {
  .section-lead {
    margin-top: -1rem;
  }

  .safety-summary {
    padding: 1.25rem 1.25rem;
  }
}

@media (min-width: 601px) {
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 901px) {
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
}
