/* =========================================
   MHEnt. UNIVERSE - MAIN STYLESHEET (V11 - GLASSMORPHISM EDITION)
   Mục lục:
   0. CSS Variables System (Light/Dark Theme)
   1. Thiết lập chung & Menu
   2. Trang chủ & Tìm kiếm (Live Search)
   3. Khu vực "Tiếp tục xem" (Continue Watching)
   4. Trang thông tin (Details Page)
   5. Trang xem phim (Watch Page)
   6. Trang About, Footer & Nút Back to top
   7. Trang Đăng Nhập & Profile (Đã phục hồi)
   8. Popup & Toast Notification
   9. CHẾ ĐỘ TỐI (DARK MODE - Đã sửa lỗi màu chữ & Kính lúp)
   10. GIAO DIỆN ĐIỆN THOẠI (Mobile Responsive)
   11. SẢNH CHÍNH (Portal)
   ========================================= */

/* ==========================================================================
   0. CSS VARIABLES SYSTEM & CLASS KÍNH MỜ
   ========================================================================== */
:root {
    /* ☀️ Light Mode */
    --bg-primary: #f8fbff;
    --bg-secondary: rgba(255, 255, 255, 0.8);
    
    /* Đã tăng độ đục (Opacity) để kính đặc hơn */
    --bg-glass: rgba(255, 255, 255, 0.85); 
    --bg-glass-strong: rgba(255, 255, 255, 0.95); /* Gần như đặc hoàn toàn */
    
    --border-color: rgba(203, 213, 225, 0.6);
    
    --text-primary: #333;
    --text-secondary: #555;
    --text-muted: #94a3b8;
    
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.1);
    
    /* 🎨 Thư viện màu Accent (Sử dụng chung toàn hệ thống) */
    --accent-cinema: #ff85a2;
    --accent-arena: #ff9a55;
    --accent-edu: #0ea5e9;
    --accent-game: #10b981;
    --accent-manga: #00ffcc;
    --accent-novel: #ffb703;
    --accent-music: #c084fc;

    /* 🟢 Biến Theme Hiện Tại (Gán bằng class body) */
    --theme-accent: var(--accent-cinema); /* Mặc định là màu Cinema */
}

/* 🌙 Dark Mode */
body.dark-mode {
    --bg-primary: #050505; 
    --bg-secondary: rgba(15, 23, 42, 0.8);
    
    /* Đã tăng độ đục (Opacity) cực mạnh cho nền tối */
    --bg-glass: rgba(15, 23, 42, 0.85); 
    --bg-glass-strong: rgba(15, 23, 42, 0.96); /* Kính tối gần như đặc */
    
    --border-color: rgba(51, 65, 85, 0.8);
    
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Kích hoạt màu theo trang */
body.theme-cinema { --theme-accent: var(--accent-cinema); }
body.theme-arena { --theme-accent: var(--accent-arena); }
body.theme-edu { --theme-accent: var(--accent-edu); }
body.theme-game { --theme-accent: var(--accent-game); }
body.theme-admin { --theme-accent: #2563eb; }
/* =========================================
   1. THIẾT LẬP CHUNG & MENU
   ========================================= */
*, *::before, *::after { box-sizing: border-box; } 

html, body { 
    overflow-x: hidden !important; 
    width: 100%; 
    /* height: 100%;  <--- XÓA BÉNG DÒNG NÀY ĐI NHÉ CẬU! */
    position: relative;
    margin: 0; /* Ép margin 0 cho toàn trang */
    padding: 0; /* Ép padding 0 cho toàn trang */
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body { 
    font-family: 'Nunito', sans-serif; 
    background-color: var(--bg-primary); 
    color: var(--text-primary); 
    font-size: 15px; line-height: 1.5; 
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Chỉ giữ lại min-height để body tự do co giãn */
}

/* Ép tất cả thẻ main tự động giãn chiều cao để đẩy Footer xuống sát đáy màn hình */
main, .movie-section, .watch-container, .desc-container, .full-notif-container {
    flex: 1 0 auto !important;
}

@keyframes fadeInPage { from { opacity: 0; } to { opacity: 1; } }

/* Gradient nền có thể dùng đè lên bg-primary */
.gradient-bg { background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); }

/* --- Navbar Glassmorphism --- */
.navbar { 
    display: flex; justify-content: space-between; align-items: center; 
    background-color: var(--bg-glass-strong); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 40px; 
    position: fixed; 
    top: 0 !important; /* Ép dính chặt lên mép trên cùng */
    left: 0; 
    width: 100%; 
    z-index: 9999; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); 
    border-bottom: 1px solid var(--border-color);
    box-sizing: border-box; 
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.nav-left a { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.avt-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--theme-accent); transition: 0.3s; }
.logo-name { font-size: 19px; font-weight: 900; color: var(--theme-accent); transition: 0.3s; }
.menu-toggle { display: none; font-size: 28px; color: var(--theme-accent); cursor: pointer; margin-left: auto; margin-right: 15px; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 30px; margin: 0 auto 0 40px; padding: 0; }
.nav-links a { text-decoration: none; color: var(--text-secondary); font-weight: 700; font-size: 14.5px; transition: 0.3s; }
.nav-links a:hover { color: var(--theme-accent); }
.nav-right { display: flex; align-items: center; gap: 15px; }

/* Kính lúp Navbar & SVG */
.svg-icon { stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.btn-with-icon { display: inline-flex; align-items: center; gap: 8px; }
.nav-search-container { display: flex; align-items: center; justify-content: flex-end; margin-right: 15px; position: relative; background: rgba(0,0,0,0.03); border-radius: 30px; padding: 4px; transition: background 0.3s ease; }
#nav-search-box { width: 0; border: none; background: transparent; color: var(--text-primary); font-family: 'Nunito', sans-serif; font-size: 14.5px; font-weight: bold; outline: none; padding: 0; pointer-events: none; transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.4s ease; }
.nav-search-container:focus-within #nav-search-box, #nav-search-box.active { width: 180px; padding: 0 10px 0 15px; pointer-events: auto; }
#nav-search-box::placeholder { color: var(--text-secondary); font-weight: normal; }
.nav-search-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer; color: var(--theme-accent); background: var(--bg-primary); border-radius: 50%; width: 34px; height: 34px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); user-select: none; }
.nav-search-icon:hover { transform: scale(1.1); background: var(--theme-accent); color: white; }

/* User Section & Nút bấm trên Nav */
.user-section { position: relative; display: flex; align-items: center; gap: 15px; }
.btn-theme { background: transparent; border: 1px solid var(--border-color); color: var(--text-secondary); border-radius: 50%; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; padding: 0; }
.btn-theme:hover { background: var(--bg-secondary); transform: scale(1.1); color: var(--theme-accent); border-color: var(--theme-accent);}
.btn-login { background: var(--theme-accent); color: white; border: none; padding: 8px 16px; border-radius: 20px; font-weight: bold; font-size: 14px; cursor: pointer; font-family: 'Nunito', sans-serif; transition: 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.btn-login:hover { transform: translateY(-2px); filter: brightness(1.1); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.user-profile { display: flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap; }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid var(--theme-accent); flex-shrink: 0; }
.user-name { font-weight: 700; color: var(--text-primary); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; transition: 0.3s;}
.user-name:hover { color: var(--theme-accent); }

/* Các bảng Dropdown Glassmorphism */
.notif-bell { color: var(--theme-accent); display: flex; align-items: center; cursor: pointer; position: relative; }
.notif-bell:hover { transform: scale(1.1); }
.notif-dot { display: none; position: absolute; top: -2px; right: -2px; width: 10px; height: 10px; background: #ff5277; border-radius: 50%; border: 2px solid #ffffff; }

.dropdown-menu { 
    position: absolute; top: 55px; right: 0; 
    background: var(--bg-glass-strong); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color); border-radius: 16px; box-shadow: var(--shadow-hover); 
    z-index: 1000; visibility: hidden; opacity: 0; transform: translateY(-15px) scale(0.95); transition: all 0.3s; pointer-events: none; 
}
.dropdown-menu.show { visibility: visible; opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.dropdown-menu::before { content: ''; position: absolute; top: -6px; right: 10px; width: 12px; height: 12px; background: var(--bg-glass-strong); transform: rotate(45deg); border-top: 1px solid var(--border-color); border-left: 1px solid var(--border-color); z-index: -1; }

.account-dropdown { width: 200px; padding: 8px 0; }
.dropdown-item { position: relative; padding: 10px 20px; color: var(--text-primary) !important; display: flex; align-items: center; gap: 12px; cursor: pointer; transition: 0.3s; font-size: 14px; font-weight: 800; overflow: hidden; }
.dropdown-item::before { content: ''; position: absolute; left: 0; top: 10%; height: 80%; width: 4px; background: var(--theme-accent); border-radius: 0 4px 4px 0; transform: scaleY(0); transition: 0.2s; }
.dropdown-item:hover { color: var(--theme-accent) !important; padding-left: 28px; background: rgba(0,0,0,0.02); }
.dropdown-item:hover::before { transform: scaleY(1); }
.dropdown-divider { height: 1px; background: var(--border-color); margin: 5px 20px; }

/* FIX MŨI TÊN APP SWITCHER */
.dropdown-menu.app-switcher-menu::before { right: 20px; }
.dropdown-menu.app-switcher-menu { width: 280px; padding: 15px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; right: -15px; }

.app-item { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: var(--text-primary); padding: 12px 5px; border-radius: 12px; transition: 0.2s ease; border: 1px solid transparent; cursor: pointer; }
.app-item:hover { background: rgba(0,0,0,0.03); transform: translateY(-3px); border-color: var(--border-color); color: var(--theme-accent);}
.app-item.active { background: rgba(0,0,0,0.05); border-color: var(--theme-accent); color: var(--theme-accent);}
.app-item.disabled { opacity: 0.5; filter: grayscale(100%); cursor: not-allowed;}
.app-item.disabled:hover { transform: none; border-color: transparent; background: transparent;}
.app-icon { font-size: 28px; margin-bottom: 6px; }
.app-icon svg { width: 26px; height: 26px; stroke-width: 1.5; transition: 0.3s; }
.app-item:hover .app-icon svg { transform: scale(1.1); }
.app-name { font-size: 12px; font-weight: 800; text-align: center; }


/* ======================================================
   TÙY CHỈNH THANH CUỘN (SCROLLBAR) TOÀN HỆ THỐNG
   ====================================================== */
/* 1. Dành cho Chrome, Edge, Safari... */
::-webkit-scrollbar { 
    width: 6px; /* Làm cho nó siêu mỏng (từ 8px xuống 6px) */
    height: 6px; 
}
::-webkit-scrollbar-track { 
    background: transparent; /* Nền trong suốt để không bị phô */
    margin-top: 65px; /* THUẬT TOÁN SỬA LỖI: Đẩy thanh cuộn tụt xuống 65px để né cái Navbar */
}
::-webkit-scrollbar-thumb { 
    background: rgba(203, 213, 225, 0.8); /* Màu xám kính mờ */
    border-radius: 10px; 
}
::-webkit-scrollbar-thumb:hover { 
    background: var(--theme-accent); /* Khi rê chuột vào mới nổi màu đặc trưng */
}

/* 2. Dành cho Firefox */
html { 
    scrollbar-width: thin; 
    scrollbar-color: rgba(203, 213, 225, 0.8) transparent; 
}

/* --- Dark Mode Scrollbar --- */
body.dark-mode ::-webkit-scrollbar-thumb { background: rgba(71, 85, 105, 0.8); }
body.dark-mode ::-webkit-scrollbar-thumb:hover { background: var(--theme-accent); }
body.dark-mode html { scrollbar-color: rgba(71, 85, 105, 0.8) transparent; }

/* =========================================
   2. TRANG CHỦ & TÌM KIẾM (LIVE SEARCH)
   ========================================= */
.hero { background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); padding: 70px 5%; text-align: center; border-bottom: 1px solid var(--border-color); }
.hero h1 { font-size: 38px; color: var(--text-primary); margin: 0 0 10px 0; }
.small-description { font-size: 15px; color: var(--text-secondary); margin: 0 0 25px 0; font-style: italic; display: block; }
.btn-primary { background-color: var(--theme-accent); color: white; padding: 12px 28px; border-radius: 30px; text-decoration: none; font-weight: bold; font-size: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: 0.2s; display: inline-block; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); filter: brightness(1.1);}

.movie-section { max-width: 1800px; width: 95%; margin: 0 auto; padding: 40px 0; }
.section-title { font-size: 26px; margin-bottom: 25px; text-align: left; border-bottom: 3px solid var(--theme-accent); display: inline-block; padding-bottom: 5px; color: var(--text-primary); }
.movie-list { display: flex; gap: 25px; flex-wrap: wrap; }
.movie-card { width: 180px; display: flex; flex-direction: column; position: relative; }
.anime-poster { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow-soft); transition: 0.3s; }
.movie-card:hover .anime-poster { transform: translateY(-5px); box-shadow: var(--shadow-hover);}
.bg-gray { background-color: rgba(0,0,0,0.05); }
.placeholder-img { display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-weight: bold; font-size: 13px;}
.movie-info { padding-top: 12px; text-align: left; }
.movie-info h3 { margin: 0 0 5px 0; font-size: 14.5px; color: var(--text-primary); }
.movie-info p { margin: 0 0 10px 0; font-size: 12px; color: var(--text-secondary); }
.watch-link { text-decoration: none; color: var(--theme-accent); font-weight: bold; font-size: 13px; transition: 0.2s; }
.watch-link:hover { filter: brightness(1.2); }
.disabled { color: var(--text-muted); cursor: not-allowed; }

/* Nút xóa thư viện */
.btn-remove-lib { position: absolute; top: 10px; right: 10px; background: rgba(0, 0, 0, 0.6); color: white; border: none; border-radius: 50%; width: 32px; height: 32px; font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s ease; backdrop-filter: blur(5px); opacity: 0; }
.movie-card:hover .btn-remove-lib { opacity: 1; }
.btn-remove-lib:hover { background: #ff4d4d; transform: scale(1.15); }


/* CSS FIX: BUTTON LỌC PHIM THÀNH VECTOR */
.filter-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 18px; border: 1px solid var(--theme-accent); background: transparent; color: var(--theme-accent); border-radius: 20px; font-weight: bold; cursor: pointer; transition: 0.3s; font-family: 'Nunito', sans-serif; font-size: 13.5px; }
.filter-btn svg { width: 16px; height: 16px; stroke-width: 2.2; }
.filter-btn:hover { background: rgba(0,0,0,0.03); }
.filter-btn.active { background: var(--theme-accent); color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.1); border-color: var(--theme-accent); }


/* =========================================
   3. KHU VỰC "TIẾP TỤC XEM" (CONTINUE WATCHING V4)
   ========================================= */
#continue-watching-container { width: 100%; padding-bottom: 20px; display: block; }
.cw-card { 
    display: flex; flex-direction: row; align-items: center; width: 100%; gap: 25px; 
    background: var(--bg-glass); backdrop-filter: blur(16px); border-radius: 16px; border: 1px solid var(--border-color); 
    box-shadow: var(--shadow-soft); text-decoration: none; transition: 0.3s; box-sizing: border-box; padding: 20px;
}
.cw-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--theme-accent); }
.cw-poster { width: 180px; aspect-ratio: 2/3; border-radius: 10px; object-fit: cover; flex-shrink: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.cw-info { display: flex; flex-direction: column; justify-content: center; width: 100%; overflow: hidden; }
.cw-tag { font-size: 13px; font-weight: 800; color: var(--theme-accent); background: rgba(0,0,0,0.03); padding: 5px 12px; border-radius: 15px; width: fit-content; margin-bottom: 10px; border: 1px solid var(--border-color);}
.cw-title { font-size: 24px; font-weight: 900; color: var(--text-primary); margin: 0 0 6px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-subtitle { font-size: 14.5px; color: var(--text-secondary); font-style: italic; margin-bottom: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-progress-row { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; width: 100%; max-width: 600px; }
.cw-ep-text { font-size: 14px; font-weight: 800; color: var(--text-secondary); white-space: nowrap; }
.cw-progress-bg { flex: 1; background: rgba(0,0,0,0.05); height: 8px; border-radius: 10px; overflow: hidden; }
.cw-progress-bar { background: var(--theme-accent); height: 100%; border-radius: 10px; box-shadow: 0 0 5px rgba(0,0,0,0.1); }
.cw-action { font-size: 16px; font-weight: 800; color: var(--theme-accent); display: flex; align-items: center; gap: 8px; width: fit-content; padding: 8px 20px; background: transparent; border: 1px solid var(--theme-accent); border-radius: 20px; transition: 0.2s;}
.cw-card:hover .cw-action { background: var(--theme-accent); color: #fff; }

/* =========================================
   4. TRANG THÔNG TIN (DETAILS PAGE)
   ========================================= */
.back-btn-wrapper { max-width: 1800px; width: 95%; margin: 20px auto 10px; padding: 0; }
.btn-back { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--theme-accent); font-weight: 900; font-size: 13.5px; background: var(--bg-glass); border: 1px solid var(--border-color); padding: 8px 18px; border-radius: 25px; box-shadow: var(--shadow-soft); transition: 0.3s; }
.btn-back:hover { background: var(--theme-accent); color: #fff; transform: translateX(-5px); border-color: var(--theme-accent);}

.details-container { display: flex; gap: 35px; max-width: 1800px; width: 95%; margin: 10px auto 60px; background: var(--bg-glass); backdrop-filter: blur(16px); padding: 30px 4%; border-radius: 20px; box-shadow: var(--shadow-glass); align-items: flex-start; box-sizing: border-box; border: 1px solid var(--border-color);}
.poster-big { width: 240px; height: auto; object-fit: contain; border-radius: 12px; box-shadow: var(--shadow-soft); }
.info-box { flex: 1; min-width: 0; }
.info-box h1 { color: var(--theme-accent); font-size: 28px; margin: 12px 0 5px 0;}
.tag { background: rgba(0,0,0,0.03); color: var(--theme-accent); padding: 4px 12px; border-radius: 20px; font-weight: bold; font-size: 12px; margin-bottom: 6px; border: 1px solid var(--border-color);}
.description, .info-box p { color: var(--text-secondary); line-height: 1.6; font-size: 14.5px; margin: 6px 0;}

.btn-group { display: flex; gap: 12px; margin-top: 25px; flex-wrap: wrap; }
.btn-watch, .btn-trailer, .btn-continue, .btn-outline { padding: 10px 20px; font-size: 14px; border-radius: 10px; font-weight: bold; transition: 0.2s; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; border: none; cursor: pointer; }
.btn-watch { background: var(--theme-accent); color: white; }
.btn-watch:hover { filter: brightness(1.1); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2);}
.btn-trailer { background: #333; color: white; }
.btn-trailer:hover { background: #000; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2);}
.btn-continue { background: var(--theme-accent); color: white; filter: brightness(0.9);}
.btn-continue:hover { filter: brightness(1.1); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2);}
.btn-outline { background: transparent; border: 2px solid var(--theme-accent); color: var(--theme-accent); }
.btn-outline:hover { background: var(--theme-accent); color: white; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2);}

.ep-list-wrapper { margin-top: 35px; width: 100%; }
.ep-list-title { font-size: 18px; color: var(--theme-accent); font-weight: 900; margin-bottom: 15px; border-bottom: 2px solid var(--border-color); padding-bottom: 8px; }
.ep-list-container { display: flex; flex-direction: column; max-height: 320px; overflow-y: auto; padding-right: 10px; }
.ep-list-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--border-color); text-decoration: none; transition: 0.3s; border-radius: 8px; margin-bottom: 4px; }
.ep-list-item:hover { background: rgba(0,0,0,0.03); padding-left: 24px; border-color: transparent;}
.ep-item-left { display: flex; flex-direction: column; gap: 4px; }
.ep-name { font-weight: 800; color: var(--text-primary); font-size: 14px; }
.ep-subtext { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.ep-item-right { color: var(--theme-accent); font-weight: bold; font-size: 13px; opacity: 0; transition: 0.3s; white-space: nowrap; flex-shrink: 0; }
.ep-list-item:hover .ep-item-right { opacity: 1; transform: translateX(-5px); }
.ep-list-item:hover .ep-name { color: var(--theme-accent); }

/* =========================================
   5. TRANG XEM PHIM (WATCH PAGE)
   ========================================= */
.watch-container { max-width: 1800px; width: 95%; margin: 20px auto 50px; padding: 0; }
.back-navigation { margin: 0 0 15px 0; display: flex; justify-content: flex-start; width: fit-content; }
.watch-layout { display: flex; gap: 25px; align-items: flex-start; }
.video-section { flex: 3; min-width: 0; }

.episode-sidebar { flex: 1; background: var(--bg-glass); backdrop-filter: blur(16px); padding: 20px; border-radius: 12px; box-shadow: var(--shadow-glass); border: 1px solid var(--border-color);}
.video-player-wrapper { position: relative; padding-bottom: 56.25%; height: 0; background: #000; border-radius: 10px; overflow: hidden; margin: 15px 0; }
.video-player-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.video-box { background: var(--bg-glass); backdrop-filter: blur(16px); padding: 20px; border-radius: 12px; box-shadow: var(--shadow-glass); border: 1px solid var(--border-color);}
.watch-header h2 { font-size: 24px; color: var(--theme-accent); margin-bottom: 10px; font-weight: 900; }
#current-episode { font-size: 14px; color: var(--text-primary); font-weight: 800; background: rgba(0,0,0,0.05); display: inline-block; padding: 5px 12px; border-radius: 15px; border: 1px solid var(--border-color); margin-top: 0; }

.ep-grid-v2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(65px, 1fr)); gap: 8px; margin-top: 15px; }
.ep-btn-custom { padding: 8px 5px; border: 1px solid var(--border-color); background: transparent; color: var(--text-primary); border-radius: 6px; font-size: 13px; font-weight: 800; cursor: pointer; transition: 0.3s; font-family: 'Nunito', sans-serif; }
.ep-btn-custom:hover { background: rgba(0,0,0,0.05); color: var(--theme-accent); border-color: var(--theme-accent);}
.ep-btn-custom.active { background: var(--theme-accent); color: #fff; border-color: var(--theme-accent); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

.cinema-tools { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 10px 15px; background: rgba(0,0,0,0.03); border-radius: 8px; margin-top: 15px; border: 1px solid var(--border-color); }
.tools-top { display: flex; align-items: center; gap: 10px; }
.server-list-mini { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.server-label { font-weight: 900; color: var(--theme-accent); font-size: 13px; }
.server-btn-mini { background: transparent; border: 1px solid var(--border-color); color: var(--text-primary); padding: 4px 10px; border-radius: 5px; cursor: pointer; font-size: 12px; font-weight: bold; transition: 0.3s; }
.server-btn-mini:hover { background: rgba(0,0,0,0.05); border-color: var(--theme-accent); color: var(--theme-accent);}
.server-btn-mini.active { background: var(--theme-accent); color: #fff; border-color: var(--theme-accent); }

.info-footer-container { display: flex; gap: 20px; margin-top: 25px; align-items: flex-start; }
.poster-watch-fix { width: 180px; height: auto; border-radius: 10px; box-shadow: var(--shadow-soft); }
.info-content-box { background-color: var(--bg-glass); backdrop-filter: blur(16px); padding: 20px; border-radius: 12px; box-shadow: var(--shadow-glass); border: 1px solid var(--border-color); flex: 1; }
.description-scroll { max-height: 90px; overflow: hidden; transition: max-height 0.5s ease; line-height: 1.6; font-size: 14.5px; color: var(--text-secondary);}
.description-scroll.expanded { max-height: 1000px; }
.btn-read-more { margin-top: 10px; background: none; border: none; color: var(--theme-accent); font-weight: bold; cursor: pointer; padding: 0; font-size: 13px;}

/* ========================================= */
/* CÔNG CỤ PHÒNG CHIẾU (CINEMA MODE & NAV) */
/* ========================================= */
.player-controls { background: var(--bg-glass); backdrop-filter: blur(16px); border-radius: 12px; box-shadow: var(--shadow-glass); border: 1px solid var(--border-color); padding: 15px 20px; display: flex; flex-direction: column; gap: 15px; margin-top: 15px; margin-bottom: 20px; width: 100%; box-sizing: border-box;}
.tool-btn { background: transparent; color: var(--text-primary); border: 1px solid var(--border-color); padding: 8px 16px; border-radius: 8px; font-weight: 900; font-size: 13.5px; cursor: pointer; transition: 0.3s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Nunito', sans-serif; flex-shrink: 0;}
.tool-btn:hover { background: var(--theme-accent); color: #fff; transform: translateY(-2px); border-color: var(--theme-accent); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.tools-row-1 { display: flex; justify-content: space-between; align-items: center; width: 100%; flex-wrap: wrap; gap: 10px; }
.tools-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }


/* =========================================
   7. TRANG ĐĂNG NHẬP & PROFILE 
   ========================================= */
.login-page { 
    flex: 1; /* Chiếm hết chiều cao còn lại của trang */
    display: flex; 
    justify-content: center; /* Căn giữa theo chiều ngang */
    align-items: center; /* Căn giữa theo chiều dọc */
    padding: 40px 20px; 
    margin-top: 80px; /* Bù lại khoảng cách của Navbar để không bị nuốt */
    box-sizing: border-box;
}

.login-box { 
    background: var(--bg-glass); 
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    padding: 35px; 
    border-radius: 20px; /* Bo góc mượt hơn */
    border: 1px solid var(--border-color); 
    text-align: center; 
    box-shadow: var(--shadow-glass); 
    max-width: 420px; /* Nới rộng hộp ra một xíu để ReCaptcha không bị tràn */
    width: 100%; 
    margin-bottom: 40px; /* Cách xa Footer ra */
}
.auth-tabs { display: flex; margin-bottom: 25px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); background: rgba(0,0,0,0.02);}
.auth-tab-btn { flex: 1; padding: 12px; background: transparent; color: var(--text-secondary); border: none; font-weight: 800; font-size: 14px; cursor: pointer; transition: 0.3s;}
.auth-tab-btn.active { background: var(--theme-accent); color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

.auth-content { display: none; animation: fadeIn 0.4s ease; } 
.auth-content.active { display: block; }

.auth-input { width: 100%; padding: 14px 15px; border-radius: 10px; border: 1px solid var(--border-color); font-family: 'Nunito', sans-serif; margin-bottom: 15px; box-sizing: border-box; background: rgba(0,0,0,0.02); color: var(--text-primary); transition: 0.3s; font-size: 14px; font-weight: 600;}
.auth-input:focus { border-color: var(--theme-accent); background: var(--bg-primary); box-shadow: 0 0 0 3px rgba(255, 133, 162, 0.15);}

.btn-email-login, .btn-email-register { background: var(--theme-accent); color: white; border: none; padding: 14px; border-radius: 10px; font-weight: 900; font-size: 15px; width: 100%; cursor: pointer; transition: 0.3s; margin-top: 5px;}
.btn-email-login:hover, .btn-email-register:hover { filter: brightness(1.1); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(255,133,162,0.3);}
.btn-email-login:disabled, .btn-email-register:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; filter: grayscale(50%);}

.auth-divider { display: flex; align-items: center; color: var(--text-muted); margin: 20px 0; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--border-color); margin: 0 10px; }

.btn-google { background: var(--bg-primary); color: var(--text-primary); font-weight: 800; font-family: 'Nunito', sans-serif; border: 1px solid var(--border-color); padding: 12px 20px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; transition: 0.3s; font-size: 14px;}
.btn-google:hover { background: rgba(0,0,0,0.02); border-color: var(--theme-accent); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.05);}

/* Khung Profile Phục Hồi */
.profile-container { max-width: 800px; width: 92%; margin: 20px auto 60px; background: var(--bg-glass); backdrop-filter: blur(16px); padding: 40px; border-radius: 20px; box-shadow: var(--shadow-glass); border: 1px solid var(--border-color); display: flex; flex-direction: column; align-items: center; }
.profile-header { text-align: center; margin-bottom: 30px; }
.profile-avatar-wrapper { position: relative; margin-bottom: 20px; }
.avatar-big { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--border-color); box-shadow: var(--shadow-soft); transition: 0.3s;}

.form-group { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 500px; margin-bottom: 15px; }
.form-group label { font-weight: 800; color: var(--theme-accent); font-size: 14px; }
.profile-input { padding: 12px 15px; border-radius: 10px; border: 1px solid var(--border-color); width: 100%; box-sizing: border-box; font-family: 'Nunito', sans-serif; font-size: 14.5px; outline: none; transition: 0.3s; background: transparent; color: var(--text-primary);}
.profile-input:focus { border-color: var(--theme-accent); background: var(--bg-primary); }
.profile-input:disabled { background: rgba(0,0,0,0.02); color: var(--text-muted); cursor: not-allowed; }

.btn-save-profile { background: var(--theme-accent); color: white; padding: 12px; border: none; border-radius: 10px; font-weight: 900; font-size: 15px; cursor: pointer; transition: 0.3s; margin-top: 10px; width: 100%; max-width: 500px; }
.btn-save-profile:hover { filter: brightness(1.1); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

.btn-outline-dark { background: transparent; border: 1px solid var(--border-color); color: var(--text-secondary); padding: 12px; border-radius: 10px; font-weight: 900; font-size: 14.5px; cursor: pointer; transition: 0.3s; width: 100%; max-width: 500px; font-family: 'Nunito', sans-serif; margin-bottom: 10px; }
.btn-outline-dark:hover { background: rgba(0,0,0,0.05); color: var(--theme-accent); border-color: var(--theme-accent);}

.btn-danger { background: transparent; border: 1px solid var(--border-color); color: #ff4d4d; padding: 12px; border-radius: 10px; font-weight: 900; font-size: 14.5px; cursor: pointer; transition: 0.3s; width: 100%; max-width: 500px; font-family: 'Nunito', sans-serif; }
.btn-danger:hover { background: rgba(255, 77, 77, 0.1); border-color: #ff4d4d; box-shadow: 0 5px 15px rgba(255, 77, 77, 0.1); }

.profile-tabs { display: flex; width: 100%; max-width: 500px; margin-bottom: 30px; border-radius: 12px; overflow: hidden; background: rgba(0,0,0,0.02); border: 1px solid var(--border-color); }
.p-tab-btn { flex: 1; padding: 12px; text-align: center; font-weight: 800; cursor: pointer; color: var(--text-secondary); transition: 0.3s; background: transparent; border: none;}
.p-tab-btn.active { background: var(--theme-accent); color: #fff; }
.p-tab-content { display: none; width: 100%; max-width: 500px; flex-direction: column; align-items: center; }
.p-tab-content.active { display: flex; }

/* 1. Ép con mắt phải nằm gọn gàng bên trong ô input */
.password-wrapper { 
    position: relative; /* Trục tọa độ gốc để căn con mắt */
    width: 100%; 
    margin-bottom: 15px; 
    display: flex; /* CHÌA KHÓA Ở ĐÂY: Dùng Flex để mọi thứ nằm gọn 1 dòng */
    align-items: center; /* Tự động căn giữa theo chiều dọc */
}

.password-wrapper input {
    padding-right: 45px !important; /* Chừa không gian bên phải để con mắt không đè lên chữ */
    margin-bottom: 0 !important; /* Xóa margin dưới để input không bị đẩy lên */
    width: 100%;
}

.toggle-password { 
    position: absolute; 
    right: 15px; 
    /* Bỏ top: 50% và transform đi vì dùng Flexbox đã căn giữa rồi */
    cursor: pointer; 
    color: var(--text-muted); 
    font-size: 16px; 
    transition: 0.2s; 
    z-index: 2; /* Ép nó nổi lên trên ô input */
}
.toggle-password:hover { color: var(--theme-accent); }

/* 2. Định dạng lại Nút quay về (Back to Hub) */
.btn-back-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
    border-radius: 12px;
    background: rgba(0,0,0,0.03); /* Tạo hiệu ứng nút bấm nhẹ nhàng */
}
.btn-back-login:hover {
    color: var(--theme-accent);
    background: rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
body.dark-mode .btn-back-login { background: rgba(255,255,255,0.05); }
body.dark-mode .btn-back-login:hover { background: rgba(255,255,255,0.1); }


/* =========================================
   11. SẢNH CHÍNH (PORTAL CARDS)
   ========================================= */
/* Đẩy nội dung chính xuống dưới Navbar */
.hub-container {
    margin-top: 80px; 
    flex: 1; 
    display: flex; /* Dùng flexbox để căn giữa */
    flex-direction: column;
    align-items: center; /* Căn giữa theo trục ngang */
    width: 100%; /* Chiếm toàn bộ chiều rộng */
    max-width: 1400px; /* Mở rộng tối đa để các block không bị chật */
    margin-left: auto; /* Tự động chia đều lề trái */
    margin-right: auto; /* Tự động chia đều lề phải */
    padding: 20px; /* Thêm khoảng trống 2 bên cho an toàn */
    box-sizing: border-box;
}

.logo-box { text-align: center; margin-bottom: 50px; animation: slideDown 0.8s ease-out; }
.logo-box img { width: 100px; height: 100px; border-radius: 50%; border: 3px solid var(--theme-accent); box-shadow: 0 0 30px rgba(0,0,0,0.1); margin-bottom: 15px; }
.logo-box h1 { font-size: 36px; margin: 0; background: linear-gradient(135deg, #ff85a2, #ff5c8a, #ffb703); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: 2px; text-transform: uppercase; }
.logo-box p { color: var(--text-secondary); font-size: 16px; margin-top: 5px; letter-spacing: 1px; font-weight: bold; }

.portal-grid { 
    display: grid; 
    /* Dùng auto-fill để các block tự lấp đầy không gian, minmax để tránh bị vỡ */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 25px; 
    width: 100%; 
    box-sizing: border-box; 
    animation: fadeIn 1.2s ease-out; 
}

.portal-card { 
    background: var(--bg-glass); 
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color); 
    border-radius: 20px; padding: 40px 20px; text-align: center; cursor: pointer; text-decoration: none; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: hidden; 
    box-shadow: var(--shadow-glass); 
}
.portal-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%); opacity: 0; transition: 0.4s; }
.portal-card:hover::before { opacity: 1; transform: scale(1.2); }
.portal-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }

.svg-portal-icon { margin-bottom: 20px; transition: 0.3s; color: var(--text-secondary); }
.portal-title { color: var(--text-primary); font-size: 22px; font-weight: 900; margin: 0 0 10px 0; letter-spacing: 1px; }
.portal-desc { color: var(--text-secondary); font-size: 14px; margin: 0; line-height: 1.5; }

/* Màu sắc khi Hover của từng thẻ Portal */
.portal-card.cinema:hover { border-color: var(--accent-cinema); box-shadow: 0 10px 30px rgba(255, 133, 162, 0.3); }
.portal-card.cinema:hover .svg-portal-icon { color: var(--accent-cinema); transform: scale(1.1); }
.portal-card.manga:hover { border-color: var(--accent-manga); box-shadow: 0 10px 30px rgba(0, 255, 204, 0.3); }
.portal-card.manga:hover .svg-portal-icon { color: var(--accent-manga); transform: scale(1.1); }
.portal-card.novel:hover { border-color: var(--accent-novel); box-shadow: 0 10px 30px rgba(255, 183, 3, 0.3); }
.portal-card.novel:hover .svg-portal-icon { color: var(--accent-novel); transform: scale(1.1); }
.portal-card.music:hover { border-color: var(--accent-music); box-shadow: 0 10px 30px rgba(192, 132, 252, 0.3); }
.portal-card.music:hover .svg-portal-icon { color: var(--accent-music); transform: scale(1.1); }
.portal-card.arena:hover { border-color: var(--accent-arena); box-shadow: 0 10px 30px rgba(255, 154, 85, 0.3); }
.portal-card.arena:hover .svg-portal-icon { color: var(--accent-arena); transform: scale(1.1); }
.portal-card.edu:hover { border-color: var(--accent-edu); box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3); }
.portal-card.edu:hover .svg-portal-icon { color: var(--accent-edu); transform: scale(1.1); }
.portal-card.game:hover { border-color: var(--accent-game); box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3); }
.portal-card.game:hover .svg-portal-icon { color: var(--accent-game); transform: scale(1.1); }

/* --- Các thành phần phụ Footer/About/Feedback --- */
footer { 
    background-color: var(--bg-glass-strong); /* Cho footer có nền kính mờ thay vì trong suốt */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px 0; 
    width: 100%; 
    margin-top: auto; /* Ép đẩy Footer xuống sát đáy trang */
    text-align: center; 
    border-top: 1px solid var(--border-color); 
    position: relative;
    z-index: 10;
}
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-bottom p { margin: 0; color: var(--text-secondary); font-size: 13.5px; }
.footer-social { display: flex; gap: 12px; align-items: center; }
.footer-link { text-decoration: none; color: var(--theme-accent); font-weight: 800; font-size: 13.5px; transition: 0.2s; }
.footer-link:hover { transform: translateY(-2px); filter: brightness(1.2);}
.footer-dot { color: var(--text-muted); font-size: 12px; }

#btn-back-to-top { position: fixed; bottom: 25px; right: 25px; opacity: 0; visibility: hidden; transform: translateY(10px); background-color: var(--theme-accent); color: white; border: none; border-radius: 50%; width: 40px; height: 40px; font-size: 18px; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 1000; transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease; display: flex; align-items: center; justify-content: center; }
#btn-back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#btn-back-to-top:hover { filter: brightness(1.1); transform: translateY(-5px); }

/* Giữ lại Media Query Mobile */
@media screen and (max-width: 900px) {
    .movie-section, .watch-container, .about-container, .details-container, .back-btn-wrapper { width: 98%; padding-left: 12px; padding-right: 12px; }
    .movie-card { width: calc(50% - 12px); max-width: 200px; }
    .details-container, .watch-container { padding: 18px 12px; }
    .login-box, .profile-container { max-width: 100%; width: min(100%, 460px); padding: 24px 16px; }
    .profile-container { width: min(100%, 560px); }
    .btn-group { gap: 10px; }
    .btn-group .btn-watch, .btn-group .btn-trailer, .btn-group .btn-continue, .btn-group .btn-outline { flex: 1 1 calc(50% - 8px); justify-content: center; }
}

@media screen and (max-width: 768px) {
    .tools-row-1 { flex-direction: column; align-items: stretch; }
    .tools-group { justify-content: space-between; }
    .tools-group .tool-btn { flex: 1; padding: 10px 5px; font-size: 12.5px; }

    .hero { padding: 40px 16px; }
    .hero h1 { font-size: clamp(24px, 7vw, 32px); line-height: 1.2; }
    .small-description { font-size: 14px; }
    .movie-section { width: 100%; padding: 20px 12px; }
    .movie-list { gap: 12px; }
    .movie-card { width: calc(50% - 6px); }
    .movie-info h3 { font-size: 13px; }
    .movie-info p { font-size: 11.5px; }
    .section-title { font-size: 20px; }
}
@media screen and (max-width: 480px) {
    body { font-size: 14px; }
    .btn-login { padding: 8px 12px; font-size: 13px; }
    .movie-card { width: 100%; max-width: 100%; }
    .movie-info { padding-top: 8px; }
    .watch-header h2 { font-size: 20px; }
    .btn-group { flex-direction: column; }
    .btn-group .btn-watch, .btn-group .btn-trailer, .btn-group .btn-continue, .btn-group .btn-outline { width: 100%; flex-basis: 100%; }
    .login-box { padding: 20px 14px; }
    .auth-tab-btn { font-size: 12px; padding: 10px 6px; }
    .profile-container { padding: 18px 12px; }
    .p-tab-btn { flex-basis: 100%; }
    .btn-save-profile, .btn-outline-dark, .btn-danger { font-size: 14px; }
}

/* =========================================
   12. TRANG ABOUT & FEEDBACK
   ========================================= */
.about-container { 
    max-width: 900px; 
    width: min(92%, 960px); 
    margin: 100px auto 40px; /* Tăng margin-top từ 20px lên 100px để né Navbar */
    padding: 0 12px; 
    text-align: center; 
    flex: 1; /* Để nó đẩy Footer xuống */
}
.about-header { text-align: center; margin-bottom: 40px; }
.about-logo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; box-shadow: 0 5px 15px rgba(0,0,0,0.1); margin-bottom: 15px; border: 4px solid var(--theme-accent); transition: 0.3s; }
.about-logo:hover { transform: scale(1.05); }
.about-header h1 { color: var(--theme-accent); margin-bottom: 8px; font-size: clamp(22px, 4vw, 28px); }
.about-subtitle { font-weight: 800; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; margin-bottom: 25px; }

/* Box nội dung */
.about-desc-box { background: var(--bg-glass); backdrop-filter: blur(16px); padding: 25px 30px; border-radius: 18px; box-shadow: var(--shadow-soft); line-height: 1.8; margin-bottom: 32px; font-size: 14.5px; color: var(--text-primary); border: 1px solid var(--border-color); }

/* Lưới dự án */
.project-grid { display: flex; gap: 20px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.project-card { background: var(--bg-glass); backdrop-filter: blur(16px); padding: 24px; border-radius: 18px; width: min(100%, 420px); box-shadow: var(--shadow-soft); border: 1px solid var(--border-color); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; text-align: left; transition: 0.3s; }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--theme-accent); }

/* Icon và text trong thẻ */
.card-icon-box { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.03); color: var(--theme-accent); } 
.card-content { width: 100%; }
.project-card h3 { margin: 0 0 6px 0; font-size: 18px; color: var(--text-primary); }
.project-card p { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

/* Nút bấm mạng xã hội & liên kết */
.card-action { width: 100%; }
.btn-vector-unified { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 14px; padding: 10px 18px; border-radius: 999px; text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: 2px solid transparent; white-space: nowrap; }
.btn-v-primary { background: var(--theme-accent); color: white; box-shadow: 0 6px 16px rgba(0,0,0,0.1); }
.btn-v-primary:hover { transform: translateY(-2px); filter: brightness(1.1); color: white; }
.btn-v-outline { background: transparent; color: var(--text-secondary); border-color: var(--border-color); }
.btn-v-outline:hover { background: rgba(0,0,0,0.05); color: var(--theme-accent); border-color: var(--theme-accent); transform: translateY(-2px); }

.section-title-svg { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--text-primary); font-size: 22px; margin-bottom: 20px; }
.social-box { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }