:root {
  --bg: #0b0f17;
  --bg-alt: #111827;
  --card: #151c29;
  --card-alt: #1f2937;
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --primary: #0077B6;
  --primary-strong: #00a4f0;
  --secondary: #90E0EF;
  --accent: #ff4d8d;
  --accent-strong: #ffd54a;
  --danger: #ef4444;
  --success: #22c55e;
  --border: rgba(148, 163, 184, 0.2);
  --shadow: 0 24px 60px rgba(5, 10, 20, 0.4);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section-text {
  color: var(--text-muted);
}

.flag-fr {
  display: inline-block;
  width: 18px;
  height: 12px;
  margin-right: 8px;
  border-radius: 3px;
  background: linear-gradient(90deg, #0055A4 0 33%, #ffffff 33% 66%, #EF4135 66%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  vertical-align: middle;
}

.logo-flag {
  margin-left: 6px;
  margin-right: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 11, 20, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo span {
  color: var(--secondary);
}

.logo-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(0, 119, 182, 0.6);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link-row > a {
  font-weight: 600;
  padding: 8px 0;
}

.dropdown-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  min-width: 220px;
  display: none;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow);
  z-index: 1000;
  max-height: 60vh;
  overflow-y: auto;
}

.nav-item.is-open .dropdown-menu,
.nav-item:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  color: var(--text);
  font-size: 0.92rem;
}

.dropdown-more {
  color: var(--secondary);
  font-weight: 600;
}

.dropdown-tags {
  min-width: 260px;
}

.hero {
  padding: 56px 0 32px;
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  font-size: clamp(2rem, 2vw + 1.4rem, 3rem);
  margin: 12px 0;
}

.hero-copy p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.hero-stats article {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  border: 1px solid var(--border);
}

.hero-stats strong {
  font-size: 1.4rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 119, 182, 0.2);
  color: var(--secondary);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.fr-flag-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--secondary);
  font-weight: 600;
  margin: 12px 0 18px;
}

.roulette-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(255, 77, 141, 0.25), rgba(0, 164, 240, 0.3));
  color: #ffd3e5;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  box-shadow: 0 0 12px rgba(255, 77, 141, 0.25);
}

.roulette-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.roulette-title-row h2 {
  margin: 0;
  font-size: 1.5rem;
}

.roulette-head p {
  color: rgba(255, 255, 255, 0.7);
  margin: 12px 0 16px;
}

.roulette-btn {
  background: linear-gradient(130deg, #ff3b6a, #ffd54a);
  border: none;
  color: #111827;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(255, 77, 141, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 141, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(255, 77, 141, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 141, 0); }
}

.roulette-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(255, 77, 141, 0.45);
}

.roulette-btn:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

.roulette-btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.roulette-btn-secondary {
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 999px;
}

.roulette-card {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(13, 18, 28, 0.85);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 40px rgba(5, 10, 20, 0.45), 0 0 20px rgba(255, 77, 141, 0.15);
  padding: 12px;
}

.roulette-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.roulette-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  min-height: 180px;
}

.roulette-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.roulette-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roulette-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.roulette-live {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.95);
  color: #0b0f17;
  font-weight: 700;
}

.roulette-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.roulette-tags a {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
}

.roulette-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.roulette-empty {
  margin-top: 12px;
  color: var(--text-muted);
  display: none;
}

.hero-roulette {
  min-width: 0;
  max-width: 100%;
}

.hero-roulette .roulette-card,
.hero-roulette .roulette-thumb,
.hero-roulette .roulette-body {
  max-width: 100%;
}

.listing {
  padding: 40px 0;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: 1.9rem;
  margin: 0;
}

.section-heading p {
  color: var(--text-muted);
  margin: 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.cards-grid-reco {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.camgirl-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  display: block;
  min-height: 320px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.camgirl-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.thumb-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  background: #0b0f17;
}

.thumb-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.img-fallback {
  display: grid;
  place-items: center;
  height: 280px;
  background: #0f172a;
  color: var(--text-muted);
  text-align: center;
  padding: 10px;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-body h3 {
  margin: 0;
  font-size: 1.05rem;
}

.meta-line {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.platform-link {
  color: var(--secondary);
  font-weight: 600;
}

.tag-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list a {
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.model-info .tag-list {
  margin-bottom: 18px;
}

.live-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
  color: #0b0f17;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.live-badge.is-live {
  background: #22c55e;
}

.live-badge.is-off {
  background: #ef4444;
  color: #fff;
}

.empty-state {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  padding: 32px;
  text-align: center;
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.tag-chip {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.tag-chip strong {
  color: var(--secondary);
}

.top-tags .tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.top-tags .tag-chip {
  background: rgba(144, 224, 239, 0.12);
  border: 1px solid rgba(144, 224, 239, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.top-tags .tag-chip strong {
  background: rgba(0, 119, 182, 0.3);
  color: var(--secondary);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.info-block {
  padding: 40px 0;
}

.text-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
}

.accordion-content {
  max-height: 4.8em;
  overflow: hidden;
  position: relative;
}

.accordion.is-open .accordion-content {
  max-height: 1000px;
}

.accordion-toggle {
  margin-top: 12px;
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
  font-weight: 600;
}

.accordion-arrow {
  display: inline-block;
  margin-left: 4px;
}

.site-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-pill {
  background: rgba(144, 224, 239, 0.1);
  border: 1px solid rgba(144, 224, 239, 0.3);
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--secondary);
  font-weight: 600;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 30px;
}

.pagination a,
.pagination span {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text);
}

.pagination a.is-active {
  background: var(--primary);
  border-color: var(--primary);
}

.pagination-ellipsis {
  padding: 8px 6px;
  color: var(--text-muted);
}

.top-tags {
  padding: 40px 0;
}

.sites {
  padding: 40px 0 60px;
}

.directory-hero {
  padding: 56px 0 36px;
  background: radial-gradient(circle at top left, rgba(0, 119, 182, 0.18), transparent 55%);
}

.directory-hero .chip {
  margin-bottom: 10px;
}

.directory-listing {
  padding: 40px 0 70px;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.directory-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 230px;
  box-shadow: 0 16px 40px rgba(5, 10, 20, 0.28);
}

.directory-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.directory-card p {
  color: var(--text-muted);
  margin: 0;
}

.directory-meta {
  display: flex;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.directory-action {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.directory-action:hover {
  background: var(--primary-strong);
}

.model-hero {
  padding: 40px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.model-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
}

.model-image-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.model-image-wrap img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.model-head h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.model-subtitle {
  color: var(--text-muted);
}

.model-meta-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 12px;
}

.model-meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-muted);
}

.model-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.model-reco {
  padding: 20px 0 60px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 20px;
  background: #070b12;
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-brand p {
  color: var(--text-muted);
}

.footer-fr {
  margin-top: 12px;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-badge {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
}

.footer-col h3 {
  margin-top: 0;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-count {
  margin-left: 6px;
  color: var(--secondary);
}

.footer-bottom {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-roulette {
    max-width: 100%;
  }
  .cards-grid-reco {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    right: 4%;
    background: #0b1220;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    flex-direction: column;
    gap: 16px;
    display: none;
    min-width: 220px;
    max-width: 92vw;
  }
  .main-nav.is-open {
    display: flex;
  }
  .dropdown-menu {
    position: static;
    padding: 10px 0 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }
  .nav-item.is-open .dropdown-menu {
    display: flex;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1200px, 94%);
  }
  .hero {
    padding: 40px 0 24px;
  }
  .hero-copy {
    padding: 0 10px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid-reco {
    grid-template-columns: 1fr;
  }
  .thumb-wrap img,
  .img-fallback {
    height: 240px;
  }
  .model-image-wrap img {
    height: 260px;
  }
}

@media (max-width: 520px) {
  .hero-roulette {
    padding: 0 8px;
  }
  .roulette-card {
    padding: 10px;
  }
  .roulette-thumb {
    min-height: 160px;
  }
  .roulette-actions {
    flex-direction: column;
  }
  .roulette-btn-primary,
  .roulette-btn-secondary {
    width: 100%;
    text-align: center;
  }
}