/*!
Theme Name: Loverball Theme
Theme URI: https://www.loverball.pe
Author: Booster Peru
Author URI: https://www.boosterperu.com
Description: Tema Loverball Academy — Cultura del esfuerzo. Basado en el Loverball Design System. Usa Tailwind Play CDN para utilidades y este archivo para tokens y patrones de marca.
Version: 1.0.0
Requires at least: 5.6
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: loverballtheme
Tags: custom-menu, custom-logo, full-width-template, post-thumbnails, translation-ready
*/

/* ============================================================
   LOVERBALL THEME — Brand layer (tokens + patrones)
   Tailwind se carga vía Play CDN en header.php para utilidades.
   Aquí solo va lo que Tailwind no cubre bien: tipografía display
   italic, gradientes de marca, motivos (slash), tokens CSS.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');

:root {
  /* Colores Loverball */
  --lb-ink-900: #0B0B0F;
  --lb-ink-800: #14141B;
  --lb-ink-700: #1F1F27;
  --lb-pink-300: #FF6BB0;
  --lb-pink-500: #EC1A7D;
  --lb-pink-700: #B5125F;
  --lb-white: #FFFFFF;
  --lb-bone: #F4F1EC;

  --lb-pink-gradient: linear-gradient(135deg, #FF6BB0 0%, #EC1A7D 55%, #B5125F 100%);

  /* Tipografía */
  --font-display: 'Bebas Neue', 'Oswald', Impact, system-ui, sans-serif;
  --font-subhead: 'Oswald', 'Bebas Neue', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;

  --lh-display: 0.88;
  --ls-caps: 0.04em;
  --ls-eyebrow: 0.14em;

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 140ms;
  --dur-base: 220ms;
}

/* Reset mínimo */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--lb-ink-900);
  color: var(--lb-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }

/* ============================================================
   Tipografía display — clases lb-*
   ============================================================ */
.lb-display, .lb-display-xl, .lb-display-lg, .lb-display-md,
.lb-h1, .lb-h2, .lb-h3, .lb-h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  line-height: var(--lh-display);
  margin: 0;
}
.lb-display-xl { font-size: clamp(72px, 12vw, 180px); }
.lb-display-lg { font-size: clamp(56px, 8vw, 120px); }
.lb-display-md { font-size: clamp(40px, 6vw, 80px); }
.lb-h1 { font-size: 56px; line-height: 1.05; }
.lb-h2 { font-size: 40px; line-height: 1.1; }
.lb-h3 { font-size: 28px; line-height: 1.15; }
.lb-h4 { font-size: 22px; line-height: 1.2; }

.lb-subhead {
  font-family: var(--font-subhead);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
}

.lb-eyebrow {
  display: inline-block;
  font-family: var(--font-subhead);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  color: var(--lb-pink-500);
}
.lb-eyebrow--pill {
  background: var(--lb-pink-gradient);
  color: var(--lb-white);
  padding: 8px 18px;
  border-radius: 999px;
  letter-spacing: 0.12em;
  font-weight: 700;
}

/* Gradiente sobre texto */
.lb-text-gradient {
  background: var(--lb-pink-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Slash diagonal magenta detrás del texto */
.lb-slash {
  position: relative;
  display: inline-block;
  padding: 4px 14px;
  z-index: 0;
}
.lb-slash::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lb-pink-gradient);
  transform: skewX(-12deg);
  z-index: -1;
}

/* ============================================================
   Botones (patrones de marca)
   ============================================================ */
.lb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-subhead);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              filter var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.lb-btn--primary {
  background: var(--lb-pink-gradient);
  color: var(--lb-white);
}
.lb-btn--primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 32px rgba(236,26,125,0.45);
  color: var(--lb-white);
}
.lb-btn--primary:active { transform: scale(0.98); }

.lb-btn--ghost {
  background: transparent;
  color: var(--lb-white);
  border: 1px solid rgba(255,255,255,0.14);
}
.lb-btn--ghost:hover {
  border-color: rgba(255,255,255,0.32);
  color: var(--lb-white);
}

.lb-btn--white {
  background: var(--lb-white);
  color: var(--lb-ink-900);
}
.lb-btn--white:hover {
  background: var(--lb-bone);
  color: var(--lb-ink-900);
}

/* ============================================================
   Logo wordmark
   ============================================================ */
.lb-logo-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  letter-spacing: var(--ls-caps);
  color: var(--lb-white);
  text-transform: uppercase;
  line-height: 1;
}

/* ============================================================
   Material Symbols base
   ============================================================ */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* ============================================================
   Hero overlay — patrón "foto full-bleed con copy encima"
   ============================================================ */
.lb-hero-overlay {
  background:
    linear-gradient(90deg, rgba(11,11,15,0.92) 0%, rgba(11,11,15,0.55) 55%, rgba(11,11,15,0.7) 100%),
    radial-gradient(circle at 75% 35%, rgba(236,26,125,0.15), transparent 55%);
}

/* Dashed iconbox (estilo "pilares") */
.lb-iconbox-dashed {
  border: 2px dashed var(--lb-pink-500);
  background: rgba(236,26,125,0.08);
}

/* ============================================================
   Animaciones suaves
   ============================================================ */
@keyframes lb-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lb-anim-up { animation: lb-fade-up 600ms var(--ease-out) both; }

/* ============================================================
   WordPress alignments / a11y
   ============================================================ */
.alignleft { float: left; margin-right: 16px; }
.alignright { float: right; margin-left: 16px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal;
}

/* Selección */
::selection { background: var(--lb-pink-500); color: var(--lb-white); }
