/* --- 1. CẤU HÌNH CỐT LÕI --- */
:root {
    --primary-color: #d8b4fe;
    --text-color: #e2e8f0;
    --bg-dark: #0f172a;
    --header-bg: rgba(15, 23, 42, 0.98);
    --toolbar-bg: rgba(30, 41, 59, 0.95);
    --nav-bg: rgba(15, 23, 42, 0.98);
    --font-title: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-letter: 'Lora', serif;
    --input-bg-color: rgba(15, 23, 42, 0.7); /* Nền tối mờ cho input, dùng chung */
}

/* FIX SCROLL & WHITE PAGE (SỬA LẠI) */
html {
    scroll-behavior: smooth;
    /* Bỏ height: 100% để tránh kẹt scroll trên mobile */
}

body {
    margin: 0; padding: 0;
    width: 100%; 
    min-height: 100vh; /* Dùng min-height vh thay vì % */
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden; /* Chỉ ẩn cuộn ngang ở body */
    padding-bottom: 0;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

/* QUAN TRỌNG: Đổi overflow thành visible để Sticky Menu hoạt động */
#site-content { 
    display: block; 
    width: 100%; 
    overflow: visible; /* FIX: Đã sửa từ hidden thành visible */
}

/* --- 2. BACKGROUND SYSTEM --- */
.bg-layer {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background-size: cover; background-position: center;
    z-index: -2; opacity: 0; transition: opacity 0.8s ease-in-out;
    will-change: opacity; pointer-events: none;
}
.bg-layer.active { opacity: 1; }

#bg-1 { background-image: url('https://thuongdenkhinao.blog/library/background/bg1.jpeg'); }
#bg-2 { background-image: url('https://thuongdenkhinao.blog/library/background/bg2.jpeg'); }
#bg-3 { background-image: url('https://thuongdenkhinao.blog/library/background/bg2.jpeg'); }

.bg-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.75); z-index: -1; pointer-events: none;
}

/* --- 3. HEADER --- */
header {
    position: fixed; top: 0; width: 100%; height: 60px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 20px; z-index: 1000; background: var(--nav-bg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.logo { font-family: var(--font-title); font-size: 1.4rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--primary-color); text-decoration: none; }

.desktop-nav { display: none; gap: 25px; list-style: none; margin: 0; padding: 0; }
.desktop-nav a { text-decoration: none; color: var(--text-color); font-size: 0.9rem; text-transform: uppercase; transition: color 0.3s; }
.desktop-nav a:hover { color: var(--primary-color); }

/* Active state cho Menu Desktop */
.desktop-nav a.active { color: var(--primary-color); position: relative; }
.desktop-nav a.active::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 2px; background-color: var(--primary-color); box-shadow: 0 0 10px var(--primary-color); }

.mobile-menu-btn { font-size: 1.5rem; color: #fff; cursor: pointer; padding: 10px; }
.mobile-menu-btn-logout { font-size: 1.5rem; color: #fff; padding: 10px; }

.mobile-nav-overlay {
    position: fixed; top: 60px; left: 0; width: 100%; height: 0;
    background: rgba(15, 23, 42, 0.98); overflow: hidden;
    transition: height 0.3s ease; z-index: 999;
    display: flex; flex-direction: column; align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-overlay.open { height: 340px; padding-top: 20px; }

.mobile-nav-link {
    font-family: var(--font-title); font-size: 1.3rem; color: #fff;
    text-decoration: none; margin: 10px 0; opacity: 0; transform: translateY(10px);
    transition: all 0.3s ease;
}
.mobile-nav-overlay.open .mobile-nav-link { opacity: 1; transform: translateY(0); }

/* Active state cho Menu Mobile */
.mobile-nav-link.active { color: var(--primary-color); font-weight: 600; border-left: 3px solid var(--primary-color); padding-left: 15px; transition: all 0.3s; }
.mobile-nav-overlay.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav-overlay.open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav-overlay.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav-overlay.open a:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav-overlay.open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav-overlay.open a:nth-child(6) { transition-delay: 0.3s; }

#backToTop {
    position: fixed; bottom: 140px; right: 20px; z-index: 900;
    width: 40px; height: 40px; background: rgba(255,255,255,0.15);
    border: 1px solid var(--primary-color); border-radius: 50%;
    color: var(--primary-color); display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; transition: opacity 0.3s; pointer-events: none;
    backdrop-filter: blur(5px);
}
#backToTop.show { opacity: 1; pointer-events: all; }

/* --- 4. SECTIONS --- */
section { padding: 60px 20px; position: relative; }
.hero { height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; }
.hero h1 { font-size: 3rem; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 2px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); text-wrap: balance; }
.hero p { font-size: 2.2rem; font-style: italic; color: var(--primary-color); opacity: 0.9; font-family: var(--font-title); margin-bottom: 40px; text-wrap: balance; }
.scroll-btn { padding: 12px 30px; border: 1px solid #fff; border-radius: 50px; color: #fff; text-decoration: none; font-size: 0.9rem; background: rgba(255,255,255,0.1); transition: 0.3s; cursor: pointer; }
.scroll-btn:hover { background: var(--primary-color); color: #000; border-color: var(--primary-color); }

.section-title { text-align: center; margin-bottom: 40px; color: #fff; font-size: 2.5rem; font-family: var(--font-title); text-wrap: balance; }
.intro-text { max-width: 800px; margin: 0 auto; text-align: center; color: #cbd5e1; font-size: 1.1rem; }

/* --- 5. TIMELINE --- */
.timeline-container { max-width: 800px; margin: 0 auto; position: relative; border-left: 2px solid rgba(216, 180, 254, 0.3); padding-left: 30px; }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before { content: ''; position: absolute; width: 14px; height: 14px; left: -38px; top: 5px; background: var(--bg-dark); border: 2px solid var(--primary-color); border-radius: 50%; }
.content-box { padding: 15px; background: rgba(255,255,255,0.05); border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); }
.date { color: var(--primary-color); font-weight: 700; font-size: 0.85rem; margin-bottom: 5px; display: block; }
.loc { font-size: 1.3rem; color: #fff; font-family: var(--font-title); line-height: 1.2; }
.resort { font-size: 0.9rem; font-style: italic; opacity: 0.7; margin-bottom: 10px; }
.t-img { width: 100%; height: 180px; object-fit: cover; border-radius: 4px; margin-top: 5px; filter: brightness(0.9); }

/* --- 6. GALLERY --- */
#gallery { background: rgba(0,0,0,0.2); padding: 60px 0; touch-action: pan-y; }
.gallery-title-wrap { padding: 0 20px; }
.gallery-container { display: flex; flex-wrap: nowrap; gap: 15px; overflow-x: auto; padding: 0 20px 30px 20px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; align-items: center; }
.gallery-container::-webkit-scrollbar { display: none; }
.gallery-item { flex: 0 0 auto; height: 400px; width: auto; scroll-snap-align: center; border-radius: 12px; overflow: hidden; position: relative; box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.gallery-item img, .gallery-item video { height: 100%; width: auto; object-fit: cover; display: block; }
.play-icon-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 3rem; color: #fff; opacity: 0.9; pointer-events: none; text-shadow: 0 0 15px rgba(0,0,0,0.6); z-index: 2; }

/* --- 7. DIARY (STICKY MENU) --- */
#letters { 
    padding: 0; margin-top: 40px; 
    position: relative; 
    overflow: visible; /* Để sticky hoạt động */
}
.diary-nav-wrapper { 
    position: -webkit-sticky; 
    position: sticky; 
    top: 60px; /* Dính dưới header */
    z-index: 90; 
    background: rgba(15, 23, 42, 0.98); 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    padding: 15px 0; 
    margin-bottom: 40px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); 
}
.diary-nav { display: flex; gap: 10px; overflow-x: auto; padding: 0 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.nav-pill { flex: 0 0 auto; padding: 8px 16px; background: rgba(255,255,255,0.08); border-radius: 20px; font-size: 0.8rem; color: #94a3b8; text-decoration: none; display: flex; flex-direction: column; align-items: center; min-width: 80px; transition: all 0.3s; }
.nav-pill.active { background: rgba(216, 180, 254, 0.15); color: var(--primary-color); border: 1px solid var(--primary-color); }
.nav-pill span.t { font-weight: 600; margin-top: 2px; }
.diary-content { padding: 0 20px 60px 20px; max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 60px; }
.letter { background: rgba(30, 41, 59, 0.85); border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); overflow: hidden; scroll-margin-top: 180px; }
.letter.secret { border: 1px solid #ef4444; background: linear-gradient(145deg, rgba(40,0,0,0.8), rgba(20,20,30,0.95)); }
.letter-cover { width: 100%; height: 250px; object-fit: cover; border-bottom: 1px solid rgba(255,255,255,0.05); filter: brightness(0.8); }
.letter-body-wrap { padding: 30px 25px; }
.l-date { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--primary-color); margin-bottom: 8px; }
.l-title { font-size: 2rem; color: #fff; font-family: var(--font-title); line-height: 1.2; margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.l-text { font-family: var(--font-letter); font-size: 1.15rem; color: #e2e8f0; white-space: pre-line; text-align: justify; line-height: 1.6; margin-bottom: 15px; }
.l-sign { text-align: right; margin-top: 30px; font-family: var(--font-title); font-size: 1.2rem; color: var(--primary-color); font-style: italic; }
.yt-link { display: block; text-align: center; margin-top: 20px; padding: 12px; background: rgba(255,255,255,0.08); border-radius: 8px; color: #fff; text-decoration: none; font-size: 0.9rem; }

/* --- 8. QUOTES --- */
#quotes { padding: 80px 20px; padding-bottom: 50px; position: relative; z-index: 2; }
.quote-grid { display: flex; flex-direction: column; gap: 20px; max-width: 900px; margin: 0 auto; }
.quote-card { background: rgba(30, 41, 59, 0.85); border: 1px solid rgba(255, 255, 255, 0.05); padding: 25px; border-radius: 16px; position: relative; }
.quote-icon { font-size: 1.5rem; color: var(--primary-color); opacity: 0.5; margin-bottom: 10px; }
.quote-text { font-family: var(--font-letter); font-size: 1.1rem; color: #e2e8f0; font-style: italic; line-height: 1.6; margin-bottom: 15px; }
.quote-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; opacity: 0.7; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 10px; }
.quote-sender { font-weight: bold; color: var(--primary-color); }
.btn-view-chat { display: inline-block;  padding: 12px 35px; border-radius: 50px; background: var(--primary-color); color: #0f172a; text-decoration: none; font-weight: bold; font-size: 1rem; box-shadow: 0 0 20px rgba(216, 180, 254, 0.3); transition: all 0.3s; position: relative; z-index: 10; }
.btn-view-chat:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(216, 180, 254, 0.5); }

/* --- 9. PLAYER --- */
.bottom-spacer { height: 220px; width: 100%; background: transparent; pointer-events: none; }
.player-wrapper { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 95%; max-width: 450px; z-index: 1000; }
.player-bar { backdrop-filter: blur(15px); padding: 5px 20px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: space-between; box-shadow: 0 10px 30px rgba(0,0,0,0.6); }
.song-info { display: flex; flex-direction: column; overflow: hidden; margin-right: 10px; flex: 1; }
.song-title { font-size: 0.8rem; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-artist { font-size: 0.7rem; color: var(--primary-color); }
.controls { display: flex; gap: 15px; align-items: center; }
.btn-icon { background: none; border: none; color: #fff; font-size: 1.1rem; cursor: pointer; padding: 5px; }
.btn-play { width: 36px; height: 36px; background: var(--primary-color); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; border:none; cursor: pointer; }
.playlist { position: absolute; bottom: 75px; left: 0; width: 100%; background: rgba(20, 25, 40, 0.98); border-radius: 15px; border: 1px solid rgba(255,255,255,0.1); max-height: 300px; overflow-y: auto; display: none; }
.playlist.active { display: block; }
.pl-item { padding: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); cursor: pointer; display: flex; justify-content: space-between; color: #ccc; }
.pl-item.active { color: var(--primary-color); font-weight: bold; }
.pl-item.active {
    background: rgba(216, 180, 254, 0.15);
    border-left: 3px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: bold;
}
.pl-item.active span:last-child {
    color: #fff; /* Tên ca sĩ sáng lên */
    opacity: 1;
}


/* --- LIGHTBOX (Thêm hoặc chỉnh sửa các phần này trong style.css của bạn) --- */

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9); /* Nền tối hơn, gần như đen hoàn toàn */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw; /* Chiều rộng tối đa của nội dung lightbox */
    max-height: 90vh; /* Chiều cao tối đa của nội dung lightbox */
    display: flex; /* Dùng flex để căn giữa media-container */
    justify-content: center;
    align-items: center;
}

/* Container cho Media và Description */
.media-container {
    position: relative; /* Rất quan trọng: để description có thể position: absolute theo container này */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Kích thước sẽ được điều chỉnh bởi media bên trong */
    max-width: 100%;
    max-height: 100%;
}

.lightbox-media {
    max-width: 100%;
    max-height: 90vh; /* Điều chỉnh chiều cao tối đa của ảnh/video */
    border-radius: 8px; /* Bo góc nhẹ nhàng cho media */
    display: block; /* Loại bỏ khoảng trắng dưới ảnh */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Thêm đổ bóng nhẹ */
}

/* Định kiểu cho Description */
.lightbox-description {
    position: absolute; /* Đặt mô tả đè lên media */
    bottom: 0; /* Đặt ở phía dưới cùng */
    left: 0;
    right: 0;
    padding: 15px 20px; /* Padding bên trong */
    background: rgba(0, 0, 0, 0.5); /* Nền đen mờ */
    backdrop-filter: blur(10px); /* Hiệu ứng blur cho nền */
    -webkit-backdrop-filter: blur(10px); /* Hỗ trợ Safari */
    color: #fff; /* Màu chữ trắng */
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left; /* Căn trái văn bản */
    border-bottom-left-radius: 8px; /* Bo góc dưới để khớp với media */
    border-bottom-right-radius: 8px;
    opacity: 0; /* Ẩn mặc định */
    visibility: hidden;
    transform: translateY(100%); /* Di chuyển xuống dưới để ẩn */
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    max-height: 50%; /* Giới hạn chiều cao tối đa của mô tả */
    overflow-y: auto; /* Thêm scrollbar nếu mô tả quá dài */
    /* Custom Scrollbar cho description */
    &::-webkit-scrollbar {
        width: 6px;
        background: rgba(255,255,255,0.1);
        border-radius: 3px;
    }
    &::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.3);
        border-radius: 3px;
    }
}

/* Hiển thị mô tả khi người dùng di chuột qua media-container hoặc khi lightbox được mở (tùy chọn) */
.media-container:hover .lightbox-description {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Di chuyển lên vị trí cũ để hiển thị */
}

/* Tùy chọn: Luôn hiển thị mô tả khi lightbox active nếu muốn */
/*
#lightbox.active .lightbox-description {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
*/


/* Nút đóng Lightbox (nếu có) */
.lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 1001; /* Đảm bảo nút đóng luôn nằm trên */
    transition: color 0.2s ease;
}
.lightbox-close:hover {
    color: var(--primary-color);
}

/* Đảm bảo reset style mặc định của button */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 1001;

    /* --- CÁC THAY ĐỔI MỚI --- */
    background: none; /* Loại bỏ background mặc định */
    border: none;    /* Loại bỏ border mặc định */
    padding: 0;      /* Loại bỏ padding mặc định */
    display: flex;   /* Dùng flexbox để căn giữa icon */
    align-items: center;
    justify-content: center;
    width: 60px; /* Đặt chiều rộng cho vùng click */
    height: 60px; /* Đặt chiều cao cho vùng click */
    border-radius: 50%; /* Có thể làm cho vùng click tròn */
    backdrop-filter: blur(5px); /* Tạo hiệu ứng mờ cho nền nút */
    -webkit-backdrop-filter: blur(5px); /* Hỗ trợ Safari */
    background-color: rgba(0, 0, 0, 0.2); /* Nền hơi tối để nút nổi bật hơn */
}

.lightbox-nav:hover {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4); /* Nền tối hơn khi hover */
}

/* Đảm bảo icon Font Awesome có màu sắc mong muốn */
.lightbox-nav i {
    color: inherit; /* Kế thừa màu từ .lightbox-nav */
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; text-wrap: balance; }
    .section-title { font-size: 2rem; text-wrap: balance; }
    .gallery-item { height: 350px; }
    .lb-nav-btn { width: 40px; height: 40px; font-size: 1.2rem; background: rgba(0,0,0,0.4); }
    .lb-prev { left: 10px; } .lb-next { right: 10px; }
}
@media (min-width: 769px) {
    .mobile-menu-btn { display: none; }
    .mobile-menu-btn-logout { display: none; }
    .desktop-nav { display: flex; }
    .hero h1 { font-size: 5rem; }
    .timeline-container { padding-left: 0; border-left: none; }
    .timeline-container::after { content: ''; position: absolute; width: 2px; background: rgba(216, 180, 254, 0.3); top: 0; bottom: 0; left: 50%; }
    .timeline-item { width: 50%; }
    .timeline-item:nth-child(odd) { left: 0; text-align: right; padding-right: 40px; }
    .timeline-item:nth-child(even) { left: 50%; text-align: left; padding-left: 40px; }
    .timeline-item::before { left: auto; }
    .timeline-item:nth-child(odd)::before { right: -10px; }
    .timeline-item:nth-child(even)::before { left: -8px; }
    .quote-grid { display: grid; grid-template-columns: 1fr 1fr; }
    .quote-card.full-width { grid-column: span 2; }
    .gallery-item { height: 500px; }
}

/* --- THẾ GIỚI SONG SONG (PHƯƠNG ÁN 2 — CORMORANT + LORA) --- */
.parallel-world {
    max-width: 900px;
    margin: 0 auto;
    color: #e2e8f0;
    line-height: 1.8;

    backdrop-filter: blur(2px);
    padding: 20px 1px;
    margin-top: 0px;
}

/* Câu mở đầu — nên là 1 câu riêng trong <p class="first-line"> */
.parallel-world .first-line {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.45rem;
    font-style: italic;
    line-height: 1.6;
    letter-spacing: 0.3px;
    margin-bottom: 25px;
    color: #ffffff;
}

/* Các đoạn tiếp theo — Lora để giữ chất mềm & thơ */
.parallel-world .body {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.45rem;
    font-style: italic;
    line-height: 1.6;
    letter-spacing: 0.3px;
    margin-bottom: 25px;
    color: #ffffff;
}

/* Tăng nhẹ độ blur của nền cho đoạn văn dễ đọc hơn */
.parallel-world-bg {
    backdrop-filter: blur(3px);
}

/* --- 10. LOGIN PAGE (NEW SECTION) --- */
.login-body { /* Class này sẽ được thêm vào <body> của login.php */
    height: 100vh; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin: 0; 
    padding: 0; 
    font-family: var(--font-body); 
    color: #fff;
    background-image: url('https://thuongdenkhinao.blog/library/background/bg1.jpeg'); /* Background cụ thể cho trang login */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden; /* Tránh scrollbar khi có backdrop-filter */
}
.login-body::after { /* Overlay cho trang login */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    z-index: 1;
}

/* Login container */
.login-container { 
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px); 
    padding: 40px; 
    border-radius: 16px; 
    border: 1px solid rgba(216, 180, 254, 0.2); 
    width: 90%; 
    max-width: 380px; 
    text-align: center; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.8); 
    position: relative;
    z-index: 10;
}

/* Tiêu đề */
.pw-title { 
    font-family: var(--font-title); 
    font-size: 2.5rem; 
    color: var(--primary-color); 
    margin-bottom: 30px; 
    letter-spacing: 1px; 
    font-weight: 600;
}

/* Inputs */
.input-group { position: relative; margin-bottom: 20px; width: 100%; }
.input-group i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--primary-color); z-index: 2; }
.pw-input { 
    width: 100%; 
    padding: 12px 15px 12px 45px; 
    border-radius: 50px; 
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: var(--input-bg-color); 
    color: #fff; 
    outline: none; 
    font-size: 1rem; 
    transition: 0.3s; 
    margin-bottom: 0; 
    font-family: var(--font-body);

}
.pw-input:focus { 
    border-color: var(--primary-color); 
    background: var(--bg-dark); 
    box-shadow: 0 0 10px rgba(216, 180, 254, 0.5);
}

/* Button */
.pw-btn { 
    width: 100%; 
    padding: 12px 30px;
    border-radius: 50px; 
    border: 1px solid #fff;
    background: rgba(255, 255, 255, 0.1); 
    color: #fff; 
    font-size: 1rem; 
    cursor: pointer; 
    transition: all 0.3s; 
    margin-top: 25px; 
    letter-spacing: 0.5px;
    box-shadow: none;
    font-family: var(--font-body);
}

.pw-btn:hover { background: var(--primary-color); color: #000; border-color: var(--primary-color); }

/* --- 10. LOGIN PAGE (NEW SECTION) --- */
/* ... (các style login đã có) ... */

/* Style cho thông báo xem tốt nhất */
.info-message {
    margin-top: 25px; /* Điều chỉnh khoảng cách với button */
    font-size: 0.7rem;
    color: #cbd5e1; /* Màu xám nhạt */
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block; /* Giúp khung bọc vừa nội dung */
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.info-message p {
    margin: 0;
}

.info-message i {
    margin-right: 8px;
    color: var(--primary-color); /* Icon màu tím */
}

/* Responsive cho trang login */
@media (max-width: 480px) {
    .login-container { padding: 30px 20px; max-width: 95%; }
    .pw-title { font-size: 2rem; }
    .info-message { font-size: 0.8rem; padding: 8px 12px; }
}

/* Thiết lập font size mặc định cho Desktop/iPad */
.landing-quote {
    font-size: 1.8rem; /* Giả sử font size gốc là 1.8rem */
    font-family: var(--font-title);
    font-style: italic;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    /* ... các style khác ... */
}

/* --- Media Query: Áp dụng cho màn hình có chiều rộng tối đa 768px (Mobile & Tablet dọc) --- */
@media (max-width: 768px) {
    
    /* Điều chỉnh font size cho cụm trích dẫn trên Mobile */
    .landing-quote {
        font-size: 1.3rem; /* GIẢM KÍCH THƯỚC: Thay đổi từ 1.8rem xuống 1.2rem */
        line-height: 1.5; /* Có thể tăng line-height một chút nếu font nhỏ */
    }
    
    /* Có thể cần điều chỉnh font size cho tiêu đề chính (THƯƠNG ĐẾN KHI NÀO?) */
    .hero-title {
        font-size: 2.5rem !important; /* Ví dụ: Giảm từ 3.5rem xuống 2.5rem */
    }
}

#daily-share { padding: 80px 20px; padding-bottom: 50px; position: relative; z-index: 2; }
.btn-sharing {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    background: var(--primary-color);
    color: #0f172a;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 0 20px rgba(216, 180, 254, 0.3);
    transition: all 0.3s;
    position: relative;
    z-index: 10;
}