/* Importar una fuente tipo pixel (opcional, usa Courier si no) */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

body {
    align-items: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 10px;
    cursor: url('https://cur.stamps.tw/cur/2021/04/04/heart_cursor.png'), auto; /* Cursor personalizado si tienes uno */
}



/* Tarjeta Principal */
.shrine-card {
     display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
     padding: 20px 20px;
    margin: 20px auto;
    width: 100%;
    max-width: 1000px;
    border-radius: 20px;
    border: 3px double #ff99cc;
    box-shadow: inset 0 0 20px #fff, 0 0 15px rgba(255, 153, 204, 0.3);
    background: #ffffff;
    border: 3px dashed #ff99cc;
    border-radius: 15px;
    padding: 30px;
    max-width: 850px;
    width: 100%;
    box-shadow: 10px 10px 0px #ffcce6;
    text-align: center;
}

.card-header {
    background: #ffb3d1;
    color: white;
    padding: 10px;
    border: 2px solid #fff;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: -55px;
    font-weight: bold;
    box-shadow: 3px 3px 0px #ff99cc;
}

.pixel-icon { width: 18px; height: 18px; }

.description {
    font-size: 13px;
    color: #888;
    margin: 20px 0;
}

/* El cuadro del Cbox */
.cbox-iframe-container {
    width: 500px;
    background: #fffafa;
    border: 1px solid #ffdeef;
    padding: 8px;
    border-radius: 12px;
}

.card-footer {
    margin-top: 15px;
    font-size: 11px;
    color: #ff99cc;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Sección de Stamps */
.stamps-section {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    opacity: 0.8;
}

.stamps-section img {
    height: 35px;
    image-rendering: pixelated;
}
/* --- MUSIC PLAYER STYLE --- */
.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ffffff;
    border: 2px dashed #ff99cc;
    padding: 8px 15px;
    border-radius: 30px;
    box-shadow: 4px 4px 0px #ffcce6;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: #ff66aa;
    font-weight: bold;
}

.music-note {
    font-size: 16px;
    animation: wiggle 1s ease-in-out infinite;
}

#track-name {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#play-pause-btn {
    background: #ffcce6;
    border: 1px solid #ff99cc;
    color: white;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    padding: 2px 8px;
    cursor: pointer;
    border-radius: 10px;
    text-transform: uppercase;
}

#play-pause-btn:hover {
    background: #ff99cc;
}

/* Animación de la nota musical */
@keyframes wiggle {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

.retro-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 350px;
    background: #e1e1e1; /* Gris clásico de Windows viejo */
    border: 3px outset #fff;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
    z-index: 9999;
    padding: 4px;
    font-family: 'Courier New', monospace;
}

.player-top {
    background: linear-gradient(90deg, #ff99cc, #ffcce6);
    color: white;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
    border: 1px inset #fff;
}

.player-body {
    display: flex;
    padding: 10px;
    gap: 15px;
    background: #fdfdfd;
}

.player-art {
    width: 100px;
    height: 100px;
    border: 2px inset #ff99cc;
    background: #000;
    overflow: hidden;
}

.player-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

.player-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.marquee {
    background: #000;
    color: #00ff00; /* Verde matrix/retro */
    padding: 5px;
    font-size: 11px;
    overflow: hidden;
    white-space: nowrap;
    border: 2px inset #888;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 10s linear infinite;
}

@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* Visualizador de barritas */
.visualizer {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 30px;
    margin: 5px 0;
}

.bar {
    width: 15%;
    background: #ff99cc;
    height: 20%;
    animation: bounce 0.5s ease-in-out infinite alternate;
}

@keyframes bounce {
    from { height: 10%; }
    to { height: 100%; }
}

/* Botones y Controles */
.retro-btn {
    background: #ffcce6;
    border: 2px outset #fff;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
    padding: 5px;
    width: 100%;
}

.retro-btn:active { border: 2px inset #fff; }

.vol-control {
    font-size: 9px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Efecto de purpurina en el borde */
.retro-player {
    border: 3px solid #fff;
    animation: glitter-border 1.5s linear infinite;
}

@keyframes glitter-border {
    0% { border-color: #ff99cc; box-shadow: 0 0 5px #ff99cc, 0 0 10px #fff; }
    33% { border-color: #b3e0ff; box-shadow: 0 0 8px #b3e0ff, 0 0 12px #fff; }
    66% { border-color: #fdfd96; box-shadow: 0 0 5px #fdfd96, 0 0 10px #fff; }
    100% { border-color: #ff99cc; box-shadow: 0 0 5px #ff99cc, 0 0 10px #fff; }
}

/* Brillo extra en el título */
.player-title {
    text-shadow: 1px 1px 5px #fff, 0 0 10px #fff;
}

/* Destellos animados en las esquinas del reproductor */
.retro-player::before, .retro-player::after {
    content: "✨";
    position: absolute;
    font-size: 14px;
    animation: blink 1.5s infinite;
}

.retro-player::before { top: -10px; left: -10px; }
.retro-player::after { bottom: -10px; right: -10px; }

@keyframes blink {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Efecto de purpurina en la barra del título */
.player-top {
    background: linear-gradient(45deg, #ff99cc, #ffcce6, #fdfd96, #ff99cc);
    background-size: 400% 400%;
    animation: gradient-shine 3s ease infinite;
}

@keyframes gradient-shine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

   


/* Sección de Stamps (Debajo de la tarjeta) */
.stamps-section {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 50px;
    border: 1px solid #fff;
}

.stamps-section img {
    height: 40px;
    image-rendering: pixelated;
}



#volume-slider { width: 100%; accent-color: #ff99cc; }


