       :root {
            --bg-color: #467a9f;
            --text-color: #000000;
            --button-bg: #ffffff;
            --button-text: #000000;
            --secondary-text: #606770;
            --white-text: #fff;
        }

        body.dark-mode {
            --bg-color: #000000;
            --text-color: #ffffff;
            --button-bg: #ffffff;
            --button-text: #000000;
            --secondary-text: #e5e7eb;
        }

        body {
            font-family: Arial, sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            margin: 0;
            min-height: 100vh;
            transition: background-color 0.5s ease, color 0.5s ease;
            animation: fadeIn 1s ease-out forwards;
        }

        /* Overlay que se oscurece con el scroll */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.25) 100%);
            pointer-events: none;
            z-index: 0;
            opacity: var(--scroll-overlay, 0);
            transition: opacity 0.3s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .profile-card {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 420px;
            background: linear-gradient(180deg, #6ec3ff 0%, #4b89c9 80%, #1f3a56 100%);
            border-radius: 30px;
            padding: 30px 22px 24px;
            box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55);
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .profile {
            text-align: center;
            margin-bottom: 30px;
            animation: slideInFromTop 0.8s ease-out forwards;
        }

        @keyframes slideInFromTop {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .avatar-wrapper {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            padding: 6px;
            background: radial-gradient(circle at 30% 30%, #ffffff, rgba(255, 255, 255, 0.1));
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.4), 0 14px 30px rgba(0, 0, 0, 0.6);
            margin: 0 auto 18px;
            transition: box-shadow 0.3s ease, transform 0.3s ease;
        }

        .avatar-wrapper:hover {
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 20px 45px rgba(0, 0, 0, 0.85);
            transform: translateY(-4px);
        }

        .profile-img {
            border-radius: 50%;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .avatar-wrapper:hover .profile-img {
            transform: scale(1.06);
        }

        .name {
            font-size: 24px;
            font-weight: bold;
            margin: 0 0 5px;
        }

        .username {
            font-size: 16px;
            margin: 0 0 10px;
            color: var(--secondary-text);
        }

        .bio {
            font-size: 14px;
            margin: 0;
            max-width: 340px;
        }

        .bio-container {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 18px 22px;
            margin-top: 15px;
            border: 1px solid rgba(255, 255, 255, 0.25);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }

        .bio-container::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
            pointer-events: none;
        }

        .bio-tagline {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-bottom: 12px;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: rgba(0, 0, 0, 0.6);
            font-weight: 600;
        }

        .bio-tagline i {
            font-size: 10px;
            color: #1f5a8a;
        }

        .bio-text {
            font-size: 15px;
            line-height: 1.6;
            color: #1a1a1a;
            text-align: center;
            margin: 0;
            font-weight: 500;
        }

        .bio-highlight {
            color: #0d4a7a;
            font-weight: 700;
        }

        .bio-icons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid rgba(255, 255, 255, 0.3);
        }

        .bio-icon-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
        }

        .bio-icon-circle {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #ffffff 0%, #e8f4fc 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .bio-icon-circle:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }

        .bio-icon-circle i {
            font-size: 16px;
            color: #1f5a8a;
        }

        .bio-icon-label {
            font-size: 10px;
            color: rgba(0, 0, 0, 0.6);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .embed-section {
            margin: 20px 0;
            width: 100%;
            max-width: 400px;
            text-align: center;
            animation: fadeInScale 1s ease-out forwards;
        }

        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.9);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .embed-section iframe {
            border-radius: 10px;
            width: 100%;
            height: 200px;
            transition: height 0.3s ease, transform 0.3s ease;
        }

        .embed-section iframe:hover {
            transform: scale(1.02);
        }

        .links {
            width: 100%;
            max-width: 400px;
        }

        .link-button {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            padding: 15px;
            background-color: var(--button-bg);
            color: var(--button-text);
            text-align: center;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            font-size: 16px;
            animation: slideInFromLeft 0.8s ease-out forwards;
        }

        .link-button.animation-done {
            animation: none;
            transition: transform 0.15s ease;
        }

        .link-button:nth-child(1) {
            animation-delay: 0.2s;
        }

        .link-button:nth-child(2) {
            animation-delay: 0.4s;
        }

        .link-button:nth-child(3) {
            animation-delay: 0.6s;
        }

        .link-button:nth-child(4) {
            animation-delay: 0.8s;
        }

        .link-button:nth-child(5) {
            animation-delay: 1.0s;
        }

        @keyframes slideInFromLeft {
            from {
                transform: translateX(-50px);
                opacity: 0;
            }

            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        /* Solo rotación de 2.5 grados, después de que termine la animación */
        .link-button.animation-done:hover {
            transform: rotate(2.5deg);
        }

        .link-button i {
            margin-right: 10px;
            font-size: 18px;
        }

        .subscription {
            margin-top: 30px;
            text-align: center;
            width: 100%;
            max-width: 400px;
            animation: fadeIn 1.2s ease-out forwards;
        }

        .subscription input {
            padding: 10px;
            width: 80%;
            margin-bottom: 10px;
            border: 1px solid var(--secondary-text);
            border-radius: 5px;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .subscription input:focus {
            border-color: var(--text-color);
            box-shadow: 0 0 5px var(--text-color);
        }

        .subscription button {
            padding: 10px 20px;
            background-color: var(--button-bg);
            color: var(--button-text);
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        .footer {
            margin-top: auto;
            padding: 20px 0;
            font-size: 12px;
            color: var(--white-text);
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            animation: slideInFromBottom 1s ease-out forwards;
        }

        @keyframes slideInFromBottom {
            from {
                transform: translateY(50px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .share-buttons {
            margin-bottom: 10px;
        }

        .share-buttons a {
            margin: 0 5px;
            color: var(--text-color);
            font-size: 20px;
            text-decoration: none;
            transition: color 0.3s ease, transform 0.3s ease;
        }

        .share-buttons a:hover {
            color: var(--secondary-text);
            transform: rotate(360deg);
        }

        .theme-selector {
            position: fixed;
            bottom: 20px;
            right: 20px;
            padding: 10px;
            background-color: #007bff;
            color: #ffffff;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 18px;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.5s ease, transform 0.3s ease;
            animation: rotateInfinite 10s linear infinite;
            z-index: 10;
        }

        @keyframes rotateInfinite {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        .theme-selector:hover {
            animation: none;
            transform: scale(1.2);
        }

        body.dark-mode .theme-selector {
            background-color: #0056b3;
        }

        /* Botón flotante de compartir */
        .share-floating-btn {
            position: fixed;
            bottom: 70px;
            right: 20px;
            padding: 10px;
            background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
            color: #ffffff;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 18px;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            z-index: 10;
            box-shadow: 0 4px 15px rgba(67, 233, 123, 0.4);
        }

        .share-floating-btn:hover {
            transform: scale(1.15);
            box-shadow: 0 6px 20px rgba(67, 233, 123, 0.6);
        }

        /* Modal de compartir */
        .share-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .share-modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .share-modal {
            background: #ffffff;
            border-radius: 24px;
            padding: 30px 25px;
            width: 90%;
            max-width: 380px;
            text-align: center;
            transform: translateY(20px) scale(0.95);
            transition: transform 0.3s ease;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
        }

        .share-modal-overlay.active .share-modal {
            transform: translateY(0) scale(1);
        }

        .share-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .share-modal-title {
            font-size: 20px;
            font-weight: bold;
            color: #1a1a1a;
            margin: 0;
        }

        .share-modal-close {
            background: #f0f0f0;
            border: none;
            border-radius: 50%;
            width: 36px;
            height: 36px;
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s ease, transform 0.2s ease;
            color: #666;
        }

        .share-modal-close:hover {
            background: #e0e0e0;
            transform: rotate(90deg);
        }

        .share-modal-subtitle {
            font-size: 14px;
            color: #666;
            margin-bottom: 25px;
        }

        .share-options {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            margin-bottom: 25px;
        }

        .share-option {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            transition: transform 0.2s ease;
        }

        .share-option:hover {
            transform: translateY(-3px);
        }

        .share-option-icon {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: #ffffff;
            transition: box-shadow 0.2s ease;
        }

        .share-option:hover .share-option-icon {
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

        .share-option-icon.whatsapp {
            background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
        }

        .share-option-icon.facebook {
            background: linear-gradient(135deg, #1877F2 0%, #0d5bbd 100%);
        }

        .share-option-icon.twitter {
            background: linear-gradient(135deg, #1DA1F2 0%, #0c85d0 100%);
        }

        .share-option-icon.telegram {
            background: linear-gradient(135deg, #0088cc 0%, #005f8f 100%);
        }

        .share-option-icon.linkedin {
            background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
        }

        .share-option-icon.email {
            background: linear-gradient(135deg, #EA4335 0%, #c5221f 100%);
        }

        .share-option-icon.messenger {
            background: linear-gradient(135deg, #00B2FF 0%, #006AFF 100%);
        }

        .share-option-icon.copy {
            background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
        }

        .share-option-label {
            font-size: 11px;
            color: #666;
            font-weight: 500;
        }

        /* Sección de copiar enlace */
        .copy-link-section {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .copy-link-input {
            flex: 1;
            border: none;
            background: transparent;
            font-size: 13px;
            color: #333;
            outline: none;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .copy-link-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #ffffff;
            border: none;
            border-radius: 8px;
            padding: 10px 18px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .copy-link-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

        .copy-link-btn.copied {
            background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
        }

        /* Toast notification */
        .toast {
            position: fixed;
            bottom: 120px;
            left: 50%;
            transform: translateX(-50%) translateY(20px);
            background: #333;
            color: #fff;
            padding: 12px 24px;
            border-radius: 30px;
            font-size: 14px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1001;
        }

        .toast.show {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        /* Multi-idioma: Clases para textos */
        .es {
            display: block;
        }

        .en {
            display: none;
        }

        body.english .es {
            display: none;
        }

        body.english .en {
            display: block;
        }

        /* Media query for larger screens */
        @media (min-width: 768px) {
            .profile {
                margin-bottom: 40px;
            }

            .name {
                font-size: 28px;
            }

            .username {
                font-size: 18px;
            }

            .bio {
                font-size: 16px;
                max-width: 400px;
            }

            .link-button {
                font-size: 18px;
                padding: 20px;
            }

            .embed-section iframe {
                height: 300px;
            }
        }