:root {
    --bg-color: #060b19;
    --card-bg: rgba(17, 24, 39, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #00f2fe;
    --primary-glow: rgba(0, 242, 254, 0.4);
    --secondary: #4facfe;
    --secondary-glow: rgba(79, 172, 254, 0.4);
    --accent: #f0abfc;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --success: #10b981;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 10px 20px;
    gap: 15px;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Background animated blobs */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 15s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary-glow);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--secondary-glow);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 300px;
    height: 300px;
    background: rgba(240, 171, 252, 0.2);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(100px, 50px) scale(1.2) rotate(45deg); }
    66% { transform: translate(-50px, 150px) scale(0.9) rotate(-20deg); }
    100% { transform: translate(50px, -50px) scale(1.1) rotate(10deg); }
}

.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    padding: 5px;
    perspective: 1000px;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 2px; /* For glowing border effect */
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    background-image: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    transform-style: preserve-3d;
}

.card-inner {
    background: var(--card-bg);
    border-radius: 28px;
    padding: 25px;
    height: 100%;
    transform: translateZ(30px); /* 3D effect internally */
}

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

.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    transform: translateZ(50px);
}

.avatar-container {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    z-index: 0;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

#avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    z-index: 1;
    border: 4px solid #0f172a;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover #avatar {
    transform: scale(1.1) rotate(5deg);
}

.status-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background-color: var(--success);
    border-radius: 50%;
    border: 3px solid #0f172a;
    z-index: 2;
    box-shadow: 0 0 10px var(--success);
}

.pulse {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background-color: var(--success);
    opacity: 0;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.header-info {
    flex: 1;
}

.header-info h1 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.username-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    padding: 4px 8px;
    border-radius: 8px;
    margin-left: -8px;
    transition: background 0.2s ease;
}

.username-wrapper:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header-info .username {
    font-size: 16px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.copy-icon {
    font-size: 14px;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.username-wrapper:hover .username {
    color: var(--secondary);
    text-shadow: 0 0 15px var(--secondary-glow);
}

.username-wrapper:hover .copy-icon {
    opacity: 1;
    transform: translateX(0);
    color: var(--primary);
}

.copy-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    color: #000;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.copy-tooltip.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.stats-container {
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateZ(40px);
    box-shadow: inset 0 2px 15px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.stats-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.glass-card:hover .stats-container::before {
    left: 200%;
    transition: 1s ease-in-out;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.stat-value {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.group:hover .stat-value {
    color: var(--primary);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.details-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    transform: translateZ(30px);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 14px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

/* Staggered animation */
.fade-in-delay-1 { animation: fadeInRight 0.5s 0.3s forwards ease-out; }
.fade-in-delay-2 { animation: fadeInRight 0.5s 0.4s forwards ease-out; }
.fade-in-delay-3 { animation: fadeInRight 0.5s 0.5s forwards ease-out; }
.fade-in-delay-4 { animation: fadeInRight 0.5s 0.6s forwards ease-out; }
.fade-in-delay-5 { animation: fadeInRight 0.5s 0.7s forwards ease-out; }

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

.icon-box {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.02);
}

.detail-item i {
    font-size: 16px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.detail-item:hover .icon-box {
    background: var(--primary-glow);
    border-color: var(--primary);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 15px var(--primary-glow);
}

.detail-item:hover i {
    color: #fff;
}

.detail-item a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
}

.hover-underline {
    position: relative;
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
}

.hover-underline:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.detail-item:hover {
    color: var(--text-main);
    transform: translateX(5px);
}

.action-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    overflow: hidden;
    transform: translateZ(40px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.5);
}

.action-btn i {
    font-size: 20px;
}

.action-btn:hover {
    transform: translateZ(50px) translateY(-5px);
    box-shadow: 0 15px 25px -5px rgba(79, 172, 254, 0.5);
    letter-spacing: 1px;
}

.action-btn:active {
    transform: translateZ(30px) translateY(0);
}

.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease;
    pointer-events: none;
}

.action-btn:hover .btn-glow {
    opacity: 1;
    transform: scale(1);
    animation: rotateGlow 3s linear infinite;
}

@keyframes rotateGlow {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1) rotate(360deg); }
}

.hidden {
    display: none !important;
}

/* --- Under Construction CSS (Merged from extra.html) --- */
:root {
    --uc-text: #eef2ff;
    --uc-muted: #a7b0d6;
    --uc-accent: #7c5cff;
    --uc-accent2: #22d3ee;
    --uc-warn: #fbbf24;
    --uc-border: rgba(255, 255, 255, .12);
    --uc-border2: rgba(255, 255, 255, .20);
    --uc-shadow: 0 22px 70px rgba(0, 0, 0, .55);
}

.uc-blob {
    position: absolute;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    filter: blur(55px);
    opacity: .55;
    mix-blend-mode: screen;
    animation: float 10s ease-in-out infinite;
    pointer-events: none;
}

.uc-blob.one {
    left: -200px;
    top: 50%;
    background: rgba(124, 92, 255, .70)
}

.uc-blob.two {
    right: -240px;
    bottom: -200px;
    background: rgba(34, 211, 238, .60);
    animation-duration: 12s
}

.uc-wrap {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
    margin-bottom: 5px;
}

.uc-card {
    width: min(900px, 94vw);
    background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
    border: 1px solid var(--uc-border);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    box-shadow: var(--uc-shadow);
    padding: 20px 20px 15px;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.uc-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 180deg,
            rgba(124, 92, 255, .0),
            rgba(124, 92, 255, .60),
            rgba(34, 211, 238, .60),
            rgba(251, 191, 36, .45),
            rgba(124, 92, 255, .0));
    filter: blur(14px);
    opacity: .55;
    animation: spin 6s linear infinite;
    pointer-events: none;
}

.uc-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    background: rgba(10, 14, 34, .72);
    border-radius: 24px;
    pointer-events: none;
}

.uc-content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    text-align: center;
}

.uc-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 2px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    animation: bob 2.6s ease-in-out infinite;
}

@keyframes bob {
    0%, 100% { transform: translateY(0) }
    50% { transform: translateY(-8px) }
}

.uc-badge {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    color: var(--uc-muted);
    width: fit-content;
    margin: 0 auto;
}

.uc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--uc-warn);
    box-shadow: 0 0 0 0 rgba(251, 191, 36, .55);
    animation: uc-pulse 1.4s ease-in-out infinite;
}

@keyframes uc-pulse {
    0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, .55) }
    70% { box-shadow: 0 0 0 14px rgba(251, 191, 36, 0) }
    100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0) }
}

.uc-shine {
    margin: 0;
    font-size: clamp(24px, 4vw, 36px);
    letter-spacing: -0.03em;
    line-height: 1.05;
    background: linear-gradient(90deg, var(--uc-text), rgba(124, 92, 255, .95), rgba(34, 211, 238, .95), var(--uc-text));
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 3.6s ease-in-out infinite;
}

@keyframes shine {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

.uc-text {
    margin: 0;
    color: var(--uc-muted);
    font-size: 14px;
    line-height: 1.5;
}

.uc-cta-pop {
    position: relative;
    margin: 5px auto 0px;
    width: min(520px, 92%);
    padding: 12px 12px 12px;
    border-radius: 18px;
    background:
        radial-gradient(600px 160px at 50% -40%, rgba(124, 92, 255, .40), transparent 60%),
        radial-gradient(520px 160px at 50% 120%, rgba(34, 211, 238, .30), transparent 60%),
        rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow:
        0 18px 55px rgba(0, 0, 0, .55),
        0 0 0 1px rgba(124, 92, 255, .10) inset;
    transform: translateY(0);
    animation: popFloat 2.8s ease-in-out infinite;
}

@keyframes popFloat {
    0%, 100% { transform: translateY(0) }
    50% { transform: translateY(-8px) }
}

.uc-cta-pop::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    background: conic-gradient(from 210deg,
            rgba(124, 92, 255, .0),
            rgba(124, 92, 255, .55),
            rgba(34, 211, 238, .55),
            rgba(251, 191, 36, .35),
            rgba(124, 92, 255, .0));
    filter: blur(14px);
    opacity: .55;
    pointer-events: none;
}

.uc-cta-inner {
    position: relative;
    display: grid;
    gap: 10px;
    z-index: 1;
}

.uc-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--uc-text);
    font-weight: 650;
    font-size: 14px;
    letter-spacing: .01em;
    border: 1px solid rgba(124, 92, 255, .45);
    background: linear-gradient(90deg, rgba(124, 92, 255, .92), rgba(34, 211, 238, .86));
    box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
    position: relative;
    overflow: hidden;
}

.uc-btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 18px 52px rgba(0, 0, 0, .55);
}

.uc-btn-primary::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -60%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
    transform: rotate(18deg);
    animation: shimmer 2.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { left: -60% }
    55% { left: 120% }
    100% { left: 120% }
}

.uc-progress {
    height: 10px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 6px;
}

.uc-bar {
    height: 100%;
    width: 45%;
    background: linear-gradient(90deg, var(--uc-accent), var(--uc-accent2));
    border-radius: 999px;
    animation: loading 2.2s ease-in-out infinite;
}

@keyframes loading {
    0% { transform: translateX(-60%); width: 40% }
    50% { transform: translateX(30%); width: 55% }
    100% { transform: translateX(140%); width: 40% }
}
