/* Paginas de contenido (FAQ, How to play, mejores clases). Se carga DESPUES de index.css y usa sus variables. */
.content-wrap {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 24px 96px;
}
.content-wrap h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #fff 0%, var(--frost) 40%, var(--gold2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.content-wrap .lead {
    font-size: 16px;
    color: rgba(240, 230, 255, .8);
    line-height: 1.8;
    margin-bottom: 28px;
}
.content-wrap h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--gold2);
    margin: 30px 0 12px;
}
.content-wrap p, .content-wrap li {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(240, 230, 255, .78);
}
.content-wrap a { color: var(--gold2); text-decoration: underline; text-underline-offset: 3px; }
.content-wrap a:hover { color: #fff; }
.content-wrap ul, .content-wrap ol { margin: 8px 0 8px 22px; }

.faq-item {
    background: linear-gradient(160deg, rgba(16, 13, 26, .95) 0%, rgba(24, 18, 40, .9) 100%);
    border: 1px solid rgba(109, 40, 217, .2);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 15.5px;
    color: var(--frost);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; color: var(--gold2); font-size: 20px; line-height: 1; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .answer { padding: 0 20px 18px; }

.steps { counter-reset: step; list-style: none; margin: 8px 0; padding: 0; }
.steps li {
    counter-increment: step;
    position: relative;
    padding: 14px 18px 14px 62px;
    margin-bottom: 10px;
    background: linear-gradient(160deg, rgba(16, 13, 26, .95) 0%, rgba(24, 18, 40, .9) 100%);
    border: 1px solid rgba(109, 40, 217, .2);
    border-radius: 14px;
}
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #1a1508;
    background: linear-gradient(180deg, var(--gold2), var(--gold));
}
.steps li strong { color: var(--frost); }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 8px; }
.cta {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--violet), var(--violet2));
}
.cta.alt { background: rgba(255, 255, 255, .06); border: 1px solid var(--border); }

.table-scroll { overflow-x: auto; margin: 12px 0 8px; border-radius: 14px; border: 1px solid rgba(109, 40, 217, .2); }
.class-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.class-table th, .class-table td { padding: 11px 14px; text-align: left; font-size: 14px; border-bottom: 1px solid rgba(109, 40, 217, .15); }
.class-table th { color: var(--gold2); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: rgba(16, 13, 26, .9); }
.class-table td { color: rgba(240, 230, 255, .8); }
.class-table tr:last-child td { border-bottom: 0; }
.tier { display: inline-block; min-width: 26px; text-align: center; padding: 2px 8px; border-radius: 8px; font-weight: 800; background: rgba(245, 158, 11, .12); color: var(--gold2); }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.video-card { border-radius: 14px; overflow: hidden; border: 1px solid rgba(109, 40, 217, .25); background: #000; }
.video-card iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video-card p { padding: 10px 14px; font-size: 13px; background: rgba(16, 13, 26, .95); }

.related-links { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(109, 40, 217, .2); font-size: 14px; }
.related-links a { margin-right: 16px; }

/* Enlaces dentro de las cajas de la portada (index.php): legibles sobre fondo oscuro */
.info-box a { color: var(--gold2); text-decoration: underline; text-underline-offset: 3px; }
.info-box a:hover { color: #fff; }
.info-box a:visited { color: var(--gold2); }

/* TikTok: formato vertical */
.video-card.tiktok { max-width: 325px; margin: 0 auto; }
.video-card.tiktok iframe { aspect-ratio: auto; height: 740px; }

/* Videos que no se pueden incrustar (enlaces cortos, Instagram, Facebook...): boton que los abre */
.video-card.link { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: rgba(16, 13, 26, .95); text-decoration: none !important; color: var(--frost) !important; font-weight: 600; }
.video-card.link:hover { border-color: var(--violet2); }
.video-card.link .play { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #1a1508; font-size: 13px; flex: 0 0 auto; }
