/* === 1. SETUP & VARIABLES === */
:root {
    --bg-dark: #09090b;
    --card-bg: #18181b;
    --card-hover: #27272a;
    --border: #27272a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    
    /* Brand Colors */
    --accent-blue: #3b82f6;
    --accent-pink: #ec4899;
    --gradient-primary: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    
    /* Social Colors */
    --zalo: #0068ff;
    --tele: #229ed9;
    --fb: #1877f2;
    --yt: #ff0000;
    --discord: #5865f2;
    --github: #333;
    
    --radius: 20px; /* Bo góc chuẩn như ảnh mẫu */
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* THAY ĐỔI FONT Ở ĐÂY */
    --font-main: 'Be Vietnam Pro', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; outline: none; }

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main); /* Áp dụng font mới */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    overflow-x: hidden;
}

/* Hiệu ứng nền Ambient Light */
.bg-gradient-orb {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, rgba(0,0,0,0) 70%);
    top: -100px;
    left: 20%;
    z-index: -1;
    animation: pulse 10s infinite alternate;
}
@keyframes pulse { from { opacity: 0.5; transform: scale(1); } to { opacity: 1; transform: scale(1.2); } }

/* === 2. LAYOUT: BENTO GRID === */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    width: 100%;
}

.col { display: flex; flex-direction: column; gap: 20px; }

/* Responsive Mobile */
@media (max-width: 1024px) { .bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .bento-grid { grid-template-columns: 1fr; } }

/* === 3. CARD COMPONENT === */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition), border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
    background: var(--card-hover);
}

.card-header {
    font-size: 0.95rem; font-weight: 700; color: var(--text-primary); /* Đậm hơn để giống ảnh */
    margin-bottom: 15px; display: flex; align-items: center; gap: 8px;
}

/* === 4. PROFILE SECTION === */
.profile-header { display: flex; align-items: center; gap: 16px; margin-bottom: 15px; }
.avatar-container { position: relative; }
.avatar { width: 70px; height: 70px; border-radius: 50%; border: 3px solid #27272a; object-fit: cover; }
.status-indicator {
    width: 14px; height: 14px; background: #22c55e; border: 2px solid var(--card-bg);
    border-radius: 50%; position: absolute; bottom: 5px; right: 0;
    box-shadow: 0 0 10px #22c55e;
}
.name { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.5px; } /* Tinh chỉnh font name */
.verify-badge { color: var(--accent-blue); font-size: 1rem; margin-left: 5px; }
.username { color: var(--text-secondary); font-size: 0.9rem; margin-top: 4px;}

/* Typing Effect Styling */
.typing-box {
    background: #202024; padding: 12px 16px; border-radius: 12px;
    font-family: var(--font-main); /* Dùng font chính luôn cho đồng bộ */
    font-size: 0.95rem; display: flex; align-items: center; gap: 5px;
}
.static-text { color: var(--text-secondary); }
.dynamic-text { 
    background: var(--gradient-primary); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    font-weight: 700; 
}
.cursor { color: var(--accent-pink); animation: blink 0.8s infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* === 5. TIMELINE === */
.timeline-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px; border-radius: 12px; background: #202024; margin-bottom: 8px;
    border-left: 3px solid #333; transition: 0.3s;
}
.timeline-item.active { background: rgba(236, 72, 153, 0.1); border-left-color: var(--accent-pink); }
.year { font-size: 0.8rem; font-weight: 700; background: #333; padding: 4px 8px; border-radius: 6px; }
.timeline-item.active .year { background: var(--accent-pink); color: white; }

/* === 6. SOCIAL GRID === */
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.social-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: #27272a; border-radius: 16px; padding: 12px 0;
    text-decoration: none; color: var(--text-secondary); font-size: 0.75rem;
    font-weight: 500;
    transition: 0.3s var(--transition);
}
.icon-box { font-size: 1.4rem; margin-bottom: 6px; transition: 0.3s; }

.social-btn:hover { color: #fff; transform: translateY(-3px); }
.social-btn.zalo:hover { background: var(--zalo); }
.social-btn.telegram:hover { background: var(--tele); }
.social-btn.facebook:hover { background: var(--fb); }
.social-btn.youtube:hover { background: var(--yt); }
.social-btn.discord:hover { background: var(--discord); }
.social-btn.phone:hover { background: #22c55e; }
.social-btn.email:hover { background: #ea4335; }

/* === 7. DONATE CARD (RGB Border) === */
.neon-border { position: relative; z-index: 1; }
.neon-border::before {
    content: ''; position: absolute; inset: -2px; border-radius: 22px; 
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    z-index: -1; filter: blur(10px); opacity: 0; transition: opacity 0.5s;
    background-size: 400%; animation: glowing 20s linear infinite;
}
.neon-border:hover::before { opacity: 0.6; }
@keyframes glowing { 0% { background-position: 0 0; } 50% { background-position: 400% 0; } 100% { background-position: 0 0; } }

.qr-wrapper { display: flex; gap: 10px; margin-bottom: 15px; }
.qr-item { flex: 1; background: #fff; padding: 8px; border-radius: 12px; text-align: center; }
.qr-image-box img { width: 100%; display: block; border-radius: 4px; }
.bank-name { font-size: 0.75rem; font-weight: 800; display: block; margin-top: 5px; color: #000; letter-spacing: -0.3px; }
.tech { color: #e51b23; } .bnb { color: #f3ba2f; }

.wallet-actions { display: flex; gap: 8px; }
.btn { flex: 1; border: none; padding: 10px; border-radius: 8px; cursor: pointer; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 5px; transition: 0.2s; font-family: var(--font-main); }
.btn-paypal { background: #ffc439; color: #111; }
.btn-usdt { background: #26a17b; color: #fff; }
.btn:active { transform: scale(0.95); }

/* === 8. PRODUCTS === */
.product-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #27272a; }
.product-item:last-child { border-bottom: none; }
.prod-img { width: 48px; height: 48px; border-radius: 12px; }
.prod-info { flex: 1; } 
.prod-info h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.prod-info p { font-size: 0.8rem; color: var(--text-secondary); }
.btn-sm { background: var(--accent-blue); color: white; text-decoration: none; padding: 8px 16px; border-radius: 8px; font-size: 0.85rem; font-weight: 700; transition: 0.2s; white-space: nowrap; }
.btn-sm:hover { background: #2563eb; }

.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: #27272a; color: var(--text-secondary); padding: 6px 14px; border-radius: 100px; font-size: 0.85rem; font-weight: 500; transition: 0.3s; cursor: default; }
.tag:hover { background: var(--text-primary); color: #000; }