/*
Theme Name: Club Guía
Description: Tema oscuro azul medianoche y ámbar para guías y blog de casino online. Tailwind (CDN), blog, artículo y popup configurable de partner.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: club-guia
*/

@media screen and (max-width: 782px) {
	h1{font-size:30px!important;}
	h2{font-size:26px!important;}
	.none{display:none!important;}
}


html, body { margin: 0; padding: 0; }
body { overscroll-behavior: none; background: #0f1321; }
main > :first-child { margin-top: 0; }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
details > summary::-webkit-details-marker { display: none; }

/* ===== Popup: ticket VIP ===== */
@property --sg-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes sgIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sgPop { from { opacity: 0; transform: translateY(26px) scale(.96) rotate(-1deg); } to { opacity: 1; transform: none; } }
@keyframes sgSpin { to { --sg-a: 360deg; } }
.sg-overlay { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 1rem; background: radial-gradient(circle at 50% 40%, rgba(18,29,58,.82), rgba(4,7,18,.94)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sg-overlay.is-open { display: flex; animation: sgIn .22s ease-out; }
.sg-ticket {
  position: relative; display: flex; width: 100%; max-width: 44rem; border-radius: 1.25rem; font-family: 'Plus Jakarta Sans', sans-serif; color: #dfe1f6;
  background: linear-gradient(#0b1226, #0b1226) padding-box, conic-gradient(from var(--sg-a), #ffb703, #f98400, #121d3a 40%, #ffb703 70%, #ffdba0, #ffb703) border-box;
  border: 2px solid transparent; animation: sgPop .35s cubic-bezier(.2,.9,.25,1), sgSpin 6s linear infinite; box-shadow: 0 0 60px rgba(255,183,3,.18), 0 30px 80px rgba(0,0,0,.8);
}
.sg-x { position: absolute; top: .5rem; right: .75rem; z-index: 3; width: 2rem; height: 2rem; border: 0; background: none; color: #94a3b8; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.sg-x:hover { color: #ffdba0; }
.sg-stub { position: relative; flex: 0 0 11rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; padding: 1.5rem 1rem; text-align: center; border-radius: 1.1rem 0 0 1.1rem; background: linear-gradient(160deg, #ffb703, #f98400); color: #301400; border-right: 2px dashed rgba(48,20,0,.45); }
.sg-stub::before, .sg-stub::after { content: ''; position: absolute; right: -.8rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #070b19; z-index: 2; }
.sg-stub::before { top: -.75rem; } .sg-stub::after { bottom: -.75rem; }
.sg-stub-top { font-family: 'Space Grotesk', sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .35em; opacity: .75; }
.sg-stub-name { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; word-break: break-word; }
.sg-stub-tag { font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; background: rgba(48,20,0,.14); }
.sg-main { flex: 1; padding: 2.1rem 1.9rem 1.4rem; display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.sg-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .25rem .7rem; border-radius: 999px; background: #121d3a; color: #ffdba0; font-family: 'Space Grotesk', sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sg-chip i { width: .5rem; height: .5rem; border-radius: 50%; background: #ffb703; box-shadow: 0 0 8px #ffb703; }
.sg-main h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.7rem; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.sg-main p { margin: 0; color: #94a3b8; font-size: .95rem; line-height: 1.6; }
.sg-cta { display: inline-flex; align-items: center; gap: .5rem; margin-top: .4rem; padding: .85rem 1.5rem; border-radius: 999px; text-decoration: none; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #301400; background: linear-gradient(90deg, #ffb703, #f98400); box-shadow: 0 0 26px rgba(255,183,3,.45); transition: transform .15s; }
.sg-cta:hover { transform: scale(1.04); }
.sg-skip { background: none; border: 0; padding: 0; cursor: pointer; color: #94a3b8; font-family: inherit; font-size: .82rem; }
.sg-skip:hover { color: #fff; }
.sg-main small { color: #64748b; font-size: .68rem; line-height: 1.4; }
@media (max-width: 40rem) {
  .sg-ticket { flex-direction: column; max-width: 23rem; }
  .sg-stub { flex: none; flex-direction: row; flex-wrap: wrap; gap: .5rem 1rem; padding: 1.1rem 1rem; border-radius: 1.1rem 1.1rem 0 0; border-right: 0; border-bottom: 2px dashed rgba(48,20,0,.45); }
  .sg-stub::before, .sg-stub::after { right: auto; top: auto; bottom: -.75rem; }
  .sg-stub::before { left: -.75rem; } .sg-stub::after { right: -.75rem; }
  .sg-stub-name { font-size: 1.5rem; }
  .sg-main { padding: 1.4rem 1.25rem 1.2rem; } .sg-main h3 { font-size: 1.4rem; }
}

/* ===== Contenido de artículos ===== */
.sg-content { color: #d5c4ac; font-size: 1.02rem; line-height: 1.8; }
.sg-content > * + * { margin-top: 1.25rem; }
.sg-content > p:first-of-type { font-size: 1.15rem; color: #dfe1f6; }
.sg-content h2, .sg-content h3, .sg-content h4 { font-family: 'Space Grotesk', sans-serif; color: #fff; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin-top: 2.5rem; }
.sg-content h2 { font-size: 1.9rem; padding-left: .9rem; border-left: 4px solid #ffb703; }
.sg-content h3 { font-size: 1.45rem; color: #ffdba0; }
.sg-content h4 { font-size: 1.15rem; color: #ffb781; }
.sg-content a { color: #ffb703; text-decoration: underline; text-underline-offset: 3px; }
.sg-content strong { color: #fff; }
.sg-content ul, .sg-content ol { padding-left: 0; list-style: none; counter-reset: sgol; }
.sg-content li { position: relative; padding-left: 1.8rem; margin-top: .6rem; }
.sg-content ul li::before { content: ''; position: absolute; left: .2rem; top: .7em; width: .5rem; height: .5rem; border-radius: 50%; background: #ffb703; box-shadow: 0 0 8px #ffb703; }
.sg-content ol li { counter-increment: sgol; }
.sg-content ol li::before { content: counter(sgol); position: absolute; left: 0; top: .15em; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #ffb703; color: #301400; font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.sg-content blockquote { padding: 1.2rem 1.5rem; background: #171b2a; border-radius: 1rem; border-left: 4px solid #f98400; color: #ffdba0; font-style: italic; }
.sg-content img { max-width: 100%; height: auto; border-radius: 1rem; }
.sg-content figcaption { font-size: .8rem; color: #94a3b8; text-align: center; margin-top: .5rem; }
.sg-content table { width: 100%; border-collapse: collapse; background: #171b2a; border-radius: 1rem; overflow: hidden; font-size: .92rem; }
.sg-content th { background: #252939; color: #ffb703; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; text-align: left; padding: .9rem; }
.sg-content td { padding: .9rem; border-top: 1px solid rgba(255,255,255,.06); }
.sg-content code { background: #252939; padding: .1rem .4rem; border-radius: .25rem; color: #ffdba0; }
.sg-content pre { background: #090e1c; border-radius: .75rem; padding: 1rem; overflow-x: auto; }
.sg-content hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,183,3,.5), transparent); margin: 2.5rem 0; }

/* ===== Paginación ===== */
.sg-pagination ul { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; justify-content: center; }
.sg-pagination a, .sg-pagination span.page-numbers { display: inline-flex; min-width: 2.6rem; height: 2.6rem; align-items: center; justify-content: center; padding: 0 .8rem; border-radius: 999px; background: #171b2a; color: #d5c4ac; font-weight: 700; text-decoration: none; }
.sg-pagination a:hover { background: #252939; color: #ffb703; }
.sg-pagination span.current { background: linear-gradient(90deg, #ffb703, #f98400); color: #301400; }
