/* Estilos principales */
.social-icon {
    width: 24px;
    height: 24px;
}

.platform-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Iconos de plataformas */
.platform-icon.youtube { background-image: url('../img/youtube.svg'); }
.platform-icon.twitter { background-image: url('../img/twitter.svg'); }
.platform-icon.instagram { background-image: url('../img/instagram.svg'); }
.platform-icon.facebook { background-image: url('../img/facebook.svg'); }
.platform-icon.tiktok { background-image: url('../img/tiktok.svg'); }
.platform-icon.twitch { background-image: url('../img/twitch.svg'); }
.platform-icon.whatsapp { background-image: url('../img/whatsapp.svg'); }
.platform-icon.telegram { background-image: url('../img/telegram.svg'); }
.platform-icon.kick { background-image: url('../img/kick.svg'); }
.platform-icon.website { background-image: url('../img/website.svg'); }

/* Estilos responsivos */
@media (max-width: 640px) {
    .platform-icon {
        width: 20px;
        height: 20px;
    }
    
    .requirement-item {
        margin-bottom: 1rem;
    }
}

/* Animaciones */
@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.requirement-item.completed .check-icon {
    animation: checkmark 0.3s ease-in-out forwards;
}

/* Mejoras de hover */
.requirement-item {
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.requirement-item:hover {
    transform: translateY(-2px);
}

/* Estilos del botón de verificación */
#verify-button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
/* ---------- Contenido editorial (blog, privacidad, términos) ---------- */
.post-content { color: #d1d5db; font-size: 1.05rem; line-height: 1.8; overflow-wrap: anywhere; }
.post-content > * + * { margin-top: 1.1em; }
.post-content h1, .post-content h2, .post-content h3, .post-content h4 { color: #fff; font-weight: 700; line-height: 1.3; margin-top: 1.8em; }
.post-content h2 { font-size: 1.6rem; }
.post-content h3 { font-size: 1.3rem; }
.post-content h4 { font-size: 1.1rem; }
.post-content a { color: #60a5fa; text-decoration: underline; }
.post-content a:hover { color: #93c5fd; }
.post-content strong { color: #fff; }
.post-content ul, .post-content ol { padding-left: 1.5rem; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li + li { margin-top: .35em; }
.post-content img, .post-content video, .post-content iframe { max-width: 100%; height: auto; border-radius: .75rem; }
.post-content iframe { aspect-ratio: 16 / 9; width: 100%; }
.post-content blockquote { border-left: 4px solid #3b82f6; padding: .25rem 0 .25rem 1rem; color: #e5e7eb; font-style: italic; background: rgba(255,255,255,.04); border-radius: 0 .5rem .5rem 0; }
.post-content pre, .post-content code { background: rgba(0,0,0,.35); border-radius: .4rem; font-size: .9em; }
.post-content code { padding: .1em .35em; }
.post-content pre { padding: 1rem; overflow-x: auto; }
.post-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.post-content th, .post-content td { border: 1px solid rgba(255,255,255,.15); padding: .5rem .75rem; text-align: left; }
.post-content hr { border-color: rgba(255,255,255,.15); }

/* ---------- Home / marketing ---------- */
.hero-glow { background: radial-gradient(60% 60% at 50% 0%, rgba(99,102,241,.18), transparent 70%); }
.card-lift { transition: transform .25s ease, box-shadow .25s ease; }
.card-lift:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0,0,0,.12), 0 10px 10px -5px rgba(0,0,0,.06); }
details.faq > summary { list-style: none; cursor: pointer; }
details.faq > summary::-webkit-details-marker { display: none; }
details.faq[open] .faq-chevron { transform: rotate(180deg); }
.faq-chevron { transition: transform .2s ease; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .card-lift, .faq-chevron { transition: none; } }

/* Tarjetas translucidas (equivalentes a bg-white/10, que Tailwind 2.2 no incluye) */
.glass { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.glass-hover:hover { background: rgba(255,255,255,.16); }
.badge-soft { background: rgba(59,130,246,.2); }

/* Lectura de artículos: tarjeta blanca con texto oscuro (máxima legibilidad) */
.post-content.article-light { color: #1f2937; font-size: 1.075rem; line-height: 1.85; }
.post-content.article-light h1, .post-content.article-light h2, .post-content.article-light h3, .post-content.article-light h4,
.post-content.article-light h5, .post-content.article-light h6 { color: #111827 !important; }
.post-content.article-light h2 { padding-bottom: .3em; border-bottom: 1px solid #e5e7eb; }
.post-content.article-light p, .post-content.article-light li, .post-content.article-light span,
.post-content.article-light div, .post-content.article-light td, .post-content.article-light th,
.post-content.article-light em, .post-content.article-light b { color: #1f2937 !important; }
.post-content.article-light strong { color: #111827 !important; }
.post-content.article-light a, .post-content.article-light a span { color: #2563eb !important; text-decoration: underline; }
.post-content.article-light a:hover { color: #1d4ed8 !important; }
.post-content.article-light [style*="background"] { background: transparent !important; }
.post-content.article-light blockquote { background: #f3f4f6 !important; border-left-color: #2563eb; color: #374151 !important; }
.post-content.article-light blockquote p { color: #374151 !important; }
.post-content.article-light pre, .post-content.article-light code { background: #f3f4f6 !important; color: #111827 !important; }
.post-content.article-light th, .post-content.article-light td { border-color: #e5e7eb; }
.post-content.article-light th { background: #f9fafb !important; }
.post-content.article-light hr { border-color: #e5e7eb; }
.post-content.article-light img { box-shadow: 0 4px 12px rgba(0,0,0,.12); }

/* =====================================================================
   Paginas de desbloqueo (unlock / wait)
   ===================================================================== */
.lk-page { min-height: 70vh; background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #111827 100%); padding: 1.5rem 1rem 3rem; }
.lk-container { max-width: 46rem; margin: 0 auto; }
.lk-card { max-width: 40rem; margin-left: auto; margin-right: auto; background: #fff; border-radius: 1.25rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,.45); overflow: hidden; animation: lk-rise .5s ease-out both; position: relative; }
.lk-center { text-align: center; padding: 2.5rem 1.5rem; }
.lk-head { padding: 1.5rem 1.25rem 1.25rem; background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%); color: #fff; text-align: center; }
.lk-title { font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.lk-sub { margin-top: .4rem; color: #6b7280; }
.lk-head .lk-sub { color: rgba(255,255,255,.85); }
.lk-body { padding: 1.25rem; }
.lk-emoji { font-size: 3rem; }
.lk-trust { margin-top: 1rem; text-align: center; font-size: .8rem; color: #9ca3af; }
@keyframes lk-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Pasos */
.lk-steps { display: flex; justify-content: center; gap: .25rem; margin-top: 1.1rem; }
.lk-step { display: flex; align-items: center; font-size: .72rem; color: rgba(255,255,255,.65); }
.lk-step + .lk-step::before { content: ""; width: 1.25rem; height: 2px; margin: 0 .4rem; background: rgba(255,255,255,.3); }
.lk-step-dot { width: 1.5rem; height: 1.5rem; border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; background: rgba(255,255,255,.2); margin-right: .35rem; }
.lk-step.is-active { color: #fff; font-weight: 700; }
.lk-step.is-active .lk-step-dot { background: #fff; color: #4f46e5; }
.lk-step.is-done .lk-step-dot { background: #22c55e; color: #fff; }
@media (max-width: 480px) { .lk-step:not(.is-active) .lk-step-label { display: none; } }

/* Progreso de tareas */
.lk-progress-top { display: flex; justify-content: space-between; font-size: .85rem; color: #4b5563; margin-bottom: .4rem; font-weight: 600; }
.lk-bar { height: .6rem; background: #e5e7eb; border-radius: 9999px; overflow: hidden; }
.lk-bar > span { display: block; height: 100%; width: 0; border-radius: 9999px; background: linear-gradient(90deg, #2563eb, #7c3aed); transition: width .5s ease; }

/* Tareas */
.tasks { margin-top: 1rem; display: grid; gap: .7rem; list-style: none; padding: 0; }
.task { display: flex; align-items: center; gap: .8rem; padding: .85rem; border: 2px solid #e5e7eb; border-left: 5px solid var(--accent, #6b7280); border-radius: .9rem; background: #fff; transition: border-color .25s, background .25s, transform .2s; }
.task:hover { transform: translateY(-1px); }
.task-icon { flex: none; width: 2.6rem; height: 2.6rem; border-radius: .7rem; background: #f3f4f6; display: flex; align-items: center; justify-content: center; }
.task-icon img { width: 1.6rem; height: 1.6rem; }
.task-info { flex: 1; min-width: 0; }
.task-title { font-weight: 700; color: #111827; font-size: .95rem; }
.task-host { font-size: .75rem; color: #9ca3af; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-msg { font-size: .78rem; margin-top: .15rem; color: #6b7280; min-height: 1.1em; }
.task-btn { flex: none; min-width: 6.2rem; text-align: center; padding: .55rem .9rem; border-radius: .6rem; color: #fff; font-weight: 700; font-size: .85rem; background: var(--accent, #2563eb); text-decoration: none; transition: filter .2s, transform .15s; }
.task-btn:hover { filter: brightness(1.1); transform: scale(1.03); }
.task.is-opened { border-color: #93c5fd; background: #eff6ff; }
.task.is-opened .task-btn { background: #6b7280; }
.task.is-opened .task-msg { color: #1d4ed8; }
.task.is-verifying { border-color: #fcd34d; background: #fffbeb; }
.task.is-verifying .task-btn { background: #f59e0b; pointer-events: none; }
.task.is-verifying .task-btn::before { content: ""; display: inline-block; width: .8rem; height: .8rem; margin-right: .4rem; vertical-align: -1px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 9999px; animation: lk-spin .7s linear infinite; }
.task.is-done { border-color: #86efac; background: #f0fdf4; border-left-color: #22c55e; }
.task.is-done .task-btn { background: #22c55e; pointer-events: none; }
.task.is-done .task-msg { color: #15803d; }
.task.is-done .task-icon { animation: lk-pop .4s ease; }
@keyframes lk-spin { to { transform: rotate(360deg); } }
@keyframes lk-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@media (max-width: 480px) { .task { flex-wrap: wrap; } .task-btn { width: 100%; } }

/* Botones */
.lk-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: .95rem 1rem; border-radius: .9rem; font-weight: 800; font-size: 1.05rem; color: #fff; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, opacity .2s; text-decoration: none; }
.lk-btn-primary { background: linear-gradient(90deg, #2563eb, #7c3aed); box-shadow: 0 10px 20px -8px rgba(79,70,229,.6); }
.lk-btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 24px -8px rgba(79,70,229,.7); }
.lk-btn:disabled { opacity: .45; cursor: not-allowed; }
.lk-btn-inline { display: inline-flex; width: auto; padding-left: 1.6rem; padding-right: 1.6rem; margin-top: 1.25rem; }
.lk-btn.is-ready { animation: lk-pulse 2s infinite; }
@keyframes lk-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.025); } }
.lk-hint { margin-top: .6rem; text-align: center; font-size: .8rem; color: #6b7280; }
.lk-error { margin-top: .6rem; text-align: center; font-size: .85rem; color: #dc2626; font-weight: 600; }

/* Cuenta atras circular */
.ring-wrap { position: relative; width: 9.5rem; height: 9.5rem; margin: .5rem auto 0; }
.ring-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #e5e7eb; stroke-width: 9; }
.ring-fg { fill: none; stroke: url(#lk-grad); stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.ring-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 800; color: #1f2937; }
.ring-wrap.is-done .ring-num { color: #16a34a; font-size: 3.2rem; }
.lk-status { margin-top: .6rem; text-align: center; color: #4b5563; font-weight: 600; }
.lk-paused { margin: .6rem auto 0; max-width: 22rem; text-align: center; font-size: .82rem; color: #b45309; background: #fffbeb; border: 1px solid #fde68a; border-radius: .6rem; padding: .4rem .6rem; }
.dest-box { min-height: 7rem; margin-top: 1.1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px dashed #e5e7eb; border-radius: 1rem; padding: 1rem; text-align: center; color: #9ca3af; font-size: .9rem; transition: border-color .3s, background .3s; }
.dest-box.is-ready { border: 2px solid #86efac; background: #f0fdf4; animation: lk-pop .45s ease; }
.dest-host { font-size: .8rem; color: #6b7280; margin-top: .5rem; }

/* Confeti ligero al desbloquear */
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -10px; width: 8px; height: 14px; border-radius: 2px; opacity: 0; animation: lk-fall 1.6s ease-out forwards; }
@keyframes lk-fall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(420px) rotate(540deg); } }

/* Anuncios responsive */
.ad-wrap { margin: 1rem auto; text-align: center; max-width: 100%; overflow: hidden; }
.ad-label { display: block; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: #9ca3af; margin-bottom: .2rem; }
.lk-page .ad-wrap > .ad-label { color: #6b7280; }
/* El tamaño lo decide la red publicitaria: el hueco se adapta al anuncio, sin medidas fijas */
.ad-slot { margin: 0 auto; max-width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ad-slot img, .ad-slot iframe, .ad-slot ins, .ad-slot video { max-width: 100%; }
.lk-body .ad-wrap { margin: 1.1rem auto; }

@media (prefers-reduced-motion: reduce) {
    .lk-card, .task, .task-icon, .lk-btn.is-ready, .dest-box.is-ready, .confetti i, .lk-bar > span { animation: none !important; transition: none !important; }
}

/* ===== Blog estilo WordPress ===== */
.wp-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .wp-layout { grid-template-columns: minmax(0, 1fr) 20rem; } .wp-sidebar { position: sticky; top: 1rem; } }
.wp-sidebar { display: grid; gap: 1.25rem; }
.wp-widget { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 1rem; padding: 1.1rem 1.15rem; }
.wp-widget-title { color: #fff; font-weight: 700; font-size: 1rem; padding-bottom: .6rem; margin-bottom: .8rem; border-bottom: 2px solid #4f46e5; display: inline-block; }
.wp-search { display: flex; gap: .4rem; }
.wp-search input { flex: 1; min-width: 0; border-radius: .6rem; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); color: #fff; padding: .55rem .8rem; }
.wp-search input::placeholder { color: #9ca3af; }
.wp-search input:focus { outline: 2px solid #3b82f6; }
.wp-search button { border-radius: .6rem; padding: 0 .8rem; color: #fff; background: linear-gradient(90deg,#2563eb,#7c3aed); }
.wp-mini-list, .wp-rank, .wp-archive { list-style: none; margin: 0; padding: 0; }
.wp-mini-list li + li { margin-top: .7rem; }
.wp-mini { display: flex; gap: .7rem; align-items: center; color: #e5e7eb; }
.wp-mini:hover strong, .wp-rank a:hover strong { color: #93c5fd; }
.wp-mini-img { width: 4rem; height: 3.4rem; border-radius: .5rem; object-fit: cover; flex: none; }
.wp-mini strong, .wp-rank strong { display: block; font-size: .88rem; line-height: 1.3; font-weight: 600; color: #fff; }
.wp-mini small, .wp-rank small { color: #9ca3af; font-size: .75rem; }
.wp-thumb-ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#2563eb,#7c3aed); color: #fff; font-weight: 800; font-size: 1.4rem; }
.wp-rank li { display: flex; gap: .7rem; align-items: flex-start; }
.wp-rank li + li { margin-top: .8rem; }
.wp-rank-n { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 9999px; background: linear-gradient(135deg,#2563eb,#7c3aed); color: #fff; font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.wp-archive li a { display: flex; justify-content: space-between; padding: .45rem 0; color: #d1d5db; border-bottom: 1px dashed rgba(255,255,255,.12); font-size: .9rem; }
.wp-archive li a:hover { color: #93c5fd; }
.wp-archive em { font-style: normal; background: rgba(255,255,255,.1); border-radius: 9999px; padding: 0 .5rem; font-size: .75rem; line-height: 1.4rem; }
.wp-widget-cta { background: linear-gradient(135deg,#2563eb,#7c3aed); border: 0; text-align: center; }
.wp-widget-cta h2 { color: #fff; font-weight: 800; font-size: 1.1rem; }
.wp-widget-cta p { color: #dbeafe; font-size: .88rem; margin: .4rem 0 .9rem; }
.wp-widget-cta a { display: inline-block; background: #fff; color: #1d4ed8; font-weight: 700; border-radius: .6rem; padding: .5rem 1.1rem; }

/* Listado de entradas */
.wp-list { display: grid; gap: 1.5rem; }
.wp-card { display: grid; grid-template-columns: minmax(0,1fr); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 1rem; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.wp-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.35); }
@media (min-width: 640px) { .wp-card { grid-template-columns: 15rem minmax(0,1fr); } }
.wp-card-media { display: block; min-height: 11rem; overflow: hidden; background: #1f2937; }
.wp-card-media img, .wp-card-media .wp-thumb-ph { width: 100%; height: 100%; min-height: 11rem; object-fit: cover; transition: transform .5s; font-size: 3rem; }
.wp-card:hover .wp-card-media img { transform: scale(1.06); }
.wp-card-body { padding: 1.25rem 1.4rem; display: flex; flex-direction: column; }
.wp-meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; color: #9ca3af; font-size: .78rem; }
.wp-card-title { color: #fff; font-size: 1.3rem; font-weight: 800; line-height: 1.3; margin: .4rem 0 .5rem; }
.wp-card-title a:hover { color: #93c5fd; }
.wp-excerpt { color: #d1d5db; font-size: .95rem; flex: 1; }
.wp-more { margin-top: .9rem; color: #60a5fa; font-weight: 600; font-size: .9rem; }
.wp-more:hover { color: #93c5fd; }
.wp-badge { display: inline-block; align-self: flex-start; background: rgba(59,130,246,.2); color: #93c5fd; border-radius: 9999px; font-size: .72rem; font-weight: 700; padding: .15rem .7rem; margin-bottom: .4rem; }
.wp-hero { grid-template-columns: minmax(0,1fr); }
.wp-hero .wp-card-media, .wp-hero .wp-card-media img { min-height: 16rem; max-height: 22rem; }
.wp-hero .wp-card-title { font-size: 1.75rem; }
.wp-filter { display: flex; align-items: center; justify-content: space-between; gap: .75rem; background: rgba(59,130,246,.15); border: 1px solid rgba(59,130,246,.3); color: #dbeafe; border-radius: .75rem; padding: .7rem 1rem; margin-bottom: 1.25rem; }
.wp-filter a { color: #93c5fd; font-weight: 600; white-space: nowrap; }

/* Entrada individual */
.wp-author { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; padding: 1.1rem; border-radius: .9rem; background: #f3f4f6; color: #374151; }
.wp-avatar { flex: none; width: 3.2rem; height: 3.2rem; border-radius: 9999px; background: linear-gradient(135deg,#2563eb,#7c3aed); color: #fff; font-weight: 800; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; }
.wp-author strong { color: #111827; display: block; }
.wp-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg,#2563eb,#7c3aed); z-index: 60; }
