/* ══════════════════════════════════════════════════════════════
   1win-online.com.mx — Design System
   Brand: dark purple #0d0a1f | magenta #e91e8c | cyan #00d4ff
   ══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #0d0a1f;
    --bg2: #130f2b;
    --bg3: #1a1535;
    --border: rgba(233, 30, 140, 0.18);
    --pink: #e91e8c;
    --pink-light: #ff4da6;
    --cyan: #00d4ff;
    --cyan-dark: #00a8cc;
    --purple: #7c3aed;
    --gold: #ffd700;
    --text: #f0eaff;
    --text-muted: #9585c0;
    --green: #00e676;
    --red: #ff1744;
    --radius: 10px;
    --radius-lg: 18px;
    --shadow-pink: 0 0 24px rgba(233, 30, 140, 0.3);
    --shadow-cyan: 0 0 20px rgba(0, 212, 255, 0.25);
    --font: 'Inter', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --tracker: 'https://adminclick.org/5W25dG';
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
}

/* ── Skip link ─────────────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -50px;
    left: 16px;
    z-index: 9999;
    background: var(--pink);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: top .2s;
}

.skip-link:focus {
    top: 8px;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── HEADER ─────────────────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 10, 31, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.logo-1 {
    color: #fff;
}

.logo-win {
    color: var(--pink);
    text-shadow: var(--shadow-pink);
}

nav {
    display: flex;
    gap: 4px;
    flex: 1;
    flex-wrap: nowrap;
    overflow: hidden;
}

nav a {
    color: var(--text-muted);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all .2s;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .5px;
}

nav a:hover,
nav a.active {
    color: var(--pink);
    background: rgba(233, 30, 140, 0.1);
}

.btn-header {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    padding: 9px 18px;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: var(--shadow-pink);
    transition: transform .2s, box-shadow .2s;
}

.btn-header:hover {
    transform: scale(1.04);
    box-shadow: 0 0 32px rgba(233, 30, 140, 0.5);
}

/* ── Burger ─────────────────────────────────────────────────── */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pink);
    border-radius: 2px;
    transition: all .3s;
}

/* ── Mobile menu ────────────────────────────────────────────── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 200;
    background: rgba(13, 10, 31, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 20px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 28px;
    border: 1px solid var(--border);
    border-radius: 10px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    transition: all .2s;
}

.mobile-menu a:hover {
    background: rgba(233, 30, 140, 0.15);
    border-color: var(--pink);
    color: var(--pink);
}

.mobile-tracker {
    background: linear-gradient(135deg, var(--pink), var(--purple)) !important;
    border: none !important;
    color: #fff !important;
    font-size: 1rem !important;
    margin-top: 8px;
    box-shadow: var(--shadow-pink);
}

/* ── Breadcrumbs ────────────────────────────────────────────── */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    color: var(--text-muted);
    padding: 12px 0;
}

.breadcrumbs a {
    color: var(--cyan);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* ── HERO SECTION ───────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0d0a1f 0%, #1a0a2e 50%, #0d0a1f 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(233, 30, 140, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.35;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 60px 0;
    max-width: 640px;
}

.hero-tag {
    display: inline-block;
    background: rgba(233, 30, 140, 0.2);
    border: 1px solid rgba(233, 30, 140, 0.4);
    color: var(--pink);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 16px;
}

.hero h1 em {
    color: var(--pink);
    font-style: normal;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 28px;
    max-width: 500px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 34px;
    border-radius: 50px;
    text-decoration: none;
    transition: all .25s;
    box-shadow: var(--shadow-pink);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(233, 30, 140, 0.5);
}

.btn-secondary {
    display: inline-block;
    border: 2px solid var(--cyan);
    color: var(--cyan);
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    margin-left: 14px;
    transition: all .25s;
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
}

/* ── Stats strip ─────────────────────────────────────────────── */
.stats-strip {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 0 20px;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--pink);
    line-height: 1;
}

.stat-label {
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ── Section ─────────────────────────────────────────────────── */
.section {
    padding: 64px 0;
}

.section-alt {
    padding: 64px 0;
    background: var(--bg2);
}

.section-sm {
    padding: 48px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.section-header h2 em {
    color: var(--pink);
    font-style: normal;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ── Feature grid (6-card) ───────────────────────────────────── */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feat-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all .25s;
    position: relative;
    overflow: hidden;
}

.feat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--cyan));
    opacity: 0;
    transition: opacity .25s;
}

.feat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(233, 30, 140, 0.4);
}

.feat-card:hover::before {
    opacity: 1;
}

.feat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feat-icon.pink {
    background: rgba(233, 30, 140, 0.15);
}

.feat-icon.cyan {
    background: rgba(0, 212, 255, 0.12);
}

.feat-icon.purple {
    background: rgba(124, 58, 237, 0.15);
}

.feat-icon.gold {
    background: rgba(255, 215, 0, 0.12);
}

.feat-icon.green {
    background: rgba(0, 230, 118, 0.12);
}

.feat-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px;
}

.feat-card p {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── TABLE ───────────────────────────────────────────────────── */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

caption {
    font-size: .78rem;
    color: var(--text-muted);
    padding-bottom: 10px;
    text-align: left;
}

th {
    background: linear-gradient(135deg, var(--bg3), #200c40);
    color: var(--pink);
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 13px 16px;
    text-align: left;
    white-space: nowrap;
}

td {
    padding: 11px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: rgba(233, 30, 140, 0.04);
}

.td-pink {
    color: var(--pink);
    font-weight: 700;
}

.td-cyan {
    color: var(--cyan);
    font-weight: 700;
}

.td-green {
    color: var(--green);
    font-weight: 600;
}

.td-gold {
    color: var(--gold);
    font-weight: 600;
}

.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: .73rem;
    font-weight: 700;
}

.badge-pink {
    background: rgba(233, 30, 140, 0.2);
    color: var(--pink);
}

.badge-cyan {
    background: rgba(0, 212, 255, 0.15);
    color: var(--cyan);
}

.badge-green {
    background: rgba(0, 230, 118, 0.15);
    color: var(--green);
}

/* ── BAR CHART ───────────────────────────────────────────────── */
.chart-box {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.chart-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 22px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.bar-label {
    font-size: .82rem;
    color: var(--text-muted);
    width: 140px;
    flex-shrink: 0;
    text-align: right;
}

.bar-track {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 5px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--pink), var(--pink-light));
    transition: width 1s ease;
}

.bar-fill.cyan {
    background: linear-gradient(90deg, var(--cyan-dark), var(--cyan));
}

.bar-fill.purple {
    background: linear-gradient(90deg, var(--purple), #9c5ff3);
}

.bar-fill.gold {
    background: linear-gradient(90deg, #b8860b, var(--gold));
}

.bar-fill.green {
    background: linear-gradient(90deg, #00b05a, var(--green));
}

.bar-val {
    font-size: .8rem;
    color: #fff;
    font-weight: 700;
    width: 48px;
}

/* ── DONUT CHARTS ────────────────────────────────────────────── */
.donuts-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.donut-item {
    text-align: center;
}

.donut-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.donut-inner {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
}

.donut-name {
    font-size: .8rem;
    color: var(--text-muted);
}

/* ── STEPS / TIMELINE ────────────────────────────────────────── */
.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: flex;
    gap: 20px;
}

.step-line {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: .9rem;
    box-shadow: var(--shadow-pink);
}

.step-connector {
    flex: 1;
    width: 2px;
    background: var(--border);
    margin: 4px 0;
    min-height: 28px;
}

.step:last-child .step-connector {
    display: none;
}

.step-body {
    padding-bottom: 28px;
    flex: 1;
}

.step-body h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 700;
    margin-bottom: 4px;
}

.step-body p {
    font-size: .88rem;
    color: var(--text-muted);
}

/* ── COMPARISON TABLE 2-col ──────────────────────────────────── */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.compare-col {
    background: var(--bg3);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.compare-head {
    padding: 16px 20px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

.compare-head.pink {
    background: rgba(233, 30, 140, 0.12);
    color: var(--pink);
}

.compare-head.cyan {
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan);
}

.compare-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: .88rem;
    color: var(--text);
}

.compare-row::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}

/* ── SEO CONTENT ─────────────────────────────────────────────── */
.seo-section {
    padding: 56px 0;
    background: var(--bg2);
    border-top: 1px solid var(--border);
}

.seo-article h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
}

.seo-article h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--cyan);
    margin: 24px 0 10px;
}

.seo-article p {
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.75;
}

.seo-article a.tlink {
    color: var(--pink);
    text-decoration: underline;
}

.seo-article a.tlink:hover {
    color: var(--pink-light);
}

.quick-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.quick-link {
    background: rgba(233, 30, 140, 0.1);
    border: 1px solid rgba(233, 30, 140, 0.25);
    color: var(--pink);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    transition: all .2s;
}

.quick-link:hover {
    background: rgba(233, 30, 140, 0.2);
}

/* ── AUTHOR ──────────────────────────────────────────────────── */
.author-box {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin: 40px 0;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid rgba(233, 30, 140, 0.4);
    background: none;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.author-info {
    flex: 1;
}

.author-badge {
    font-size: .72rem;
    color: var(--pink);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 4px;
}

.author-role {
    font-size: .82rem;
    color: var(--cyan);
    font-weight: 600;
    margin-bottom: 10px;
}

.author-bio {
    font-size: .87rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 12px;
}

.author-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.author-stat {
    font-size: .78rem;
    color: var(--text-muted);
}

.author-stat strong {
    color: var(--gold);
}

/* ── CTA BANNER ──────────────────────────────────────────────── */
.cta-box {
    background: linear-gradient(135deg, #1a0a2e, #200c40);
    border: 1px solid rgba(233, 30, 140, 0.3);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(233, 30, 140, 0.2), transparent 70%);
}

.cta-box h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 12px;
}

.cta-box h2 em {
    color: var(--pink);
    font-style: normal;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand .logo {
    font-size: 1.5rem;
}

.footer-brand p {
    font-size: .84rem;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.6;
}

.age-badge {
    display: inline-block;
    margin-top: 12px;
    background: rgba(233, 30, 140, 0.15);
    border: 1px solid var(--pink);
    color: var(--pink);
    font-weight: 700;
    font-size: .8rem;
    padding: 4px 14px;
    border-radius: 50px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: .85rem;
    margin-bottom: 7px;
    transition: color .2s;
}

.footer-col a:hover {
    color: var(--pink);
}

.footer-legal {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    margin-bottom: 12px;
}

.footer-legal a {
    font-size: .75rem;
    color: var(--text-muted);
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--pink);
}

.footer-disclaimer {
    font-size: .76rem;
    color: var(--text-muted);
    line-height: 1.6;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: 8px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: 14px;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
    nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .feat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .feat-grid {
        grid-template-columns: 1fr;
    }

    .compare-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-stats {
        justify-content: center;
    }

    .hero {
        min-height: 360px;
    }

    .hero-content {
        padding: 40px 0;
    }

    .btn-secondary {
        display: none;
    }

    .bar-label {
        width: 90px;
        font-size: .75rem;
    }
}

/* ── UTILITY ─────────────────────────────────────────────────── */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mt-lg {
    margin-top: 48px;
}

.mt-sm {
    margin-top: 24px;
}

.text-pink {
    color: var(--pink);
}

.text-cyan {
    color: var(--cyan);
}

.text-center {
    text-align: center;
}