/*
Theme Name: PlayMis
Theme URI: https://playmis.com
Author: Diego Vain
Author URI: https://playmis.com
Description: Tema personalizado de WordPress para la plataforma PlayMis.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: playmis
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
    --bg:
        radial-gradient(900px 500px at 15% 0%, rgba(196, 29, 0, 0.14), transparent 55%),
        radial-gradient(1100px 600px at 85% 10%, rgba(255, 255, 255, 0.05), transparent 65%),
        linear-gradient(180deg, #0f1013 0%, #16181d 45%, #1d2026 100%);

    --card: #ffffff;
    --surface: #fafafa;

    --muted: #a4a4a4;
    --text: #ffffff;
    --text-soft: #c7c7c7;

    --text-dark: #2f2f2f;
    --text-dark-soft: #616161;

    --accent: #c41d00;
    --accent-hover: #a81900;
    --accent-soft: rgba(196, 29, 0, 0.08);

    --border: rgba(255, 255, 255, 0.10);
    --border-card: rgba(0, 0, 0, 0.08);

    --white: #ffffff;
    --white-soft: rgba(255, 255, 255, 0.92);
    --white-border: rgba(255, 255, 255, 0.18);
    --white-glass: rgba(255, 255, 255, 0.14);
    --white-glass-hover: rgba(255, 255, 255, 0.20);

    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.20);

    --container: 1200px;
    --topbar-height: 40px;

    --header-height: 86px;
    --header-height-scrolled: 68px;

    --transition: 0.2s ease;
}

/*
================================
RESET
================================
*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

body {
    font-family: "Montserrat", sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
    min-height: 100vh;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mobile-ya-compre {
    display: none;
}


/*
================================
SIDEBAR
================================
*/
.playmis-home-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 20px 80px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 35px;
    align-items: start;
}

.playmis-main-content {
    min-width: 0;
}

.playmis-ads-sidebar {
    display: block;
    align-self: start;
}

.playmis-ads-sticky {
    position: sticky;
    top: 110px;
    /* max-height: calc(100vh - 110px);
    overflow-y: auto; */
}

.playmis-ad-banner {
    display: block;
    width: 100%;
    margin-bottom: 18px;
    border-radius: 18px;
    overflow: hidden;
    background: #11151c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}

.playmis-ad-banner img {
    display: block;
    width: 100%;
    height: auto;
}

/* MOBILE */
@media (max-width: 900px) {
    .playmis-home-layout {
        display: block;
    }

    .playmis-ads-sidebar {
        margin-top: 30px;
    }

    .playmis-ads-sticky {
        position: static;
    }
}

/*
================================
LAYOUT
================================
*/
.container,
.site-container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.site-title {
    font-family: "Playball", cursive;
    color: var(--text);
    font-size: 2.5rem;
    line-height: 1;
}

.site-title span {
    color: var(--accent);
}

.container h2 {
    margin-top: 10px;
}

/*
================================
HEADER TOP
================================
*/
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--topbar-height);
    background: rgba(15, 16, 19, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    z-index: 10000;
    padding: 8px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-top p {
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 500;
}

/*
================================
HEADER PRINCIPAL
================================
*/
.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    margin-top: calc(var(--topbar-height) + 12px);
    background: rgba(10, 12, 18, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: var(--header-height);
    transition: min-height 0.25s ease;
}

.site-header.scrolled {
    background: rgba(8, 10, 16, 0.94);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.site-header.scrolled .main-header {
    min-height: var(--header-height-scrolled);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.brand a {
    display: inline-flex;
    align-items: center;
}

.brand img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 54px;
    transition: max-height 0.25s ease, transform 0.25s ease;
}

.site-header.scrolled .brand img {
    max-height: 42px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--accent);
}

/*
================================
NAV DESKTOP
================================
*/
.desktop-nav-wrap {
    display: flex;
    align-items: center;
    margin-left: auto;
    min-width: 0;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--text-soft);
    font-weight: 600;
}

.site-nav a {
    position: relative;
    color: var(--white);
    font-weight: 600;
    font-size: 0.96rem;
    line-height: 1.2;
    transition: color var(--transition), opacity var(--transition);
}

.site-nav a:hover {
    color: var(--accent);
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.site-nav a:hover::after,
.site-nav .current-menu-item>a::after,
.site-nav .current_page_item>a::after {
    width: 100%;
}

.site-nav .current-menu-item>a,
.site-nav .current_page_item>a {
    color: var(--accent);
}

.actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* .actions .btn:last-child {
    border: 1px solid rgba(225, 6, 0, 0.4);
} */

.fa-circle {
    color: #e10600;
}

/*
================================
MENU TOGGLE
================================
*/
.menu-toggle {
    display: none;
    position: relative;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
}

.menu-toggle span {
    position: absolute;
    left: 11px;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease,
        top 0.25s ease;
}

.menu-toggle span:nth-child(1) {
    top: 15px;
}

.menu-toggle span:nth-child(2) {
    top: 22px;
}

.menu-toggle span:nth-child(3) {
    top: 29px;
}

.menu-toggle.active span:nth-child(1) {
    top: 22px;
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    top: 22px;
    transform: rotate(-45deg);
}

/*
================================
MOBILE MENU
================================
*/
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition:
        max-height 0.35s ease,
        opacity 0.25s ease,
        visibility 0.25s ease;
    background: rgba(9, 11, 17, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu.active {
    max-height: 700px;
    opacity: 1;
    visibility: visible;
}

.mobile-menu .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px 20px 10px;
}

.mobile-menu .site-nav a {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 1rem;
}

.mobile-menu .site-nav a::after {
    display: none;
}

.mobile-menu .site-nav a:hover {
    opacity: 1;
    color: var(--white);
    background: rgba(255, 255, 255, 0.09);
}

.mobile-actions {
    display: none;
    padding: 10px 20px 20px;
    gap: 12px;
    flex-direction: column;
}

.mobile-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

/*
================================
BUTTONS
================================
*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-weight: 700;
    transition:
        background-color var(--transition),
        border-color var(--transition),
        color var(--transition),
        transform var(--transition);
}

.btn:hover {
    border-color: rgba(196, 29, 0, 0.30);
    color: var(--accent);
    transform: translateY(-1px);
}

.btn.primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn.primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white);
}

.btn.disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

/*
================================
TYPOGRAPHY
================================
*/
h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
    margin-bottom: 12px;
    font-size: 1.75rem;
    line-height: 1.2;
    color: var(--white);
}

h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

h3 {
    font-size: 1.45rem;
    line-height: 1.3;
    color: var(--white);
}

h4 {
    font-size: 1.2rem;
    line-height: 1.35;
    color: var(--white);
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

small {
    font-size: 0.875rem;
}


/*
================================
HERO PORTADA PRINCIPAL
================================
*/
/*
================================
HERO PORTADA PRINCIPAL
================================
*/
.hero-static {
    position: relative;

    width: 100%;
    max-width: 1200px;

    margin: 15px auto 40px;

    border-radius: 24px;
    overflow: hidden;

    aspect-ratio: 1200 / 628;

    background: #101217;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.30);
}

.hero-static-img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}

/* NOTEBOOKS / TABLETS GRANDES */
@media (max-width: 1200px) {
    .hero-static {
        width: calc(100% - 30px);
        border-radius: 22px;
    }
}

/* TABLETS */
@media (max-width: 992px) {
    .hero-static {
        width: calc(100% - 24px);
        aspect-ratio: 16 / 10;
        border-radius: 20px;
    }
}

/* TABLETS PEQUEÑAS */
@media (max-width: 768px) {
    .hero-static {
        width: calc(100% - 18px);
        margin: 10px auto 25px;
        border-radius: 18px;
        aspect-ratio: 4 / 5;
    }

    .hero-static-img {
        object-position: left center;
    }
}

/* MÓVILES */
@media (max-width: 576px) {
    .hero-static {
        width: calc(100% - 14px);
        margin: 8px auto 22px;
        border-radius: 16px;
        aspect-ratio: 9 / 16;
    }

    .hero-static-img {
        object-position: 35% center;
    }
}

/* MÓVILES PEQUEÑOS */
@media (max-width: 420px) {
    .hero-static {
        width: calc(100% - 10px);
        border-radius: 14px;
        aspect-ratio: 9 / 17;
    }

    .hero-static-img {
        object-position: 32% center;
    }
}


/*
================================
HERO
================================
*/
.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    margin-top: 14px;
    min-height: 60vh;
    max-height: 640px;
    padding: 32px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.30);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.10) 0%,
            rgba(0, 0, 0, 0.22) 42%,
            rgba(0, 0, 0, 0.55) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 700px;
    padding: 8px 0;
}

.hero-content h1 {
    margin: 10px 0;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: 1;
    letter-spacing: 0.5px;
    color: var(--white);
}

.hero-content h1,
.hero .date-time,
.hero .texto-corto {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.30);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 7px 12px;
    border: 1px solid var(--white-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    color: var(--white);
    font-weight: 800;
    letter-spacing: 0.3px;
}

.pulse {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--accent);
}

.badge.live-badge {
    background: rgba(196, 29, 0, 0.16);
    border: 1px solid rgba(196, 29, 0, 0.30);
}

.badge.live-badge .pulse {
    animation: pulseLive 1.4s infinite;
}

@keyframes pulseLive {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(196, 29, 0, 0.45);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(196, 29, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(196, 29, 0, 0);
    }
}

.sub {
    color: rgba(255, 255, 255, 0.84);
    font-weight: 600;
}

.date-time {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
}

.hero .date-time,
.hero .texto-corto {
    max-width: 58ch;
}

.hero .texto-corto {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.hero .btn {
    background: var(--white-glass);
    border-color: var(--white-border);
    color: var(--white);
}

.hero .btn:hover {
    background: var(--white-glass-hover);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.28);
}

.hero .btn.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.hero .btn.primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.hero .btn.disabled {
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.22);
}

.hero-help-text {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.4;
    max-width: 420px;
}

.hero-help-text .highlight {
    font-style: italic;
    font-weight: 700;
}

/*
================================
SECTIONS
================================
*/
.section {
    margin-top: 30px;
}

.section h2 {
    margin-bottom: 12px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-header h2 {
    margin-bottom: 0;
}

.section-link {
    color: var(--accent);
    font-weight: 700;
    transition: color var(--transition);
}

.section-link:hover {
    color: var(--accent-hover);
}

.sport-section {
    margin-top: 40px;
}

/*
================================
GRID
================================
*/
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

/*
================================
CARDS
================================
*/
.card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: var(--shadow-soft);
    transition:
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(196, 29, 0, 0.22);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.thumb,
.event-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
    background-size: cover;
    background-position: 5% 20%;
    background-repeat: no-repeat;
}

.event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-thumb-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(135deg, #1a1a1a, #2f2f2f);
}

.status,
.status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.35px;
    line-height: 1;
}

.status {
    border: 1px solid var(--border-card);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-dark);
}

.status.live {
    /* border-color: rgba(196, 29, 0, 0.22);
    background: rgba(196, 29, 0, 0.08);
    color: var(--accent); */
    background: #ff2b2b;
    color: #fff;
    box-shadow: 0 0 14px rgba(255, 43, 43, 0.55);
}

.status.upcoming {
    /* border-color: rgba(128, 128, 128, 0.20);
    background: rgba(128, 128, 128, 0.08);
    color: #666666; */
    background: #ffb703;
    color: #111;
    box-shadow: 0 0 14px rgba(255, 183, 3, 0.45);
}

.status.ended {
    /* border-color: rgba(128, 128, 128, 0.14);
    background: rgba(128, 128, 128, 0.05);
    color: #808080; */
    background: #3b3f46;
    color: #e5e7eb;
    box-shadow: 0 0 12px rgba(59, 63, 70, 0.35);
}

.status-badge {
    color: #fff;
}

.status-badge.live {
    background: #dc2626;
}

.status-badge.upcoming {
    background: #2563eb;
}

.status-badge.ended {
    background: #4b5563;
}

.card-body,
.event-card-body {
    padding: 14px 16px 16px;
}

.meta {
    text-transform: uppercase;
}

.meta,
.event-meta {
    margin-bottom: 8px;
    color: var(--text-dark-soft);
    font-size: 12px;
    font-weight: 700;
}

.title,
.event-card-body h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.35;
}

.event-card-body h3 a,
.title a {
    color: inherit;
    text-decoration: none;
}

.info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--text-dark-soft);
    font-size: 13px;
    font-weight: 600;
}

.grid p,
.card p,
.event-card-body p {
    color: var(--text-dark-soft);
}

.card,
.card-body,
.card .title,
.card .meta,
.card .info,
.card p,
.card small,
.event-card-body,
.event-card-body h3,
.event-card-body .event-meta,
.event-card-body p {
    color: var(--text-dark);
}

.card-actions {
    display: flex;
    gap: 10px;
    padding: 14px;
    padding-top: 0;
}

.card-actions .btn {
    width: 100%;
    text-align: center;
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.card-actions .btn:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white);
}

/*
================================
PRECIO
================================
*/
.event-price {
    margin-top: 8px;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -0.4px;
}

.card-price {
    margin: 0 0 8px;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--accent);
}

/*
================================
CONTADOR
================================
*/
.countdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 6px;
    font-weight: 700;
}

.countdown.upcoming {
    color: #ff3c00;
    font-weight: 600;
    font-size: 1.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.countdown.live {
    color: #ff6a53;
}

.countdown.ended {
    color: #9ca3af;
}

/*
================================
ALERTAS EVENTO
================================
*/
.hero-top-right {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    font-size: 1.6em;
}

.countdown-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.event-alert {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    background: rgba(196, 29, 0, 0.15);
    color: #ff6a53;
    border: 1px solid rgba(196, 29, 0, 0.35);
}

.event-alert.hidden {
    display: none;
}

/*
================================
VIDEO PLAYER
================================
*/
.video-player {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 20px;
    background: #000;
    z-index: 1;
    transition: all 0.35s ease;
}

.video-player iframe,
.video-player embed,
.video-player object {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-player iframe {
    pointer-events: auto;
}

/* PANALLA COMPLETA */
.video-fullscreen-btn {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 20;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    display: none !important;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.72);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.video-fullscreen-btn:hover {
    background: rgba(10, 10, 10, 0.88);
    transform: scale(1.06);
}

.video-fullscreen-btn i {
    font-size: 16px;
    pointer-events: none;
}

.video-player:fullscreen,
.video-player:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    padding-bottom: 0;
    border-radius: 0;
    background: #000;
}

.video-player:fullscreen iframe,
.video-player:fullscreen embed,
.video-player:fullscreen object,
.video-player:-webkit-full-screen iframe,
.video-player:-webkit-full-screen embed,
.video-player:-webkit-full-screen object {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/*
================================
MODO CINE
================================
*/
body.cinema-active {
    overflow: hidden;
}

body.cinema-active .header-top,
body.cinema-active .site-header,
body.cinema-active .site-footer,
body.cinema-active footer.site-footer {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

body.cinema-active .site-container>.section:not(#transmision),
body.cinema-active .site-container>.hero {
    opacity: 0.08;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

#cinema-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1999;
}

#cinema-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

#cinema-overlay::after {
    content: "Click para salir del modo cine";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26px;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    font-weight: 600;
}

.video-player.cinema-mode {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(90vw, 1280px);
    max-width: 1280px;
    z-index: 2000;
    margin: 0;
    transform: translate(-50%, -50%);
    border-radius: 18px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.85);
}

.video-player.cinema-mode iframe,
.video-player.cinema-mode embed,
.video-player.cinema-mode object {
    border-radius: 18px;
}

/*==============================
VIDEO PAGE FULL SCREEN
================================*/

/* .video-full-wrapper {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
}

.video-full-wrapper iframe {
    width: 100vw;
    height: 100vh;
    border: none;
} */


/* ================================
   PAGE VIDEO FULL
================================ */
.page-template-page-video,
.page-template-page-video body {
    background: #000;
}

.page-template-page-video .header-top,
.page-template-page-video .site-header,
.page-template-page-video .site-footer,
.page-template-page-video footer {
    display: none !important;
}

.video-full-wrapper {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-full-wrapper iframe {
    width: min(100vw, 177.78vh);
    height: min(56.25vw, 100vh);
    border: 0;
    display: block;
    background: #000;
}

.video-back-btn {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 100000;
    color: #fff;
    background: rgba(0, 0, 0, 0.65);
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.page-template-page-video #playmis-chatbot {
    display: none !important;
}

/*==============================
LOGIN GOOGLE - PLAYMIS
================================*/

.playmis-google-login {
    margin-bottom: 20px;
}

.playmis-google-text {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Contenedor Nextend */
.nsl-container {
    width: 100%;
}

/* Botón Google */
.nsl-container .nsl-button {
    width: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Hover */
.nsl-container .nsl-button:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

/* Texto alternativo (separador) */
.playmis-divider {
    text-align: center;
    margin: 15px 0;
    color: #888;
    font-size: 14px;
}


/*================================
CHECKOUT AYUDA
================================*/

.playmis-checkout-help {
    margin: 0 0 24px;
    padding: 18px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.playmis-checkout-help h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.2;
}

.playmis-checkout-help ul {
    margin: 0;
    padding-left: 20px;
}

.playmis-checkout-help li {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .playmis-checkout-help {
        padding: 16px;
        margin-bottom: 18px;
    }

    .playmis-checkout-help h3 {
        font-size: 20px;
    }

    .playmis-checkout-help li {
        font-size: 15px;
    }
}

.playmis-billing-help {
    margin-bottom: 15px;
    padding: 14px;
    background: #1a1a1a;
    border-left: 4px solid #ff3c00;
    border-radius: 8px;
    font-size: 15px;
    color: #fff;
}

/*
================================
OCULTAR REGISTARME
================================
*/

.woocommerce-account .u-column2.col-2 {
    display: none;
}

.woocommerce-account .u-column1.col-1 {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
}


/*
================================
MENSAJES VIDEO
================================
*/
.video-message {
    padding: 18px 20px;
    border-radius: 14px;
    margin-top: 12px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.video-message p {
    margin: 0 0 10px;
}

.video-message p:last-child {
    margin-bottom: 0;
}

.video-message-error {
    background: rgba(255, 80, 80, 0.08);
    border: 1px solid rgba(255, 80, 80, 0.25);
    color: #f5d5d5;
}

/*===================================
    BLOQUEO TOKEN POR SECCION
====================================*/
.stream-session-blocked {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 32px 20px;
    text-align: center;
    background: rgba(8, 8, 8, 0.92);
    color: #ffffff;
    border-radius: 20px;
}

.stream-session-blocked h3 {
    margin: 0 0 12px;
    font-size: 28px;
}

.stream-session-blocked p {
    margin: 0 0 20px;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.82);
}

/*
================================
BOTÓN FINALIZAR COMPRA (BLOCKS)
================================
*/
.wc-block-cart__submit-button,
.wc-block-components-button.wc-block-cart__submit-button,
a.wc-block-components-button.wc-block-cart__submit-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    padding: 16px 20px !important;
    margin-top: 18px;
    background: linear-gradient(135deg, var(--accent), #ff3b1f) !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-decoration: none !important;
    border: none !important;
    border-radius: var(--radius) !important;
    box-shadow:
        0 12px 30px rgba(196, 29, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* EFECTO BRILLO */
.wc-block-cart__submit-button::before,
.wc-block-components-button.wc-block-cart__submit-button::before,
a.wc-block-components-button.wc-block-cart__submit-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent);
    transition: left 0.6s ease;
}

/* HOVER */
.wc-block-cart__submit-button:hover,
.wc-block-components-button.wc-block-cart__submit-button:hover,
a.wc-block-components-button.wc-block-cart__submit-button:hover {
    transform: translateY(-2px) scale(1.02);
    color: #ffffff !important;
    box-shadow:
        0 18px 40px rgba(196, 29, 0, 0.50),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.wc-block-cart__submit-button:hover::before,
.wc-block-components-button.wc-block-cart__submit-button:hover::before,
a.wc-block-components-button.wc-block-cart__submit-button:hover::before {
    left: 130%;
}

/* CLICK */
.wc-block-cart__submit-button:active,
.wc-block-components-button.wc-block-cart__submit-button:active,
a.wc-block-components-button.wc-block-cart__submit-button:active {
    transform: scale(0.97);
    box-shadow:
        0 8px 18px rgba(196, 29, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* TEXTO */
.wc-block-cart__submit-button .wc-block-components-button__text {
    color: #ffffff !important;
    font-weight: 900;
}

/* =========================
   PRELOADER
========================= */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    width: 52px;
    height: 52px;
    border: 4px solid rgba(255, 255, 255, 0.10);
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    animation: playmisSpin 0.9s linear infinite;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.18);
}

@keyframes playmisSpin {
    to {
        transform: rotate(360deg);
    }
}

/*
================================
COMPRA / ACCESO
================================
*/
.sale-note {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    font-weight: 500;
}

.playmiss-owned-product {
    margin-top: 15px;
    border-radius: 10px;
}

.access-box {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.success-note {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    font-weight: 600;
}

/*
================================
DASHBOARD
================================
*/
.mgander-dashboard a {
    display: inline-block;
    padding: 20px;
    border-radius: 12px;
    color: var(--white);
    font-weight: 700;
    background: var(--accent);
}


/*
================================
FOOTER
================================
*/
.site-footer,
footer.site-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: #c0c0c0;
    font-weight: 600;
}

/*
================================
BOTON FLOTANTE ACCESIBLE
================================
*/
.cinema-close-btn {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 2100;
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(20, 20, 20, 0.9);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    transition: all 0.2s ease;
}

.cinema-close-btn .icon {
    font-size: 1.2rem;
}

.cinema-close-btn:hover {
    background: rgba(40, 40, 40, 0.95);
    transform: translateY(-2px);
}

.cinema-close-btn:active {
    transform: scale(0.97);
}

.cinema-close-btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

body.cinema-active .cinema-close-btn {
    display: inline-flex;
}

/*
================================
VIDEO TUTORIAL
================================
*/
.playmis-tutorial {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.video-danger {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-weight: bold;
    color: #721c24;
    min-width: 100%;
    height: auto;
    background-color: #f8d7da;
}

.playmis-tutorial-toggle {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #e11d48, #fb7185);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.playmis-tutorial-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.30);
}

.playmis-tutorial-box {
    width: 560px;
    max-width: calc(100vw - 30px);
    background: rgba(12, 12, 12, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    display: none;
    position: relative;
}

.playmis-tutorial.is-open .playmis-tutorial-box {
    display: block;
}

.playmis-tutorial-video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    background: #000000;
}

.playmis-tutorial-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.playmis-tutorial-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.70);
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

/*
================================
AVISO LANDSCAPE VIDEO
================================
*/
.video-orientation-tip {
    display: none;
    margin-bottom: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(196, 29, 0, 0.12);
    border: 1px solid rgba(196, 29, 0, 0.25);
    color: #ff6a53;
    font-weight: 700;
    text-align: center;
}

.video-orientation-tip.show {
    display: block;
}

/*
================================
PARA DESACTIVAR COOKIES
================================
*/
.cmplz-manage-consent {
    display: none !important;
}

/*
================================
ASISTENTE DE AYUDA
================================
*/
#playmis-chatbot {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

#playmis-chat-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 18px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #8e1400);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

#playmis-chat-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
    background: linear-gradient(135deg, var(--accent-hover), #7f1200);
}

#playmis-chat-toggle:focus-visible,
#playmis-chat-close:focus-visible,
.playmis-accordion-question:focus-visible,
.playmis-wa-link:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

#playmis-chat-toggle::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    animation: playmisChatPulse 4s infinite;
    pointer-events: none;
}

.chat-icon {
    position: relative;
    z-index: 1;
    font-size: 18px;
    line-height: 1;
    animation: playmisChatBounce 3s infinite;
}

.chat-text {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}


@keyframes playmisChatBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

@keyframes playmisChatPulse {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 0;
    }
}

#playmis-chat-window {
    width: 360px;
    max-width: calc(100vw - 24px);
    height: 500px;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 20px;
    background: #111418;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

#playmis-chat-window.hidden {
    display: none;
}

.playmis-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, var(--accent), #8e1400);
}

.playmis-chat-header strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
}

.playmis-chat-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    line-height: 1.4;
}

#playmis-chat-close {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: solid #fff 2px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

#playmis-chat-close:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: scale(1.04);
}

.playmis-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background:
        radial-gradient(500px 200px at 15% 0%, rgba(196, 29, 0, 0.08), transparent 60%),
        linear-gradient(180deg, #161a20 0%, #12161c 100%);
}

.playmis-chat-intro {
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 12px;
    background: #232933;
    color: #fff;
    font-size: 13px;
    line-height: 1.6;
}

.playmis-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.playmis-accordion-item {
    margin: 0;
}

.playmis-accordion-question {
    width: 100%;
    min-height: 46px;
    padding: 12px 42px 12px 12px;
    border: none;
    border-radius: 10px;
    background: #232933;
    color: #fff;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    position: relative;
    transition: background 0.2s ease, transform 0.2s ease;
}

.playmis-accordion-question:hover {
    background: #2b3440;
}

.playmis-accordion-question::after {
    content: "+";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}

.playmis-accordion-item.active .playmis-accordion-question::after {
    content: "−";
}

.playmis-accordion-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.playmis-accordion-item.active .playmis-accordion-answer {
    max-height: 1000px;
    margin-top: 8px;
}

.playmis-accordion-answer-content {
    padding: 12px;
    border-radius: 10px;
    background: #1b2129;
    color: #d9dde4;
    font-size: 13px;
    line-height: 1.6;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.playmis-chat-footer {
    padding: 12px;
    background: #0e1116;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    line-height: 1;
}

.playmis-wa-link {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
    margin-top: 12px;
}

.playmis-wa-link:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.playmis-accordion-answer-content ol {
    list-style: decimal;
    padding-left: 20px;
    margin: 10px 0;
    color: var(--text);
}

.playmis-accordion-answer-content li {
    margin-bottom: 6px;
}


.playmis-go-event {
    display: block;
    margin-top: 12px;
    padding: 12px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    text-align: center;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s ease;
}

.playmis-go-event:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}


.playmis-help-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/*
================================
BOTON PARA ACCEDER EMAIL ACCIDENTE QUE SE CIERRA
================================
*/

.playmis-recover-box {
    width: 100%;
    max-width: 900px;
    /* límite elegante */
    margin: 28px auto 34px;
    /* centrado */
    padding: 26px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
}

.playmis-recover-box h3 {
    margin: 0 0 8px;
    font-size: 28px;
    color: #fff;
}

.playmis-recover-box p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
}

.playmis-recover-form {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.playmis-recover-form input[type="email"] {
    flex: 1;
    min-width: 260px;
    height: 52px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #fff;
    color: #111;
    font-size: 16px;
    outline: none;
}

.playmis-recover-form input[type="email"]:focus {
    border-color: #e10600;
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.22);
}

.playmis-recover-form .btn {
    height: 52px;
    padding: 0 22px;
    border-radius: 14px;
    white-space: nowrap;
    cursor: pointer;
}

.playmis-recover-message {
    margin-top: 14px;
    font-weight: 700;
    color: #ffd166;
}

/* .playmis-recover-box::before {
    content: "🔓 No necesitás contraseña";
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(225, 6, 0, 0.14);
    color: #ff6b6b;
    font-weight: 800;
    font-size: 13px;
} */


.playmis-recover-message.error {
    color: #ff6b6b;
}

.playmis-recover-message.success {
    color: #4ade80;
}

@media (max-width: 640px) {
    .playmis-recover-box {
        padding: 22px 18px;
    }

    .playmis-recover-form {
        display: block;
    }

    .playmis-recover-form input[type="email"],
    .playmis-recover-form .btn {
        width: 100%;
    }

    .playmis-recover-form .btn {
        margin-top: 12px;
    }
}


/*
================================
VER RESUMEN MODAL
================================
*/
.playmis-modal-open {
    overflow: hidden;
}

.playmis-resumen-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.playmis-resumen-modal.is-active {
    display: flex;
}

.playmis-resumen-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(3px);
}

.playmis-resumen-modal__dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 960px;
    background: #0f0f10;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

.playmis-resumen-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.playmis-resumen-modal__content {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}

.playmis-resumen-modal__content iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}


/* OCULTAR CANTIDAD DE PRODUCTO */
/* Ocultar en todos lados */
.quantity,
.cart .quantity,
.woocommerce-cart-form .quantity {
    display: none !important;
}


/*
==============================
RETORNO CUANDO INICIA LA SESSION
==============================
*/
.btn-volver-evento {
    display: inline-block;
    margin: 20px 0;
    padding: 14px 20px;
    background: #ff2d55;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: 0.2s ease;
}

.btn-volver-evento:hover {
    background: #e0264a;
    color: #fff;
}

.btn-volver-evento.is-live {
    box-shadow: 0 0 0 3px rgba(255, 45, 85, 0.18);
}

.btn-volver-evento.is-upcoming {
    opacity: 0.95;
}

.btn-volver-evento.is-ended {
    opacity: 0.90;
}

/*
================================
RESPONSIVE
================================
*/
@media (prefers-reduced-motion: reduce) {
    .mobile-ya-compre {
        animation: none;
    }
}


@media (max-width: 1199px) and (min-width: 992px) {
    .site-nav {
        gap: 18px;
    }

    .site-nav a {
        font-size: 0.92rem;
    }

    .actions {
        gap: 10px;
    }
}

@media (max-width: 1024px) {

    .container,
    .site-container {
        width: min(var(--container), calc(100% - 28px));
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {

    .desktop-nav-wrap,
    .actions {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .mobile-actions {
        display: flex;
    }
}

@media (min-width: 992px) {
    .mobile-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 78px;
        --header-height-scrolled: 64px;
    }

    .hero {
        min-height: 420px;
        max-height: none;
        padding: 22px;
        background-position: center top;
        border-radius: 20px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .hero .texto-corto {
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hero-actions .btn,
    .btn {
        width: 100%;
        min-height: 48px;
        font-size: 1rem;
    }


    .mobile-ya-compre {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 10px;

        text-transform: uppercase;
        font-weight: 800;
        letter-spacing: 0.5px;

        padding: 14px 16px;
        min-height: 52px;

        background: linear-gradient(135deg, #e10600, #b80000);
        color: #fff;

        border-radius: 12px;
        border: none;

        box-shadow: 0 10px 24px rgba(225, 6, 0, 0.35);

        font-size: 1.1rem;
        margin-top: 20px;

        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    .mobile-ya-compre {
        /* animation: playmisPulseCta 2.2s ease-in-out infinite; */
        background: linear-gradient(135deg, #16a34a, #15803d);
        box-shadow: 0 10px 24px rgba(22, 163, 74, 0.35);
    }

    .mobile-ya-compre.success {
        background: linear-gradient(135deg, #16a34a, #15803d);
        box-shadow: 0 10px 24px rgba(22, 163, 74, 0.35);
    }

    .mobile-ya-compre.buy {
        background: linear-gradient(135deg, #e10600, #b80000);
        box-shadow: 0 10px 24px rgba(225, 6, 0, 0.35);
    }

    /* .mobile-ya-compre {
        animation: playmisPulseCta 2.2s ease-in-out infinite;
        box-shadow: 0 0 0 rgba(225, 6, 0, 0.35);
    } 

    @keyframes playmisPulseCta {
        0% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(225, 6, 0, 0.35);
        }

        50% {
            transform: scale(1.02);
            box-shadow: 0 0 0 6px rgba(225, 6, 0, 0);
        }

        100% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(225, 6, 0, 0);
        }
    }*/

    .section {
        margin-top: 26px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .video-player {
        border-radius: 16px;
    }

    .video-fullscreen-btn {
        width: 42px;
        height: 42px;
        right: 10px;
        bottom: 10px;
    }

    .countdown {
        display: none;
    }

    .playmis-tutorial {
        right: 14px;
        bottom: 14px;
        left: 14px;
        align-items: stretch;
    }

    .playmis-tutorial-box {
        width: 100%;
        max-width: 100%;
    }

    .playmis-tutorial-toggle {
        width: 100%;
        text-align: center;
    }

    .cinema-close-btn {
        top: 12px;
        right: 12px;
        width: calc(100% - 24px);
        justify-content: center;
        min-height: 56px;
        font-size: 1.05rem;
    }

    .cinema-close-btn .icon {
        font-size: 1.3rem;
    }

    #playmis-chatbot {
        right: 14px;
        bottom: 14px;
        left: 14px;
        align-items: stretch;
    }

    #playmis-chat-window {
        width: 100%;
        max-width: 100%;
        height: 75vh;
        max-height: 580px;
    }

    #playmis-chat-toggle {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 560px) {

    .container,
    .site-container {
        width: min(var(--container), calc(100% - 20px));
    }

    .hero {
        min-height: 300px;
        padding: 16px;
        background-position: top center;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 1.9rem;
        line-height: 1.05;
    }

    .btn {
        width: 100%;
        padding: 12px 14px;
        min-height: 50px;
    }

    .texto-corto {
        padding: 4px 0;
        font-size: 0.95rem;
    }

    .event-price {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.45rem;
    }

    .brand img {
        max-height: 42px;
    }

    .site-header.scrolled .brand img {
        max-height: 34px;
    }

    .mobile-menu .site-nav {
        gap: 8px;
        padding: 14px 14px 10px;
    }

    .mobile-menu .site-nav a {
        padding: 13px 12px;
        border-radius: 12px;
        font-size: 0.95rem;
    }

    .mobile-actions {
        padding: 10px 14px 16px;
    }
}

@media (max-width: 480px) {
    #playmis-chatbot {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    #playmis-chat-window {
        height: 72vh;
    }

    #playmis-chat-toggle {
        min-height: 50px;
        padding: 13px 16px;
        font-size: 13px;
    }

    .chat-icon {
        font-size: 17px;
    }

    .chat-text {
        font-size: 13px;
    }

    .playmis-chat-header strong {
        font-size: 15px;
    }

    .playmis-chat-header p,
    .playmis-chat-intro,
    .playmis-accordion-question,
    .playmis-accordion-answer-content,
    .playmis-wa-link {
        font-size: 12.5px;
    }
}

@media (max-width: 380px) {
    .hero-content h1 {
        font-size: 1.7rem;
    }

    .badge {
        font-size: 0.82rem;
        padding: 6px 10px;
    }

    .event-price {
        font-size: 1.45rem;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        border-radius: 12px;
    }

    .menu-toggle span {
        left: 10px;
        width: 22px;
    }
}

@media (max-width: 768px) and (orientation: portrait) {

    body.cinema-active .site-container>.section:not(#transmision),
    body.cinema-active .site-container>.hero {
        opacity: 0.02;
    }

    .video-player.cinema-mode {
        width: 96vw;
        max-width: none;
    }

    #cinema-overlay::after {
        bottom: 18px;
        font-size: 0.82rem;
        padding: 0 16px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .video-player.cinema-mode {
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
    }

    .video-player.cinema-mode iframe,
    .video-player.cinema-mode embed,
    .video-player.cinema-mode object {
        border-radius: 0;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .mobile-menu.active {
        max-height: 80vh;
        overflow-y: auto;
    }

    .mobile-menu .site-nav a {
        padding: 10px 12px;
    }

    .mobile-actions {
        padding-bottom: 14px;
    }
}