/* =======================================================
   GENERAL
======================================================= */

:root{

    --bg:#efe6d0;
    --panel:#fbf6eb;
    --panelDark:#f2ead8;

    --border:#c7b084;

    --blue:#007efc;
    --blueHover:#0b6ed6;

    --gold:#d8b24a;
    --goldDark:#a67f18;

    --success:#41a45a;
    --danger:#d44c4c;

    --text:#2d2b28;
    --textSoft:#766d5f;

    --shadow:
        0 12px 28px
        rgba(0,0,0,.12);

    --shadowHover:
        0 18px 36px
        rgba(0,0,0,.18);

    --radius:18px;

    --transition:.22s ease;

}

*{

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    margin:0;

    font-family:

        "Segoe UI",

        Arial,

        sans-serif;

    color:var(--text);

    background:

        radial-gradient(

            circle at top,

            rgba(255,255,255,.35),

            transparent 45%

        ),

        linear-gradient(

            180deg,

            #f6efe0,

            var(--bg)

        );

    min-height:100vh;

    -webkit-font-smoothing:antialiased;

    text-rendering:optimizeLegibility;

}

::selection{

    background:var(--blue);

    color:white;

}

#app{

    width:min(
        1280px,
        calc(100% - 40px)
    );

    height:100vh;

    margin:auto;

    padding:
        24px
        0
        24px;

    display:flex;

    flex-direction:column;

    min-height:0;
}

#viewArea{

    flex:1;

    min-height:0;

    display:flex;

    flex-direction:column;
}

img{

    display:block;

    max-width:100%;

}

button{

    font:inherit;

}

a{

    color:inherit;

    text-decoration:none;

}

hr{

    display:none;

}

/* =======================================================
   CABECERA
======================================================= */

#topBar{
    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        auto;

    align-items:stretch;

    gap:12px;

    width:100%;

    max-width:1200px;

    margin:0 auto 3px;
}


/* =======================================================
   TÍTULO
======================================================= */

.site-title{

    position:relative;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    min-height:108px;

    padding:22px 30px;

    background:#091727;

    border:2px solid #c9a64e;

    border-radius:20px;

    box-shadow:

        0 10px 24px
        rgba(0,0,0,.18),

        inset 0 0 0 1px
        rgba(255,255,255,.04);

}

/* =======================================================
   DESTINO RPG
======================================================= */

.site-title-main{

    font-size:2.25rem;

    font-weight:900;

    letter-spacing:7px;

    line-height:1;

    background:

        linear-gradient(
            180deg,
            #fff0ad,
            #e5c96b 50%,
            #b88920
        );

    -webkit-background-clip:text;
    background-clip:text;

    color:transparent;

    text-shadow:

        0 2px 4px
        rgba(0,0,0,.55);

}


/* =======================================================
   GACHA
======================================================= */

.site-title-sub{

    margin-top:9px;

    color:#e5cc83;

    font-size:.72rem;

    font-weight:800;

    letter-spacing:8px;

    text-indent:8px;

    text-shadow:

        0 1px 3px
        rgba(0,0,0,.45);

}

/* =======================================================
   LOGIN
======================================================= */

.login-panel{

    width:100%;

    box-sizing:border-box;

    padding:24px 24px 0;

}


/* =======================================================
   CONTENIDO LOGIN
======================================================= */

.login-panel-content{

    position:relative;

    max-width:620px;

    margin:0 auto;

    padding:28px 36px 24px;

    box-sizing:border-box;

    text-align:center;

    background:#091727;

    border:2px solid #c9a64e;

    border-radius:22px;

    box-shadow:var(--shadow);

}


/* =======================================================
   MARCO INTERIOR
======================================================= */

.login-panel-content::before{

    content:"";

    position:absolute;

    inset:5px;

    border:
        1px solid
        rgba(201,166,78,.45);

    border-radius:16px;

    pointer-events:none;

}


/* =======================================================
   ETIQUETA
======================================================= */

.login-label{

    position:relative;

    z-index:2;

    margin-bottom:8px;

    color:#e5cc83;

    font-size:.75rem;

    font-weight:900;

    letter-spacing:3px;

}


/* =======================================================
   TÍTULO
======================================================= */

.login-panel-content h2{

    position:relative;

    z-index:2;

    margin:0 0 8px;

    color:#fff;

    font-size:1.45rem;

}


/* =======================================================
   TEXTO
======================================================= */

.login-panel-content > p{

    position:relative;

    z-index:2;

    max-width:500px;

    margin:0 auto 20px;

    color:rgba(255,255,255,.78);

    font-size:.9rem;

    line-height:1.5;

}


/* =======================================================
   BOTÓN GOOGLE
======================================================= */

.gacha-login-button{

    position:relative;

    z-index:2;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    width:100%;

    max-width:360px;

    margin:0 auto;

    padding:13px 20px;

    box-sizing:border-box;

    border:1px solid #c9a64e;

    border-radius:10px;

    background:
        linear-gradient(
            180deg,
            #172c43,
            #0d1d30
        );

    color:#fff;

    font-family:inherit;

    font-size:.9rem;

    font-weight:800;

    letter-spacing:.5px;

    cursor:pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;

}


.gacha-login-button i{

    font-size:1.05rem;

}


.gacha-login-button:hover{

    transform:
        translateY(-2px);

    border-color:#e5cc83;

    box-shadow:
        0 4px 16px
        rgba(201,166,78,.2);

}


.gacha-login-button:active{

    transform:
        translateY(0);

}


/* =======================================================
   TEXTO DE PRIVACIDAD
======================================================= */

.login-panel-content .login-privacy{

    margin-top:14px;

    margin-bottom:0;

    color:rgba(255,255,255,.48);

    font-size:.7rem;

    line-height:1.45;

}


/* =======================================================
   NAVEGACIÓN
======================================================= */

#navigation{

    position:relative;

    display:grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    align-items:stretch;

    gap:6px;

    padding:6px 6px 10px;

    margin-bottom:16px;

    background:#091727;

    border:2px solid #c9a64e;

    border-radius:20px;

    box-shadow:

        0 10px 24px
        rgba(0,0,0,.18),

        inset 0 0 0 1px
        rgba(255,255,255,.04);

    flex-shrink:0;

}


/* =======================================================
   BOTONES DE NAVEGACIÓN
======================================================= */

.nav-button{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:6px;

    min-width:0;

    width:100%;

    min-height:54px;

    padding:8px 18px;

    border:1px solid transparent;

    border-radius:12px;

    background:transparent;

    color:#d9d0bd;

    font-size:14px;

    font-weight:700;

    cursor:pointer;

    transition:

        background var(--transition),

        color var(--transition),

        border-color var(--transition),

        transform var(--transition);

}

/* =======================================================
   ICONOS
======================================================= */

.nav-button i{

    font-size:1rem;

    color:#c9a64e;

    transition:

        color var(--transition),

        transform var(--transition);

}


/* =======================================================
   HOVER
======================================================= */

.nav-button:hover{

    background:

        rgba(201,166,78,.08);

    border-color:

        rgba(201,166,78,.35);

    color:#f5ead0;

    transform:
        translateY(-1px);

}


.nav-button:hover i{

    color:#e5cc83;

    transform:
        scale(1.08);

}


/* =======================================================
   BOTÓN ACTIVO
======================================================= */

.nav-button.active{

    background:

        linear-gradient(
            180deg,
            #16304a,
            #10243a
        );

    border-color:

        rgba(201,166,78,.7);

    color:#f5ead0;

    box-shadow:

        inset 0 0 0 1px
        rgba(255,255,255,.04),

        0 5px 14px
        rgba(0,0,0,.3);

}


.nav-button.active i{

    color:#e5cc83;

}


/* =======================================================
   SIN ADORNOS FLOTANTES
======================================================= */

#navigation::before,
#navigation::after{

    display:none;

}


/* =======================================================
   RESPONSIVE
======================================================= */

@media (max-width:768px){

    #topBar{

        grid-template-columns:1fr;

        gap:14px;

    }


    .site-title{

        min-height:82px;

        padding:15px 20px;

    }


    .site-title-main{

        font-size:1.75rem;

        letter-spacing:5px;

    }


    .site-title-sub{

        font-size:.62rem;

        letter-spacing:6px;

    }


    #navigation{

        width:100%;

    }


    .nav-button{

        flex:1;

        min-width:0;

    }

}

/* =======================================================
   ÁREA DE USUARIO
======================================================= */

#userArea{

    margin-bottom:0;

}


/* =======================================================
   INICIO — PERFIL + INVOCACIÓN
======================================================= */

.home-main{

    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(0,1fr);

    gap:24px;

    align-items:stretch;

    min-height:0;
}

.home-profile,
.home-summon{

    min-width:0;

    min-height:0;

    display:flex;
}

.home-profile #profile,
.home-summon .banner{

    width:100%;

    height:100%;

    min-height:0;
}

/* =======================================================
   VISTA HOME
======================================================= */

.home-view{

    display:flex;

    flex-direction:column;

    flex:1;

    min-height:0;

}

/* =======================================================
   FILA INFERIOR
======================================================= */

.home-bottom{

    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(0,1fr);

    gap:24px;

    margin-top:24px;

    flex:1;

    min-height:0;

}

/* =======================================================
   PANEL DE RESULTADO / INVOCACIÓN
======================================================= */

/* =======================================================
   RESULTADO / INVOCACIÓN
======================================================= */

.home-result{

    position:relative;

    overflow:hidden;

    background:#091727;

    border:2px solid #c9a64e;

    border-radius:22px;

    box-shadow:var(--shadow);

}

/* =======================================================
   MARCO INTERIOR
======================================================= */

.home-result::before{

    content:"";

    position:absolute;

    inset:5px;

    border:
        1px solid
        rgba(201,166,78,.45);

    border-radius:16px;

    pointer-events:none;

    z-index:10;

}


/* =======================================================
   ADORNO SUPERIOR
======================================================= */

.home-result::after{

    content:"◆";

    position:absolute;

    top:-11px;

    left:50%;

    transform:
        translateX(-50%);

    width:38px;

    height:20px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--panel);

    color:#c9a64e;

    font-size:.65rem;

    line-height:1;

    z-index:20;

}

/* =======================================================
   COLECCIÓN COMPLETADA
======================================================= */

.collection-complete{

    position:relative;

    width:100%;
    height:100%;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:28px 42px;

    box-sizing:border-box;

}


/* =======================================================
   MARCO INTERIOR
======================================================= */

.collection-complete::before{

    content:"";

    position:absolute;

    inset:6px;

    pointer-events:none;

    background:

        /* arriba */
        linear-gradient(
            90deg,
            transparent 0%,
            #c9a64e 18%,
            #c9a64e 38%,
            transparent 38%,
            transparent 62%,
            #c9a64e 62%,
            #c9a64e 82%,
            transparent 100%
        )
        top / 100% 1px no-repeat,

        /* abajo */
        linear-gradient(
            90deg,
            transparent 0%,
            #c9a64e 18%,
            #c9a64e 82%,
            transparent 100%
        )
        bottom / 100% 1px no-repeat,

        /* izquierda */
        linear-gradient(
            180deg,
            transparent,
            #c9a64e 20%,
            #c9a64e 80%,
            transparent
        )
        left / 1px 100% no-repeat,

        /* derecha */
        linear-gradient(
            180deg,
            transparent,
            #c9a64e 20%,
            #c9a64e 80%,
            transparent
        )
        right / 1px 100% no-repeat;

}


/* =======================================================
   ADORNO
======================================================= */

.collection-complete::after{

    content:"✦";

    position:absolute;

    top:8px;

    left:14px;

    color:#e5cc83;

    font-size:.9rem;

    text-shadow:
        0 0 8px
        rgba(229,204,131,.25);

}


/* =======================================================
   ETIQUETA
======================================================= */

.collection-complete-label{

    position:relative;

    z-index:2;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    margin-bottom:14px;

    padding:0 14px;

    font-size:.95rem;

    font-weight:900;

    letter-spacing:3px;

    color:#e5cc83;

    text-shadow:
        0 1px 2px
        rgba(0,0,0,.35);

}


/* Líneas ornamentales */

.collection-complete-label::before,
.collection-complete-label::after{

    content:"";

    width:28px;

    height:1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #c9a64e
        );

}

.collection-complete-label::after{

    transform:scaleX(-1);

}

/* =======================================================
   CARTA ESPERANDO INVOCACIÓN
======================================================= */

.summon-idle{

    position:relative;

    width:100%;
    height:100%;

    min-height:420px;

    display:flex;

    align-items:center;
    justify-content:center;

    overflow:hidden;

    animation:
        fadeIn .5s ease;

}


/* =======================================================
   CARTA TRASERA
======================================================= */

.summon-idle-card{

    position:relative;

    width:min(400px,75%);

    aspect-ratio:2/1;

    display:flex;

    align-items:center;
    justify-content:center;

    animation:
        summonIdleFloat 4s ease-in-out infinite;

}


/* =======================================================
   IMAGEN
======================================================= */

.summon-idle-card img{

    position:relative;

    z-index:2;

    width:100%;
    height:100%;

    object-fit:cover;

    border-radius:20px;

    box-shadow:

        0 18px 45px
        rgba(0,0,0,.45),

        0 0 22px
        rgba(201,166,78,.18);

}


/* =======================================================
   HALO DORADO SUTIL
======================================================= */

.summon-idle-glow{

    position:absolute;

    inset:-35px;

    z-index:1;

    border-radius:35px;

    pointer-events:none;

    background:

        radial-gradient(
            ellipse,
            rgba(229,204,131,.22),
            rgba(201,166,78,.08) 45%,
            transparent 72%
        );

    filter:blur(16px);

    animation:
        summonIdleGlow 4s ease-in-out infinite;

}


/* =======================================================
   MOVIMIENTO SUAVE
======================================================= */

@keyframes summonIdleFloat{

    0%,
    100%{

        transform:
            translateY(0)
            rotate(0deg);

    }

    50%{

        transform:
            translateY(-7px)
            rotate(.4deg);

    }

}


/* =======================================================
   PULSO DEL HALO
======================================================= */

@keyframes summonIdleGlow{

    0%,
    100%{

        opacity:.45;

        transform:
            scale(.95);

    }

    50%{

        opacity:.85;

        transform:
            scale(1.04);

    }

}



/* =======================================================
   TÍTULO
======================================================= */

.collection-complete h2{

    position:relative;

    z-index:1;

    margin:0 0 12px;

    font-size:1.45rem;

    font-weight:800;

    line-height:1.25;

    color:#f5ead0;

    text-shadow:
        0 2px 4px
        rgba(0,0,0,.35);

}


/* =======================================================
   TEXTO PRINCIPAL
======================================================= */

.collection-complete p{

    position:relative;

    z-index:1;

    max-width:650px;

    margin:0;

    font-size:.95rem;

    line-height:1.7;

    color:#d9d0bd;

}


/* =======================================================
   MENSAJE SOBRE FUTURAS COLECCIONES
======================================================= */

.collection-complete-next{

    margin-top:14px !important;

    font-size:.82rem !important;

    color:#b9b1a2 !important;

}



/* =======================================================
   NOTICIAS
======================================================= */

.home-news{

    min-width:0;

    min-height:0;

    display:flex;

    align-items:stretch;

}

/* =======================================================
   MARCOS DECORATIVOS DE SECCIONES
======================================================= */

.home-profile #profile,
.home-summon .banner,
.home-result,
.home-news .news-panel{

    position:relative;

    border:
        2px solid
        #c9a64e;

    box-shadow:
        inset 0 0 0 1px
        rgba(255,255,255,.35),

        0 4px 14px
        rgba(0,0,0,.08);

}


/* =======================================================
   SEGUNDO MARCO INTERIOR
======================================================= */

.home-profile #profile::before,
.home-summon .banner::before,
.home-result::before,
.home-news .news-panel::before{

    content:"";

    position:absolute;

    inset:5px;

    border:
        1px solid
        rgba(201,166,78,.45);

    border-radius:16px;

    pointer-events:none;

}


/* =======================================================
   ADORNO SUPERIOR
======================================================= */

.home-profile #profile::after,
.home-summon .banner::after,
.home-result::after,
.home-news .news-panel::after{

    content:"◆";

    position:absolute;

    top:-9px;

    left:50%;

    transform:
        translateX(-50%);

    width:42px;

    height:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:transparent;

    color:#c9a64e;

    font-size:.7rem;

    line-height:1;

    z-index:2;

    text-shadow:
        0 1px 2px
        rgba(0,0,0,.18);
}

.home-profile #profile::before,
.home-summon .banner::before,
.home-result::before,
.home-news .news-panel::before{

    content:"";

    position:absolute;

    top:-1px;

    left:50%;

    transform:
        translateX(-50%);

    width:70px;

    height:1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #c9a64e 25%,
            #e5cc83 50%,
            #c9a64e 75%,
            transparent
        );

    z-index:1;

    pointer-events:none;
}


/* =======================================================
   NOTICIAS
======================================================= */

.news-panel{

    width:100%;
    height:100%;

    display:flex;

    align-items:center;
    justify-content:center;

    gap:18px;

    padding:22px;

    box-sizing:border-box;

    background:#091727;

    border:2px solid #c9a64e;

    border-radius:22px;

    box-shadow:
        var(--shadow),
        inset 0 0 0 1px
        rgba(255,255,255,.04);

}


/* =======================================================
   INTERIOR ORNAMENTAL
======================================================= */

.news-content{

    position:relative;

    flex:1;

    min-width:0;

    height:100%;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:28px 42px;

    box-sizing:border-box;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.025),
            rgba(0,0,0,.08)
        );

    border:none;

    box-shadow:none;
}


/* =======================================================
   SEGUNDO MARCO
======================================================= */

.news-content::before{

    content:"";

    position:absolute;

    inset:6px;

    pointer-events:none;

    background:

        /* arriba */
        linear-gradient(
            90deg,
            transparent 0%,
            #c9a64e 18%,
            #c9a64e 38%,
            transparent 38%,
            transparent 62%,
            #c9a64e 62%,
            #c9a64e 82%,
            transparent 100%
        )
        top / 100% 1px no-repeat,

        /* abajo */
        linear-gradient(
            90deg,
            transparent 0%,
            #c9a64e 18%,
            #c9a64e 82%,
            transparent 100%
        )
        bottom / 100% 1px no-repeat,

        /* izquierda */
        linear-gradient(
            180deg,
            transparent,
            #c9a64e 20%,
            #c9a64e 80%,
            transparent
        )
        left / 1px 100% no-repeat,

        /* derecha */
        linear-gradient(
            180deg,
            transparent,
            #c9a64e 20%,
            #c9a64e 80%,
            transparent
        )
        right / 1px 100% no-repeat;
}

/* =======================================================
   ADORNOS DE LAS ESQUINAS
======================================================= */

.news-content::after{

    content:"✦";

    position:absolute;

    top:8px;
    left:14px;

    color:#e5cc83;

    font-size:.9rem;

    text-shadow:
        0 0 8px
        rgba(229,204,131,.25);
}


/* =======================================================
   ETIQUETA
======================================================= */

.news-label{

    position:relative;

    z-index:2;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    margin-bottom:14px;

    padding:0 14px;

    font-size:.95rem;

    font-weight:900;

    letter-spacing:3px;

    color:#e5cc83;

    text-shadow:
        0 1px 2px
        rgba(0,0,0,.35);
}
/* Líneas ornamentales */

.news-label::before,
.news-label::after{

    content:"";

    width:28px;

    height:1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #c9a64e
        );
}

.news-label::after{

    transform:scaleX(-1);
}


/* =======================================================
   TÍTULO
======================================================= */

.news-content h2{

    position:relative;

    z-index:1;

    margin:0 0 12px;

    font-size:1.45rem;

    font-weight:800;

    line-height:1.25;

    color:#f5ead0;

    text-shadow:
        0 2px 4px
        rgba(0,0,0,.35);
}

/* =======================================================
   TEXTO
======================================================= */

.news-content p{

    position:relative;

    z-index:1;

    max-width:650px;

    margin:0;

    font-size:.95rem;

    line-height:1.7;

    color:#d9d0bd;
}


/* =======================================================
   FLECHAS
======================================================= */

.news-arrow{

    flex-shrink:0;

    position:relative;

    width:48px;
    height:48px;

    display:flex;

    align-items:center;
    justify-content:center;

    border:1px solid #c9a64e;

    border-radius:50%;

    background:#091727;

    color:#e5cc83;

    font-size:1.9rem;

    font-family:
        "Cinzel",
        Georgia,
        serif;

    line-height:1;

    cursor:pointer;

    box-shadow:
        inset 0 0 0 1px
        rgba(255,255,255,.05),

        0 4px 10px
        rgba(0,0,0,.25);

    transition:
        transform var(--transition),
        border-color var(--transition),
        color var(--transition),
        box-shadow var(--transition);
}


.news-arrow::before{

    content:"";

    position:absolute;

    inset:4px;

    border:1px solid
        rgba(229,204,131,.3);

    border-radius:50%;

    pointer-events:none;
}


.news-arrow:hover{

    border-color:#f0d889;

    color:#fff3c9;

    box-shadow:
        inset 0 0 0 1px
        rgba(255,255,255,.08),

        0 0 14px
        rgba(201,166,78,.25);
}


.news-prev:hover{

    transform:translateX(-3px);
}


.news-next:hover{

    transform:translateX(3px);
}


.news-arrow:active{

    transform:scale(.94);
}

/* =======================================================
   RECOMPENSA DIARIA
======================================================= */

.daily-reward{

    width:100%;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:22px;

    padding:10px 20px;

    box-sizing:border-box;

}


.daily-reward-icon{

    flex-shrink:0;

    width:64px;

    height:64px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:16px;

    background:
        linear-gradient(
            145deg,
            #0d2237,
            #091727
        );

    border:1px solid #c9a64e;

    box-shadow:

        inset 0 0 0 1px
        rgba(255,255,255,.06),

        0 5px 12px
        rgba(0,0,0,.15);

    font-size:2rem;

}


.daily-reward-info{

    min-width:0;

    text-align:left;

}


.daily-reward-label{

    margin-bottom:5px;

    font-size:.75rem;

    font-weight:900;

    letter-spacing:2.2px;

    color:#8b6415;

}


.daily-reward-info h2{

    margin:0 0 5px;

    font-size:1.25rem;

    color:var(--text);
}


.daily-reward-info p{

    margin:0;

    color:#51483b;

    line-height:1.4;

}


#dailyRewardCountdown{

    margin-top:8px;

    font-size:1.35rem;

    font-weight:800;

    letter-spacing:2px;

    color:#f0d477;

    font-variant-numeric:tabular-nums;

}

/* =======================================================
   BOTÓN DE RECOMPENSA DIARIA
======================================================= */

.daily-reward-button{

    position:relative;

    flex-shrink:0;

    overflow:hidden;

    min-width:190px;

    padding:14px 24px;

    border:2px solid #c9a64e;

    border-radius:12px;

    background:#091727;

    color:#f5e6b8;

    font-weight:800;

    font-size:.9rem;

    letter-spacing:1.2px;

    cursor:pointer;

    box-shadow:
        inset 0 0 0 1px
        rgba(255,255,255,.08),

        0 4px 10px
        rgba(0,0,0,.18);

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        color var(--transition);

}


/* =======================================================
   MARCO INTERIOR
======================================================= */

.daily-reward-button::before{

    content:"";

    position:absolute;

    inset:4px;

    border:1px solid
        rgba(229,204,131,.45);

    border-radius:7px;

    pointer-events:none;

}


/* =======================================================
   DESTELLO
======================================================= */

.daily-reward-button::after{

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:70%;

    height:100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.16),
            transparent
        );

    transform:
        skewX(-20deg);

    transition:
        left .55s ease;

}


/* =======================================================
   HOVER
======================================================= */

.daily-reward-button:hover{

    transform:
        translateY(-2px);

    border-color:#e5cc83;

    color:#fff3c9;

    box-shadow:
        inset 0 0 0 1px
        rgba(255,255,255,.12),

        0 7px 16px
        rgba(0,0,0,.22),

        0 0 12px
        rgba(201,166,78,.18);

}


.daily-reward-button:hover::after{

    left:140%;

}


/* =======================================================
   CLICK
======================================================= */

.daily-reward-button:active{

    transform:
        translateY(0)
        scale(.97);

}


/* =======================================================
   DESACTIVADO
======================================================= */

.daily-reward-button:disabled{

    cursor:default;

    opacity:.5;

    transform:none;

    box-shadow:
        inset 0 0 0 1px
        rgba(255,255,255,.04);

}


.daily-reward-button:disabled::after{

    display:none;

}


/* =======================================================
   BOTÓN DE INICIO DE SESIÓN
======================================================= */

#loginButton{

    display:flex;

    align-items:center;
    justify-content:center;

    gap:10px;

    width:100%;

    padding:12px 20px;

    border:1px solid #c9a64e;

    border-radius:12px;

    background:#091727;

    color:#e5cc83;

    font-family:inherit;

    font-size:.9rem;

    font-weight:800;

    letter-spacing:1px;

    cursor:pointer;

    box-shadow:
        0 4px 12px
        rgba(0,0,0,.25);

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


#loginButton:hover{

    background:#10243a;

    border-color:#e5cc83;

    transform:translateY(-1px);

    box-shadow:
        0 6px 16px
        rgba(0,0,0,.35);
}


#loginButton i{

    color:#e5cc83;

    font-size:1rem;

}

/* =======================================================
   PERFIL
======================================================= */

#profile{

    background:#091727;

    border:2px solid #c9a64e;

    border-radius:22px;

    padding:18px;

    margin-bottom:0;

    box-shadow:
        var(--shadow),
        inset 0 0 0 1px
        rgba(255,255,255,.04);

}


/* =======================================================
   CABECERA
======================================================= */

.profile-main{

    display:grid;

    grid-template-columns:70px 1fr auto;

    gap:18px;

    align-items:center;

    margin-bottom:16px;

}


/* =======================================================
   LOGO / TÍTULO
======================================================= */

#mainLogo{

    display:block;

    width:100%;

    height:auto;

    max-width:100%;

    margin:0;

}


/* =======================================================
   AVATAR
======================================================= */

.profile-avatar{

    width:70px;

    height:70px;

    box-sizing:border-box;

    display:block;

    border-radius:50%;

    border:2px solid #c9a64e;

    padding:2px;

    background:#091727;

    object-fit:cover;

    box-shadow:

        0 0 0 1px
        rgba(201,166,78,.35),

        0 4px 10px
        rgba(0,0,0,.3);

    transition:
        transform var(--transition),
        box-shadow var(--transition);

}


.profile-avatar:hover{

    transform:scale(1.03);

    box-shadow:

        0 0 0 1px
        rgba(201,166,78,.65),

        0 0 10px
        rgba(201,166,78,.22),

        0 5px 13px
        rgba(0,0,0,.35);

}


/* =======================================================
   INFORMACIÓN
======================================================= */

.profile-info{

    min-width:0;

}


.profile-name{

    margin:0;

    font-size:1.3rem;

    font-weight:700;

    color:#f5ead0;

}


.profile-member{

    margin-top:4px;

    color:#bdb7aa;

    font-size:.85rem;

}


/* =======================================================
   TICKETS
======================================================= */

.profile-tickets{

    display:flex;

    align-items:center;

    gap:10px;

    padding:11px 16px;

    border:1px solid #c9a64e;

    border-radius:14px;

    background:#061321;

    color:#f5e6b8;

    font-weight:800;

    box-shadow:

        inset 0 0 0 1px
        rgba(255,255,255,.06),

        0 5px 12px
        rgba(0,0,0,.3);

}


#profileProgress{

    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(0,1fr);

    gap:14px 20px;

    margin-top:16px;

}


.ticket-icon{

    font-size:1.3rem;

}


.ticket-value{

    font-size:1.3rem;

    line-height:1;

}


/* =======================================================
   PROGRESO
======================================================= */

.collection-progress{

    width:100%;

    padding:7px 10px;

    border:1px solid transparent;

    border-radius:12px;

    transition:
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);

}


.collection-progress:hover{

    background:
        rgba(255,255,255,.025);

}


/* =======================================================
   CABECERA DE PROGRESO
======================================================= */

.progress-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    margin-bottom:6px;

    font-weight:700;

    font-size:.88rem;

    color:#f5ead0;

}


.progress-name{

    min-width:0;

    overflow:hidden;

    text-overflow:ellipsis;

    white-space:nowrap;

}


.progress-count{

    flex-shrink:0;

}


/* =======================================================
   BARRA
======================================================= */

.progress-bar{

    height:9px;

    overflow:hidden;

    border-radius:999px;

    background:#1d3042;

}


.progress-fill{

    height:100%;

    border-radius:999px;

    background:
        linear-gradient(
            90deg,
            #0094ff,
            #0068d6
        );

    transition:width .45s;

}


/* =======================================================
   TEXTO INFERIOR
======================================================= */

.progress-footer{

    margin-top:5px;

    text-align:right;

    color:#9da8b2;

    font-size:.78rem;

}


/* =======================================================
   COLECCIÓN COMPLETADA
======================================================= */

.collection-progress.completed{

    background:
        linear-gradient(
            90deg,
            rgba(216,178,74,.13),
            rgba(216,178,74,.04)
        );

    border-color:
        rgba(201,166,78,.55);

    box-shadow:
        inset 0 0 0 1px
        rgba(255,255,255,.05);

}


.collection-progress.completed
.progress-fill{

    background:
        linear-gradient(
            90deg,
            #b88920,
            #f0cc67,
            #b88920
        );

}


.collection-progress.completed
.progress-footer{

    color:#e5cc83;

    font-weight:800;

}


.completion-mark{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:18px;

    height:18px;

    margin-left:5px;

    border-radius:50%;

    background:
        linear-gradient(
            145deg,
            #f1d47b,
            #a67f18
        );

    color:white;

    font-size:.65rem;

    box-shadow:
        0 2px 5px
        rgba(0,0,0,.3);

}

/* =======================================================
BANNER / INVOCACIÓN
======================================================= */

.banner{

    height:100%;

    min-height:0;

    display:flex;

    flex-direction:column;

    padding:18px;

    box-sizing:border-box;

    position:relative;

    overflow:hidden;

    background:#091727;

    border:2px solid #c9a64e;

    border-radius:22px;

    box-shadow:var(--shadow);

}


/* =======================================================
MARCO DE LA IMAGEN
======================================================= */

.banner-image-frame{

    flex:1;

    min-height:0;

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:10px;

    box-sizing:border-box;

}


/* =======================================================
ADORNO EXTERIOR DEL MARCO
======================================================= */

.banner-image-frame::before{

    content:"";

    position:absolute;

    inset:5px;

    border:1px solid
        rgba(201,166,78,.75);

    border-radius:17px;

    box-shadow:

        inset 0 0 0 1px
        rgba(255,255,255,.05),

        0 0 12px
        rgba(201,166,78,.08);

    pointer-events:none;

}


/* =======================================================
SEGUNDO MARCO
======================================================= */

.banner-image-frame::after{

    content:"";

    position:absolute;

    inset:10px;

    border:1px solid
        rgba(229,204,131,.28);

    border-radius:13px;

    pointer-events:none;

}


/* =======================================================
IMAGEN
======================================================= */

.banner-image{

    position:relative;

    z-index:1;

    width:100%;

    max-width:100%;

    aspect-ratio:4 / 1;

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

    border-radius:10px;

    background:#091727;

    box-shadow:

        inset 0 0 25px
        rgba(0,0,0,.45),

        0 4px 12px
        rgba(0,0,0,.18);

}


/* =======================================================
IMAGEN REAL
======================================================= */

.banner-image img{

    display:block;

    width:100%;

    height:100%;

    object-fit:cover;

    transition:
        transform .45s ease,
        filter .45s ease;

}


/* =======================================================
PEQUEÑO EFECTO AL PASAR EL RATÓN
======================================================= */

.banner:hover .banner-image img{

    transform:scale(1.015);

}


/* =======================================================
INFORMACIÓN DE INVOCACIÓN
======================================================= */

.banner-info{

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:8px;

    padding:10px 8px 2px;

}


/* =======================================================
BOTÓN DE INVOCACIÓN
======================================================= */

.banner-button{

    position:relative;

    width:100%;

    min-height:78px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:18px;

    padding:12px 30px;

    border:2px solid #c9a64e;

    border-radius:14px;

    background:#091727;

    color:#e5c875;

    cursor:pointer;

    overflow:hidden;

    box-shadow:

        inset 0 0 0 1px
        rgba(255,255,255,.06),

        0 0 0 1px
        rgba(201,166,78,.12);

    transition:

        border-color .25s ease,

        box-shadow .25s ease,

        background .25s ease;

}


/* =======================================================
SEGUNDO BORDE INTERIOR
======================================================= */

.banner-button::before{

    content:"";

    position:absolute;

    inset:5px;

    border:1px solid
        rgba(201,166,78,.45);

    border-radius:9px;

    pointer-events:none;

}


/* =======================================================
BRILLO QUE RECORRE EL BOTÓN
======================================================= */

.banner-button::after{

    content:"";

    position:absolute;

    top:0;

    left:-35%;

    width:25%;

    height:100%;

    background:

        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.12),
            transparent
        );

    transform:
        skewX(-20deg);

    transition:
        left .7s ease;

    pointer-events:none;

}


/* =======================================================
HOVER DEL BOTÓN
======================================================= */

.banner-button:hover{

    border-color:#f0d889;

    background:#0b1c30;

    box-shadow:

        inset 0 0 0 1px
        rgba(255,255,255,.08),

        0 0 14px
        rgba(201,166,78,.25);

}


.banner-button:hover::after{

    left:120%;

}


/* =======================================================
TEXTO DEL BOTÓN
======================================================= */

.banner-button-info{

    position:relative;

    z-index:2;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    line-height:1;

}


/* =======================================================
TEXTO PRINCIPAL
======================================================= */

.banner-button-main{

    font-size:1.5rem;

    font-weight:900;

    letter-spacing:3px;

    color:#e8cf82;

    text-shadow:
        0 1px 2px
        rgba(0,0,0,.8);

}


/* =======================================================
COSTE
======================================================= */

.banner-button-sub{

    margin-top:7px;

    font-size:.68rem;

    font-weight:800;

    letter-spacing:2px;

    color:#a98b45;

}


/* =======================================================
TICKET
======================================================= */

.ticket-icon{

    position:relative;

    z-index:2;

    width:38px;

    height:25px;

    flex-shrink:0;

    display:block;

    background:

        linear-gradient(
            180deg,
            #fff1bc,
            #d6ad4d
        );

    border:2px solid #9b741b;

    border-radius:5px;

    transform:
        rotate(-8deg);

    box-shadow:
        0 2px 3px
        rgba(0,0,0,.22);

}


/* =======================================================
MUESCAS LATERALES
======================================================= */

.ticket-icon::before,
.ticket-icon::after{

    content:"";

    position:absolute;

    top:50%;

    width:8px;

    height:8px;

    margin-top:-4px;

    border-radius:50%;

    background:#091727;

}


.ticket-icon::before{

    left:-6px;

}


.ticket-icon::after{

    right:-6px;

}


/* =======================================================
LÍNEA DE PERFORACIÓN
======================================================= */

.ticket-icon-hole{

    position:absolute;

    top:3px;

    bottom:3px;

    left:50%;

    border-left:
        2px dashed
        rgba(139,100,21,.65);

}


/* =======================================================
ADORNOS LATERALES
======================================================= */

.banner-button-info::before{

    content:"✦";

    position:absolute;

    left:-55px;

    top:50%;

    transform:
        translateY(-50%);

    color:#c9a64e;

    font-size:.8rem;

    opacity:.8;

}


.banner-button-info::after{

    content:"✦";

    position:absolute;

    right:-55px;

    top:50%;

    transform:
        translateY(-50%);

    color:#c9a64e;

    font-size:.8rem;

    opacity:.8;

}


/* =======================================================
DESACTIVADO
======================================================= */

.banner-button:disabled{

    cursor:not-allowed;

    filter:
        grayscale(.25)
        brightness(.82);

    opacity:.65;

    transform:none;

    box-shadow:

        0 4px 0 #806126,

        0 6px 12px
        rgba(0,0,0,.12);

}


.banner-button:disabled::after{

    display:none;

}


/* =======================================================
BOTÓN DE INVOCACIÓN
======================================================= */

.banner-button{

    position:relative;

    width:100%;

    min-height:78px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:18px;

    padding:12px 30px;

    box-sizing:border-box;

    border:2px solid #c9a64e;

    border-radius:14px;

    background:#091727;

    color:#e5c875;

    cursor:pointer;

    overflow:hidden;

    box-shadow:

        inset 0 0 0 1px
        rgba(255,255,255,.06),

        0 0 0 1px
        rgba(201,166,78,.12);

    transition:

        border-color .25s ease,

        box-shadow .25s ease,

        background .25s ease,

        transform .25s ease;
}


/* =======================================================
BORDE INTERIOR
======================================================= */

.banner-button::before{

    content:"";

    position:absolute;

    inset:5px;

    border:
        1px solid
        rgba(201,166,78,.45);

    border-radius:9px;

    pointer-events:none;
}


/* =======================================================
DESTELLO DEL BOTÓN
======================================================= */

.banner-button::after{

    content:"";

    position:absolute;

    top:0;

    left:-35%;

    width:25%;

    height:100%;

    background:

        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.12),
            transparent
        );

    transform:
        skewX(-20deg);

    transition:
        left .7s ease;

    pointer-events:none;
}


/* =======================================================
HOVER
======================================================= */

.banner-button:hover{

    border-color:#f0d889;

    background:#0b1c30;

    box-shadow:

        inset 0 0 0 1px
        rgba(255,255,255,.08),

        0 0 14px
        rgba(201,166,78,.25);

    transform:
        translateY(-1px);
}


.banner-button:hover::after{

    left:120%;
}


/* =======================================================
TEXTO DEL BOTÓN
======================================================= */

.banner-button-info{

    position:relative;

    z-index:2;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    line-height:1;
}


/* =======================================================
TEXTO PRINCIPAL
======================================================= */

.banner-button-main{

    font-size:1.5rem;

    font-weight:900;

    letter-spacing:3px;

    color:#e8cf82;

    text-shadow:
        0 1px 2px
        rgba(0,0,0,.8);
}


/* =======================================================
COSTE
======================================================= */

.banner-button-sub{

    margin-top:7px;

    font-size:.68rem;

    font-weight:800;

    letter-spacing:2px;

    color:#a98b45;
}


/* =======================================================
TICKET
======================================================= */

.banner-button .ticket-icon{

    position:relative;

    z-index:2;

    width:38px;

    height:25px;

    flex-shrink:0;

    display:block;

    background:

        linear-gradient(
            180deg,
            #fff1bc,
            #d6ad4d
        );

    border:
        2px solid
        #9b741b;

    border-radius:5px;

    transform:
        rotate(-8deg);

    box-shadow:
        0 2px 3px
        rgba(0,0,0,.22);
}


/* =======================================================
MUESCAS DEL TICKET
======================================================= */

.banner-button .ticket-icon::before,
.banner-button .ticket-icon::after{

    content:"";

    position:absolute;

    top:50%;

    width:8px;

    height:8px;

    margin-top:-4px;

    border-radius:50%;

    background:#091727;
}


.banner-button .ticket-icon::before{

    left:-6px;
}


.banner-button .ticket-icon::after{

    right:-6px;
}


/* =======================================================
PERFORACIÓN DEL TICKET
======================================================= */

.ticket-icon-hole{

    position:absolute;

    top:3px;

    bottom:3px;

    left:50%;

    border-left:
        2px dashed
        rgba(139,100,21,.65);
}


/* =======================================================
ADORNOS DEL BOTÓN
======================================================= */

.banner-button-info::before{

    content:"✦";

    position:absolute;

    left:-55px;

    top:50%;

    transform:
        translateY(-50%);

    color:#c9a64e;

    font-size:.8rem;

    opacity:.8;
}


.banner-button-info::after{

    content:"✦";

    position:absolute;

    right:-55px;

    top:50%;

    transform:
        translateY(-50%);

    color:#c9a64e;

    font-size:.8rem;

    opacity:.8;
}


/* =======================================================
CLICK
======================================================= */

.banner-button:active{

    transform:
        scale(.97);
}


/* =======================================================
DESACTIVADO
======================================================= */

.banner-button:disabled{

    cursor:not-allowed;

    filter:
        grayscale(.25)
        brightness(.82);

    opacity:.65;

    transform:none;

    box-shadow:

        0 4px 0 #806126,

        0 6px 12px
        rgba(0,0,0,.12);
}


.banner-button:disabled::after{

    display:none;
}


.banner-button:disabled:hover{

    background:#091727;

    border-color:#c9a64e;

    box-shadow:

        0 4px 0 #806126,

        0 6px 12px
        rgba(0,0,0,.12);

    transform:none;
}

/* =======================================================
   SEGUNDO BORDE INTERIOR
======================================================= */

.banner-button::before{

    content:"";

    position:absolute;

    inset:5px;

    border:1px solid
        rgba(201,166,78,.45);

    border-radius:9px;

    pointer-events:none;

}


/* =======================================================
   BRILLO QUE RECORRE EL BOTÓN
======================================================= */

.banner-button::after{

    content:"";

    position:absolute;

    top:0;

    left:-35%;

    width:25%;

    height:100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.12),
            transparent
        );

    transform:
        skewX(-20deg);

    transition:
        left .7s ease;

    pointer-events:none;

}


.banner-button:hover{

    border-color:#f0d889;

    background:#0b1c30;

    box-shadow:
        inset 0 0 0 1px
        rgba(255,255,255,.08),

        0 0 14px
        rgba(201,166,78,.25);

}


.banner-button:hover::after{

    left:120%;

}


/* =======================================================
   TEXTO
======================================================= */

.banner-button-info{

    position:relative;

    z-index:2;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    line-height:1;

}


/* =======================================================
   TEXTO PRINCIPAL
======================================================= */

.banner-button-main{

    font-size:1.5rem;

    font-weight:900;

    letter-spacing:3px;

    color:#e8cf82;

    text-shadow:
        0 1px 2px
        rgba(0,0,0,.8);

}


/* =======================================================
   COSTE
======================================================= */

.banner-button-sub{

    margin-top:7px;

    font-size:.68rem;

    font-weight:800;

    letter-spacing:2px;

    color:#a98b45;

}


/* =======================================================
   TICKET
======================================================= */

.ticket-icon{

    position:relative;

    z-index:2;

    width:46px;

    height:30px;

    flex-shrink:0;

    background:
        linear-gradient(
            180deg,
            #f5df9a,
            #c49b3d
        );

    border:
        2px solid #e2c66f;

    border-radius:5px;

    transform:rotate(-8deg);

    box-shadow:
        0 0 8px
        rgba(201,166,78,.2);

}


/* Muescas */

.ticket-icon::before,
.ticket-icon::after{

    content:"";

    position:absolute;

    top:50%;

    width:9px;
    height:9px;

    margin-top:-4.5px;

    border-radius:50%;

    background:#091727;

}


.ticket-icon::before{
    left:-7px;
}


.ticket-icon::after{
    right:-7px;
}


/* Perforación */

.ticket-icon-hole{

    position:absolute;

    top:3px;
    bottom:3px;

    left:50%;

    border-left:
        2px dashed
        #9b792d;

}


/* =======================================================
   ADORNOS
======================================================= */

.banner-button-info::before{

    content:"✦";

    position:absolute;

    left:-55px;

    top:50%;

    transform:translateY(-50%);

    color:#c9a64e;

    font-size:.8rem;

    opacity:.8;

}


.banner-button-info::after{

    content:"✦";

    position:absolute;

    right:-55px;

    top:50%;

    transform:translateY(-50%);

    color:#c9a64e;

    font-size:.8rem;

    opacity:.8;

}


/* =======================================================
   DESACTIVADO
======================================================= */

.banner-button:disabled{

    cursor:not-allowed;

    opacity:.45;

    filter:grayscale(.3);

    box-shadow:none;

}


.banner-button:disabled:hover{

    background:#091727;

    border-color:#c9a64e;

    box-shadow:
        inset 0 0 0 1px
        rgba(255,255,255,.06),

        0 0 0 1px
        rgba(201,166,78,.12);

}

/* =======================================================
   ICONO DE TICKET
======================================================= */

.ticket-icon{

    position:relative;

    width:38px;

    height:25px;

    flex-shrink:0;

    display:block;

    background:
        linear-gradient(
            180deg,
            #fff1bc,
            #d6ad4d
        );

    border:2px solid #9b741b;

    border-radius:5px;

    transform:
        rotate(-8deg);

    box-shadow:
        0 2px 3px
        rgba(0,0,0,.22);

}


/* Muescas laterales */

.ticket-icon::before,
.ticket-icon::after{

    content:"";

    position:absolute;

    top:50%;

    width:8px;

    height:8px;

    margin-top:-4px;

    border-radius:50%;

    background:#c49a3c;

}


.ticket-icon::before{

    left:-6px;

}


.ticket-icon::after{

    right:-6px;

}


/* Línea perforada */

.ticket-icon-hole{

    position:absolute;

    top:3px;

    bottom:3px;

    left:50%;

    border-left:
        2px dashed
        rgba(139,100,21,.65);

}


/* =======================================================
   TEXTO PRINCIPAL
======================================================= */

.banner-button-text{

    font-size:1rem;

    letter-spacing:1.5px;

    text-shadow:
        0 1px 2px
        rgba(0,0,0,.3);

}


/* =======================================================
   COSTE
======================================================= */

.banner-button-cost{

    padding-left:10px;

    border-left:
        1px solid
        rgba(255,255,255,.45);

    font-size:.68rem;

    letter-spacing:1px;

    opacity:.9;

    white-space:nowrap;

}


/* =======================================================
   DESACTIVADO
======================================================= */

.banner-button:disabled{

    cursor:not-allowed;

    filter:
        grayscale(.25)
        brightness(.82);

    opacity:.65;

    transform:none;

    box-shadow:
        0 4px 0 #806126,
        0 6px 12px
        rgba(0,0,0,.12);

}


.banner-button:disabled::after{

    display:none;

}


/* =======================================================
   COLECCIÓN
======================================================= */

.collection-view{

    width:100%;

}


/* =======================================================
   ÍNDICE DE COLECCIONES
======================================================= */

.collection-index{

    position:sticky;

    top:10px;

    z-index:20;

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:40px;

    padding:14px;

    background:#fffdf9;

    border:2px solid #c9a64e;

    border-radius:18px;

    box-shadow:
        0 8px 20px rgba(0,0,0,.08);

}


.collection-jump{

    display:flex;

    flex-direction:column;

    gap:4px;

    padding:10px 16px;

    border:1px solid transparent;

    border-radius:14px;

    background:#f3ead8;

    color:var(--text);

    cursor:pointer;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);

    font-weight:700;

}


.collection-jump:hover{

    transform:translateY(-2px);

    background:#ffe4a1;

}


.collection-jump small{

    color:var(--textSoft);

    font-size:.78rem;

}


/* Colección completada */

.collection-jump.completed{

    background:
        linear-gradient(
            135deg,
            #f5e3ad,
            #e1bf67
        );

    border-color:#b58a2b;

    color:#5b4210;

    box-shadow:
        0 4px 10px
        rgba(166,127,24,.18);

}


.collection-jump.completed small{

    color:#765717;

}


.jump-complete{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:17px;

    height:17px;

    margin-left:4px;

    border-radius:50%;

    background:#a67f18;

    color:white;

    font-size:.62rem;

}


/* =======================================================
   SECCIÓN
======================================================= */

.collection-section{

    scroll-margin-top:120px;

    margin-bottom:70px;

}


.collection-section.completed{

    position:relative;

    padding:24px 24px 28px;

    border:2px solid rgba(166,127,24,.42);

    border-radius:24px;

    background:

        linear-gradient(
            180deg,
            rgba(216,178,74,.08),
            rgba(255,255,255,.12)
        );

    box-shadow:

        0 10px 24px
        rgba(166,127,24,.08);

}


.collection-highlight{

    animation:flashCollection .8s;

}


@keyframes flashCollection{

    0%{

        transform:scale(.98);

    }

    50%{

        transform:scale(1.01);

    }

    100%{

        transform:scale(1);

    }

}


/* =======================================================
   CABECERA DE COLECCIÓN
======================================================= */

.collection-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    margin-bottom:24px;

    padding:
        18px
        22px;

    background:
        linear-gradient(
            180deg,
            #142b43,
            #091727
        );

    border:1px solid #c9a64e;

    border-radius:16px;

    box-shadow:

        0 8px 18px
        rgba(9,23,39,.18),

        inset 0 0 0 1px
        rgba(255,255,255,.035);

}


/* =======================================================
   TÍTULO
======================================================= */

.collection-title{

    margin:0 0 6px;

    font-size:1.8rem;

    font-weight:800;

    color:#f5ead0;

    text-shadow:
        0 2px 4px
        rgba(0,0,0,.35);

}


/* =======================================================
   SUBTÍTULO
======================================================= */

.collection-subtitle{

    margin:0;

    color:#c9c0ae;

    font-size:.95rem;

}


.collection-section.completed
.collection-subtitle{

    color:#e5cc83;

    font-weight:700;

}


/* =======================================================
   CONTADOR
======================================================= */

.collection-counter{

    display:flex;

    justify-content:center;

    align-items:center;

    width:76px;

    height:76px;

    flex-shrink:0;

    border-radius:50%;

    background:

        linear-gradient(
            180deg,
            #ffe18a,
            #ffc72d
        );

    color:#533800;

    font-size:1.5rem;

    font-weight:800;

    box-shadow:

        0 8px 18px
        rgba(0,0,0,.25);

}


/* =======================================================
   CONTADOR · COLECCIÓN COMPLETADA
======================================================= */

.collection-section.completed
.collection-counter{

    background:

        linear-gradient(
            145deg,
            #f1d47b,
            #a67f18
        );

    border:3px solid #f7e5ad;

    color:white;

    box-shadow:

        0 8px 20px
        rgba(166,127,24,.3);

}

/* =======================================================
   CARTAS
======================================================= */

.collection-grid{

    display:grid;

    grid-template-columns:
        repeat(5, minmax(0,1fr));

    gap:18px;

}


/* =======================================================
   BOTÓN VOLVER ARRIBA
======================================================= */

#backToTop{

    position:fixed;

    right:28px;
    bottom:28px;

    width:52px;
    height:52px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid #c9a64e;
    border-radius:50%;

    background:
        linear-gradient(
            180deg,
            #16304a,
            #091727
        );

    color:#f5d978;

    font-size:1.25rem;

    box-shadow:
        0 6px 18px rgba(0,0,0,.25),
        inset 0 0 0 1px rgba(255,255,255,.04);

    cursor:pointer;

    z-index:100;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;

}

#backToTop:hover{

    transform:translateY(-3px);

    background:
        linear-gradient(
            180deg,
            #1c3c5c,
            #10243a
        );

    box-shadow:
        0 10px 24px rgba(0,0,0,.3),
        0 0 12px rgba(201,166,78,.2);

}

/* =======================================================
   COLECCIONES DESPLEGABLES
======================================================= */

.collection-grid{

    display:grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap:24px;

    max-height:0;

    overflow:hidden;

    opacity:0;

    padding-top:0;
    padding-bottom:0;

    transition:
        max-height .4s ease,
        opacity .25s ease,
        padding .4s ease;

}


/* =======================================================
   COLECCIÓN ABIERTA
======================================================= */

.collection-section.open
.collection-grid{

    max-height:10000px;

    opacity:1;

    padding-top:24px;
    padding-bottom:24px;

}


/* =======================================================
   CABECERA
======================================================= */

.collection-header{

    cursor:pointer;

    user-select:none;

}


/* =======================================================
   INDICADOR
======================================================= */

.collection-toggle{

    display:flex;

    align-items:center;
    justify-content:center;

    width:34px;
    height:34px;

    flex-shrink:0;

    color:#e5cc83;

    font-size:.85rem;

    transition:
        transform .25s ease,
        color .2s ease;

}


.collection-header:hover
.collection-toggle{

    color:#ffffff;

}


.collection-section.open
.collection-toggle{

    transform:rotate(0deg);

}

/* =======================================================
   CARTAS
======================================================= */

.card{

    position:relative;

    min-width:0;

    width:100%;

    overflow:hidden;

    background:
        linear-gradient(
            180deg,
            #fffdf7,
            #f4ecd8
        );

    border:2px solid #c7b084;

    border-radius:20px;

    cursor:pointer;

    transition:
        transform .25s,
        box-shadow .25s,
        border-color .25s;

    box-shadow:
        0 8px 18px rgba(0,0,0,.12);

}

.card:hover{

    transform:
        translateY(-8px)
        scale(1.03);

    border-color:#d8bb70;

    box-shadow:
        0 18px 34px rgba(0,0,0,.18);

}

.card:hover .card-image{

    transform:scale(1.04);

}


/* ---------------- Brillo ---------------- */

.card::before{

    content:"";

    position:absolute;

    top:0;
    left:-120%;

    width:70%;
    height:100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.45),
            transparent
        );

    transform:skewX(-20deg);

    transition:.55s;

    pointer-events:none;

}

.card:hover::before{

    left:160%;

}


/* ---------------- Header ---------------- */

.card-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:10px 12px;

    background:
        linear-gradient(
            180deg,
            #faf6ea,
            #efe5cc
        );

    border-bottom:1px solid #d6c39d;

}

.card-logo{

    width:22px;
    height:22px;

}

.card-number{

    font-size:11px;

    font-weight:700;

    color:#7d6848;

    letter-spacing:1px;

}


/* ---------------- Imagen ---------------- */

.card-image{

    width:100%;

    aspect-ratio:2/1;

    object-fit:cover;

    transition:
        transform .35s;

}


/* ---------------- Footer ---------------- */

.card-footer{

    padding:14px 12px;

}

.card-title{

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:42px;

    text-align:center;

    font-size:.8rem;

    font-weight:700;

    line-height:1.35;

    color:#2d2b28;

}


/* =======================================================
   CARTAS BLOQUEADAS
======================================================= */

.locked-card{

    filter:grayscale(.9);

    opacity:.78;

}

.locked-card:hover{

    transform:none;

    box-shadow:
        0 8px 18px rgba(0,0,0,.12);

}

.locked-card:hover .card-image{

    transform:none;

}

.locked-card::before{

    display:none;

}


/* =======================================================
   RESULTADO
======================================================= */

#resultArea{

    width:100%;

    height:100%;

    min-height:0;

    margin:0;

    display:flex;

    justify-content:center;

    align-items:center;

}

/* =======================================================
   MODAL
======================================================= */

.modal-overlay{

    position:fixed;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px;

    background:rgba(20,16,8,.78);

    backdrop-filter:blur(6px);

    z-index:9999;

    animation:fadeModal .25s;

}

.modal{

    position:relative;

    width:min(900px,95vw);

    max-height:90vh;

    overflow:auto;

    background:var(--panel);

    border:2px solid var(--border);

    border-radius:24px;

    padding:30px;

    box-shadow:

        0 25px 60px rgba(0,0,0,.35);

    animation:modalIn .25s;

    isolation:isolate;

}


/* =======================================================
   CONTENIDO DEL MODAL
======================================================= */

.modal-content{

    display:grid;

    grid-template-columns:340px 1fr;

    gap:32px;

    align-items:start;

}


.modal-cover{

    position:sticky;

    top:0;

}


.modal img{

    width:100%;

    border-radius:16px;

    display:block;

    margin-bottom:24px;

    box-shadow:

        0 10px 24px rgba(0,0,0,.18);

}


.modal-details{

    display:flex;

    flex-direction:column;

    gap:18px;

}


.modal h2{

    margin:0 0 18px;

    font-size:2rem;

    color:#2d2b28;

}


.card-info{

    display:grid;

    grid-template-columns:150px 1fr;

    gap:12px 18px;

    margin:10px 0 24px;

    align-items:center;

}


.card-info strong{

    color:#6b5735;

}


.card-info span{

    color:#2d2b28;

}


.card-description{

    line-height:1.75;

    color:var(--textSoft);

}


/* =======================================================
   BOTÓN CERRAR
======================================================= */

#closeModal{

    position:absolute;

    top:18px;

    right:18px;

    width:46px;

    height:46px;

    border:none;

    border-radius:50%;

    background:white;

    color:#555;

    font-size:24px;

    font-weight:bold;

    cursor:pointer;

    transition:.25s;

    box-shadow:

        0 8px 20px rgba(0,0,0,.18);

    z-index:10;

}


#closeModal:hover{

    background:var(--blue);

    color:white;

    transform:rotate(90deg);

}


/* =======================================================
   ARTÍCULOS
======================================================= */

.article-list{

    display:flex;

    flex-direction:column;

    gap:12px;

    margin-top:30px;

}


.article-link{

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:16px 18px;

    border-radius:14px;

    background:white;

    border:1px solid var(--border);

    transition:.2s;

}


.article-link::after{

    content:"→";

    font-size:1.2rem;

    font-weight:bold;

}


.article-link:hover{

    background:var(--blue);

    color:white;

    transform:translateX(6px);

}


/* =======================================================
   ANIMACIONES
======================================================= */

@keyframes fadeModal{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}


@keyframes modalIn{

    from{

        opacity:0;

        transform:translateY(25px) scale(.96);

    }

    to{

        opacity:1;

        transform:none;

    }

}


/* =======================================================
   CARTA BLOQUEADA
======================================================= */

.locked-modal{

    text-align:center;

}


.locked-image{

    width:100%;

    border-radius:18px;

    margin-bottom:24px;

    filter:

        grayscale(100%)

        brightness(.45);

    box-shadow:

        0 10px 24px rgba(0,0,0,.22);

}


.locked-icon{

    width:80px;

    height:80px;

    margin:0 auto 20px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:

        linear-gradient(
            180deg,
            #d7c29b,
            #b89963
        );

    color:white;

    font-size:2.2rem;

    box-shadow:

        0 8px 18px rgba(0,0,0,.18);

}


.locked-title{

    margin:0;

    font-size:2rem;

    color:#3b2d17;

}


.locked-number{

    margin-top:14px;

    font-size:1rem;

    font-weight:700;

    color:#8b7355;

    letter-spacing:2px;

}


.locked-collection{

    display:inline-block;

    margin-top:20px;

    padding:8px 18px;

    border-radius:999px;

    background:#efe3c4;

    border:1px solid var(--border);

    font-weight:700;

    color:#6b5735;

}


.locked-description{

    max-width:520px;

    margin:28px auto 0;

    line-height:1.7;

    color:var(--textSoft);

    font-size:1rem;

}


.locked-hint{

    margin:30px auto 0;

    max-width:520px;

    padding:18px;

    border-radius:16px;

    background:#fffdf8;

    border:2px dashed var(--border);

    color:#6b5735;

    font-weight:600;

}

 /* =======================================================
   RESPONSIVE
======================================================= */

    /* =========================
       GENERAL
    ========================= */

    #app{

        width:min(1200px, calc(100% - 40px));

        padding-top:16px;

    }

    
@media (max-width:768px){

    .home-view{

        min-height:0;

    }


    .home-main,
    .home-bottom{

        grid-template-columns:1fr;

    }


    .home-main{

        flex:none;

    }


    .home-bottom{

        flex:none;

    }


    .home-result{

        min-height:420px;

    }


    .home-news{

        min-height:260px;

    }

}


    /* =========================
       PERFIL
    ========================= */

    #profile{

        grid-template-columns:1fr;

        text-align:center;

        justify-items:center;

        gap:18px;

    }


    .profile-currency{

        align-items:center;

        width:100%;

    }


    .currency{

        width:100%;

        max-width:220px;

    }

    @media (max-width:768px){

    .home-main{

        grid-template-columns:1fr;

    }

}

@media (max-width:768px){ 
    .banner{ min-height:0; } 
    .banner-image{ flex:none; } 
    .banner-image img{ width:100%; height:auto; aspect-ratio:16/5; object-fit:cover; } 
}

    /* =========================
       COLECCIÓN
    ========================= */

.collection-grid{

    display:grid;

    grid-template-columns:
        repeat(5, minmax(0,1fr));

    gap:18px;

    width:100%;

}


    .collection-title{

        font-size:1.6rem;

    }



    /* =========================
       MODAL
    ========================= */

    .modal-overlay{

        padding:16px;

    }


    .modal{

        padding:20px;

        border-radius:20px;

        isolation:isolate;

    }


    .modal-content{

        grid-template-columns:1fr;

        gap:20px;

    }


    .modal-cover{

        position:static;

    }


    .modal h2{

        font-size:1.5rem;

    }


    .card-info{

        grid-template-columns:1fr;

        gap:8px;

    }


    #closeModal{

        width:40px;

        height:40px;

        top:12px;

        right:12px;

    }

/* =======================================================
   INVOCACIÓN
======================================================= */

/* =======================================================
   PLACEHOLDER DE INVOCACIÓN
======================================================= */

/* =======================================================
   PLACEHOLDER DE INVOCACIÓN
======================================================= */

.summon-placeholder{

    width:100%;
    height:100%;

    min-height:0;

    display:flex;

    align-items:center;
    justify-content:center;

    position:relative;

    overflow:hidden;

    box-sizing:border-box;
}


.summon-placeholder img{

    display:block;

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

    height:auto;

    object-fit:contain;

    margin:auto;

    position:relative;

    z-index:2;
}

.summon-result{

    position:relative;

    overflow:hidden;

    text-align:center;

    margin-top:40px;

    padding:40px 20px 70px;

    animation:fadeIn .5s;

}

/* Fondo mágico */

.summon-background{

    position:absolute;

    inset:0;

    pointer-events:none;

    background:

        radial-gradient(

            circle,

            rgba(255,215,90,.22) 0%,

            rgba(255,215,90,.08) 35%,

            transparent 70%

        );

    animation:

        summonPulse 3s ease-in-out infinite;

}

/* Partículas */

.summon-particles{

    position:absolute;

    inset:0;

    pointer-events:none;

    opacity:.65;

    background-image:

        radial-gradient(circle,#ffffff 2px,transparent 3px),

        radial-gradient(circle,#ffd75a 2px,transparent 3px),

        radial-gradient(circle,#ffffff 1px,transparent 2px);

    background-size:

        180px 180px,

        240px 240px,

        120px 120px;

    animation:

        summonParticles 12s linear infinite;

}

.summon-title{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    margin:0 auto 35px;

    padding:16px 34px;

    border-radius:999px;

    background:
        linear-gradient(
            180deg,
            rgba(40,32,18,.92),
            rgba(18,14,8,.92)
        );

    border:2px solid #d9b85b;

    color:#fff;

    font-size:1.15rem;

    font-weight:800;

    letter-spacing:.4px;

    text-shadow:none;

    box-shadow:
        0 12px 30px rgba(0,0,0,.35),
        0 0 20px rgba(255,215,90,.18);

    position:relative;

    z-index:20;

}

.summon-subtitle{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    margin:24px auto 40px;

    padding:14px 28px;

    border-radius:999px;

    background:rgba(15,15,15,.72);

    border:1px solid rgba(255,215,90,.45);

    color:#fff;

    font-size:1.08rem;

    font-weight:700;

    box-shadow:
        0 10px 30px rgba(0,0,0,.35);

    backdrop-filter:blur(10px);

}

/* =======================================================
   ANIMACIÓN DE INVOCACIÓN
======================================================= */

.summon-animation{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

    margin-top:55px;

    margin-bottom:35px;

    padding:15px 0;

    perspective:1800px;

    z-index:5;

}


/* =======================================================
   NÚCLEO DE ENERGÍA
   Aparece en el centro antes de que salga la carta
======================================================= */

.summon-animation::before{

    content:"";

    position:absolute;

    width:55px;

    height:55px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.95) 0%,
            rgba(255,225,105,.9) 18%,
            rgba(255,195,45,.55) 42%,
            rgba(201,166,78,.18) 65%,
            transparent 75%
        );

    filter:blur(3px);

    opacity:0;

    transform:scale(.15);

    z-index:9999999;

    pointer-events:none;
}


/* =======================================================
   HALO EXTERIOR
======================================================= */

.summon-animation::after{

    content:"";

    position:absolute;

    width:170px;

    height:170px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(255,215,80,.25),
            rgba(255,200,50,.12) 35%,
            transparent 70%
        );

    filter:blur(12px);

    opacity:0;

    transform:scale(.2);

    z-index:99999999;

    pointer-events:none;
}


/* =======================================================
   ACTIVACIÓN DE LA INVOCACIÓN
======================================================= */

/*
   Añade .summon-animation.summoning mediante JS
   durante el proceso de invocación.
*/

.summon-animation.summoning::before{

    animation:
        summonCoreCharge .85s ease-out forwards;
}


.summon-animation.summoning::after{

    animation:
        summonCoreHalo .85s ease-out forwards;
}


/* =======================================================
   DESTELLO DE EXPLOSIÓN
======================================================= */

.summon-flash{

    position:absolute;

    width:650px;

    height:650px;

    border-radius:50%;

    pointer-events:none;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.98) 0%,
            rgba(255,235,160,.9) 8%,
            rgba(255,210,80,.55) 25%,
            rgba(255,195,50,.18) 48%,
            transparent 72%
        );

    opacity:0;

    transform:scale(.05);

    z-index:5;

    pointer-events:none;
}


.summon-flash.active{

    animation:
        summonFlash .65s
        cubic-bezier(.2,.8,.2,1);
}


/* =======================================================
   CARTA
======================================================= */

.summon-flip{

    position:relative;

    width:min(430px,78vw);

    aspect-ratio:2/1;

    transform-style:preserve-3d;

    transition:
        transform .9s
        cubic-bezier(.22,.9,.18,1);

    z-index:9999999;
}


.summon-flip.opened{

    transform:
        rotateY(180deg);

}


/* =======================================================
   OCULTAR REVERSO AL REVELAR
======================================================= */

.summon-flip.opened .summon-back{

    visibility:hidden;

}


.summon-flip.opened .summon-back img{

    opacity:0;

    pointer-events:none;

}


.summon-flip.shake{

    animation:
        summonShake .55s;

}


.summon-flip.shake{

    animation:
        summonShake .55s;

}


/* =======================================================
   CARTA ABIERTA
======================================================= */

.summon-flip.opened{

    transform:
        rotateY(180deg);
}


/* =======================================================
   TEMBLOR
======================================================= */

.summon-flip.shake{

    animation:
        summonShake .55s;
}


/* =======================================================
   CARAS
======================================================= */

.summon-face{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    backface-visibility:hidden;
}


/* =======================================================
   PARTE TRASERA
======================================================= */

.summon-back{

    display:flex;

    justify-content:center;

    align-items:center;
}


.summon-back img{

    width:100%;

    height:100%;

    object-fit:cover;

    border-radius:22px;

    box-shadow:
        0 25px 70px
        rgba(0,0,0,.45);

    filter:
        drop-shadow(
            0 0 35px
            rgba(255,220,90,.55)
        );
}


/* =======================================================
   PARTE DELANTERA
======================================================= */

.summon-front{

    transform:
        rotateY(180deg);

    display:flex;

    justify-content:center;

    align-items:center;
}


.summon-front .summon-card{

    position:relative;

    width:88%;

    max-width:none;

    transform-style:preserve-3d;

    transition:
        transform .18s ease;

    animation:
        summonReveal .8s ease,
        summonFloat 3.5s
        ease-in-out infinite;

}


/* =======================================================
   HALO DE LA CARTA
======================================================= */

/* =======================================================
   HALO DE LA CARTA
======================================================= */

.card-glow{

    position:absolute;

    inset:-10px;

    border-radius:24px;

    pointer-events:none;

    background:

        radial-gradient(
            ellipse at center,
            rgba(255,220,110,.22),
            rgba(201,166,78,.08) 45%,
            transparent 72%
        );

    filter:blur(12px);

    opacity:.65;

    z-index:-1;

}

/* =======================================================
   BRILLO DE LA CARTA
======================================================= */

.card-shine{

    position:absolute;

    inset:0;

    overflow:hidden;

    border-radius:20px;

    pointer-events:none;
}


.card-shine::after{

    content:"";

    position:absolute;

    top:-25%;

    left:-60%;

    width:55%;

    height:160%;

    background:
        linear-gradient(
            110deg,
            transparent,
            rgba(255,255,255,.65),
            transparent
        );

    transform:
        rotate(10deg);

    animation:
        summonShine 3.5s
        ease-in-out infinite;
}


/* =======================================================
   CARGA DEL NÚCLEO
======================================================= */

@keyframes summonCoreCharge{

    0%{

        opacity:0;

        transform:
            scale(.15);

    }

    25%{

        opacity:.8;

        transform:
            scale(.65);

    }

    55%{

        opacity:1;

        transform:
            scale(1.15);

    }

    78%{

        opacity:1;

        transform:
            scale(1.5);
    }

    100%{

        opacity:0;

        transform:
            scale(2.8);

    }

}


/* =======================================================
   EXPANSIÓN DEL HALO
======================================================= */

@keyframes summonCoreHalo{

    0%{

        opacity:0;

        transform:
            scale(.2);

    }

    35%{

        opacity:.45;

        transform:
            scale(.65);

    }

    65%{

        opacity:.8;

        transform:
            scale(1);

    }

    100%{

        opacity:0;

        transform:
            scale(1.8);

    }

}


/* =======================================================
   REVELACIÓN DE LA CARTA
======================================================= */

@keyframes summonReveal{

    0%{

        opacity:0;

        transform:
            scale(.65)
            rotateY(180deg);

    }

    60%{

        transform:
            scale(1.02)
            rotateY(180deg);

    }

    100%{

        opacity:1;

        transform:
            scale(1)
            rotateY(180deg);

    }

}


/* =======================================================
   FLOTACIÓN
======================================================= */

@keyframes summonFloat{

    0%,100%{

        transform:
            translateY(8px);

    }

    50%{

        transform:
            translateY(-4px);

    }

}


/* =======================================================
   EXPLOSIÓN
======================================================= */

@keyframes summonFlash{

    0%{

        opacity:0;

        transform:
            scale(.05);

    }

    18%{

        opacity:1;

        transform:
            scale(.35);

    }

    45%{

        opacity:1;

        transform:
            scale(.85);

    }

    100%{

        opacity:0;

        transform:
            scale(1.6);

    }

}


/* =======================================================
   BRILLO DE LA CARTA
======================================================= */

@keyframes summonShine{

    0%{

        left:-70%;

    }

    35%{

        left:140%;

    }

    100%{

        left:140%;

    }

}


/* =======================================================
   SACUDIDA
======================================================= */

@keyframes summonShake{

    0%{

        transform:
            translateX(0);

    }

    15%{

        transform:
            translateX(-12px);

    }

    30%{

        transform:
            translateX(12px);

    }

    45%{

        transform:
            translateX(-10px);

    }

    60%{

        transform:
            translateX(10px);

    }

    75%{

        transform:
            translateX(-6px);

    }

    100%{

        transform:
            translateX(0);

    }

}


/* =======================================================
   CARTA
======================================================= */

.summon-flip{

    position:relative;

    width:min(480px,85vw);

    aspect-ratio:2/1;

    transform-style:preserve-3d;

    transition:
        transform .9s
        cubic-bezier(.22,.9,.18,1);

    z-index:10;
}


.summon-flip.opened{

    transform:
        rotateY(180deg);

}


.summon-flip.shake{

    animation:
        summonShake .55s;

}


/* =======================================================
   CARAS DE LA CARTA
======================================================= */

.summon-face{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    backface-visibility:hidden;

}


/* =======================================================
   PARTE TRASERA
======================================================= */

.summon-back{

    display:flex;

    justify-content:center;

    align-items:center;

}


.summon-back img{

    width:100%;

    height:100%;

    object-fit:cover;

    border-radius:22px;

    box-shadow:

        0 25px 70px
        rgba(0,0,0,.45);

    filter:

        drop-shadow(
            0 0 35px
            rgba(255,220,90,.55)
        );

}


/* =======================================================
   PARTE FRONTAL
======================================================= */

.summon-front{

    transform:rotateY(180deg);

    display:flex;

    justify-content:center;

    align-items:center;

    padding:10px 0;

    box-sizing:border-box;

}


.summon-front .summon-card{

    position:relative;

    width:88%;

    max-width:760px;

    transform-style:preserve-3d;

    transition:
        transform .18s ease;

    animation:

        summonReveal .8s ease,

        summonFloat 3.5s
        ease-in-out infinite;

}


/* =======================================================
   HALO DE LA CARTA
======================================================= */

.card-glow{

    position:absolute;

    inset:-30px;

    border-radius:40px;

    pointer-events:none;

    background:

        radial-gradient(
            circle,
            rgba(255,230,120,.5),
            transparent 72%
        );

    filter:
        blur(18px);

    opacity:.85;

    z-index:-1;

}


/* =======================================================
   BRILLO DE LA CARTA
======================================================= */

.card-shine{

    position:absolute;

    inset:0;

    overflow:hidden;

    border-radius:20px;

    pointer-events:none;

}


.card-shine::after{

    content:"";

    position:absolute;

    top:-25%;

    left:-60%;

    width:55%;

    height:160%;

    background:

        linear-gradient(
            110deg,
            transparent,
            rgba(255,255,255,.65),
            transparent
        );

    transform:
        rotate(10deg);

    animation:
        summonShine 3.5s
        ease-in-out infinite;

}


/* =======================================================
   APARICIÓN DE LA CARTA
======================================================= */

@keyframes summonReveal{

    0%{

        opacity:0;

        transform:
            scale(.65)
            rotateY(180deg);

    }

    60%{

        transform:
            scale(1.08)
            rotateY(180deg);

    }

    100%{

        opacity:1;

        transform:
            scale(1)
            rotateY(180deg);

    }

}


/* =======================================================
   FLOTACIÓN
======================================================= */

@keyframes summonFloat{

    0%,100%{

        transform:
            translateY(0);

    }

    50%{

        transform:
            translateY(-12px);

    }

}


/* =======================================================
   BRILLO DE LA CARTA
======================================================= */

@keyframes summonShine{

    0%{

        left:-70%;

    }

    35%{

        left:140%;

    }

    100%{

        left:140%;

    }

}


/* =======================================================
   SACUDIDA
======================================================= */

@keyframes summonShake{

    0%{

        transform:
            translateX(0);

    }

    15%{

        transform:
            translateX(-12px);

    }

    30%{

        transform:
            translateX(12px);

    }

    45%{

        transform:
            translateX(-10px);

    }

    60%{

        transform:
            translateX(10px);

    }

    75%{

        transform:
            translateX(-6px);

    }

    100%{

        transform:
            translateX(0);

    }

}

/* =======================================================
   PLACEHOLDER DE INVOCACIÓN
======================================================= */

.summon-placeholder{

    width:100%;

    height:100%;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:28px;

    box-sizing:border-box;

}

.summon-placeholder img{

    display:block;

    width:100%;

    max-width:620px;

    height:auto;

    max-height:calc(100% - 20px);

    object-fit:contain;

}

/* =======================================================
   RESPONSIVE MÓVIL
======================================================= */

@media (max-width:768px){

    /* =========================
       GENERAL
    ========================= */

    #app{

        width:calc(100% - 24px);

        padding:
            10px
            0
            20px;

    }


    /* =========================
       CABECERA
    ========================= */

    .site-title{

        min-height:74px;

        padding:14px 12px;

        border-radius:16px;

    }


    .site-title-main{

        font-size:
            clamp(
                1.35rem,
                7vw,
                1.75rem
            );

        letter-spacing:
            clamp(
                2px,
                1.5vw,
                5px
            );

        text-align:center;

    }


    .site-title-sub{

        margin-top:7px;

        font-size:.55rem;

        letter-spacing:
            clamp(
                3px,
                1.5vw,
                6px
            );

    }


    /* =========================
       NAVEGACIÓN
    ========================= */

    #navigation{

        gap:4px;

        padding:4px 4px 7px;

        margin-bottom:12px;

        border-radius:16px;

    }


    .nav-button{

        min-height:50px;

        padding:
            7px
            4px;

        gap:4px;

        font-size:
            clamp(
                .68rem,
                2.8vw,
                .82rem
            );

    }


    .nav-button i{

        font-size:.9rem;

    }


    /* =========================
       LOGIN
    ========================= */

    .login-panel{

        padding:
            12px
            0
            0;

    }


    .login-panel-content{

        padding:
            24px
            18px
            20px;

        border-radius:18px;

    }


    .login-panel-content h2{

        font-size:1.25rem;

    }


    .login-panel-content > p{

        font-size:.82rem;

    }


    .gacha-login-button{

        max-width:none;

    }


    /* =========================
       INICIO
    ========================= */

    .home-main,
    .home-bottom{

        grid-template-columns:1fr;

        gap:14px;

    }


    .home-main{

        flex:none;

    }


    .home-bottom{

        flex:none;

        margin-top:14px;

    }


    .home-result{

        min-height:320px;

    }


    .home-news{

        min-height:250px;

    }


    /* =========================
       PERFIL
    ========================= */

    #profile{

        padding:14px;

        border-radius:18px;

    }


    .profile-main{

        grid-template-columns:
            58px
            minmax(0,1fr);

        gap:12px;

        margin-bottom:14px;

    }


    .profile-avatar{

        width:58px;

        height:58px;

    }


    .profile-name{

        font-size:1.05rem;

        overflow:hidden;

        text-overflow:ellipsis;

        white-space:nowrap;

    }


    .profile-member{

        font-size:.75rem;

    }


    .profile-tickets{

        grid-column:
            1 / -1;

        justify-content:center;

        width:100%;

        padding:10px 14px;

    }


    #profileProgress{

        grid-template-columns:1fr;

        gap:8px;

        margin-top:12px;

    }


    .collection-progress{

        padding:
            7px
            8px;

    }


    .progress-header{

        font-size:.8rem;

        gap:10px;

    }


    .progress-footer{

        font-size:.7rem;

    }


    /* =========================
       BANNER / INVOCACIÓN
    ========================= */

    .banner{

        padding:10px;

        border-radius:18px;

    }


    .banner-image-frame{

        padding:6px;

    }


    .banner-image{

        aspect-ratio:
            16 / 5;

    }


    .banner-button{

        min-height:68px;

        padding:
            10px
            14px;

        gap:10px;

    }


    .banner-button-main{

        font-size:
            clamp(
                1.05rem,
                5vw,
                1.4rem
            );

        letter-spacing:2px;

    }


    .banner-button-sub{

        font-size:.6rem;

        letter-spacing:1.5px;

    }


    .banner-button-info::before,
    .banner-button-info::after{

        display:none;

    }


    /* =========================
       CARTA DE INVOCACIÓN
    ========================= */

    .summon-idle{

        min-height:280px;

    }


    .summon-idle-card{

        width:88%;

        max-width:400px;

    }


    .summon-flip{

        width:88vw;

        max-width:480px;

    }


    /* =========================
       RESULTADO
    ========================= */

    .summon-result{

        margin-top:20px;

        padding:
            25px
            12px
            40px;

    }


    .summon-placeholder{

        padding:14px;

    }


    /* =========================
       NOTICIAS
    ========================= */

    .news-panel{

        gap:8px;

        padding:12px;

        border-radius:18px;

    }


    .news-content{

        padding:
            24px
            8px;

    }


    .news-label{

        font-size:.75rem;

        letter-spacing:2px;

        gap:7px;

    }


    .news-label::before,
    .news-label::after{

        width:18px;

    }


    .news-content h2{

        font-size:1.15rem;

        line-height:1.3;

    }


    .news-content p{

        font-size:.82rem;

        line-height:1.55;

    }


    .news-arrow{

        width:38px;

        height:38px;

        font-size:1.5rem;

    }


    /* =========================
       RECOMPENSA DIARIA
    ========================= */

    .daily-reward{

        flex-direction:column;

        gap:12px;

        padding:
            12px
            8px;

        text-align:center;

    }


    .daily-reward-icon{

        width:54px;

        height:54px;

        font-size:1.6rem;

        border-radius:14px;

    }


    .daily-reward-info{

        width:100%;

        text-align:center;

    }


    .daily-reward-info h2{

        font-size:1.1rem;

    }


    .daily-reward-info p{

        font-size:.82rem;

    }


    #dailyRewardCountdown{

        font-size:1.1rem;

        letter-spacing:1.5px;

    }


    .daily-reward-button{

        width:100%;

        min-width:0;

        padding:
            12px
            16px;

    }


    /* =========================
       COLECCIONES
    ========================= */

    .collection-grid{

        grid-template-columns:
            repeat(2, minmax(0,1fr));

        gap:10px;

    }


    .collection-section.open
    .collection-grid{

        padding-top:14px;

        padding-bottom:14px;

    }


    .collection-header{

        gap:10px;

    }


    .collection-counter{

        width:58px;

        height:58px;

        font-size:1.15rem;

    }


    .collection-title{

        font-size:1.15rem;

    }


    .collection-subtitle{

        font-size:.75rem;

    }


    .collection-toggle{

        width:28px;

        height:28px;

    }


    /* =========================
       CARTAS
    ========================= */

    .card{

        border-radius:14px;

    }


    .card:hover{

        transform:
            translateY(-3px)
            scale(1.01);

    }


    /* =========================
       MODAL
    ========================= */

    .modal-overlay{

        padding:10px;

    }


    .modal{

        width:100%;

        max-height:
            calc(100vh - 20px);

        overflow-y:auto;

        padding:16px;

        border-radius:16px;

    }


    .modal-content{

        grid-template-columns:1fr;

        gap:14px;

    }


    .modal-cover{

        position:static;

        width:100%;

    }


    .modal-cover img{

        width:100%;

        max-width:500px;

        margin:0 auto;

    }


    .modal h2{

        font-size:1.3rem;

        line-height:1.25;

    }


    .card-info{

        grid-template-columns:1fr;

        gap:6px;

    }


    #closeModal{

        width:36px;

        height:36px;

        top:8px;

        right:8px;

    }


    /* =========================
       BOTÓN VOLVER ARRIBA
    ========================= */

    #backToTop{

        right:12px;

        bottom:12px;

        width:44px;

        height:44px;

        font-size:1rem;

    }

}


/* =======================================================
   MÓVILES PEQUEÑOS
======================================================= */

@media (max-width:430px){

    .site-title-main{

        font-size:1.25rem;

        letter-spacing:2px;

    }


    .site-title-sub{

        font-size:.5rem;

        letter-spacing:2.5px;

        text-indent:2.5px;

    }


    .nav-button{

        min-height:46px;

        font-size:.65rem;

    }


    .nav-button i{

        font-size:.82rem;

    }


    .profile-main{

        grid-template-columns:
            50px
            minmax(0,1fr);

    }


    .profile-avatar{

        width:50px;

        height:50px;

    }


    .profile-name{

        font-size:.95rem;

    }


    .profile-member{

        font-size:.68rem;

    }


    .collection-grid{

        gap:8px;

    }


    .collection-title{

        font-size:1rem;

    }


    .collection-subtitle{

        font-size:.68rem;

    }


    .collection-counter{

        width:50px;

        height:50px;

        font-size:1rem;

    }


    .news-panel{

        gap:4px;

        padding:8px;

    }


    .news-arrow{

        width:34px;

        height:34px;

        font-size:1.3rem;

    }


    .news-content{

        padding:
            22px
            2px;

    }


    .news-content h2{

        font-size:1rem;

    }


    .news-content p{

        font-size:.76rem;

    }


    .summon-idle{

        min-height:230px;

    }


    .banner-button{

        min-height:62px;

    }


    .banner-button-main{

        font-size:1rem;

        letter-spacing:1.5px;

    }

}


/* =======================================================
   DISPOSITIVOS TÁCTILES
======================================================= */

@media (hover:none){

    .nav-button:hover,
    .banner-button:hover,
    .daily-reward-button:hover,
    .card:hover,
    #backToTop:hover{

        transform:none;

    }


    .profile-avatar:hover{

        transform:none;

    }

}