* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
            overflow-x: hidden;
        }

        .background-video {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -1;
            filter: brightness(0.9);
        }

        /* Fallback para navegadores que no soportan video */
        @supports not (object-fit: cover) {
            .background-video {
                width: 100vw;
                height: 100vh;
            }
        }

        .container {
            max-width: 540px;
            width: 100%;
            text-align: center;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(1px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            padding: 40px 30px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            position: relative;
            z-index: 1;
        }

        .email-button {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .email-button:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        }

        .email-icon {
            width: 24px;
            height: 24px;
            fill: white;
            transition: all 0.3s ease;
        }

        .email-button:hover .email-icon {
            fill: rgba(255, 255, 255, 0.9);
        }

        .profile {
            margin-bottom: 30px;
        }

        .profile-video {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            margin: 0 auto 15px;
            display: block;
            border: 3px solid rgba(255, 255, 255, 0.3);
            object-fit: cover;
            background: rgba(255, 255, 255, 0.1);
        }

        .username {
            color: white;
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .bio {
            color: rgba(255, 255, 255, 0.8);
            font-size: 16px;
            margin-bottom: 30px;
            line-height: 1.5;
        }

        .spotify-player {
            background: rgba(29, 185, 84, 0.9);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            padding: 16px 20px;
            margin-bottom: 30px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }

        .spotify-link {
            text-decoration: none;
            color: inherit;
            display: block;
            width: 100%;
            height: 100%;
        }

        .spotify-player:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
        }

        .spotify-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
        }

        .album-art {
            flex-shrink: 0;
            position: relative;
        }

        .album-cover {
            width: 48px;
            height: 48px;
            border-radius: 6px;
            object-fit: cover;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .playlist-overlay {
            position: absolute;
            bottom: -4px;
            right: -4px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: white;
            border: 2px solid rgba(29, 185, 84, 0.9);
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .playlist-icon {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        .song-info {
            flex: 1;
            text-align: left;
        }

        .song-title {
            color: white;
            font-weight: 600;
            font-size: 14px;
            margin-bottom: 2px;
        }

        .song-artist {
            color: rgba(255, 255, 255, 0.8);
            font-size: 12px;
        }

        /* --- CONTROLES DE REPRODUCCIÓN --- */
        .play-pause-btn {
            background: none;
            border: none;
            padding: 0;
            cursor: pointer;
            flex-shrink: 0;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
        }

        .play-pause-btn:hover {
            transform: scale(2.2);
        }

        .control-icon {
            width: 30%;
            height: 30%;
            fill: white;
            position: absolute;
        }

        .hidden {
            display: none;
        }

        .progress-bar {
            width: 100%;
            height: 3px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 2px;
            margin-top: 12px;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background: white;
            border-radius: 2px;
            width: 0%; /* Inicia en 0%, JS lo actualizará */
            transition: none; /* Asegura que el cambio de ancho sea instantáneo */
        }
        /* --- FIN CONTROLES DE REPRODUCCIÓN --- */

        .links {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .link-container {
            position: relative;
        }

        .link {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            padding: 16px 20px;
            padding-right: 60px;
            text-decoration: none;
            color: white;
            font-weight: 500;
            font-size: 16px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            position: relative;
            width: 100%;
            min-height: 60px;
        }

        .link:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        }

        .link-content {
            display: flex;
            align-items: center;
            gap: 10px;
            justify-content: center;
            flex: 1;
        }

        .link-icon {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        .share-btn {
            background: transparent;
            border: none;
            padding: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 32px;
            height: 32px;
            border-radius: 6px;
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 10;
            pointer-events: auto;
            margin: 0;
        }

        .share-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: scale(1.1);
        }

        .dots {
            display: flex;
            flex-direction: column;
            gap: 2px;
            align-items: center;
        }

        .dot {
            width: 3px;
            height: 3px;
            background-color: white;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .share-btn:hover .dot {
            background-color: rgba(255, 255, 255, 0.9);
            transform: scale(1.2);
        }

        .footer {
            margin-top: 40px;
            color: rgba(255, 255, 255, 0.6);
            font-size: 14px;
        }

        @media (max-width: 480px) {
            .container {
                max-width: 100%;
                background: none;
                backdrop-filter: none;
                border: none;
                border-radius: 0;
                padding: 0;
                box-shadow: none;
            }
            
            .email-button {
                top: 10px;
                right: 10px;
                width: 45px;
                height: 45px;
            }
            
            .email-icon {
                width: 20px;
                height: 20px;
            }
            
            .background-video {
                filter: brightness(0.85);
            }
            
            .spotify-player {
                margin: 0 15px 30px 15px;
                padding: 14px 16px;
            }
            
            .spotify-content {
                gap: 12px;
            }
            
            .album-cover {
                width: 40px;
                height: 40px;
            }
            
            .playlist-overlay {
                width: 16px;
                height: 16px;
                bottom: -3px;
                right: -3px;
            }
            
            .play-pause-btn {
                width: 28px;
                height: 28px;
            }
            
            .link {
                padding: 14px 16px;
                font-size: 15px;
            }
            
            .share-btn {
                padding: 6px;
                min-width: 28px;
                height: 28px;
            }
            
            .dot {
                width: 2.5px;
                height: 2.5px;
            }
        }