/* =========================================
   1. Import Fonts & Variables (Vũ Trụ)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500&family=Space+Grotesk:wght@300;400;500;700&display=swap');

:root {
    --bg-main: #030014; 
    --bg-surface: rgba(13, 17, 33, 0.4); 
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8; 
    --accent-nebula: #8b5cf6; 
    --accent-cosmic: #00f2fe; /* Đổi thành Cyan cho nổi bật */
    --border-color: rgba(255, 255, 255, 0.05);
    --transition: all 0.4s ease;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 300;
    background-color: var(--bg-main);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.7;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.12), transparent 30%),
        radial-gradient(circle at 85% 30%, rgba(0, 242, 254, 0.08), transparent 30%);
    background-attachment: fixed;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-top: 0;
}

/* =========================================
   2. Thanh điều hướng (Trắng trong suốt & Blur)
   ========================================= */
nav {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    /* Nền trắng siêu mỏng */
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(25px); /* Làm nhòe mạnh hậu cảnh */
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 40px;
    border-radius: 50px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 10px rgba(255,255,255,0.05);
}

nav ul {
    list-style: none; margin: 0; padding: 0; display: flex; gap: 40px;
}

nav ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul li a:hover, nav ul li a.active {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

/* =========================================
   3. Header Logo Đại học (Góc trái)
   ========================================= */
.uni-header {
    position: fixed;
    top: 25px;
    left: 35px; /* Chuyển từ right sang left */
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999;
}

/* Đảo ngược thứ tự hiển thị: Logo trước, Chữ sau */
.uni-text {
    text-align: left; /* Đổi từ right sang left */
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
    line-height: 1.3;
}

.uni-text .vnu {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.uni-text .uet {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-cosmic);
}

.uni-header img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.2));
}

/* Ẩn logo trên điện thoại để không bị chật màn hình */
@media (max-width: 1024px) {
    .uni-header { display: none; }
}

/* =========================================
   4. Ánh sáng bám theo con trỏ chuột
   ========================================= */
.cursor-glow {
    position: fixed;
    top: 0; left: 0;
    width: 600px; height: 600px;
    /* Gradient tỏa sáng từ tâm */
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15), transparent 60%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* RẤT QUAN TRỌNG: Để không chặn click chuột */
    z-index: 9999;
    mix-blend-mode: screen; /* Hiệu ứng hòa trộn màu ánh sáng */
    transition: width 0.3s, height 0.3s;
}

/* =========================================
   5. Bố cục chính & Bento Grid
   ========================================= */
main { max-width: 1100px; margin: 140px auto 80px; padding: 0 20px; }

.page-header { text-align: center; margin-bottom: 70px; }
.page-header h1 {
    font-size: 3.5rem; font-weight: 700;
    background: linear-gradient(90deg, var(--accent-cosmic), var(--accent-nebula), #fff);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.bento-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 30px;
}

.bento-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px; padding: 30px;
    position: relative; backdrop-filter: blur(12px);
    transition: var(--transition);
    display: flex; flex-direction: column;
}

.bento-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px; padding: 2px;
    background: linear-gradient(135deg, var(--accent-cosmic), var(--accent-nebula));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: var(--transition);
    pointer-events: none;
}

.bento-card > * { position: relative; z-index: 2; }
.bento-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.bento-card:hover::before { opacity: 1; }

.card-img-wrapper {
    width: 100%; height: 180px; border-radius: 12px; overflow: hidden; margin-bottom: 25px; border: 1px solid var(--border-color);
}
.card-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease, filter 0.5s ease; filter: brightness(0.8) contrast(1.2);
}
.bento-card:hover .card-img-wrapper img {
    transform: scale(1.08); filter: brightness(1) contrast(1.1);
}

.task-tag {
    display: inline-block; font-family: 'Space Grotesk', sans-serif; font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; padding: 6px 14px; border-radius: 30px; background: rgba(0, 242, 254, 0.1); color: var(--accent-cosmic); margin-bottom: 15px; align-self: flex-start; border: 1px solid rgba(0, 242, 254, 0.3);
}

.bento-card h2 { font-size: 1.4rem; margin-bottom: 12px; }
.bento-card p { color: var(--text-secondary); font-size: 0.95rem; flex-grow: 1; }

/* =========================================
   6. Nút bấm (Fix lỗi màu)
   ========================================= */
.btn-glass {
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: 25px; padding: 12px 25px;
    background: rgba(0, 242, 254, 0.1); /* Nền xanh cyan nhẹ */
    border: 1px solid rgba(0, 242, 254, 0.4);
    border-radius: 10px;
    color: #ffffff !important; /* Ép chữ màu trắng tuyệt đối */
    text-decoration: none !important; /* Xóa gạch chân mặc định của link */
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600; font-size: 0.85rem; letter-spacing: 1px;
    transition: var(--transition); cursor: pointer;
}

.btn-glass:hover {
    background: var(--accent-cosmic);
    color: #030014 !important; /* Chữ đen khi hover */
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.6);
}

/* Các CSS khác cho Giới thiệu/Footer giữ nguyên như cũ... */
.hero-section { display: flex; align-items: center; gap: 50px; background: var(--bg-surface); border: 1px solid var(--border-color); padding: 50px; border-radius: 24px; backdrop-filter: blur(12px); margin-bottom: 50px; }
.profile-img-wrapper { flex-shrink: 0; width: 250px; height: 250px; border-radius: 50%; position: relative; }
.profile-img-wrapper::after { content: ''; position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-cosmic), var(--accent-nebula)); z-index: -1; filter: blur(10px); opacity: 0.7; }
.profile-img-wrapper img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid var(--bg-main); }
.hero-text h2 { font-size: 2.2rem; font-weight: 700; color: #fff; margin-bottom: 5px; }
.major-tag { display: inline-block; color: var(--accent-cosmic); font-family: 'Space Grotesk', sans-serif; font-size: 1rem; margin-bottom: 20px; font-weight: 500;}
.hero-text p { color: var(--text-secondary); max-width: 600px; }
footer { text-align: center; padding: 40px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); color: var(--text-secondary); font-size: 0.85rem; }
@media (max-width: 768px) { .bento-grid { grid-template-columns: 1fr; } nav { width: 90%; padding: 12px 20px; } .hero-section { flex-direction: column; text-align: center; padding: 30px; } .profile-img-wrapper { width: 180px; height: 180px; } .uni-header { display: none; } }