/* =========================================================
   ainudegenerator.app — premium dark adult AI app-style CSS
   ========================================================= */

:root {
  --bg-0: #05050a;
  --bg-1: #080812;
  --bg-2: #0b0b14;
  --card-bg-1: rgba(255,255,255,0.04);
  --card-bg-2: rgba(255,255,255,0.06);
  --border-1: rgba(255,255,255,0.08);
  --border-2: rgba(255,255,255,0.12);
  --accent-pink: #FF3EA5;
  --accent-violet: #B84DFF;
  --accent-blue: #7C5CFF;
  --accent-pink2: #FF6EC7;
  --text-primary: #FFFFFF;
  --text-primary-2: #F5F5FA;
  --text-secondary: #B8B8C8;
  --text-muted: #77778A;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --grad-accent: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-violet) 55%, var(--accent-blue) 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-0);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(184,77,255,0.18), transparent 60%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(255,62,165,0.12), transparent 60%);
  color: var(--text-primary-2);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; }
p { margin: 0 0 14px; color: var(--text-secondary); }

.section {
  padding: 64px 0;
}

.section-tight { padding: 40px 0; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-pink2);
  margin-bottom: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255,62,165,0.35);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(184,77,255,0.45); }

.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary-2);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.09); }

.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------------- HEADER ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,5,10,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-1);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.logo {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--grad-accent);
  box-shadow: 0 0 12px var(--accent-pink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color .15s ease;
}
.site-nav a:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  width: 40px; height: 40px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.header-cta { flex-shrink: 0; }

/* ---------------- HERO ---------------- */

.hero {
  padding: 40px 0 32px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-copy { max-width: 560px; }

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--border-1);
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat strong { font-size: 18px; color: #fff; font-weight: 800; }
.hero-stat span { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }


.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  background: linear-gradient(135deg, #fff 30%, var(--accent-pink2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-pink2);
  background: rgba(255,62,165,0.1);
  border: 1px solid rgba(255,62,165,0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-mosaic .mini-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-1);
  background: var(--bg-2);
  cursor: pointer;
}
.hero-mosaic .mini-card:nth-child(2) { margin-top: 22px; }
.hero-mosaic .mini-card:nth-child(5) { margin-top: -22px; }

.hero-mosaic .mini-card img {
  width: 100%; height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
}
.hero-mosaic .mini-card .media-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: blur(16px); transform: scale(1.1); opacity: 0.4;
}

.hero-panel {
  position: relative;
  background: var(--card-bg-1);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  padding: 18px;
  backdrop-filter: blur(10px);
}
.hero-panel-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-left: 4px;
}

.mini-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 3;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  background: rgba(10,10,16,0.65);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(6px);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ---------------- FILTERS ---------------- */


.filters-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 980px;
}

.filters-row.more-row {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .25s ease, opacity .2s ease, margin .2s ease;
  margin-top: 0;
}
.filters-row.more-row.is-open {
  max-height: 200px;
  opacity: 1;
  margin-top: 4px;
}

.filter-chip {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--card-bg-1);
  border: 1px solid var(--border-1);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}
.filter-chip:hover { background: var(--card-bg-2); color: #fff; }
.filter-chip.is-active {
  background: var(--grad-accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(255,62,165,0.3);
}

.results-counter {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  margin: 24px 0 20px;
}

/* ---------------- GALLERY GRID ---------------- */


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.visual-card {
  background: var(--card-bg-1);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.visual-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
  box-shadow: 0 16px 32px rgba(0,0,0,0.4);
}
.visual-card:hover .card-overlay { opacity: 1; }
.visual-card:hover .card-media img { transform: scale(1.02); }

.visual-card.is-filtered-out,
.visual-card.is-hidden-more {
  display: none;
}

.card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #09090d;
}

.media-bg {
  position: absolute;
  inset: 0;
  background-image: var(--media-bg);
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.08);
  opacity: 0.35;
}

.card-media img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .3s ease;
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(10,10,16,0.6);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 999px;
}

.card-play {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 3;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(10,10,16,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  opacity: 0.7;
  pointer-events: none;
}


.card-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(5,5,10,0.1) 0%, rgba(5,5,10,0.75) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  opacity: 0;
  transition: opacity .2s ease;
}

.card-title-bar {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary-2);
  background: var(--bg-2);
  border-top: 1px solid var(--border-1);
}

/* ---------------- CTA STRIP ---------------- */

.cta-strip {
  margin: 28px 0;
  padding: 20px 26px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-strip p { color: var(--text-secondary); margin: 0; font-size: 14px; }
.cta-strip strong { display: block; color: #fff; font-size: 16px; margin-bottom: 2px; font-weight: 700; }
.cta-strip .btn { padding: 11px 22px; font-size: 14px; }


.load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 36px 0 8px;
}
.load-more-wrap.is-hidden-more { display: none; }

/* ---------------- WHAT YOU CAN CREATE ---------------- */

.create-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.create-card {
  background: var(--card-bg-1);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  padding: 22px;
}
.create-card h3 { font-size: 16px; color: #fff; margin-bottom: 8px; }
.create-card p { font-size: 14px; margin-bottom: 14px; }
.create-card a { font-size: 13px; font-weight: 700; color: var(--accent-pink2); }
.create-card a:hover { color: var(--accent-pink); }

/* ---------------- WHY BLOCK ---------------- */

.why-block {
  background: var(--card-bg-1);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
  list-style: none;
  padding: 0;
}
.why-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-secondary);
}
.why-list li::before {
  content: "✦";
  color: var(--accent-pink2);
  flex-shrink: 0;
}

/* ---------------- SEO BODY ---------------- */

.seo-body h2 {
  font-size: 26px;
  color: #fff;
  margin-top: 48px;
}
.seo-body h2:first-child { margin-top: 0; }
.seo-body p { font-size: 15.5px; max-width: 900px; }
.seo-body ol { color: var(--text-secondary); padding-left: 20px; }
.seo-body ol li { margin-bottom: 8px; }

/* ---------------- COMPARISON TABLE ---------------- */

.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-1);
}
table.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border-1);
}
.compare-table thead th {
  background: var(--card-bg-2);
  color: #fff;
  font-weight: 700;
}
.compare-table tbody td:first-child { color: var(--text-primary-2); font-weight: 600; }
.compare-table td.yes { color: #6bffb0; font-weight: 700; }
.compare-table td.limited { color: var(--text-muted); }
.compare-table tbody tr:last-child td { border-bottom: none; }

/* ---------------- FAQ ---------------- */

.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  background: var(--card-bg-1);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--accent-pink2);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* ---------------- FOOTER ---------------- */

.site-footer {
  border-top: 1px solid var(--border-1);
  padding: 40px 0 28px;
  background: var(--bg-1);
}
.footer-notice {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 900px;
  margin-bottom: 18px;
}
.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-1);
  padding-top: 18px;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
.section-head h2 {
  font-size: 30px;
  color: #fff;
}
.section-head p { font-size: 15.5px; }

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .create-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 100%; }
  .hero-panel { max-width: 480px; }
  .why-list { grid-template-columns: 1fr; }
}


@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .create-grid { grid-template-columns: 1fr; }
  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(5,5,10,0.97);
    border-bottom: 1px solid var(--border-1);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 16px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 36px 0 24px; }
  .hero h1 { font-size: 32px; }
  .hero-mosaic { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { gap: 18px; flex-wrap: wrap; }
  .section { padding: 44px 0; }
  .cta-strip { flex-direction: column; align-items: flex-start; text-align: left; }
  .why-block { padding: 24px; }
}

