/*
Theme Name: BreachReel AdSense
Theme URI: https://breachreel.win
Author: BreachReel
Description: Tema rápido y editable con Gutenberg para una web de automatización, n8n, cursos y contenido preparado para solicitar AdSense.
Version: 1.1.1
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: breachreel
*/

:root {
  --br-bg: #070a12;
  --br-surface: #0e1422;
  --br-surface-2: #141c2e;
  --br-text: #f5f7ff;
  --br-muted: #aab4ca;
  --br-line: rgba(255,255,255,.11);
  --br-primary: #7457ff;
  --br-primary-2: #41d9ff;
  --br-success: #53e6a6;
  --br-max: 1160px;
  --br-radius: 18px;
  --br-shadow: 0 22px 70px rgba(0,0,0,.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--br-text);
  background:
    radial-gradient(circle at 88% 8%, rgba(116,87,255,.15), transparent 28rem),
    radial-gradient(circle at 8% 35%, rgba(65,217,255,.08), transparent 25rem),
    var(--br-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: #9edfff; text-underline-offset: .18em; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.br-wrap { width: min(calc(100% - 40px), var(--br-max)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--br-line); background: rgba(7,10,18,.86); backdrop-filter: blur(16px); }
.br-header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding a { color: #fff; font-weight: 850; font-size: 1.28rem; letter-spacing: -.035em; text-decoration: none; }
.site-branding span { color: var(--br-primary-2); }
.menu-toggle { display: none; border: 1px solid var(--br-line); border-radius: 10px; padding: 8px 12px; color: #fff; background: var(--br-surface); }
.primary-menu, .footer-menu { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.primary-menu a, .footer-menu a { color: var(--br-muted); font-size: .94rem; font-weight: 650; text-decoration: none; }
.primary-menu a:hover, .footer-menu a:hover { color: #fff; }

.site-main { min-height: 60vh; }
.br-page, .br-single { padding: 72px 0 88px; }
.br-content { width: min(100%, 820px); }
.br-content > * { margin-top: 0; margin-bottom: 1.25rem; }
.br-content > h1 { font-size: clamp(2.35rem, 6vw, 4.5rem); line-height: 1.02; letter-spacing: -.055em; margin-bottom: 1.4rem; }
.br-content > h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.15; letter-spacing: -.035em; margin-top: 3.5rem; }
.br-content > h3 { margin-top: 2.4rem; }
.br-content p, .br-content li { color: #c9d1e2; }
.br-content strong { color: #fff; }
.br-content ul, .br-content ol { padding-left: 1.3rem; }
.br-content li { margin: .45rem 0; }
.br-content blockquote { margin-inline: 0; padding: 18px 22px; border-left: 3px solid var(--br-primary-2); background: var(--br-surface); border-radius: 0 12px 12px 0; }

.br-hero { padding: clamp(72px, 10vw, 128px) 0 78px; text-align: center; }
.br-eyebrow { display: inline-flex; padding: 7px 12px; border: 1px solid rgba(65,217,255,.3); border-radius: 999px; color: #bfefff; background: rgba(65,217,255,.07); font-size: .82rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.br-hero h1 { max-width: 930px; margin: 22px auto; font-size: clamp(2.8rem, 8vw, 6.2rem); line-height: .96; letter-spacing: -.065em; }
.br-gradient { color: transparent; background: linear-gradient(100deg, #fff 5%, var(--br-primary-2) 48%, #a890ff); background-clip: text; -webkit-background-clip: text; }
.br-hero p { max-width: 700px; margin: 0 auto; color: var(--br-muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.br-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.br-button, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 11px; color: #fff !important; background: linear-gradient(135deg, var(--br-primary), #5b43df); font-weight: 750; text-decoration: none; box-shadow: 0 12px 34px rgba(116,87,255,.25); }
.br-button:hover, .wp-block-button__link:hover { transform: translateY(-1px); filter: brightness(1.08); }
.br-button-secondary, .is-style-outline .wp-block-button__link { border-color: var(--br-line); background: rgba(255,255,255,.035); box-shadow: none; }

.br-section { padding: 48px 0 84px; }
.br-section-heading { max-width: 720px; margin-bottom: 30px; }
.br-section-heading h2 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.045em; }
.br-section-heading p { margin: 0; color: var(--br-muted); }
.br-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.br-card { padding: 26px; border: 1px solid var(--br-line); border-radius: var(--br-radius); background: linear-gradient(145deg, rgba(20,28,46,.94), rgba(11,16,28,.95)); box-shadow: var(--br-shadow); }
.br-card h3 { margin: 0 0 9px; font-size: 1.25rem; }
.br-card p { margin: 0; color: var(--br-muted); }
.br-card a { color: #fff; text-decoration: none; }
.br-card a:hover { color: var(--br-primary-2); }

.br-post-list { display: grid; gap: 16px; }
.br-post-row { padding: 22px 0; border-bottom: 1px solid var(--br-line); }
.br-post-row h2 { margin: 0 0 7px; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.br-post-row h2 a { color: #fff; text-decoration: none; }
.br-meta { color: #8995ad; font-size: .88rem; }
.br-empty { padding: 26px; border: 1px dashed var(--br-line); border-radius: var(--br-radius); color: var(--br-muted); }

.site-footer { border-top: 1px solid var(--br-line); background: #060910; }
.br-footer-top { display: flex; justify-content: space-between; gap: 32px; padding: 48px 0 32px; }
.br-footer-brand { max-width: 420px; }
.br-footer-brand strong { display: block; margin-bottom: 8px; font-size: 1.2rem; }
.br-footer-brand p, .br-footer-bottom { color: #8792a9; font-size: .9rem; }
.br-footer-bottom { padding: 20px 0; border-top: 1px solid var(--br-line); }

.wp-block-group { border-radius: var(--br-radius); }
.wp-block-separator { border-color: var(--br-line); }
.wp-block-table table { border-color: var(--br-line); }
.wp-block-table td, .wp-block-table th { border-color: var(--br-line); }
.alignwide { width: min(calc(100vw - 40px), var(--br-max)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.ad-placeholder { min-height: 90px; display: none; align-items: center; justify-content: center; margin: 32px 0; border: 1px dashed var(--br-line); color: var(--br-muted); }

@media (max-width: 820px) {
  .br-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; inset: 72px 0 auto; padding: 18px 20px 24px; border-bottom: 1px solid var(--br-line); background: #090d17; }
  .site-nav.is-open { display: block; }
  .primary-menu { flex-direction: column; align-items: flex-start; }
  .br-footer-top { flex-direction: column; }
  .footer-menu { flex-wrap: wrap; gap: 12px 18px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
