:root {
    --bg-color: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-sub: #94a3b8;
    --accent: #38bdf8;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated Background Mesh */
.background-animation {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 40%);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Profile Section */
.profile {
    text-align: center;
    animation: fadeInDown 0.8s ease;
}

.avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.profile h1 { font-size: 1.8rem; font-weight: 700; margin-bottom: 5px; }
.profile p { color: var(--text-sub); font-size: 0.95rem; }

/* Grid Layout */
.grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Card Design */
.card {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--text-main);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    animation: fadeInUp 0.5s ease backwards;
}

/* Animation Staggering */
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }

.card:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.2);
}

/* Icons */
.icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.purple { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.gray { background: linear-gradient(135deg, #64748b, #475569); }

.details { flex: 1; }
.details h3 { font-size: 1rem; margin-bottom: 2px; }
.details span { font-size: 0.8rem; color: var(--text-sub); }

/* Status Dot */
.status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #334155;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.status.online {
    background-color: #4ade80;
    box-shadow: 0 0 8px #4ade80;
}

/* Hover Shine Effect */
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(800px circle at var(--x) var(--y), rgba(255,255,255,0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
}
.card:hover::before { opacity: 1; }

footer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-sub);
    margin-top: 20px;
}

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