:root {
    --bg-color: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #6366f1;
    --accent-hover: #4f46e5;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --success-color: #22c55e;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* Background Animated Orbs */
.bg-shape {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(99,102,241,0.4) 0%, rgba(0,0,0,0) 70%);
    animation-delay: 0s;
}

.shape-2 {
    bottom: -10%;
    right: -5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(139,92,246,0.3) 0%, rgba(0,0,0,0) 70%);
    animation-delay: -5s;
}

.shape-3 {
    top: 40%;
    left: 60%;
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, rgba(34,197,94,0.2) 0%, rgba(0,0,0,0) 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 10%) scale(1.1); }
    100% { transform: translate(-5%, 5%) scale(0.9); }
}

#app {
    width: 100%;
    max-width: 800px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-bg {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.profile-container {
    margin-top: 150px;
    width: 90%;
    max-width: 600px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    z-index: 1;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.avatar-container {
    margin-top: -80px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: flex-start;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    border: 4px solid var(--bg-color);
    object-fit: cover;
    background-color: var(--bg-color);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.6);
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.5s infinite ease-in-out;
    border-radius: 4px;
}

.skeleton-text {
    height: 1.2em;
    width: 60%;
    margin-bottom: 0.2rem;
}

.skeleton-text.name { width: 50%; height: 2rem; }
.skeleton-text.handle { width: 30%; height: 1.2rem; }
.skeleton-small { width: 40px; height: 1.2rem; }

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.handle {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 500;
}

.bio {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.bio p {
    margin-bottom: 0.8rem;
}

.bio a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s;
}

.bio a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.emoji {
    height: 1.2em;
    vertical-align: middle;
}

.stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(15px);
    animation: slideUpLink 0.5s forwards ease-out;
}

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

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.link-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.3);
}

.link-card:hover::before {
    left: 200%;
}

.link-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.link-title {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.link-url {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.verified-icon {
    color: var(--success-color);
    margin-right: 0.8rem;
    display: flex;
    align-items: center;
}

.verified-icon svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 600px) {
    .profile-container {
        margin-top: 120px;
        border-radius: 20px 20px 0 0;
        width: 100%;
        border-left: none;
        border-right: none;
        border-bottom: none;
        padding-bottom: 3rem;
        min-height: calc(100vh - 120px);
    }
}

/* Hidden Google Translate UI - Aggressive Nuke */
body { top: 0 !important; position: static !important; }
.goog-te-banner-frame,
.goog-te-menu-frame,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover { 
    display: none !important; 
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
}
.goog-text-highlight,
font[style*="background-color"],
font[style*="box-shadow"],
[class^="VIpgJd-"] { 
    background-color: transparent !important; 
    box-shadow: none !important; 
}

/* Specific target for the top injected iframe */
body > .skiptranslate { display: none !important; }
