/* ═══════════════════════════════════════════════════════════════
   BEST PORN GENERATOR — Premium Purple/Gold Design System 2026
   ═══════════════════════════════════════════════════════════════ */

:root {
  --color-primary: #7c3aed;
  --color-primary-hover: #6d28d9;
  --color-primary-light: #a78bfa;
  --color-primary-ultra-light: #c4b5fd;
  --color-accent: #fbbf24;
  --color-accent-hover: #f59e0b;
  --color-accent-deep: #d97706;
  --color-gradient-from: #7c3aed;
  --color-gradient-to: #6d28d9;
  --color-accent-gradient-from: #fbbf24;
  --color-accent-gradient-to: #f59e0b;
  --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-card: 1.25rem;
  --radius-pill: 9999px;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════
   GLASS CARD SYSTEM
   ═══════════════════════════════════════ */

.glass-card {
  background: rgba(18, 18, 26, 0.55);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-card);
  transition: var(--transition-smooth);
  position: relative;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  background: radial-gradient(ellipse at top left, rgba(124, 58, 237, 0.06), transparent 60%);
  pointer-events: none;
  transition: opacity 0.4s;
  opacity: 0;
}

.glass-card:hover {
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow:
    0 12px 40px rgba(124, 58, 237, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: translateY(-6px);
}

.glass-card:hover::before {
  opacity: 1;
}

/* ═══════════════════════════════════════
   GOLD CROWN — #1 Card Treatment
   ═══════════════════════════════════════ */

.card-crown {
  background: rgba(18, 18, 26, 0.55);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 2px solid rgba(251, 191, 36, 0.25);
  border-radius: var(--radius-card);
  position: relative;
  overflow: visible;
  box-shadow:
    0 0 60px rgba(251, 191, 36, 0.06),
    0 0 100px rgba(124, 58, 237, 0.04);
  transition: var(--transition-smooth);
}

.card-crown::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-card);
  padding: 2px;
  background: linear-gradient(135deg, #fbbf24, #7c3aed, #fbbf24, #a78bfa);
  background-size: 300% 300%;
  animation: gradient-shift 4s ease infinite;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.card-crown::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  background: radial-gradient(ellipse at top center, rgba(251, 191, 36, 0.06), transparent 55%);
  pointer-events: none;
}

.card-crown:hover {
  box-shadow:
    0 0 80px rgba(251, 191, 36, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 120px rgba(124, 58, 237, 0.08);
  transform: translateY(-6px);
}

/* ═══════════════════════════════════════
   BADGES
   ═══════════════════════════════════════ */

.gold-badge {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #000;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.35);
  white-space: nowrap;
}

.editors-choice-badge {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #000;
  font-weight: 800;
  padding: 0.5rem 1.1rem;
  border-radius: 0.75rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow:
    0 4px 24px rgba(251, 191, 36, 0.4),
    0 0 0 1px rgba(251, 191, 36, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.rank-badge {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════
   GRADIENT TEXT
   ═══════════════════════════════════════ */

.gradient-text {
  background: linear-gradient(135deg, #a78bfa, #fbbf24, #7c3aed);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease infinite;
}

.gradient-text-static {
  background: linear-gradient(135deg, #c4b5fd, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ═══════════════════════════════════════
   GRADIENT BORDER
   ═══════════════════════════════════════ */

.gradient-border-bottom {
  position: relative;
}

.gradient-border-bottom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(124, 58, 237, 0.4), rgba(251, 191, 36, 0.25), rgba(124, 58, 237, 0.4), transparent 95%);
}

/* ═══════════════════════════════════════
   SCORE RING SVG
   ═══════════════════════════════════════ */

.score-ring-circle {
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(-90deg);
  transform-origin: center;
}

/* ═══════════════════════════════════════
   BENTO GRID SYSTEM
   ═══════════════════════════════════════ */

.bento-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .bento-featured {
    grid-column: span 2;
  }
}

@media (min-width: 1280px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bento-featured {
    grid-column: span 2;
  }
  .bento-wide {
    grid-column: span 2;
  }
  .bento-tall {
    grid-row: span 2;
  }
}

/* ═══════════════════════════════════════
   HERO ORBS
   ═══════════════════════════════════════ */

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
}

/* ═══════════════════════════════════════
   PREMIUM BUTTONS
   ═══════════════════════════════════════ */

.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-weight: 700;
  border-radius: 0.875rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-premium:hover::before { opacity: 1; }

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.3);
}

.btn-premium:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-weight: 600;
  border-radius: 0.875rem;
  transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.btn-outline:hover {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   TRUST BADGES
   ═══════════════════════════════════════ */

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  color: #c4b5fd;
  transition: var(--transition-smooth);
}

.trust-badge:hover {
  background: rgba(124, 58, 237, 0.14);
  border-color: rgba(124, 58, 237, 0.25);
}

/* ═══════════════════════════════════════
   PROS / CONS PILLS
   ═══════════════════════════════════════ */

.pro-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 500;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.15);
  color: #86efac;
}

.con-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 500;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

/* ═══════════════════════════════════════
   NAV LINK HOVER
   ═══════════════════════════════════════ */

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #7c3aed, #fbbf24);
  border-radius: 1px;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover { color: #ffffff; }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; left: 0; }
.nav-link.active { color: #ffffff; }

/* ═══════════════════════════════════════
   CATEGORY BARS
   ═══════════════════════════════════════ */

.category-bar-review { border-left: 3px solid #3b82f6; }
.category-bar-guide { border-left: 3px solid #22c55e; }
.category-bar-comparison { border-left: 3px solid #a855f7; }
.category-bar-news { border-left: 3px solid #eab308; }
.category-bar-tutorial { border-left: 3px solid #06b6d4; }
.category-bar-opinion { border-left: 3px solid #ef4444; }
.category-bar-data { border-left: 3px solid #10b981; }

/* ═══════════════════════════════════════
   SPEC PILL
   ═══════════════════════════════════════ */

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #9ca3af;
  transition: var(--transition-smooth);
}

.spec-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════
   SECTION TITLE DECORATION
   ═══════════════════════════════════════ */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #7c3aed;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, #7c3aed, transparent);
  border-radius: 1px;
}

/* ═══════════════════════════════════════
   BLOG MAGAZINE CARD
   ═══════════════════════════════════════ */

.blog-card {
  background: rgba(18, 18, 26, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(124, 58, 237, 0.08);
  transform: translateY(-6px);
}

/* ═══════════════════════════════════════
   GRADIENT DIVIDER
   ═══════════════════════════════════════ */

.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), rgba(251, 191, 36, 0.2), rgba(124, 58, 237, 0.3), transparent);
}

/* ═══════════════════════════════════════
   ANIMATED GRADIENT KEYFRAMES (redeclared for theme)
   ═══════════════════════════════════════ */

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
