/* =========================================
   1. RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: #000;
    color: #fff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* =========================================
   2. NAVIGATION
   ========================================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: rgba(0, 0, 0, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 5px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li { margin-left: 25px; }

nav ul li a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    transition: 0.3s;
}

nav ul li a:hover { color: #aaa; }

/* =========================================
   3. HERO SECTION (Parallax)
   ========================================= */
header {
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), 
                      url('https://sourcemusic.com/resources/main/f5281561-dffb-455f-9b33-e15064606c08.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(40px, 8vw, 80px);
    letter-spacing: 15px;
    font-weight: 700;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 45px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    border: 2px solid #fff;
    transition: 0.4s;
}

.btn:hover {
    background-color: transparent;
    color: #fff;
}

/* =========================================
   4. SECTIONS & GRID (Members, Music, Tour)
   ========================================= */
.section-title {
    text-align: center;
    padding: 80px 0 40px;
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.category-title {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 40px 10% 20px;
    border-bottom: 1px solid #222;
}

/* Cấu hình chung cho Album và Tour Grid */
.album-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    padding: 0 10% 50px;
}

/* --- CẤU HÌNH RIÊNG CHO THÀNH VIÊN TO LÊN --- */
.member-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Ép 5 cột trên PC */
    gap: 20px;
    padding: 0 5% 80px; /* Giảm padding để có thêm không gian cho ảnh to */
    max-width: 1600px;
    margin: 0 auto;
}

.member-card { text-align: left; }

.member-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border: 1px solid #222;
    transition: 0.5s ease;
}

.member-card:hover img {
    border-color: #fff;
    transform: scale(1.02);
}

.member-card h3 {
    font-size: 18px;
    margin-top: 15px;
    text-transform: uppercase;
}

.member-card p {
    font-size: 13px;
    color: #888;
}

/* Album & Tour Styles */
.album { text-align: center; }

.album-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #111;
    border: 1px solid #222;
    transition: 0.4s ease;
}

#tour .album-cover { aspect-ratio: 2 / 3; }

.album-cover img { width: 100%; height: 100%; object-fit: cover; }

.album:hover .album-cover { border-color: #fff; transform: scale(1.05); }

.album p {
    font-weight: 600;
    font-size: 13px;
    margin-top: 15px;
    text-transform: uppercase;
}

/* =========================================
   5. POPUP (Discord Style)
   ========================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    pointer-events: none;
}

.modal-content {
    background-color: #0f0f0f;
    position: fixed;
    top: 90px;
    right: 30px;
    padding: 25px;
    border: 1px solid #222;
    width: 380px;
    border-radius: 12px;
    pointer-events: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.9);
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    color: #444;
    cursor: pointer !important;
    transition: 0.3s;
    z-index: 10;
}

.close-btn:hover { color: #fff; }

.about-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    display: block;
    border: 3px solid #1a1a1a;
}

.student-details { text-align: left; margin-bottom: 15px; padding: 0 10px; }
.student-details p { font-size: 13px; margin: 5px 0; color: #eee; }

.intro-text {
    font-size: 13px;
    line-height: 1.7;
    color: #aaa !important;
    text-align: justify;
    border-top: 1px solid #222;
    padding-top: 15px;
    margin-top: 10px;
}

/* =========================================
   6. FOOTER (Minimalist Black & White)
   ========================================= */
footer { 
    text-align: center; 
    padding: 80px 20px; 
    background: #000; /* Đen tuyệt đối */
    border-top: 1px solid #111; 
}

footer p {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.socials { 
    display: flex; 
    justify-content: center; 
    gap: 30px; 
    flex-wrap: wrap;
}

.socials a { 
    color: #555; /* Mặc định màu xám tối */
    text-decoration: none; 
    font-size: 12px; 
    font-weight: 600;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    transition: 0.4s ease; /* Hiệu ứng chuyển màu mượt */
}

/* Icon */
.socials a i {
    margin-right: 10px;
    font-size: 18px;
}

/* Hiệu ứng Hover - Tất cả chuyển sang TRẮNG (Minimalist) */
.socials a:hover { 
    color: #fff; /* Khi di chuột vào sẽ sáng rực lên trên nền đen */
}

/* Nếu bạn muốn icon TikTok có độ bóng nhẹ khi hover */
.socials a:hover .fa-tiktok {
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}