:root {
    --accent-color:     #ffd272;
    --contrast-color:   #ffffff;
    --heading-color:    #ffffff;
    --default-color:    #ffffff;
    --heading-font:     "Karla", sans-serif;
    --nav-font:         "Karla", sans-serif;
    --nav-color:                       rgba(255, 255, 255, 0.8);
    --nav-dropdown-color:              rgba(255, 255, 255, 0.9);
    --nav-dropdown-hover-color:        #ffd272;
    --nav-mobile-background-color:     rgba(30, 30, 30, 0.95);
}

html {
    background-color: #cefff2;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url("../img/sealyworld_background.webp");
    background-attachment: fixed, fixed;
    background-size: cover, cover;
    background-position: center center, center center;
    background-repeat: no-repeat, no-repeat;
    min-height: 100vh;
}

@media (min-width: 768px) {
    html {
        scrollbar-width: none;
    }
    html::-webkit-scrollbar {
        display: none;
    }
}


body {
    background: transparent;
    position: relative;
    font-family: "Karla", sans-serif;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}


/*--------------------------------------------------------------
# Fade de entrada
--------------------------------------------------------------*/

#fade-entrada {
    position: fixed;
    inset: 0;
    z-index: 999998;
    background: #000;
    pointer-events: none;
    animation: fade-entrada 1.2s ease forwards;
    will-change: opacity;
}

@keyframes fade-entrada {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/*--------------------------------------------------------------
# Cabecera (Header)
--------------------------------------------------------------*/

.tienda-cabecera {
    position: static;
    margin-top: 20px;
    --surface-color: #e8e6f3;
    color: var(--default-color);
    transition: all 0.5s;
    z-index: 997;
}

.tienda-cabecera__contenedor {
    transition: all 0.5s;
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 10px;
}

.tienda-cabecera__btn-discord {
    border: 2px solid rgba(255, 255, 255, 0.19);
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 18px;
    font-weight: 800;
    padding: 8px 20px;
    border-radius: 5px;
    margin: 2px;
    transition: 0.3s;
}

.tienda-cabecera__btn-discord:hover {
    transform: scale(0.95);
}

.tienda-cabecera__btn-carrito {
    border: 2px solid rgba(255, 255, 255, 0.19);
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 18px;
    font-weight: 800;
    padding: 8px 20px;
    border-radius: 5px;
    margin: 2px;
    transition: 0.3s;
}

.tienda-cabecera__btn-carrito:hover {
    transform: scale(0.95);
}

.tienda-cabecera__btn-ip {
    border: 2px solid rgba(255, 255, 255, 0.19);
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 18px;
    font-weight: 800;
    padding: 8px 20px;
    border-radius: 5px;
    margin: 2px;
    transition: 0.3s;
}

.tienda-cabecera__btn-ip:hover {
    transform: scale(0.95);
}

/*--------------------------------------------------------------
# Navegación
--------------------------------------------------------------*/

/* Navegación - Escritorio */
@media (min-width: 1200px) {
    .tienda-nav {
        padding: 0;
    }

    .tienda-nav ul {
        margin: 0;
        display: flex;
        padding: 0;
        list-style: none;
        align-items: center;
    }

    .tienda-nav li {
        position: relative;
    }

    .tienda-nav a,
    .tienda-nav a:focus {
        color: white;
        font-size: 26px;
        font-family: var(--nav-font);
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
        text-transform: uppercase;
        margin: 10px;
    }

    .tienda-nav a:hover {
        transform: scale(0.95);
    }

    .tienda-nav li:last-child a {
        padding-right: 0;
    }

    .tienda-nav li:hover > a,
    .tienda-nav .active,
    .tienda-nav .active:focus {
        color: #ffd272;
    }
}

/* Navegación - Móvil */
@media (max-width: 1199px) {
    .tienda-nav__toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .tienda-nav {
        padding: 0;
        z-index: 9997;
    }

    .tienda-nav ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 10px 0;
        margin: 0;
        border-radius: 6px;
        background-color: var(--nav-mobile-background-color);
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

    .tienda-nav a,
    .tienda-nav a:focus {
        color: var(--nav-dropdown-color);
        padding: 10px 20px;
        font-family: var(--nav-font);
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .tienda-nav a:hover,
    .tienda-nav .active,
    .tienda-nav .active:focus {
        color: var(--nav-dropdown-hover-color);
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .tienda-nav__toggle {
        color: #fff;
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-right: 0;
        z-index: 9999;
    }

    .mobile-nav-active .tienda-nav {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8);
        transition: 0.3s;
    }

    .mobile-nav-active .tienda-nav > ul {
        display: block;
    }
}


/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/

section,
.section {
    color: var(--default-color);
    scroll-margin-top: 20px;
    overflow: clip;
}

/*--------------------------------------------------------------
# Jugador (Nombre + Publicidad)
--------------------------------------------------------------*/

.tienda-jugador {
    padding-top: 10px;
}

.tienda-jugador__lista {
    margin-bottom: 30px;
}

.tienda-jugador__item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    transition: all 0.3s ease;
    text-align: left;
    height: 100%;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.19);
    backdrop-filter: blur(2px);
    background-color: rgba(255, 255, 255, 0.25);
    overflow: hidden;
    box-sizing: border-box;
}

.tienda-jugador__item--publicidad {
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.tienda-jugador__icono {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tienda-jugador__icono img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    color: transparent;
}

.tienda-jugador__contenido {
    flex: 1;
    min-width: 0;
}

.tienda-jugador__entrada-grupo {
    display: flex;
    gap: 5px;
    align-items: center;
    width: 100%;
}

.tienda-jugador__label {
    margin: 0 0 6px 2px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.tienda-jugador__entrada {
    flex: 1;
    border: 2px solid rgba(255, 255, 255, 0.19);
    backdrop-filter: blur(2px);
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 8px 14px;
    color: white;
    font-size: 17px;
    font-weight: 600;
    font-family: "Karla", sans-serif;
    transition: all 0.3s ease;
    outline: none;
    min-width: 0;
}

.tienda-jugador__entrada:focus {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.tienda-jugador__entrada::placeholder {
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
}

.tienda-jugador__boton-check {
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.19);
    backdrop-filter: blur(2px);
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 8px 14px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tienda-jugador__boton-check:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
    transform: scale(1.05);
}

.tienda-jugador__item--publicidad .tienda-jugador__contenido p {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    text-align: center;
    color: #ffffff;
    line-height: 1.5;
}

@media (max-width: 1199px) {
    .tienda-jugador__item--publicidad .tienda-jugador__contenido p {
        font-size: 1.4rem;
    }
}

@media (max-width: 991px) {
    .tienda-jugador__item {
        margin-bottom: 20px;
    }

    .tienda-jugador__item--publicidad {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .tienda-jugador__item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .tienda-jugador__icono {
        width: 70px;
        height: 70px;
    }

    .tienda-jugador__entrada-grupo {
        flex-direction: column;
        gap: 10px;
    }

    .tienda-jugador__entrada,
    .tienda-jugador__boton-check {
        width: 100%;
        justify-content: center;
    }

    .tienda-jugador__item--publicidad .tienda-jugador__contenido p {
        font-size: 1.1rem;
        line-height: 1.4;
    }
}

/*--------------------------------------------------------------
# Paquetes de Coins
--------------------------------------------------------------*/

.tienda-paquetes {
    overflow: visible;
}

.tienda-paquetes__tarjeta {
    border: 2px solid rgba(255, 255, 255, 0.19);
    backdrop-filter: blur(2px);
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    height: 100%;
}

.tienda-paquetes__cabecera {
    padding-top: 25px;
    text-align: center;
}

.tienda-paquetes__icono img {
    height: 150px;
    margin: 20px 0;
}

.tienda-paquetes__titulo {
    font-size: 34px;
    font-weight: 800;
    color: white;
    line-height: 1.1;
}

.tienda-paquetes__zafiros-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.tienda-paquetes__precio {
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.tienda-paquetes__moneda {
    font-size: 34px;
    font-weight: 700;
    color: white;
}

.tienda-paquetes__cantidad {
    font-size: 40px;
    font-weight: 800;
    color: white;
}

.tienda-paquetes__cuerpo {
    padding: 10px 0 0 0;
}

.tienda-paquetes__boton {
    display: block;
    width: 100%;
    border: 2px solid rgba(255, 255, 255, 0.19);
    backdrop-filter: blur(2px);
    background-color: #038fd9;
    color: #ffffff;
    text-align: center;
    padding: 14px 0;
    border-radius: 0 0 12px 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}


.tienda-paquetes__tarjeta:hover:not(.tienda-paquetes__tarjeta--en-carrito) {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.45);
    background-color: rgba(255, 255, 255, 0.32);
}

.tienda-paquetes__boton:hover {
    transform: scale(1.08);
    letter-spacing: 2px;
    background-color: #0098e8;
}

@media (max-width: 768px) {
    .tienda-paquetes__tarjeta {
        margin-bottom: 20px;
    }
}

/*--------------------------------------------------------------
# Soporte (Footer Problemas)
--------------------------------------------------------------*/

.tienda-soporte__tarjeta {
    border: 2px solid rgba(255, 255, 255, 0.19);
    backdrop-filter: blur(2px);
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    height: 100%;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tienda-soporte__titulo {
    margin: 0 0 10px 0;
    color: white;
    font-size: 26px;
    font-weight: 800;
}

.tienda-soporte__subtitulo {
    color: white;
    font-size: 18px;
}

.tienda-soporte__botones {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tienda-soporte__btn-discord {
    padding: 0.875rem 2rem;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.19);
    background-color: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(2px);
}

.tienda-soporte__btn-discord:hover {
    transform: scale(0.95);
}

.tienda-soporte__btn-ayuda {
    padding: 0.875rem 2rem;
    color: white;
    font-size: 20px;
    font-weight: 800;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.19);
    background-color: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(2px);
}

.tienda-soporte__btn-ayuda:hover {
    transform: scale(0.95);
}

/*--------------------------------------------------------------
# Top Donador
--------------------------------------------------------------*/

@keyframes donador-shine {
    0%   { transform: translateX(-250%) rotate(-40deg); }
    40%  { transform: translateX(300%) rotate(-40deg); }
    100% { transform: translateX(-250%) rotate(-40deg); }
}

.tienda-donador__tarjeta::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.07) 40%,
        rgba(255, 255, 255, 0.13) 50%,
        rgba(255, 255, 255, 0.07) 60%,
        transparent 100%
    );
    animation: donador-shine 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

.tienda-donador__tarjeta {
    border: 3px solid rgba(255, 208, 109, 0.67);
    backdrop-filter: blur(2px);
    background: linear-gradient(145deg, rgba(255, 210, 114, 0.25), rgba(255, 224, 157, 0.28));
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    gap: 10px;
}

.tienda-donador__encabezado {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    margin-top: -35px;
}

.tienda-donador__trofeo {
    font-size: 22px;
    color: #ffd272;
    line-height: 1;
}

.tienda-donador__titulo {
    margin: 0;
    color: #ffd272;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.tienda-donador__jugador {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 126px;
    margin-top: -10px;
}

.tienda-donador__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.tienda-donador__avatar-ring {
    position: absolute;
    bottom: 0;
    left: 55px;
    width: 110px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.tienda-donador__avatar-ring::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 16px;
    background: radial-gradient(ellipse, rgba(255, 210, 114, 0.5) 0%, rgba(255, 210, 114, 0.08) 60%, transparent 80%);
    z-index: 0;
}

.tienda-donador__avatar-ring img {
    width: 130px;
    height: 175px;
    object-fit: contain;
    object-position: bottom;
    position: relative;
    z-index: 1;
}

.tienda-donador__nombre {
    margin: 0;
    color: white;
    font-size: 24px;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(255, 210, 114, 0.5);
}

.tienda-donador__descripcion {
    margin: 0;
    color: rgb(255, 210, 114);
    font-size: 13px;
    font-weight: 600;
    font-style: italic;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.tienda-footer__contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid rgba(255, 255, 255, 0.19);
    backdrop-filter: blur(2px);
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 15px 25px;
}

.tienda-footer__logo img {
    height: 100px;
    object-fit: contain;
}

.tienda-footer__legal {
    text-align: center;
    flex: 1;
}

.tienda-footer__legal p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
}

.tienda-footer__redes {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tienda-footer__red {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.19);
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(2px);
    border-radius: 10px;
    color: white;
    font-size: 22px;
    transition: 0.3s;
}

.tienda-footer__red:hover {
    transform: scale(0.95);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Carrito — Badge
--------------------------------------------------------------*/

.tienda-cabecera__btn-carrito {
    position: relative;
}

.tienda-cabecera__btn-carrito--activo {
    border-color: rgba(255, 210, 114, 0.8) !important;
    background: linear-gradient(135deg, rgba(255, 210, 114, 0.35), rgba(255, 185, 40, 0.25)) !important;
    color: #ffd272 !important;
    box-shadow: 0 0 14px rgba(255, 210, 114, 0.4);
}

.carrito-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    background: #e03c3c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    pointer-events: none;
}

/*--------------------------------------------------------------
# Paquete dorado — estado "en carrito"
--------------------------------------------------------------*/

.tienda-paquetes__tarjeta--en-carrito {
    border-color: rgba(255, 210, 114, 0.85) !important;
    background: linear-gradient(145deg, rgba(255, 210, 114, 0.3), rgba(255, 185, 40, 0.22)) !important;
    box-shadow:
        0 0 0 1px rgba(255, 210, 114, 0.4),
        0 0 30px rgba(255, 210, 114, 0.35),
        inset 0 0 40px rgba(255, 210, 114, 0.08);
}

.tienda-paquetes__tarjeta--en-carrito .tienda-paquetes__titulo,
.tienda-paquetes__tarjeta--en-carrito .tienda-paquetes__moneda,
.tienda-paquetes__tarjeta--en-carrito .tienda-paquetes__cantidad {
    color: #ffd272;
    text-shadow: 0 0 14px rgba(255, 210, 114, 0.65);
}

.tienda-paquetes__tarjeta--en-carrito .tienda-paquetes__icono img {
    filter: drop-shadow(0 0 12px rgba(255, 210, 114, 0.7));
}

.tienda-paquetes__tarjeta--en-carrito .tienda-paquetes__boton {
    background: linear-gradient(135deg, #ffd272, #ffb830) !important;
    color: #1a1000 !important;
    border-color: transparent !important;
}

.tienda-paquetes__tarjeta--en-carrito:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 0 1px rgba(255, 210, 114, 0.5),
        0 14px 40px rgba(255, 210, 114, 0.25),
        inset 0 0 40px rgba(255, 210, 114, 0.08);
}

.tienda-paquetes__tarjeta--en-carrito .tienda-paquetes__boton:hover {
    background: linear-gradient(135deg, #ffe099, #ffd060) !important;
    letter-spacing: 2px;
    transform: scale(1.08);
}

/*--------------------------------------------------------------
# Carrito — Panel deslizable
--------------------------------------------------------------*/

body.carrito-abierto {
    overflow: hidden;
}

.carrito-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100vw;
    min-height: 100vh;
    z-index: 10000;
    pointer-events: none;
    visibility: hidden;
}

.carrito-panel.abierto {
    pointer-events: all;
    visibility: visible;
}

.carrito-panel__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.35s ease;
}

.carrito-panel.abierto .carrito-panel__overlay {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.carrito-panel__cajita {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 2px solid rgba(255, 255, 255, 0.19);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.carrito-panel.abierto .carrito-panel__cajita {
    transform: translateX(0);
}

.carrito-panel__cabecera {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.19);
    flex-shrink: 0;
}

.carrito-panel__titulo {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 9px;
}

.carrito-panel__titulo i {
    color: var(--accent-color);
}

.carrito-panel__cerrar {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.19);
    backdrop-filter: blur(2px);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.carrito-panel__cerrar:hover {
    background: rgba(255, 255, 255, 0.38);
    transform: scale(0.95);
}

.carrito-panel__vacio {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 24px;
    text-align: center;
}

.carrito-panel__vacio i {
    font-size: 52px;
    color: rgba(255, 255, 255, 0.15);
}

.carrito-panel__vacio p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: 700;
}

.carrito-panel__vacio span {
    color: rgba(255, 255, 255, 0.35);
    font-size: 13px;
}

.carrito-panel__lista {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.carrito-panel__lista::-webkit-scrollbar {
    width: 4px;
}

.carrito-panel__lista::-webkit-scrollbar-track {
    background: transparent;
}

.carrito-panel__lista::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 2px;
}

.carrito-panel__pie {
    padding: 16px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.19);
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.carrito-panel__total-fila {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carrito-panel__total-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    font-weight: 700;
}

.carrito-panel__total-valor {
    color: var(--accent-color);
    font-size: 24px;
    font-weight: 800;
    text-shadow: 0 0 12px rgba(255, 210, 114, 0.4);
}

.carrito-panel__jugador-aviso {
    background: rgba(255, 160, 50, 0.12);
    border: 1px solid rgba(255, 160, 50, 0.3);
    border-radius: 8px;
    padding: 10px 14px;
    color: #ffbb66;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.carrito-panel__btn-checkout {
    width: 100%;
    background: linear-gradient(135deg, #ffd272, #ffb830);
    color: #1a1000;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 17px;
    font-weight: 800;
    font-family: "Karla", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.carrito-panel__btn-checkout:hover:not(:disabled) {
    background: linear-gradient(135deg, #ffe09a, #ffd060);
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(255, 210, 114, 0.45);
}

.carrito-panel__btn-checkout:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

/* ─── Modal jugador requerido ──────────────────────────────────────────────── */

.modal-jugador {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.modal-jugador.visible {
    opacity: 1;
    pointer-events: all;
}

.modal-jugador__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
}

.modal-jugador__caja {
    position: relative;
    background: rgba(255, 226, 137, 0.42);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 20px;
    padding: 36px 32px 28px;
    max-width: 360px;
    width: calc(100% - 32px);
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 210, 114, 0.08);
    transform: translateY(12px) scale(0.96);
    transition: transform 0.25s ease;
}

.modal-jugador.visible .modal-jugador__caja {
    transform: translateY(0) scale(1);
}

.modal-jugador__icono {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 160, 50, 0.12);
    border: 1px solid rgba(255, 160, 50, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 26px;
    color: #ffbb66;
}


.modal-jugador__titulo {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 10px;
}

.modal-jugador__texto {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    margin: 0 0 24px;
    line-height: 1.5;
}

.modal-jugador__boton {
    width: 100%;
    background: linear-gradient(135deg, #ffd272, #ffb830);
    color: #1a1000;
    border: none;
    border-radius: 12px;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 800;
    font-family: "Karla", sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-jugador__boton:hover {
    background: linear-gradient(135deg, #ffe09a, #ffd060);
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(255, 210, 114, 0.45);
}

/* ─────────────────────────────────────────────────────────────────────────── */

.carrito-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.19);
    border-radius: 12px;
    padding: 12px;
    transition: background 0.2s;
}

.carrito-item:hover {
    background: rgba(255, 255, 255, 0.25);
}

.carrito-item__img {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrito-item__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 210, 114, 0.45));
}

.carrito-item__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.carrito-item__nombre {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carrito-item__precio {
    color: var(--accent-color);
    font-size: 15px;
    font-weight: 700;
}



.carrito-item__eliminar {
    background: rgba(255, 80, 80, 0.19);
    border: 1px solid rgba(255, 80, 80, 0.36);
    color: #ff7070;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.carrito-item__eliminar:hover {
    background: rgba(255, 80, 80, 0.28);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .carrito-panel__cajita {
        width: 100%;
        max-width: 100%;
    }
}

/*--------------------------------------------------------------
# Mobile
--------------------------------------------------------------*/

/* Fix background-attachment: fixed en iOS Safari */
@media (max-width: 767px) {
    html {
        background-attachment: scroll, scroll;
        /* En móvil reducimos resolución para ahorrar memoria */
        background-size: cover, 100% auto;
    }
}

/* Header — botones más compactos en móvil muy pequeño */
@media (max-width: 400px) {
    .tienda-cabecera__btn-discord,
    .tienda-cabecera__btn-carrito {
        padding: 8px 12px;
        font-size: 15px;
    }

    .tienda-cabecera {
        margin-top: 10px;
    }
}

/* Footer — apilado vertical en móvil */
@media (max-width: 768px) {
    .tienda-footer__contenido {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 20px;
        text-align: center;
    }

    .tienda-footer__logo img {
        height: 70px;
    }

    .tienda-footer__legal p {
        font-size: 14px;
    }
}

/* Top Donador — apilado vertical en pantallas pequeñas */
@media (max-width: 480px) {
    .tienda-donador__jugador {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .tienda-donador__info {
        align-items: center;
        text-align: center;
    }
}

/* Soporte — botones ancho completo en pantallas pequeñas */
@media (max-width: 480px) {
    .tienda-soporte__botones {
        flex-direction: column;
        gap: 10px;
    }

    .tienda-soporte__btn-discord,
    .tienda-soporte__btn-ayuda {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
    }
}
