:root {
                --primary: <?= $themeColors['primary'] ?>;
                --accent: <?= $themeColors['accent'] ?>;
                --text: <?= $themeColors['text'] ?>;
                --muted: <?= $themeColors['muted'] ?>;
            }

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

            html, body {
                width: 100%;
                height: 100%;
                overflow-x: hidden;
            }

            body {
                font-family: 'Inter', sans-serif;
                background: #f7fafc;
                color: var(--text);
                display: flex;
                flex-direction: column;
                line-height: 1.6;
                overflow-y: auto;
            }

            .container {
                max-width: 480px;
                width: 100%;
                margin: 0 auto;
                padding: 1.5rem;
                flex: 1;
            }

            .profile-header {
                text-align: center;
                margin-bottom: 2rem;
                position: relative;
            }

            .avatar-container {
                display: flex;
                justify-content: center;
                margin-bottom: 1.5rem;
            }

            .avatar {
                width: 120px;
                height: 120px;
                border-radius: 50%;
                border: 3px solid white;
                box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
                object-fit: cover;
                object-position: center;
                display: block;
                margin: 0 auto;
            }

            .avatar.fallback {
                background: #e2e8f0;
                display: flex;
                align-items: center;
                justify-content: center;
                border: none;
            }

            .avatar.fallback::after {
                content: "Photo";
                color: var(--muted);
                font-weight: 500;
            }

            .title-wrapper {
                display: inline-block;
                max-width: 100%;
                text-align: center;
                margin-bottom: 0.5rem;
            }

            .title-container {
                display: inline;
                white-space: normal;
                line-height: 1.3;
            }

            .title {
                display: inline;
                font-size: 1.75rem;
                font-weight: 700;
                color: var(--primary);
                white-space: normal;
                word-break: break-word;
                hyphens: auto;
                margin-right: 0.25rem;
            }

            .badge-container {
                display: inline-block;
                white-space: nowrap;
                position: relative;
                vertical-align: top;
                margin-left: 0.25rem;
                top: 6px; 
            }

            .verified-badge {
                width: 28px;
                height: 28px;
                position: relative;
                overflow: hidden;
                border-radius: 50%;
                transition: transform 0.3s ease;
            }

            .verified-badge:hover {
                transform: scale(1.1);
                cursor: pointer;
            }

            .verified-badge::before {
                content: '';
                position: absolute;
                top: 0;
                left: -100%;
                width: 50%;
                height: 100%;
                background: linear-gradient(
                    to right,
                    rgba(255, 255, 255, 0) 0%,
                    rgba(255, 255, 255, 0.4) 50%,
                    rgba(255, 255, 255, 0) 100%
                );
                animation: shine 3s infinite;
                pointer-events: none;
                z-index: 1;
            }

            @keyframes shine {
                100% {
                    left: 150%;
                }
            }

            .verified-indicator {
                position: absolute;
                bottom: calc(100% + 12px);
                left: 50%;
                transform: translateX(-50%);
                background: var(--accent);
                color: white;
                padding: 8px 16px;
                border-radius: 8px;
                font-size: 0.9rem;
                white-space: nowrap;
                animation: fadeOut 3s ease-in-out forwards;
                opacity: 1;
                box-shadow: 0 2px 8px rgba(0,0,0,0.1);
                z-index: 10;
                pointer-events: none;
            }

            .verified-indicator::before {
                content: '';
                position: absolute;
                top: 0;
                left: -30%;
                width: 50%;
                height: 100%;
                background: linear-gradient(
                    to right,
                    rgba(255, 255, 255, 0) 0%,
                    rgba(255, 255, 255, 0.4) 50%,
                    rgba(255, 255, 255, 0) 100%
                );
                animation: shine 3s infinite;
                pointer-events: none;
                z-index: 1;
            }

            .verified-indicator::after {
                content: '';
                position: absolute;
                top: 100%;
                left: 50%;
                transform: translateX(-50%);
                width: 0;
                height: 0;
                border-left: 8px solid transparent;
                border-right: 8px solid transparent;
                border-top: 8px solid var(--accent);
                z-index: 2;
            }

            @keyframes fadeOut {
                0% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
                20% { opacity: 1; transform: translateX(-50%) translateY(0); }
                80% { opacity: 1; transform: translateX(-50%) translateY(0); }
                100% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
            }

            .subtitle {
                color: var(--muted);
                font-size: 1.1rem;
                margin-bottom: 1rem;
                line-height: 1.4;
                text-align: center;
            }

            .links {
                display: grid;
                gap: 1rem;
                margin-top: 2rem;
            }

            .link {
                display: flex;
                align-items: center;
                padding: 1.25rem;
                background: white;
                border-radius: 0.75rem;
                text-decoration: none;
                color: var(--text);
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
                transition: all 0.2s ease;
                border: 1px solid #e2e8f0;
            }

            .link:hover {
                transform: translateY(-2px);
                box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
                border-left: 4px solid var(--accent);
                border-color: var(--accent);
            }

            .link-icon {
                width: 28px;
                text-align: center;
                margin-right: 1rem;
                font-size: 1.5rem;
                color: var(--accent);
            }

            .footer {
                text-align: center;
                margin-top: 3rem;
                color: var(--muted);
                font-size: 0.9rem;
                padding: 1rem;
                border-top: 1px solid #e2e8f0;
            }

            @media (max-width: 480px) {
                .container {
                    padding: 1rem;
                }

                .title {
                    font-size: 1.5rem;
                }

                .verified-badge {
                    width: 24px;
                    height: 24px;
                }

                .avatar {
                    width: 100px;
                    height: 100px;
                }

                .link {
                    padding: 1rem;
                }

                .link-icon {
                    font-size: 1.25rem;
                }
            }