/* ================= 1. CƠ BẢN & HEADER ================= */
:root { --primary-color: #e50914; --bg-color: #0b0b0c; --text-color: #ffffff; --glass-bg: rgba(11, 11, 12, 0.8); }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: var(--bg-color); color: var(--text-color); overflow-x: hidden; }
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }

header { position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: var(--glass-bg); backdrop-filter: blur(10px); z-index: 9999; border-bottom: 1px solid rgba(255,255,255,0.05); transition: 0.3s; }
.header-left { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo-icon { font-size: 28px; color: var(--primary-color); text-shadow: 0 0 10px rgba(229, 9, 20, 0.5); }
.logo-text { font-size: 24px; font-weight: 800; background: linear-gradient(45deg, #fff, #aaa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: 1px; }
.header-right { font-size: 28px; cursor: pointer; color: white; transition: 0.3s; } .header-right:hover { color: var(--primary-color); transform: scale(1.1); }

/* --- CSS CHO LOGO MỚI --- */
.logo-icon { display: none; } 
.logo-forge-wrapper { position: relative; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-color), #ffd700, #ff4e00, var(--primary-color)); background-size: 300% 300%; display: flex; justify-content: center; align-items: center; margin-right: 12px; animation: forgeGlowAnim 4s linear infinite; box-shadow: 0 0 10px rgba(229, 9, 20, 0.3); }
.custom-img-logo { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; border: 2px solid #0b0b0c; position: relative; z-index: 2; }
@keyframes forgeGlowAnim { 0% { background-position: 0% 50%; box-shadow: 0 0 5px rgba(229, 9, 20, 0.4); } 50% { background-position: 100% 50%; box-shadow: 0 0 15px rgba(255, 215, 0, 0.6); } 100% { background-position: 200% 50%; box-shadow: 0 0 5px rgba(229, 9, 20, 0.4); } }

/* ================= 2. TÌM KIẾM ================= */
.search-container-wrapper { position: fixed; top: 75px; width: 100%; display: flex; justify-content: center; padding: 0 5%; z-index: 999; }
.long-search-bar { display: flex; align-items: center; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(15px); border-radius: 40px; padding: 15px 25px; width: 100%; max-width: 800px; border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); transition: all 0.3s ease; }
.long-search-bar:focus-within { border-color: var(--primary-color); background: rgba(255, 255, 255, 0.15); box-shadow: 0 0 20px rgba(229, 9, 20, 0.5); transform: translateY(-2px); }
.long-search-bar i { color: #aaa; font-size: 22px; margin-right: 15px; cursor: pointer; transition: 0.3s; } .long-search-bar:focus-within i, .long-search-bar i:hover { color: var(--primary-color); }
.long-search-bar input { width: 100%; background: transparent; border: none; color: white; font-size: 16px; outline: none; }

/* ================= 3. MENU TRƯỢT & TABS ================= */
.sidebar-menu { position: fixed; top: 0; right: -300px; width: 300px; height: 100vh; background: #141414; box-shadow: -5px 0 15px rgba(0,0,0,0.5); z-index: 10000; transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1); padding: 80px 30px; overflow-y: auto; }
.sidebar-menu.active { right: 0; }
.close-btn { position: absolute; top: 20px; right: 25px; font-size: 30px; cursor: pointer; color: #fff; transition: 0.3s; } .close-btn:hover { color: var(--primary-color); transform: rotate(90deg); }
.sidebar-menu ul { list-style: none; } .sidebar-menu ul li { margin: 20px 0; } .menu-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 25px 0 !important; }
.sidebar-menu ul li a { color: #ccc; text-decoration: none; font-size: 18px; font-weight: 500; transition: 0.3s; display: flex; align-items: center; gap: 15px; } .sidebar-menu ul li a:hover, .sidebar-menu ul li a.active-link { color: var(--primary-color); padding-left: 10px; }

.tab-content { display: none; animation: fadeIn 0.6s ease; } .tab-content.active { display: block; }
.page-padding { padding: 160px 5% 50px 5%; min-height: 100vh; }
.section-title { font-size: 28px; margin-bottom: 30px; border-left: 4px solid var(--primary-color); padding-left: 15px; }

/* ================= 4. TRANG CHỦ & DANH SÁCH PHIM ================= */
.hero { height: 100vh; background: linear-gradient(to top, var(--bg-color) 0%, rgba(11,11,12,0.4) 100%), url('https://images.unsplash.com/photo-1626814026160-2237a95fc5a0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover; display: flex; align-items: center; padding: 0 5%; }
.hero-content { max-width: 600px; margin-top: 80px; } .hero-content h1 { font-size: 4rem; margin-bottom: 20px; text-shadow: 2px 2px 10px black; } .hero-content p { font-size: 1.2rem; color: #ddd; margin-bottom: 30px; line-height: 1.6; text-shadow: 1px 1px 5px black; }
.play-btn { padding: 15px 30px; font-size: 18px; font-weight: bold; background: var(--primary-color); color: white; border: none; border-radius: 30px; cursor: pointer; transition: 0.3s; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 5px 15px rgba(229,9,20,0.4); } .play-btn:hover { background: #ff0f1a; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(229,9,20,0.6); }

.movie-category { padding: 50px 5% 60px 5%; position: relative; z-index: 1; overflow: hidden; margin-bottom: 0; }
.category-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; position: relative; z-index: 5; }
.cat-symbol { width: 45px; height: 45px; border-radius: 12px; display: flex; justify-content: center; align-items: center; font-size: 22px; color: white; position: relative; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.cat-symbol::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.4), rgba(255,255,255,0)); transform: skewX(-25deg); animation: shine 3s infinite; }
.category-header h2 { font-size: 26px; font-weight: 800; margin: 0; }

.sym-trending { background: linear-gradient(135deg, #ff4e00, #ec9f05); } .sym-trending i { animation: pulseGlow 1s infinite alternate; } .txt-trending { background: linear-gradient(45deg, #ff4e00, #ec9f05); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.sym-action { background: linear-gradient(135deg, #00c6ff, #0072ff); } .sym-action i { animation: shake 0.5s infinite; } .txt-action { background: linear-gradient(45deg, #00c6ff, #0072ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.sym-scifi { background: linear-gradient(135deg, #8e2de2, #4a00e0); } .sym-scifi i { animation: spinSlow 5s linear infinite; } .txt-scifi { background: linear-gradient(45deg, #8e2de2, #4a00e0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.sym-asian { background: linear-gradient(135deg, #ff0844, #ffb199); } .sym-asian i { animation: floatIcon 3s ease-in-out infinite; } .txt-asian { background: linear-gradient(45deg, #ff0844, #ffb199); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.movie-category::before { content: ''; position: absolute; top: -10%; left: -10%; width: 120%; height: 120%; z-index: 0; background-attachment: fixed; background-size: cover; background-position: center; filter: blur(2px) brightness(0.75) saturate(1.2); animation: smoothPanBg 25s infinite alternate ease-in-out; }
.movie-category::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; background: linear-gradient(to bottom, var(--bg-color) 0%, rgba(11, 11, 12, 0.2) 20%, rgba(11, 11, 12, 0.2) 80%, var(--bg-color) 100%); pointer-events: none; }
@keyframes smoothPanBg { 0% { transform: translateX(-2%) translateY(-2%); } 100% { transform: translateX(2%) translateY(2%); } }

#tab-home .movie-category:nth-of-type(1)::before { background-image: url('https://i.postimg.cc/8zGLcQmP/IMG-1107.jpg'); }
#tab-home .movie-category:nth-of-type(2)::before { background-image: url('https://i.postimg.cc/rsQ24LRv/IMG_1108.jpg'); }
#tab-home .movie-category:nth-of-type(3)::before { background-image: url('https://i.postimg.cc/fyBQdh04/IMG_1109.jpg'); }
#tab-home .movie-category:nth-of-type(4)::before { background-image: url('https://i.postimg.cc/QC0Z7rK2/IMG_1110.jpg'); filter: blur(0px) brightness(0.85) saturate(1.2) !important; }

/* ================= CẬP NHẬT GIAO DIỆN KHUNG PHIM ================= */
.movie-row { display: flex; gap: 25px; overflow-x: auto; padding: 30px 10px; scroll-behavior: smooth; scrollbar-width: none; position: relative; z-index: 5; }
.movie-row::-webkit-scrollbar { display: none; }
.movie-card { flex: 0 0 200px; aspect-ratio: 9 / 16; position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 8px 20px rgba(0,0,0,0.8), 0 0 8px rgba(229, 9, 20, 0.15); transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); z-index: 1; }
.movie-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; filter: brightness(0.9) contrast(1.1); display: block; }
.movie-card:hover { transform: scale(1.1) translateY(-15px) !important; z-index: 10; border-color: var(--primary-color); box-shadow: 0 20px 40px rgba(229, 9, 20, 0.6), 0 0 20px var(--primary-color) !important; }
.movie-card:hover img { filter: brightness(0.5); }
.movie-card::before { content: ''; position: absolute; top: 0; left: -150%; width: 80%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.5), rgba(255,255,255,0)); transform: skewX(-25deg); z-index: 5; pointer-events: none; }
.movie-card.is-scrolling-in { transform: translateY(-12px) scale(1.03); z-index: 5; border-color: rgba(229, 9, 20, 0.5); box-shadow: 0 15px 30px rgba(229, 9, 20, 0.3); }
.movie-card.is-scrolling-in::before { animation: scrollShineEffect 1.2s ease-out forwards; }
@keyframes scrollShineEffect { 0% { left: -150%; opacity: 0; } 30% { opacity: 1; } 100% { left: 150%; opacity: 0; } }

.card-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0) 100%); opacity: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 15px; transition: 0.4s; }
.movie-card:hover .card-overlay { opacity: 1; }
.card-overlay h3 { font-size: 16px; margin-bottom: 8px; line-height: 1.4; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); color: white;}
.card-overlay span { font-size: 13px; color: var(--primary-color); font-weight: bold; }
.new-badge-tag { position: absolute; top: 10px; right: 10px; background: linear-gradient(135deg, #11998e, #38ef7d); color: white; padding: 4px 10px; font-size: 11px; font-weight: bold; border-radius: 8px; z-index: 10; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }

/* ================= HIỆU ỨNG TÌM KIẾM PHIM (NEW) ================= */
.movie-card.search-highlight { border-color: #00e676 !important; box-shadow: 0 20px 50px rgba(0, 230, 118, 0.6), 0 0 30px #00e676 !important; transform: scale(1.15) translateY(-15px) !important; z-index: 50 !important; animation: searchGlowPulse 1s infinite alternate; }
@keyframes searchGlowPulse { 0% { box-shadow: 0 10px 30px rgba(0, 230, 118, 0.4), 0 0 15px rgba(0, 230, 118, 0.4); } 100% { box-shadow: 0 20px 50px rgba(0, 230, 118, 0.8), 0 0 40px #00e676; } }
.search-tooltip { position: absolute; top: -35px; left: 50%; transform: translateX(-50%); background: #00e676; color: black; padding: 6px 12px; font-size: 12px; font-weight: bold; border-radius: 6px; white-space: nowrap; z-index: 60; box-shadow: 0 5px 15px rgba(0, 230, 118, 0.5); animation: floatElement 2s infinite; pointer-events: none;}
.search-tooltip::after { content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); border-width: 5px 5px 0; border-style: solid; border-color: #00e676 transparent transparent transparent; }

/* ================= 5. GIAO DIỆN MODAL XEM PHIM (Link Modal) ================= */
.link-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.85); backdrop-filter: blur(10px); z-index: 10000; display: none; justify-content: center; align-items: center; opacity: 0; transition: 0.3s; }
.link-modal-overlay.show { display: flex; opacity: 1; }
.link-modal-box { background: #111; width: 90%; max-width: 450px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); padding: 30px; box-shadow: 0 15px 50px rgba(0,0,0,0.8); transform: scale(0.9); transition: 0.3s; position: relative; text-align: center; }
.link-modal-overlay.show .link-modal-box { transform: scale(1); }
.link-movie-cover { width: 130px; height: 180px; margin: 0 auto 20px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 25px rgba(229, 9, 20, 0.4); border: 2px solid rgba(255,255,255,0.1); }
.link-movie-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
#link-movie-title { font-size: 22px; color: white; margin-bottom: 5px; text-transform: uppercase; font-weight: 900; }
.link-publisher { color: #888; font-size: 14px; margin-bottom: 20px; }

.player-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 25px; }
.action-btn { width: 100%; padding: 15px; border-radius: 12px; border: none; font-size: 16px; font-weight: 900; cursor: pointer; transition: 0.3s; display: flex; justify-content: center; align-items: center; gap: 10px; letter-spacing: 0.5px; }
.btn-listen-red { background: linear-gradient(45deg, #e50914, #ff4e00); color: white; box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4); text-transform: uppercase; }
.btn-listen-red:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(229, 9, 20, 0.6); filter: brightness(1.1); }
.btn-locked { background: rgba(255, 255, 255, 0.05); border: 1px dashed rgba(255, 255, 255, 0.2); color: #888; }
.btn-locked:hover { background: rgba(229, 9, 20, 0.1); border-color: #e50914; color: #ff4e00; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(229, 9, 20, 0.2); }
.btn-vip-unlocked { background: linear-gradient(45deg, #f5c518, #ff9800); color: black; box-shadow: 0 5px 15px rgba(245, 197, 24, 0.4); text-transform: uppercase; animation: pulseGold 2s infinite; }
.btn-vip-unlocked:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(245, 197, 24, 0.6); filter: brightness(1.1); }

.player-groups-section { border-top: 1px dashed rgba(255, 255, 255, 0.1); padding-top: 20px; text-align: left; }
.group-invite-text { color: #aaa; font-size: 13.5px; margin-bottom: 15px; font-weight: bold; text-align: center; }
.player-groups-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.p-group-card { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(0, 198, 255, 0.2); padding: 10px; border-radius: 12px; text-decoration: none; transition: 0.3s; }
.p-group-card img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.p-group-info h4 { color: white; font-size: 12.5px; margin-bottom: 3px; line-height: 1.2; font-weight: bold; }
.p-group-info span { color: #00c6ff; font-size: 11px; font-weight: 500; }
.p-group-card:hover { border-color: #00c6ff; background: rgba(0, 198, 255, 0.1); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 198, 255, 0.3); }
.vip-group { border-color: rgba(245, 197, 24, 0.3); }
.vip-group span, .vip-group h4 i { color: #f5c518; }
.vip-group:hover { border-color: #f5c518; background: rgba(245, 197, 24, 0.1); box-shadow: 0 5px 15px rgba(245, 197, 24, 0.3); }

/* ================= 6. VÍ & TÀI KHOẢN ================= */
.global-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); z-index: 10010; display: none; justify-content: center; align-items: center; opacity: 0; transition: 0.3s; } .global-modal-overlay.show { display: flex; opacity: 1; }
.global-modal-box { background: #141414; width: 400px; border-radius: 15px; padding: 25px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.5); transform: scale(0.8); transition: 0.3s; position: relative; border: 2px solid transparent;} .global-modal-overlay.show .global-modal-box { transform: scale(1); }
.modal-close-icon { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.1); border: none; color: white; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: 0.3s;} .modal-close-icon:hover { background: var(--primary-color); transform: rotate(90deg);}
.modal-header i { font-size: 50px; margin-bottom: 15px; } .modal-header h2 { font-size: 22px; color: white; margin-bottom: 15px; line-height: 1.4;} .modal-body p { font-size: 15px; color: #ccc; line-height: 1.6; margin-bottom: 25px; } .modal-btn { color: white; border: none; padding: 10px 30px; font-size: 16px; font-weight: bold; border-radius: 30px; cursor: pointer; transition: 0.3s;} .modal-btn:hover { transform: translateY(-2px); }

.vip-wallet-card { background: #111; border-radius: 20px; padding: 40px 30px; max-width: 500px; box-shadow: 0 15px 40px rgba(0,0,0,0.6); position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); margin-bottom: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; margin-left: auto; margin-right: auto;}
.vip-wallet-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--primary-color), #ff4e00); }
.wallet-balance-box { text-align: center; position: relative; z-index: 2; } .wallet-balance-box p { font-size: 16px; color: #888; margin-bottom: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px;}
.main-balance { font-size: 50px; font-weight: bold; color: #fff; } .main-balance span:last-child { font-size: 20px; color: #aaa; font-weight: normal; margin-left: 5px;}
.wallet-footer { margin-top: 25px; font-size: 14px; color: #666; background: rgba(255,255,255,0.03); padding: 8px 20px; border-radius: 30px; letter-spacing: 2px; }

.deposit-methods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; max-width: 800px; margin-left: auto; margin-right: auto; } @media(max-width:768px) { .deposit-methods-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; gap: 20px;} .contact-grid { grid-template-columns: 1fr; }}
.deposit-card { background: #111; border: 2px solid rgba(255,255,255,0.05); border-radius: 15px; padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; cursor: pointer; transition: 0.4s; text-align: center; }
.deposit-card:hover { border-color: var(--primary-color); background: rgba(229, 9, 20, 0.05); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(229, 9, 20, 0.2); }
.deposit-card i { font-size: 50px; color: var(--primary-color); transition: 0.4s; } .deposit-card:hover i { transform: scale(1.1); color: #ff4e00; } .deposit-card h3 { font-size: 20px; color: white; } .deposit-card p { font-size: 14px; color: #888; }

.deposit-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.9); backdrop-filter: blur(10px); z-index: 10005; display: none; justify-content: center; align-items: center; opacity: 0; transition: 0.3s; overflow-y: auto;}
.deposit-modal-overlay.show { display: flex; opacity: 1; }
.deposit-modal-box { background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url('https://i.postimg.cc/sgHbyc5T/IMG-1106.jpg') center/cover no-repeat !important; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.2) !important; box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6) !important; width: 500px; border-radius: 20px; padding: 30px; transform: scale(0.8); transition: 0.3s; position: relative; margin: auto; } .deposit-modal-overlay.show .deposit-modal-box { transform: scale(1); }
.dep-close { position: absolute; top: 20px; right: 20px; background: transparent; border: none; color: #888; font-size: 24px; cursor: pointer; transition: 0.3s; } .dep-close:hover { color: var(--primary-color); transform: rotate(90deg); }
.dep-title { font-size: 22px; color: white; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; }

.input-amount-wrapper { margin-bottom: 25px; } .input-amount-wrapper label { display: block; color: #aaa; margin-bottom: 10px; font-size: 14px; }
.dep-input { width: 100%; background: #000; border: 1px solid rgba(255,255,255,0.2); padding: 15px 20px; border-radius: 10px; color: #00e676; font-size: 24px; font-weight: bold; outline: none; transition: 0.3s; text-align: center; } .dep-input:focus { border-color: #00e676; box-shadow: 0 0 15px rgba(0, 230, 118, 0.3); }
.quick-amounts { display: flex; gap: 10px; margin-bottom: 25px; flex-wrap: wrap; justify-content: center; } .quick-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: white; padding: 8px 15px; border-radius: 20px; cursor: pointer; transition: 0.2s; font-size: 14px; } .quick-btn:hover, .quick-btn.active { background: var(--primary-color); border-color: var(--primary-color); }

.transfer-details-area { background: rgba(0,0,0,0.5); border: 1px dashed rgba(255,255,255,0.1); border-radius: 10px; padding: 20px; margin-bottom: 20px; display: none; } .transfer-details-area.show { display: block; animation: fadeIn 0.4s ease; }
.bank-info-row { display: flex; justify-content: space-between; margin-bottom: 15px; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; } .bank-info-row:last-child { border: none; margin-bottom: 0; padding-bottom: 0;} .b-label { color: #888; font-size: 14px; } .b-val { color: white; font-size: 16px; font-weight: bold; display: flex; align-items: center; gap: 10px; } .b-copy { color: var(--primary-color); cursor: pointer; transition: 0.2s; font-size: 14px; } .b-copy:hover { color: white; }
.qr-image-box { text-align: center; } .qr-note { font-size: 13px; color: #aaa; margin-top: 10px; }

.deposit-warning-box { background: rgba(229, 9, 20, 0.1); border: 1px solid rgba(229, 9, 20, 0.5); border-radius: 8px; padding: 15px; margin-bottom: 20px; display: none; align-items: flex-start; gap: 10px; }
.deposit-warning-box.show { display: flex; animation: fadeIn 0.4s ease; }
.deposit-warning-box i { color: var(--primary-color); font-size: 18px; margin-top: 2px; }
.deposit-warning-box p { color: #ffcccc; font-size: 13px; line-height: 1.5; text-align: left; margin: 0; }
.btn-confirm-deposit { width: 100%; padding: 15px; background: linear-gradient(45deg, #00c6ff, #0072ff); color: white; border: none; border-radius: 10px; font-size: 18px; font-weight: bold; cursor: pointer; transition: 0.3s; box-shadow: 0 5px 15px rgba(0, 198, 255, 0.4); } .btn-confirm-deposit:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 198, 255, 0.6); }

.deposit-success-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.95); z-index: 10020; display: none; justify-content: center; align-items: center; flex-direction: column; opacity: 0; transition: 0.5s; } .deposit-success-overlay.show { display: flex; opacity: 1; }
.success-icon-giant { width: 120px; height: 120px; background: linear-gradient(135deg, #00e676, #1de9b6); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: white; font-size: 60px; box-shadow: 0 0 50px rgba(0, 230, 118, 0.6); margin-bottom: 30px; transform: scale(0); transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .deposit-success-overlay.show .success-icon-giant { transform: scale(1); animation: pulseGreen 2s infinite; }
.deposit-success-overlay h1 { font-size: 36px; color: white; margin-bottom: 15px; text-shadow: 0 0 10px rgba(255,255,255,0.5); transform: translateY(20px); opacity: 0; transition: 0.5s 0.2s;} .deposit-success-overlay p { font-size: 20px; color: #00e676; margin-bottom: 40px; font-weight: bold; transform: translateY(20px); opacity: 0; transition: 0.5s 0.4s;} .deposit-success-overlay.show h1, .deposit-success-overlay.show p { transform: translateY(0); opacity: 1; }
.btn-close-success { padding: 12px 40px; background: transparent; border: 2px solid white; color: white; border-radius: 30px; font-size: 18px; cursor: pointer; transition: 0.3s; transform: translateY(20px); opacity: 0; transition: 0.5s 0.6s;} .deposit-success-overlay.show .btn-close-success { transform: translateY(0); opacity: 1; } .btn-close-success:hover { background: white; color: black; }

.payment-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); z-index: 10005; display: none; justify-content: center; align-items: center; opacity: 0; transition: 0.3s; } .payment-modal-overlay.show { display: flex; opacity: 1; }
.payment-modal-box { background: #111; width: 500px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 15px 50px rgba(0,0,0,0.8); transform: scale(0.8); transition: 0.3s; overflow: hidden; } .payment-modal-overlay.show .payment-modal-box { transform: scale(1); }
.pay-header { background: rgba(255,255,255,0.05); padding: 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); } .pay-header h2 { font-size: 20px; color: white; margin: 0; } .pay-header button { background: transparent; border: none; color: white; font-size: 20px; cursor: pointer; } .pay-header button:hover { color: var(--primary-color); transform: rotate(90deg); }
.pay-body { padding: 25px; } .pay-package-name { font-size: 22px; color: var(--primary-color); font-weight: bold; margin-bottom: 20px; text-align: center;}
.duration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px; } .dur-card { border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; padding: 15px; text-align: center; cursor: pointer; transition: 0.3s; position: relative; background: rgba(255,255,255,0.02); } .dur-card.active { border-color: var(--primary-color); background: rgba(229, 9, 20, 0.1); } .dur-card h4 { font-size: 16px; color: white; margin-bottom: 5px; } .dur-badge { position: absolute; top: -10px; right: -10px; background: #00c6ff; color: white; font-size: 11px; padding: 3px 8px; border-radius: 10px; font-weight: bold; } .dur-badge.gold { background: #f5c518; color: black; }
.pay-summary { background: rgba(255,255,255,0.05); padding: 15px; border-radius: 10px; margin-bottom: 25px; display: flex; justify-content: space-between; align-items: center;} .pay-summary span { font-size: 16px; color: #ccc; } .pay-total-price { font-size: 24px; color: white; font-weight: bold; }
.wallet-info-box { background: linear-gradient(135deg, #1a1a2e, #16213e); border: 1px solid #0f3460; border-radius: 10px; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; box-shadow: inset 0 0 20px rgba(0,0,0,0.5); } .wallet-left { display: flex; flex-direction: column; gap: 5px; } .wallet-label { font-size: 13px; color: #aaa; } .wallet-balance { font-size: 22px; color: #e94560; font-weight: bold; } .btn-topup-small { background: rgba(233, 69, 96, 0.2); color: #e94560; border: 1px solid #e94560; padding: 8px 15px; border-radius: 5px; cursor: pointer; font-weight: bold; transition: 0.3s; } .btn-topup-small:hover { background: #e94560; color: white; } .btn-confirm-pay { width: 100%; padding: 15px; font-size: 18px; font-weight: bold; background: var(--primary-color); color: white; border: none; border-radius: 10px; cursor: pointer; transition: 0.3s; } .btn-confirm-pay:hover { background: #ff0f1a; box-shadow: 0 5px 15px rgba(229,9,20,0.5); }

/* OTP */
.otp-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.9); backdrop-filter: blur(10px); z-index: 10030; display: none; justify-content: center; align-items: center; opacity: 0; transition: 0.3s; }
.otp-modal-overlay.show { display: flex; opacity: 1; }
.otp-modal-box { background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9)), url('https://i.postimg.cc/FRTrQcs0/IMG-1104.jpg') center/cover no-repeat !important; backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid rgba(255, 255, 255, 0.2) !important; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8) !important; width: 450px; border-radius: 20px; padding: 30px; text-align: center; transform: scale(0.8); transition: 0.3s; position: relative; }
.otp-modal-overlay.show .otp-modal-box { transform: scale(1); }
.otp-title { font-size: 24px; color: #f5c518; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 10px; text-transform: uppercase; letter-spacing: 1px; text-shadow: 0 0 10px rgba(245, 197, 24, 0.4); }
.otp-warning-box { background: rgba(229, 9, 20, 0.1); border: 2px dashed #e50914; border-radius: 12px; padding: 18px; margin-bottom: 25px; position: relative; animation: warningFlash 1.5s infinite alternate; }
.otp-warning-box i { font-size: 35px; color: #ff4e00; margin-bottom: 12px; display: block; animation: shake 0.5s infinite; }
.otp-warning-text { color: #fff; font-size: 14.5px; line-height: 1.6; text-align: justify; }
.otp-warning-text strong { color: #f5c518; font-weight: bold; }
.otp-input { width: 100%; background: #050505; border: 2px solid rgba(255,255,255,0.2); padding: 15px 20px; border-radius: 10px; color: #f5c518; font-size: 22px; font-weight: 900; outline: none; transition: 0.3s; text-align: center; letter-spacing: 6px; margin-bottom: 25px; text-transform: uppercase; box-shadow: inset 0 2px 10px rgba(0,0,0,0.8); }
.otp-input:focus { border-color: #f5c518; box-shadow: 0 0 15px rgba(245, 197, 24, 0.4), inset 0 2px 10px rgba(0,0,0,0.8); }
.otp-input.input-error { border-color: #e50914 !important; background: rgba(229, 9, 20, 0.05) !important; box-shadow: 0 0 25px rgba(229, 9, 20, 0.6), inset 0 2px 10px rgba(0, 0, 0, 0.8) !important; animation: shakeError 0.4s ease-in-out; color: #ff4e00 !important; }
.btn-verify-otp { width: 100%; padding: 16px; background: linear-gradient(45deg, #f5c518, #ff9800); color: #000; border: none; border-radius: 10px; font-size: 18px; font-weight: 900; cursor: pointer; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 5px 20px rgba(245, 197, 24, 0.5); animation: pulseGold 2s infinite; }
.btn-verify-otp:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(245, 197, 24, 0.8); filter: brightness(1.1); }
.otp-close { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.1); width: 35px; height: 35px; border-radius: 50%; border: none; color: white; font-size: 18px; cursor: pointer; transition: 0.3s; display: flex; justify-content: center; align-items: center;}
.otp-close:hover { background: var(--primary-color); transform: rotate(90deg); }

@keyframes warningFlash { from { border-color: rgba(229, 9, 20, 0.4); box-shadow: inset 0 0 10px rgba(229, 9, 20, 0.1); } to { border-color: rgba(229, 9, 20, 1); box-shadow: inset 0 0 25px rgba(229, 9, 20, 0.4); } }
@keyframes shakeError { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-12px); } 40%, 80% { transform: translateX(12px); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseGlow { 0% { transform: scale(0.9); } 100% { transform: scale(1.15); } }
@keyframes pulseGreen { 0% { box-shadow: 0 0 20px rgba(0, 230, 118, 0.4); } 50% { box-shadow: 0 0 60px rgba(0, 230, 118, 0.8); } 100% { box-shadow: 0 0 20px rgba(0, 230, 118, 0.4); } }
@keyframes pulseGold { 0% { box-shadow: 0 0 10px rgba(245, 197, 24, 0.3); transform: scale(1); } 50% { box-shadow: 0 0 20px rgba(245, 197, 24, 0.6); transform: scale(1.02); } 100% { box-shadow: 0 0 10px rgba(245, 197, 24, 0.3); transform: scale(1); } }
@keyframes shake { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } }
@keyframes floatIcon { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ================= 8. LỜI NGỎ ADMIN & GROUP ================= */
.admin-intro-wrapper { padding: 20px 5% 80px 5%; }
.admin-intro-box { background: linear-gradient(145deg, #111111, #080808); border: 1px solid rgba(229, 9, 20, 0.3); border-radius: 15px; padding: 40px; display: flex; gap: 30px; align-items: center; box-shadow: 0 15px 40px rgba(0,0,0,0.8), inset 0 0 20px rgba(229,9,20,0.05); position: relative; overflow: hidden; }
.admin-intro-box::before { content: ''; position: absolute; top: 0; left: 0; width: 5px; height: 100%; background: var(--primary-color); box-shadow: 0 0 15px var(--primary-color); }
.intro-avatar { width: 120px; height: 120px; border-radius: 50%; background: rgba(229,9,20,0.1); border: 2px solid var(--primary-color); display: flex; justify-content: center; align-items: center; font-size: 55px; color: var(--primary-color); flex-shrink: 0; box-shadow: 0 0 25px rgba(229,9,20,0.5); animation: floatIcon 3s ease-in-out infinite; }
.intro-content { flex: 1; color: #ccc; line-height: 1.8; font-size: 16px; }
.intro-title { color: white; font-size: 28px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.intro-content p { margin-bottom: 15px; text-align: justify; }
.highlight-primary { color: var(--primary-color); font-weight: bold; text-shadow: 0 0 8px rgba(229,9,20,0.5); }
.highlight-gold { color: #f5c518; font-weight: bold; }
.highlight-blue { color: #00c6ff; font-weight: bold; }
.highlight-white { color: white; font-weight: bold; }
.admin-name { font-size: 1.3em; color: var(--primary-color); font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.intro-closing { margin-top: 25px; border-top: 1px dashed rgba(255,255,255,0.1); padding-top: 25px; text-align: center !important; font-size: 18px; }
.contact-link { color: #00c6ff; text-decoration: none; font-weight: bold; border-bottom: 1px solid transparent; transition: 0.3s; }
.contact-link:hover { color: #fff; border-bottom: 1px solid #fff; }
@media (max-width: 768px) { .admin-intro-box { flex-direction: column; text-align: center; padding: 25px; } .intro-content p { text-align: left; } .intro-closing { text-align: center !important; } }

.group-row { display: flex; gap: 25px; overflow-x: auto; scroll-behavior: smooth; padding: 20px 5% 40px 5%; flex-wrap: nowrap; scrollbar-width: none; }
.group-row::-webkit-scrollbar { display: none; }
.group-card { flex: 0 0 280px !important; aspect-ratio: 3 / 4 !important; border: 2px solid rgba(0, 198, 255, 0.3) !important; box-shadow: 0 10px 30px rgba(0, 198, 255, 0.2) !important; text-decoration: none; display: block; border-radius: 15px !important; }
.group-card .card-overlay { opacity: 1 !important; background: linear-gradient(to top, rgba(0,10,20,0.95) 0%, rgba(0,10,20,0.6) 40%, rgba(0,0,0,0) 100%) !important; }
.group-card .card-overlay h3 { font-size: 22px !important; margin-bottom: 8px !important; color: white; }
.group-card .card-overlay span { font-size: 15px !important; color: #00c6ff !important; display: flex; align-items: center; gap: 8px; }
.group-card:hover { border-color: #00c6ff !important; box-shadow: 0 20px 50px rgba(0, 198, 255, 0.5), 0 0 20px #00c6ff !important; transform: scale(1.05) translateY(-10px) !important; }
.group-card-vip { border: 2px solid rgba(245, 197, 24, 0.3) !important; box-shadow: 0 10px 30px rgba(245, 197, 24, 0.2) !important; }
.group-card-vip .card-overlay span { color: #f5c518 !important; }
.group-card-vip:hover { border-color: #f5c518 !important; box-shadow: 0 20px 50px rgba(245, 197, 24, 0.5), 0 0 20px #f5c518 !important; }

/* ================= 9. DANH SÁCH LƯỚI PHIM & PHÂN TRANG ================= */
.movie-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 25px; padding-top: 20px; padding-bottom: 50px; }
.movie-grid .movie-card { flex: none; width: 100%; }
.movie-card.updating { background: linear-gradient(145deg, #111, #050505); border: 1px dashed rgba(255, 255, 255, 0.15); display: flex; justify-content: center; align-items: center; cursor: default; }
.movie-card.updating:hover { transform: translateY(-5px) !important; box-shadow: 0 10px 20px rgba(0,0,0,0.5) !important; border-color: rgba(255, 255, 255, 0.3) !important; }
.update-content { text-align: center; color: #555; padding: 15px; }
.update-content i { font-size: 35px; margin-bottom: 15px; color: #444; }
.update-content p { font-size: 14px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; line-height: 1.5; color: #777; }
@media (max-width: 1200px) { .movie-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .movie-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (max-width: 600px)  { .movie-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; } }

.movie-index-badge { position: absolute; bottom: 15px; right: 15px; background: rgba(11, 11, 12, 0.85); color: #fff; padding: 5px 12px; border-radius: 8px; font-size: 13px; font-weight: 900; border: 1px solid var(--primary-color); z-index: 20; box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4); backdrop-filter: blur(5px); letter-spacing: 1px; }
.pagination-container { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 50px; margin-bottom: 30px; flex-wrap: wrap; }
.page-btn { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: #ccc; min-width: 42px; height: 42px; display: flex; justify-content: center; align-items: center; border-radius: 8px; cursor: pointer; transition: 0.3s; font-size: 16px; font-weight: bold; padding: 0 10px; }
.page-btn:hover:not(.disabled):not(.active) { background: rgba(229, 9, 20, 0.2); border-color: var(--primary-color); color: white; transform: translateY(-3px); }
.page-btn.active { background: var(--primary-color); border-color: var(--primary-color); color: white; box-shadow: 0 5px 15px rgba(229, 9, 20, 0.5); cursor: default; }
.page-btn.disabled { opacity: 0.3; cursor: not-allowed; }
.page-dots { color: #888; font-size: 18px; font-weight: bold; padding: 0 5px; display: flex; align-items: flex-end; }

/* ================= 10. MÀN HÌNH KHÁM PHÁ (TAB PHIM LẺ) ================= */
.single-hero-fullscreen { position: relative; width: 100%; min-height: 100vh; display: flex; justify-content: center; align-items: center; overflow: hidden; margin-top: -85px; padding-top: 85px; }
.single-bg { position: absolute; top: -10%; left: -10%; width: 120%; height: 120%; background: url('https://i.postimg.cc/KzKXBFzd/A292A3C8-125D-4BF9-B965-77F735C7DDC8.png') center/cover no-repeat; filter: blur(12px) brightness(0.3); z-index: 1; animation: panBackground 25s infinite alternate linear; }
@keyframes panBackground { 0% { transform: scale(1) translate(0, 0); } 100% { transform: scale(1.1) translate(-3%, -3%); } }
.explore-wrapper { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; text-decoration: none; cursor: pointer; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.explore-wrapper:hover { transform: scale(1.05); }
.explore-text { font-size: 35px; font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 40px; text-shadow: 0 0 15px rgba(0, 198, 255, 0.8), 0 0 30px rgba(0, 198, 255, 0.4); animation: floatElement 3s ease-in-out infinite; }
.circle-glow-box { position: relative; width: 280px; height: 280px; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 15px 50px rgba(0,0,0,0.8); animation: floatElement 3s ease-in-out infinite 0.5s; }
.circle-glow-box::before { content: ''; position: absolute; width: 104%; height: 104%; border-radius: 50%; background: conic-gradient(transparent 30%, #00c6ff 70%, var(--primary-color) 100%); animation: spinLightBox 2s linear infinite; z-index: 0; }
.circle-glow-box::after { content: ''; position: absolute; width: 100%; height: 100%; background: #0b0b0c; border-radius: 50%; z-index: 1; }
.explore-avatar { position: relative; width: 96%; height: 96%; border-radius: 50%; object-fit: cover; z-index: 5; transition: 0.4s; }
.explore-wrapper:hover .explore-avatar { filter: brightness(1.2) contrast(1.1); }
@keyframes floatElement { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes spinLightBox { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ================= 11. CÁC HIỆU ỨNG NỀN TAB ================= */
#tab-list { position: relative; z-index: 1; overflow: hidden; background-color: var(--bg-color); }
#tab-list .page-padding, #tab-list .pagination-container, #tab-list .main-footer { position: relative; z-index: 5; }
#tab-list::before { content: ''; position: absolute; top: -10%; left: -10%; width: 120%; height: 120%; z-index: 0; background-image: url('https://i.postimg.cc/6Qrg7wNP/IMG-1114.jpg'); background-attachment: fixed; background-size: cover; background-position: center; filter: blur(1px) brightness(0.85) saturate(1.2); animation: smoothPanBg 25s infinite alternate ease-in-out; }
#tab-list::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; background: linear-gradient(to bottom, var(--bg-color) 0%, rgba(11, 11, 12, 0.5) 20%, rgba(11, 11, 12, 0.5) 80%, var(--bg-color) 100%); pointer-events: none; }

#tab-wallet { background: linear-gradient(rgba(11, 11, 12, 0.6), rgba(11, 11, 12, 0.8)), url('https://i.postimg.cc/wT8qY69W/IMG-1105.jpg') center/cover no-repeat; background-attachment: fixed; min-height: 100vh; }
.vip-wallet-card, .deposit-card { background: rgba(255, 255, 255, 0.05) !important; backdrop-filter: blur(25px) saturate(200%); -webkit-backdrop-filter: blur(25px) saturate(200%); border: 1px solid rgba(255, 255, 255, 0.15) !important; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important; border-radius: 20px; overflow: hidden; }

#tab-history { background: linear-gradient(rgba(11, 11, 12, 0.6), rgba(11, 11, 12, 0.8)), url('https://i.postimg.cc/KYr528Py/IMG-1115.jpg') center/cover no-repeat !important; background-attachment: fixed !important; min-height: 100vh; }
.history-wrapper { max-width: 900px; margin: 0 auto; background: rgba(255, 255, 255, 0.05) !important; backdrop-filter: blur(25px) saturate(200%) !important; -webkit-backdrop-filter: blur(25px) saturate(200%) !important; border: 1px solid rgba(255, 255, 255, 0.15) !important; box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5) !important; border-radius: 24px !important; padding: 30px; }
.history-filter-tabs { display: flex; gap: 15px; margin-bottom: 30px; overflow-x: auto; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.hist-tab-btn { padding: 10px 25px; background: rgba(0, 0, 0, 0.3) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; color: #ccc; border-radius: 30px; cursor: pointer; transition: 0.3s; white-space: nowrap; font-weight: bold; font-size: 14px; }
.hist-tab-btn.active { background: var(--primary-color) !important; color: white; border-color: var(--primary-color) !important; box-shadow: 0 5px 15px rgba(229, 9, 20, 0.5) !important; }
.history-list { display: flex; flex-direction: column; gap: 15px; }
.history-item { display: flex; align-items: center; justify-content: space-between; background: rgba(0, 0, 0, 0.25) !important; border: 1px solid rgba(255, 255, 255, 0.08) !important; padding: 18px 20px; border-radius: 16px !important; transition: all 0.3s ease; animation: fadeIn 0.5s ease backwards; }
.history-item:hover { background: rgba(255, 255, 255, 0.1) !important; border-color: rgba(255, 255, 255, 0.3) !important; transform: translateX(8px) scale(1.01) !important; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important; }
.hist-left { display: flex; align-items: center; gap: 20px; }
.hist-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; justify-content: center; align-items: center; font-size: 22px; flex-shrink: 0; box-shadow: inset 0 0 10px rgba(255,255,255,0.1); }
.icon-watch { background: linear-gradient(135deg, rgba(0, 198, 255, 0.2), rgba(0, 114, 255, 0.2)); color: #00c6ff; border: 1px solid rgba(0, 198, 255, 0.4); }
.icon-deposit { background: linear-gradient(135deg, rgba(0, 230, 118, 0.2), rgba(29, 233, 182, 0.2)); color: #00e676; border: 1px solid rgba(0, 230, 118, 0.4); }
.icon-spend { background: linear-gradient(135deg, rgba(245, 197, 24, 0.2), rgba(255, 152, 0, 0.2)); color: #f5c518; border: 1px solid rgba(245, 197, 24, 0.4); }
.hist-details { display: flex; flex-direction: column; gap: 6px; } .hist-title { color: white; font-size: 16px; font-weight: bold; letter-spacing: 0.5px; } .hist-time { color: #888; font-size: 12px; display: flex; align-items: center; gap: 5px; }
.hist-right { text-align: right; } .hist-val-watch { color: #aaa; font-size: 13px; background: rgba(0, 0, 0, 0.5); padding: 6px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); } .hist-val-plus { color: #00e676; font-size: 18px; font-weight: 900; } .hist-val-minus { color: #f5c518; font-size: 18px; font-weight: 900; } .hist-balance-after { font-size: 12px; color: #666; margin-top: 4px; }
.history-item.hide { display: none; }
.hist-img-preview { width: 48px; height: 65px; border-radius: 6px; overflow: hidden; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 4px 10px rgba(0,0,0,0.5); background: #111; }
.hist-img-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.history-item.type-watch { cursor: pointer; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.history-item.type-watch:hover { background: rgba(229, 9, 20, 0.1) !important; border-color: var(--primary-color) !important; transform: translateX(10px) scale(1.02); box-shadow: 0 10px 20px rgba(0,0,0,0.4); }

#tab-account { background: linear-gradient(rgba(11, 11, 12, 0.4), rgba(11, 11, 12, 0.6)), url('https://i.postimg.cc/VLtwWx9y/IMG-1116.jpg') center/cover no-repeat !important; background-attachment: fixed !important; min-height: 100vh; }
#auth-section, #profile-section { background: rgba(255, 255, 255, 0.05) !important; backdrop-filter: blur(25px) saturate(200%) !important; -webkit-backdrop-filter: blur(25px) saturate(200%) !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important; border-radius: 24px !important; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s; }
#auth-section:hover, #profile-section:hover { transform: translateY(-5px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8) !important; }
.auth-input, .auth-btn { transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; }
.auth-input:focus { transform: translateY(-3px) scale(1.02); border-color: var(--primary-color) !important; box-shadow: 0 10px 25px rgba(229, 9, 20, 0.3), inset 0 2px 10px rgba(0,0,0,0.5) !important; }
.auth-btn:active { transform: translateY(4px) scale(0.95) !important; box-shadow: 0 2px 10px rgba(229, 9, 20, 0.4) !important; }
.username-input-wrapper { position: relative; margin-bottom: 25px; }
.btn-dice { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: linear-gradient(135deg, #f5c518, #ff9800); border: none; width: 45px; height: 45px; border-radius: 12px; color: black; font-size: 24px; cursor: pointer; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 5px 15px rgba(245, 197, 24, 0.5); display: flex; justify-content: center; align-items: center; }
.btn-dice:hover { transform: translateY(-50%) scale(1.15) rotate(180deg); box-shadow: 0 10px 25px rgba(245, 197, 24, 0.8); }
.btn-dice:active { transform: translateY(-50%) scale(0.9) rotate(-90deg); }
.success-pop { animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards; }
@keyframes popIn { 0% { transform: scale(0.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.auth-tabs { display: flex; border-bottom: 2px solid rgba(255,255,255,0.05); margin-bottom: 30px; }
.auth-tab { flex: 1; text-align: center; padding: 15px; cursor: pointer; color: #666; font-weight: 900; font-size: 16px; letter-spacing: 1px; transition: 0.3s; border-bottom: 3px solid transparent; }
.auth-tab:hover { color: #aaa; }
.auth-tab.active { color: var(--primary-color); border-bottom: 3px solid var(--primary-color); text-shadow: 0 0 10px rgba(229,9,20,0.5); }
.auth-input { width: 100%; background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.1); padding: 16px 20px; border-radius: 12px; color: white; font-size: 16px; margin-bottom: 20px; outline: none; transition: 0.3s; box-shadow: inset 0 2px 10px rgba(0,0,0,0.5); }
.auth-btn { width: 100%; padding: 16px; background: var(--primary-color); color: white; font-weight: 900; font-size: 18px; border: none; border-radius: 12px; cursor: pointer; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4); display: flex; justify-content: center; align-items: center; gap: 10px; }
.auth-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(229, 9, 20, 0.6); filter: brightness(1.1); }
.auth-warning-box { background: rgba(229, 9, 20, 0.08); border: 2px dashed #e50914; border-radius: 16px; padding: 20px 25px; margin-bottom: 30px; box-shadow: 0 0 20px rgba(229, 9, 20, 0.2); animation: warningPulseBorder 1.5s infinite alternate; }
.warning-header { color: #ff4e00; font-size: 18px; font-weight: 900; display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; text-shadow: 0 0 10px rgba(255, 78, 0, 0.5); }
.warning-header i { font-size: 24px; animation: shake 0.6s infinite; }
.auth-warning-box p { color: #e0e0e0; font-size: 14px; line-height: 1.6; margin-bottom: 12px; text-align: justify; }
.auth-warning-box p:last-child { margin-bottom: 0; }
.auth-warning-box strong { color: #f5c518; font-size: 14.5px; text-shadow: 0 0 5px rgba(245, 197, 24, 0.3); }
.thank-you-text { color: #00e676 !important; font-weight: bold; text-align: center !important; margin-top: 15px; border-top: 1px dashed rgba(255,255,255,0.2); padding-top: 15px; font-size: 15px !important; }
@keyframes warningPulseBorder { from { border-color: rgba(229, 9, 20, 0.4); box-shadow: inset 0 0 10px rgba(229, 9, 20, 0.1), 0 0 10px rgba(229, 9, 20, 0.1); } to { border-color: rgba(255, 78, 0, 1); box-shadow: inset 0 0 20px rgba(255, 78, 0, 0.3), 0 0 25px rgba(255, 78, 0, 0.6); } }

/* ================= 12. SỰ KIỆN NẠP THẺ & LIÊN HỆ ================= */
.wallet-event-section { width: 100%; max-width: 800px; margin: 60px auto 30px auto; text-align: center; animation: fadeIn 0.8s ease; }
.event-title { font-size: 28px; font-weight: 900; text-transform: uppercase; margin-bottom: 12px; background: linear-gradient(to right, #f5c518, #ff4e00, #f5c518, #ff4e00, #f5c518); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: shineText 3s linear infinite; text-shadow: 0 0 20px rgba(255, 78, 0, 0.3); display: flex; justify-content: center; align-items: center; gap: 10px; }
.event-title i { color: #ff4e00; -webkit-text-fill-color: initial; animation: pulseGlow 1s infinite alternate; }
.event-desc { color: #ccc; font-size: 15px; margin-bottom: 30px; line-height: 1.6; } .event-desc strong { color: #00e676; }
.event-image-wrapper { position: relative; width: 100%; padding: 6px; border-radius: 16px; overflow: hidden; box-shadow: 0 15px 40px rgba(255, 78, 0, 0.4); transition: transform 0.4s; }
.event-image-wrapper:hover { transform: scale(1.02); box-shadow: 0 20px 50px rgba(255, 78, 0, 0.6); }
.event-image-wrapper::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: conic-gradient(transparent, rgba(255, 78, 0, 0.1), transparent 30%, #00c6ff, #ff4e00, #f5c518, #ff4e00, #00c6ff, transparent 70%); animation: spinEventBorder 2.5s linear infinite; z-index: 0; }
.event-image-wrapper::after { content: ''; position: absolute; inset: 6px; background: #111; border-radius: 12px; z-index: 1; }
.event-image-wrapper img { position: relative; z-index: 2; width: 100%; height: auto; display: block; border-radius: 12px; object-fit: contain; }
@keyframes spinEventBorder { 100% { transform: rotate(360deg); } }
@keyframes shineText { to { background-position: 200% center; } }

.contact-layout-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; margin-bottom: 50px; }
.file-upload-wrapper { margin-bottom: 20px; } .file-upload-input { display: none; }
.file-upload-label { display: flex; justify-content: center; align-items: center; gap: 10px; background: rgba(0, 198, 255, 0.05); border: 1px dashed #00c6ff; color: #00c6ff; padding: 15px; border-radius: 8px; cursor: pointer; transition: 0.3s; font-weight: bold; font-size: 15px; }
.file-upload-label:hover, .file-upload-label.has-file { background: rgba(0, 198, 255, 0.2); box-shadow: 0 0 15px rgba(0, 198, 255, 0.3); }
.direct-contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 25px; border-top: 1px dashed rgba(255,255,255,0.1); padding-top: 25px; }
.agent-btn { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px 10px; border-radius: 12px; text-decoration: none; font-weight: 900; transition: 0.3s; text-align: center; border: 1px solid rgba(255,255,255,0.2); font-size: 15px; letter-spacing: 0.5px; overflow: hidden; color: white; background: none !important; }
.agent-btn i, .agent-btn span { position: relative; z-index: 2; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.agent-btn i { font-size: 32px; margin-bottom: 5px; }
.agent-btn::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-size: cover; background-position: center; filter: blur(4px) brightness(0.8); transform: scale(1.1); z-index: 1; transition: 0.4s ease; }
.agent-btn:hover::before { transform: scale(1.2); filter: blur(3px) brightness(1); }
.agent-btn:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.5); }
.btn-tele { border-color: rgba(0, 136, 204, 0.5); box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3); } .btn-tele::before { background-image: url('https://i.postimg.cc/KzKXBFzd/A292A3C8_125D_4BF9_B965_77F735C7DDC8.png'); } .btn-tele:hover { border-color: #00c6ff; }
.btn-mail { border-color: rgba(234, 67, 53, 0.5); box-shadow: 0 5px 15px rgba(234, 67, 53, 0.3); } .btn-mail::before { background-image: url('https://i.postimg.cc/BZTQdwdb/56575EA9-6C1E-453E-A0EE-628BF972D3E7.png'); } .btn-mail:hover { border-color: #ffb199; }

.wiki-section { display: flex; flex-direction: column; gap: 20px; }
.wiki-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 25px; border-radius: 16px; transition: 0.3s; position: relative; overflow: hidden; backdrop-filter: blur(10px); }
.wiki-card:hover { background: rgba(255,255,255,0.06); transform: translateX(8px); box-shadow: -5px 10px 20px rgba(0,0,0,0.5);}
.wiki-card::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 5px; }
.wiki-red::before { background: #e50914; box-shadow: 0 0 10px #e50914;} .wiki-blue::before { background: #00c6ff; box-shadow: 0 0 10px #00c6ff;} .wiki-yellow::before { background: #f5c518; box-shadow: 0 0 10px #f5c518;} .wiki-green::before { background: #00e676; box-shadow: 0 0 10px #00e676;}
.wiki-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; } .wiki-header i { font-size: 26px; } .wiki-header h3 { color: white; font-size: 18px; text-transform: uppercase; letter-spacing: 1px;}
.wiki-card p { color: #ccc; font-size: 14.5px; line-height: 1.7; text-align: justify; margin-bottom: 12px; }
.wiki-card ul { list-style: none; color: #aaa; font-size: 14.5px; margin-left: 5px; } .wiki-card ul li { margin-bottom: 10px; display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; } .wiki-card ul li i { margin-top: 4px; }
@media (max-width: 900px) { .contact-layout-grid { grid-template-columns: 1fr; } }

/* ================= 13. EVENT BANNER (ĐÃ THU GỌN VÀ LÀM ĐẸP) ================= */
#top-right-event-banner { position: fixed; top: 85px; right: 15px; width: 90%; max-width: 230px; z-index: 99998; display: none; pointer-events: auto; }
#top-right-event-banner.show-event { display: block; animation: slideInRightBounce 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
.event-banner-label { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #ff4e00, #f5c518); color: white; padding: 3px 12px; border-radius: 15px; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; z-index: 10; box-shadow: 0 5px 10px rgba(255, 78, 0, 0.5); animation: pulseGlow 1.5s infinite alternate; white-space: nowrap; }
.event-banner-link { position: relative; display: block; width: 100%; aspect-ratio: 2.35 / 1; border-radius: 10px; overflow: hidden; cursor: pointer; border: 2px solid #f5c518; box-shadow: 0 10px 20px rgba(0,0,0,0.6), 0 0 10px rgba(245, 197, 24, 0.4), 0 0 20px rgba(255, 78, 0, 0.3); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.event-banner-link::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.6), rgba(255,255,255,0)); transform: skewX(-25deg); animation: sweepLight 3s infinite; z-index: 5; pointer-events: none; }
.event-banner-link:hover { transform: scale(1.05) translateY(-3px); border-color: #fff; box-shadow: 0 15px 30px rgba(0,0,0,0.8), 0 0 20px rgba(245, 197, 24, 0.6), 0 0 40px rgba(255, 78, 0, 0.5); }
.event-banner-link img { width: 100%; height: 100%; object-fit: cover; }
.event-close-btn { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; background: rgba(0, 0, 0, 0.9); color: white; font-size: 11px; display: flex; justify-content: center; align-items: center; cursor: pointer; z-index: 20; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4); transition: 0.2s; font-family: sans-serif; font-weight: bold; box-shadow: 0 2px 5px rgba(0,0,0,0.5);}
.event-close-btn:hover { background: #e50914; color: white; transform: scale(1.2); }
@keyframes slideInRightBounce { 0% { transform: translateX(120%); opacity: 0; } 60% { transform: translateX(-15px); opacity: 1; } 80% { transform: translateX(10px); } 100% { transform: translateX(0); opacity: 1; } }
@keyframes slideOutRight { to { transform: translateX(120%); opacity: 0; } }
@keyframes sweepLight { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }
@media (max-width: 768px) { #top-right-event-banner { top: 80px; right: 10px; max-width: 180px; } .event-banner-label { font-size: 9px; padding: 2px 10px; } }

/* ================= 14. PREMIUM MODAL ================= */
.premium-hero-btn { padding: 15px 30px; font-size: 16px; font-weight: 900; border: none; border-radius: 30px; cursor: pointer; transition: 0.3s; display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; margin-top: 15px; background: linear-gradient(45deg, #f5c518, #ff9800); color: #000; box-shadow: 0 5px 20px rgba(245, 197, 24, 0.5); animation: pulseGold 2s infinite; }
.premium-hero-btn.is-active { background: linear-gradient(45deg, #2c2c2c, #1a1a1a); color: #777; border: 1px solid #333; animation: none; box-shadow: none; }
.premium-hero-btn.is-active:hover { color: #f5c518; border-color: #f5c518; }
#header-crown-status { font-size: 22px; margin-right: 15px; display: none; cursor: pointer; filter: drop-shadow(0 0 5px rgba(0,0,0,0.5)); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
#header-crown-status:hover { transform: scale(1.2) rotate(10deg); }
.crown-bronze { color: #cd7f32; filter: drop-shadow(0 0 5px #cd7f32); } .crown-silver { color: #e0e0e0; filter: drop-shadow(0 0 8px #fff); } .crown-gold { color: #ffd700; filter: drop-shadow(0 0 12px #ffd700); animation: pulseGold 2s infinite; } .crown-diamond { color: #00f2ff; filter: drop-shadow(0 0 15px #00f2ff); animation: pulseGlow 1.5s infinite alternate; }

.vip-premium-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.9); backdrop-filter: blur(15px); z-index: 100000; display: none; justify-content: center; align-items: center; opacity: 0; transition: 0.3s; }
.vip-premium-overlay.show { display: flex; opacity: 1; }
.vip-premium-box { background: #0f0f11; width: 90%; max-width: 600px; border-radius: 24px; border: 1px solid rgba(245, 197, 24, 0.3); padding: 35px; position: relative; transform: scale(0.9); transition: 0.3s; }
.vip-premium-overlay.show .vip-premium-box { transform: scale(1); }
.prem-header { text-align: center; margin-bottom: 30px; } .prem-header i { font-size: 50px; color: #f5c518; margin-bottom: 15px; animation: floatElement 3s infinite; } .prem-header h2 { color: white; font-size: 24px; text-transform: uppercase; letter-spacing: 2px; }
.prem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 25px; }
.prem-card { background: rgba(255,255,255,0.03); border: 2px solid rgba(255,255,255,0.05); border-radius: 15px; padding: 20px; text-align: center; cursor: pointer; transition: 0.3s; position: relative; }
.prem-card.active { border-color: #f5c518; background: rgba(245, 197, 24, 0.05); box-shadow: 0 0 20px rgba(245, 197, 24, 0.2); }
.prem-card .badge { position: absolute; top: -10px; right: -5px; background: #e50914; color: white; font-size: 10px; padding: 4px 8px; border-radius: 20px; font-weight: 900; }
.prem-dur { color: white; font-size: 18px; font-weight: bold; } .prem-price { color: #f5c518; font-size: 20px; font-weight: 900; margin: 5px 0; } .prem-desc { color: #777; font-size: 12px; }
.btn-buy-premium { width: 100%; padding: 18px; border-radius: 12px; border: none; font-size: 18px; font-weight: 900; cursor: pointer; background: linear-gradient(45deg, #f5c518, #ff9800); color: black; transition: 0.3s; text-transform: uppercase; }
.btn-buy-premium:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(245, 197, 24, 0.5); }

/* ================= 15. FOOTER ================= */
.main-footer { padding: 60px 5% 30px 5%; background: #050505; color: #ccc; font-size: 15px; line-height: 1.8; border-top: 1px solid rgba(255, 255, 255, 0.05); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 30px; }
.footer-grid h4 { font-size: 20px; margin-bottom: 25px; text-transform: uppercase; font-weight: 800; letter-spacing: 1px; color: var(--primary-color); }
.footer-about p { margin-bottom: 15px; text-align: justify; }
.footer-links ul { list-style: none; } .footer-links ul li { margin-bottom: 15px; }
.footer-links ul li a { color: #aaa; text-decoration: none; transition: 0.3s; display: inline-flex; align-items: center; gap: 8px; }
.footer-links ul li a:hover { color: var(--primary-color); transform: translateX(8px); }
.footer-bottom-line { border-top: 1px dashed rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 13px; color: #666; letter-spacing: 1px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ================= 16. APP INSTALL ================= */
.app-install-banner { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 400px; background: rgba(20, 20, 20, 0.85); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 16px; display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; z-index: 99995; box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 0 15px rgba(255, 152, 0, 0.1); animation: slideUpBanner 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
.install-left { display: flex; align-items: center; gap: 15px; cursor: pointer; flex: 1; }
.install-icon-box { width: 45px; height: 45px; background: linear-gradient(135deg, #f5c518, #ff4e00); border-radius: 12px; display: flex; justify-content: center; align-items: center; font-size: 20px; color: white; box-shadow: 0 5px 15px rgba(255, 78, 0, 0.4); animation: floatIcon 3s ease-in-out infinite; }
.install-text-box h4 { color: white; font-size: 15px; font-weight: bold; margin-bottom: 3px; letter-spacing: 0.5px;} .install-text-box p { color: #f5c518; font-size: 12px; font-weight: 500; }
.install-close-btn { background: rgba(255,255,255,0.05); border: none; color: #888; width: 30px; height: 30px; border-radius: 50%; font-size: 14px; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: 0.3s; margin-left: 10px; }
.install-close-btn:hover { background: #e50914; color: white; transform: rotate(90deg); }
@keyframes slideUpBanner { 0% { bottom: -100px; opacity: 0; } 100% { bottom: 20px; opacity: 1; } }

.app-install-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); z-index: 100000; display: none; justify-content: center; align-items: center; opacity: 0; transition: 0.3s; overflow-y: auto; padding: 20px 0;}
.app-install-overlay.show { display: flex; opacity: 1; }
.app-install-box { background: linear-gradient(rgba(11, 11, 12, 0.65), rgba(0, 0, 0, 0.85)), url('https://i.postimg.cc/KzKXBFzd/A292A3C8_125D_4BF9_B965_77F735C7DDC8.png') center/cover no-repeat !important; backdrop-filter: blur(35px) saturate(250%); -webkit-backdrop-filter: blur(35px) saturate(250%); width: 95%; max-width: 520px; border-radius: 28px; border: 1px solid rgba(255,255,255,0.2); padding: 35px 25px; box-shadow: 0 30px 60px rgba(0,0,0,0.9), inset 0 1px 2px rgba(255,255,255,0.4); transform: scale(0.9); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; margin: auto; }
.app-install-overlay.show .app-install-box { transform: scale(1); }
.install-modal-header { text-align: center; margin-bottom: 25px; }
.install-logo-header { width: 75px; height: 75px; margin: 0 auto 15px auto; border-radius: 20px; overflow: hidden; border: 2px solid rgba(255,255,255,0.15); box-shadow: 0 10px 30px rgba(229, 9, 20, 0.5), inset 0 0 15px rgba(255,255,255,0.2); animation: floatIcon 3s ease-in-out infinite; }
.install-logo-header img { width: 100%; height: 100%; object-fit: cover; display: block; }
.install-modal-header h2 { color: white; font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px;}
.install-os-tabs { display: flex; background: rgba(0,0,0,0.6); border-radius: 12px; padding: 6px; margin-bottom: 25px; border: 1px solid rgba(255,255,255,0.08); box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);}
.os-tab { flex: 1; padding: 12px; border: none; background: transparent; color: #888; font-size: 16px; font-weight: bold; border-radius: 8px; cursor: pointer; transition: 0.3s; display: flex; justify-content: center; align-items: center; gap: 8px; }
.os-tab.active { background: rgba(255,255,255,0.15); color: white; box-shadow: 0 4px 15px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.05);}
.install-tab-content { display: none; animation: fadeIn 0.4s ease; text-align: center;}
.install-tab-content.active { display: block; }
.install-img-wrapper { width: 100%; max-width: 340px; aspect-ratio: 3 / 4; margin: 0 auto 20px auto; border-radius: 18px; overflow: hidden; border: 2px solid rgba(255,255,255,0.15); box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5); }
.install-img-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; }
.install-success-msg { display: inline-flex; align-items: center; gap: 8px; background: rgba(0, 198, 255, 0.15); border: 1px solid rgba(0, 198, 255, 0.4); color: #00c6ff; padding: 12px 25px; border-radius: 30px; font-size: 13.5px; font-weight: bold; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.install-success-msg i { font-size: 18px; }

/* ================= 17. AD TOAST & OTHERS ================= */
.ad-progress-toast { position: fixed; top: -150px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 420px; background: rgba(15, 15, 17, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(0, 198, 255, 0.3); border-radius: 16px; z-index: 100005; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 198, 255, 0.15); padding: 20px; transition: top 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease; opacity: 0; pointer-events: none; }
.ad-progress-toast.show { top: 20px; opacity: 1; pointer-events: auto; }
.ad-toast-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.ad-toast-icon { width: 45px; height: 45px; border-radius: 50%; background: linear-gradient(135deg, #f5c518, #ff9800); color: #000; font-size: 20px; display: flex; justify-content: center; align-items: center; box-shadow: 0 5px 15px rgba(245, 197, 24, 0.4); transition: 0.3s; }
.ad-toast-text { flex: 1; }
.ad-toast-text h4 { color: white; font-size: 16px; font-weight: 900; margin-bottom: 3px; letter-spacing: 0.5px; text-transform: uppercase; }
.ad-toast-text p { color: #f5c518; font-size: 13px; margin: 0; line-height: 1.4; font-weight: 500;}
.ad-toast-close { background: rgba(255,255,255,0.05); border: none; color: #888; font-size: 14px; cursor: pointer; transition: 0.3s; width: 28px; height: 28px; border-radius: 50%; display: flex; justify-content: center; align-items: center; }
.ad-toast-close:hover { background: #e50914; color: white; transform: rotate(90deg); }
.ad-progress-bar-bg { width: 100%; height: 10px; background: rgba(255, 255, 255, 0.1); border-radius: 10px; overflow: hidden; margin-bottom: 8px; position: relative; box-shadow: inset 0 2px 5px rgba(0,0,0,0.5); }
.ad-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #00c6ff, #00e676); border-radius: 10px; transition: width 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); box-shadow: 0 0 15px rgba(0, 230, 118, 0.6); position: relative; }
.ad-progress-fill::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); animation: sweepLight 2s infinite; }
.ad-progress-status { text-align: right; color: #aaa; font-size: 13px; font-weight: bold; }
.ad-progress-status span { font-size: 16px; color: #00e676; }

/* ================= 18. HIỆU ỨNG LOADING ================= */
.global-loader-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(5, 5, 5, 0.9); backdrop-filter: blur(15px); z-index: 999999; display: none; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; }
.global-loader-overlay.show { display: flex; opacity: 1; }
.cyber-loader { position: relative; width: 100px; height: 100px; display: flex; justify-content: center; align-items: center; }
.circle-outer { position: absolute; width: 100%; height: 100%; border: 3px solid transparent; border-top-color: #ff4e00; border-bottom-color: #f5c518; border-radius: 50%; animation: spin 1.5s linear infinite; }
.circle-inner { position: absolute; width: 80%; height: 80%; border: 3px solid transparent; border-left-color: #00c6ff; border-right-color: #00e676; border-radius: 50%; animation: spinReverse 1s linear infinite; }
.loader-logo { width: 50%; height: 50%; object-fit: cover; border-radius: 50%; animation: pulseGlow 1.5s infinite alternate; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes spinReverse { 0% { transform: rotate(360deg); } 100% { transform: rotate(0deg); } }

/* ================= 19. THÔNG BÁO TOP-DOWN ================= */
.top-welcome-toast { position: fixed; top: -100px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, rgba(229, 9, 20, 0.9), rgba(255, 78, 0, 0.9)); color: white; padding: 12px 25px; border-radius: 30px; font-size: 14px; font-weight: bold; box-shadow: 0 10px 30px rgba(229, 9, 20, 0.5); z-index: 1000000; transition: top 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(10px); text-align: center; width: max-content; max-width: 90%; line-height: 1.5; }
.top-welcome-toast.show { top: 20px; }

/* ================= 20. GIAO DIỆN AUDIO PLAYER ================= */
.audio-player-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 100050; display: none; justify-content: center; align-items: center; opacity: 0; transition: 0.4s ease; overflow-y: auto; padding: 20px 0;}
.audio-player-overlay.show { display: flex; opacity: 1; }
.audio-player-box { background: #121212; width: 90%; max-width: 420px; border-radius: 24px; padding: 30px 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.9), inset 0 1px 1px rgba(255,255,255,0.1); transform: translateY(50px); transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; display: flex; flex-direction: column; align-items: center; margin: auto; }
.audio-player-overlay.show .audio-player-box { transform: translateY(0); }

.ap-close-btn { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.1); border: none; color: white; width: 35px; height: 35px; border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: 0.3s; font-size: 16px; }
.ap-close-btn:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }

.ap-cover-wrapper { width: 180px; height: 260px; border-radius: 16px; overflow: hidden; margin-bottom: 25px; box-shadow: 0 15px 35px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.05); }
.ap-cover-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ap-title { color: white; font-size: 22px; font-weight: 900; text-align: center; margin-bottom: 8px; line-height: 1.3; }
.ap-publisher-info { color: #888; font-size: 14px; margin-bottom: 30px; }

.ap-controls-card { background: #1c1c1e; width: 100%; border-radius: 20px; padding: 20px; border: 1px solid rgba(255,255,255,0.05); }

.ap-progress-container { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.ap-progress-container span { color: #aaa; font-size: 12px; font-weight: bold; width: 40px; text-align: center; font-family: monospace; }
.ap-seek-bar { -webkit-appearance: none; width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 5px; outline: none; cursor: pointer; }
.ap-seek-bar::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; cursor: pointer; box-shadow: 0 0 10px rgba(255,255,255,0.5); transition: 0.2s; }
.ap-seek-bar::-webkit-slider-thumb:hover { transform: scale(1.3); }

.ap-buttons-row { display: flex; justify-content: space-between; align-items: center; padding: 0 10px; }
.ap-text-btn { background: transparent; border: none; color: #ccc; font-size: 14px; font-weight: bold; cursor: pointer; width: 40px; transition: 0.2s; }
.ap-text-btn:hover { color: white; }
.ap-icon-btn { background: transparent; border: none; color: #ccc; font-size: 20px; cursor: pointer; transition: 0.2s; }
.ap-icon-btn:hover { color: white; }
.ap-main-play-btn { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #ff4e00, #ff7e00); color: white; border: none; font-size: 22px; display: flex; justify-content: center; align-items: center; cursor: pointer; box-shadow: 0 8px 25px rgba(255, 78, 0, 0.4); transition: 0.3s; padding-left: 4px; }
.ap-main-play-btn.playing { padding-left: 0; }
.ap-main-play-btn:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(255, 78, 0, 0.6); filter: brightness(1.1); }
