/*
Theme Name: YummyFans
Theme URI: https://yummyfans.com.br/
Author: YummyFans
Description: Tema editorial e de conversão para o YummyFans, com CTA integrado ao IntimyFans.
Version: 1.0.1
Text Domain: yummyfans
License: GPL-2.0-or-later
*/

:root {
  --yf-bg: #0b0710;
  --yf-surface: #15101c;
  --yf-surface-2: #1d1528;
  --yf-text: #fff8ff;
  --yf-muted: #c5b9cc;
  --yf-pink: #ff4fa3;
  --yf-pink-2: #ff7fbd;
  --yf-purple: #8d5cff;
  --yf-border: rgba(255,255,255,.10);
  --yf-shadow: 0 18px 50px rgba(0,0,0,.28);
  --yf-radius: 22px;
  --yf-max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(141,92,255,.16), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(255,79,163,.14), transparent 30%),
    var(--yf-bg);
  color: var(--yf-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

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

.yf-container {
  width: min(calc(100% - 32px), var(--yf-max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11,7,16,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--yf-border);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--yf-pink), var(--yf-purple));
  box-shadow: 0 12px 28px rgba(255,79,163,.22);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--yf-muted);
  font-weight: 650;
  font-size: .96rem;
}

.site-nav a:hover { color: #fff; }

.header-cta,
.yf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.header-cta,
.yf-btn-primary {
  background: linear-gradient(135deg, var(--yf-pink), var(--yf-purple));
  color: #fff;
  box-shadow: 0 12px 28px rgba(255,79,163,.20);
}

.header-cta:hover,
.yf-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.yf-btn-secondary {
  border: 1px solid var(--yf-border);
  background: rgba(255,255,255,.04);
  color: #fff;
}

.hero {
  padding: 92px 0 74px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  color: #ffd8eb;
  background: rgba(255,79,163,.10);
  border: 1px solid rgba(255,79,163,.24);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 20px 0 20px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.065em;
  max-width: 930px;
}

.gradient-text {
  background: linear-gradient(100deg, #fff 0%, #ffb7da 38%, #b8a0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 720px;
  color: var(--yf-muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-note {
  margin-top: 15px;
  color: #9d91a6;
  font-size: .88rem;
}

.hero-card {
  position: relative;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid var(--yf-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03));
  box-shadow: var(--yf-shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255,79,163,.22), rgba(141,92,255,.05), rgba(255,255,255,.04));
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat {
  padding: 20px;
  border-radius: 20px;
  background: rgba(0,0,0,.20);
  border: 1px solid var(--yf-border);
}

.stat strong {
  display: block;
  font-size: 1.7rem;
  letter-spacing: -.04em;
}

.stat span {
  color: var(--yf-muted);
  font-size: .92rem;
}

.section {
  padding: 70px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.045em;
}

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

.yf-guides-section {
  padding-top: 42px;
}

.yf-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.yf-guide-card {
  min-height: 245px;
  padding: 26px;
  border-radius: var(--yf-radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    var(--yf-surface);
  border: 1px solid var(--yf-border);
}

.yf-guide-card:nth-child(4),
.yf-guide-card:nth-child(5) {
  grid-column: span 1;
}

.yf-guide-tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffd7e9;
  background: rgba(255,79,163,.10);
  border: 1px solid rgba(255,79,163,.20);
  font-size: .75rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.yf-guide-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.yf-guide-card p {
  margin: 0;
  color: var(--yf-muted);
}

.yf-guide-card p a {
  color: #ff91c5;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.yf-guide-card p a:hover { color: #fff; }

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

.card {
  min-height: 230px;
  padding: 26px;
  border-radius: var(--yf-radius);
  background: var(--yf-surface);
  border: 1px solid var(--yf-border);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,79,163,.35);
  background: var(--yf-surface-2);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  font-size: 1.25rem;
  background: linear-gradient(135deg, rgba(255,79,163,.18), rgba(141,92,255,.18));
  border: 1px solid var(--yf-border);
}

.card h3 {
  margin: 0 0 9px;
  font-size: 1.24rem;
  letter-spacing: -.025em;
}

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

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.post-card {
  overflow: hidden;
  border-radius: var(--yf-radius);
  background: var(--yf-surface);
  border: 1px solid var(--yf-border);
}

.post-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(255,79,163,.22), rgba(141,92,255,.20));
  overflow: hidden;
}

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

.post-body { padding: 22px; }

.post-meta {
  color: #ad9cb7;
  font-size: .82rem;
  margin-bottom: 8px;
}

.post-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.post-card p {
  color: var(--yf-muted);
  margin: 0;
  font-size: .94rem;
}

.cta-panel {
  padding: 42px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(255,255,255,.13), transparent 38%),
    linear-gradient(135deg, #fa3c96, #7657f0);
  box-shadow: 0 30px 80px rgba(125,63,190,.22);
}

.cta-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.cta-panel p {
  max-width: 720px;
  margin: 0 0 24px;
  color: rgba(255,255,255,.88);
}

.cta-panel .yf-btn {
  background: #fff;
  color: #2a1530;
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.content-wrap {
  width: min(calc(100% - 32px), 820px);
  margin: 56px auto 80px;
}

.entry-title {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -.05em;
  margin-bottom: 18px;
}

.entry-content {
  color: #e7dfea;
  font-size: 1.05rem;
}

.entry-content h2, .entry-content h3 {
  color: #fff;
  letter-spacing: -.03em;
  margin-top: 1.8em;
}

.entry-content a {
  color: #ff91c5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  border-top: 1px solid var(--yf-border);
  padding: 38px 0 120px;
  color: #9f94a7;
  font-size: .9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.yf-floating-register {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, #ff3f98, #8255ff);
  font-weight: 900;
  letter-spacing: -.01em;
  box-shadow: 0 18px 45px rgba(255,63,152,.34);
  border: 1px solid rgba(255,255,255,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}

.yf-floating-register:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 22px 54px rgba(255,63,152,.45);
}

.yf-floating-register .pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.6);
  animation: yfPulse 1.8s infinite;
}

@keyframes yfPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); }
  70% { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .cards, .post-grid, .yf-guide-grid { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
}

@media (max-width: 620px) {
  .hero { padding-top: 62px; }
  .cards, .post-grid, .yf-guide-grid { grid-template-columns: 1fr; }
  .header-cta { display: none; }
  .cta-panel { padding: 28px; }
  .yf-floating-register {
    right: 14px;
    left: 14px;
    bottom: 14px;
    justify-content: center;
  }
}
