:root {
    --navy: #0f172a;
    --navy-light: #1e293b;
    --gold: #fbbf24;
    --gold-grad: linear-gradient(135deg, #b48811, #fbbf24, #fcd34d);
    --bg: #f8fafc;
    --white: #ffffff;
    --text: #334155;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

/* --- RESET --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- HEADER --- */
.main-header {
    position: relative;
    width: 100%;
    height: 300px; 
    background: radial-gradient(circle at center, #334155, #0f172a);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
}
#blockchain-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.header-overlay { position: absolute; inset: 0; background: rgba(15,23,42,0.5); }
.header-content { position: relative; z-index: 2; }
.header-content h1 { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 800; text-transform: uppercase; margin-bottom: 5px; }
.subtitle { color: var(--gold); font-weight: 500; }

/* --- FLUID LAYOUT --- */
.container-fluid {
    width: 100%;
    padding: 0 20px 40px 20px; 
    margin-top: -60px; 
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 350px 1fr; 
    gap: 30px;
    align-items: start;
}

/* --- SIDEBAR --- */
.sidebar-wrapper {
    position: sticky; 
    top: 20px; 
    height: auto;
}

.profile-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
    border-top: 5px solid var(--gold);
}

.avatar-area {
    width: 200px; height: 200px; margin: 30px auto 20px;
    position: relative; display: flex; justify-content: center; align-items: center;
}
.avatar-ring {
    position: absolute; inset: -5px; border-radius: 50%;
    background: conic-gradient(transparent, var(--gold), transparent 40%);
    animation: spin 3s linear infinite;
}
.avatar-img {
    width: 190px; height: 190px; border-radius: 50%;
    border: 4px solid var(--white); position: relative; z-index: 2; object-fit: cover;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Sidebar Info */
.lang-control { margin-bottom: 15px; }
.lang-btn { background: none; border: none; cursor: pointer; opacity: 0.5; margin: 0 5px; transition: 0.2s; }
.lang-btn:hover, .lang-btn.active { opacity: 1; transform: scale(1.1); }

.name { color: var(--navy); font-size: 1.5rem; font-weight: 700; margin-bottom: 5px; }
.role { color: #64748b; font-weight: 600; font-size: 0.9rem; }
.org { font-size: 0.8rem; color: #94a3b8; margin-bottom: 20px; }

.action-btn {
    display: inline-block; background: var(--gold-grad); color: var(--navy);
    padding: 12px 35px; border-radius: 50px; font-weight: 700;
    margin-bottom: 25px; box-shadow: 0 5px 15px rgba(251,191,36,0.3);
}
.action-btn:hover { transform: translateY(-2px); }

/* Contact & Zalo */
.contact-list a {
    display: flex; align-items: center; justify-content: center;
    color: var(--text); font-size: 0.9rem; margin-bottom: 12px;
}
.contact-list i { color: var(--navy); margin-right: 8px; width: 20px; }
.contact-list a:hover { color: var(--gold); }

/* Zalo Custom Style */
.zalo-link { font-weight: 600; color: #0068ff !important; }
.zalo-icon {
    background: #0068ff; color: white; padding: 2px 6px; 
    border-radius: 4px; font-size: 0.7rem; font-weight: 800; 
    margin-right: 8px; font-family: sans-serif;
    box-shadow: 0 2px 5px rgba(0,104,255,0.3);
}
.zalo-link:hover .zalo-icon { background: var(--navy); }

/* --- RIGHT CONTENT --- */
.content-wrapper { width: 100%; min-width: 0; }

.card-box {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(to right, var(--navy), #334155);
    padding: 15px 25px; display: flex; align-items: center; color: var(--white);
}
.card-header i { color: var(--gold); margin-right: 15px; font-size: 1.2rem; }
.card-header h3 { margin: 0; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; }

.card-body { padding: 25px; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }

/* Lists & Stats */
.list-check li { margin-bottom: 10px; padding-left: 20px; position: relative; }
.list-check li::before { content: "✔"; color: var(--gold); position: absolute; left: 0; font-weight: bold; }

.sub-list { margin-top: 5px; margin-left: 10px; border-left: 2px solid #e2e8f0; padding-left: 15px; margin-bottom: 15px; }
.sub-list li { font-size: 0.95rem; margin-bottom: 8px; }
.sub-list-dot { list-style: disc; margin-left: 20px; color: #475569; margin-top: 5px; }

.timeline .t-item { border-left: 3px solid var(--gold); padding-left: 15px; margin-bottom: 20px; }
.t-item h4 { color: var(--navy); margin-bottom: 5px; font-weight: 700; }
.t-item ul { margin-top: 5px; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.stat { background: #f1f5f9; padding: 15px; border-radius: 8px; text-align: center; font-weight: 600; }
.stat span { display: block; font-size: 2rem; color: var(--navy); font-weight: 800; }

.award-list li, .honor-list li { margin-bottom: 12px; display: flex; }
.award-list i, .honor-list i { margin-right: 10px; margin-top: 5px; color: var(--gold); flex-shrink: 0; }
.sub-head { color: var(--navy); font-weight: 700; border-bottom: 1px solid #e2e8f0; padding-bottom: 5px; margin-bottom: 15px; }

.grid-books { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; }
.book { background: #fffbeb; border: 1px solid var(--gold); color: #92400e; padding: 15px; border-radius: 6px; text-align: center; font-weight: 600; font-size: 0.9rem; }

/* Slider */
.slider-box { padding: 20px 0; overflow: hidden; }
.slider-track { display: flex; width: max-content; animation: scroll 20s linear infinite; }
.slide { width: 220px; padding: 0 10px; }
.slide img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-220px * 5)); } }

/* Footer */
footer { text-align: center; padding: 30px; background: var(--navy); color: #94a3b8; margin-top: 40px; }
footer a { color: var(--gold); }

/* --- RESPONSIVE --- */
@media screen and (max-width: 992px) {
    .container-fluid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    .sidebar-wrapper {
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }
    .main-header { height: auto; padding: 60px 20px 80px; }
}