:root {
    --bg-main: #FAFBFC; 
    --glass-bg: rgba(255, 255, 255, 0.7); 
    --glass-border: rgba(255, 255, 255, 0.5); 
    --gradient-primary: linear-gradient(135deg, #FF7EB3 0%, #B14BF4 100%);
    --gradient-hover: linear-gradient(135deg, #FF6A88 0%, #9D4EDD 100%);
    --accent-color: #B14BF4; 
    --accent-pink: #FF7EB3;
    --text-dark: #2B2D42; 
    --text-muted: #6C757D;
    --shadow-soft: 0 10px 40px rgba(177, 75, 244, 0.08);
    --shadow-hover: 0 15px 45px rgba(255, 126, 179, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }

body { background-color: var(--bg-main); color: var(--text-dark); overflow-x: hidden; position: relative; display: flex; flex-direction: column; min-height: 100vh; will-change: background-color; }

.ambient-background { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; overflow: hidden; pointer-events: none; background: #ffffff; }
.color-blob { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.6; animation: float 15s infinite alternate ease-in-out; }
.pink-blob { width: 50vw; height: 50vw; background: #FFD6E8; top: -10%; left: -10%; }
.purple-blob { width: 45vw; height: 45vw; background: #EBD4FF; bottom: -10%; right: -5%; animation-delay: -5s; }
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(10%, 15%) scale(1.1); } }

header { position: fixed; top: 0; left: 0; width: 100%; height: 75px; background: var(--glass-bg); backdrop-filter: blur(25px) saturate(200%); -webkit-backdrop-filter: blur(25px); display: flex; justify-content: space-between; align-items: center; padding: 0 24px; z-index: 1000; border-bottom: 1px solid var(--glass-border); box-shadow: var(--shadow-soft); }
.logo-container { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.logo-img-wrapper { padding: 3px; background: var(--gradient-primary); border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 15px rgba(255, 126, 179, 0.4); transition: transform 0.3s; }
.logo-container:hover .logo-img-wrapper { transform: rotate(10deg) scale(1.05); }
.logo-img-wrapper img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.logo-container h1 { font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; background: var(--gradient-primary); -webkit-background-clip: text; color: transparent; }

.right-actions { display: flex; align-items: center; gap: 15px; }
.action-btn { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--glass-border); display: flex; justify-content: center; align-items: center; font-size: 18px; color: var(--text-dark); cursor: pointer; transition: all 0.3s; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.action-btn:hover { background: var(--gradient-primary); color: #fff; transform: translateY(-2px); border-color: transparent; }

.side-menu { position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(30px); border-left: 1px solid rgba(255,255,255,0.6); z-index: 1002; transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(177, 75, 244, 0.1); }
.side-menu.active { right: 0; }
.side-menu-header { display: flex; justify-content: space-between; align-items: center; padding: 25px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.side-menu-header h2 { color: var(--text-dark); font-size: 20px; font-weight: 800; }
.close-menu-icon { width: 35px; height: 35px; border-radius: 50%; background: #f1f3f5; display: flex; justify-content: center; align-items: center; font-size: 18px; color: var(--text-muted); cursor: pointer; transition: all 0.3s; }
.close-menu-icon:hover { background: #ffe3e3; color: #fa5252; transform: rotate(90deg); }
.side-menu-links { padding: 20px 15px; display: flex; flex-direction: column; gap: 12px; }
.side-menu-links a { color: var(--text-dark); text-decoration: none; padding: 15px 20px; font-size: 16px; font-weight: 600; border-radius: 16px; transition: all 0.3s ease; display: flex; align-items: center; background: transparent; }
.side-menu-links a:hover, .side-menu-links a.active-link { background: var(--gradient-primary); color: #fff; box-shadow: 0 4px 15px rgba(177, 75, 244, 0.3); transform: translateX(5px); }
.side-menu-links i { width: 35px; font-size: 18px; color: var(--accent-color); transition: color 0.3s ease; }
.side-menu-links a:hover i, .side-menu-links a.active-link i { color: #fff; }
.overlay { position: fixed; inset: 0; background-color: rgba(26, 32, 44, 0.4); backdrop-filter: blur(4px); z-index: 1001; opacity: 0; visibility: hidden; transition: all 0.4s ease; }
.overlay.active { opacity: 1; visibility: visible; }

.search-bar-container { position: fixed; top: 75px; left: 0; width: 100%; background: rgba(255,255,255,0.8); backdrop-filter: blur(25px); padding: 15px 24px; display: none; justify-content: center; z-index: 999; border-bottom: 1px solid var(--glass-border); animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes slideDown { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.search-bar-container.active { display: flex; }
.search-wrapper { width: 100%; max-width: 700px; display: flex; align-items: center; background: #fff; border-radius: 30px; padding: 5px 5px 5px 20px; box-shadow: 0 8px 25px rgba(0,0,0,0.06); border: 1px solid #eaeaea; }
.search-icon { color: #adb5bd; font-size: 18px; margin-right: 10px; }
.search-wrapper input { flex: 1; padding: 12px 0; font-size: 15px; border: none; outline: none; background: transparent; color: var(--text-dark); font-weight: 500; }
.search-wrapper input::placeholder { color: #adb5bd; font-weight: 400; }
.search-wrapper button { padding: 12px 25px; background: var(--gradient-primary); border: none; border-radius: 25px; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 12px rgba(177, 75, 244, 0.3); }
.search-wrapper button:hover { transform: scale(1.03); box-shadow: 0 6px 15px rgba(177, 75, 244, 0.5); }

.chat-bubble { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: var(--gradient-primary); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #fff; font-size: 26px; cursor: pointer; box-shadow: 0 10px 25px rgba(177, 75, 244, 0.4); z-index: 990; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 2px solid #fff; }
.chat-bubble:hover { transform: scale(1.1) translateY(-5px); }

.btn-primary { background: var(--gradient-primary); color: #fff; border: none; padding: 14px 35px; border-radius: 30px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.3s; box-shadow: 0 6px 20px rgba(177, 75, 244, 0.3); width: 100%; margin-top: 10px; display: inline-block; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(177, 75, 244, 0.5); }

main { margin-top: 100px; padding: 0 20px 50px 20px; display: flex; flex-direction: column; align-items: center; flex: 1; }
.tab-content { display: none; width: 100%; max-width: 1100px; flex-direction: column; gap: 25px; animation: fadeIn 0.5s ease forwards; }
.tab-content.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.section-header { display: flex; align-items: center; gap: 15px; margin-bottom: 5px; }
.header-line { width: 6px; height: 24px; background: var(--gradient-primary); border-radius: 10px; }
.section-header h2 { font-size: 22px; color: var(--text-dark); text-transform: uppercase; font-weight: 800; letter-spacing: 0.5px; }

.movie-grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; width: 100%; }
.movie-card { width: 100%; aspect-ratio: 9 / 16; position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.06); transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: pointer; background: #fff; border: 2px solid #fff; }
.movie-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-hover); border-color: #FF7EB3; }
@keyframes highlightBlink { 0% { transform: scale(1); border-color: #fff; } 50% { transform: scale(1.05); border-color: var(--accent-color); box-shadow: 0 0 30px rgba(177, 75, 244, 0.5); z-index: 10; } 100% { transform: scale(1); border-color: #fff; } }
.highlight-card { animation: highlightBlink 1.2s ease-in-out 2; z-index: 10; }

.movie-thumbnail { width: 100%; height: 100%; position: absolute; inset: 0; }
.movie-thumbnail .bg-blur { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.movie-card:hover .bg-blur { transform: scale(1.1); filter: brightness(0.85); } 
.play-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.5); opacity: 0; background: rgba(255,255,255,0.25); backdrop-filter: blur(8px); width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 24px; color: #fff; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 5; border: 1px solid rgba(255,255,255,0.5); }
.movie-card:hover .play-overlay { opacity: 1; transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 20px rgba(255, 126, 179, 0.6); }

.movie-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px 15px 15px 15px; background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; z-index: 2; pointer-events: none; transition: padding 0.3s; }
.movie-card:hover .movie-info { padding-bottom: 20px; }
.movie-info h2 { font-size: 15px; font-weight: 700; color: #ffffff; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }

.movie-thumbnail .update-text { position: absolute; top: 15px; left: 15px; right: 15px; text-align: center; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); color: var(--accent-color); padding: 8px 10px; border-radius: 12px; font-size: 13px; font-weight: 800; box-shadow: 0 4px 15px rgba(0,0,0,0.1); z-index: 3; }
.badge-new { position: absolute; top: 12px; right: 12px; z-index: 4; background: var(--gradient-primary); color: white; font-size: 11px; font-weight: 800; padding: 5px 12px; border-radius: 10px; letter-spacing: 1px; box-shadow: 0 4px 10px rgba(255, 126, 179, 0.4); text-transform: uppercase; }

.movie-detail-modal { position: fixed; inset: 0; background-color: rgba(255, 255, 255, 0.4); backdrop-filter: blur(20px); z-index: 10005; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: all 0.4s ease; padding: 20px; }
.movie-detail-modal.active { opacity: 1; visibility: visible; }
.movie-detail-box { position: relative; background: #fff; border: 1px solid rgba(255,255,255,0.8); border-radius: 30px; width: 100%; max-width: 420px; padding: 35px 25px; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 30px 60px rgba(177, 75, 244, 0.15); transform: scale(0.9); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.movie-detail-modal.active .movie-detail-box { transform: scale(1); }
.close-detail-btn { position: absolute; top: -15px; right: -15px; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: none; color: var(--text-dark); font-size: 18px; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: all 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.1); z-index: 10; }
.close-detail-btn:hover { background: var(--gradient-primary); color: #fff; transform: rotate(90deg); }
.detail-poster { width: 140px; aspect-ratio: 9 / 16; border-radius: 16px; margin-bottom: 25px; background-size: cover; background-position: center; box-shadow: 0 15px 35px rgba(0,0,0,0.15); border: 3px solid #fff; }
.detail-title { color: var(--text-dark); font-size: 22px; font-weight: 800; margin-bottom: 12px; line-height: 1.4; }
.detail-publisher { color: var(--text-muted); font-size: 14px; font-weight: 600; margin-bottom: 25px; display: flex; align-items: center; gap: 8px; justify-content: center; }
.detail-publisher i { color: var(--accent-pink); }
.watch-now-btn { background: var(--gradient-primary); color: #fff; border: none; cursor: pointer; padding: 16px 45px; border-radius: 30px; font-size: 16px; font-weight: 800; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 25px rgba(255, 126, 179, 0.4); transition: all 0.3s; width: 100%; justify-content: center; }
.watch-now-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(255, 126, 179, 0.6); }

.media-container { width: 100%; }
.custom-audio-player { background: #FAFBFC; border: 1px solid #eaeaea; border-radius: 24px; padding: 25px 20px; width: 100%; box-shadow: inset 0 2px 10px rgba(0,0,0,0.02); }
.progress-area { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.progress-area span { color: var(--text-muted); font-size: 13px; font-weight: 700; min-width: 45px; }
.progress-area input[type="range"] { flex: 1; -webkit-appearance: none; appearance: none; height: 6px; background: #e9ecef; border-radius: 5px; outline: none; cursor: pointer; }
.progress-area input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-color); box-shadow: 0 0 10px rgba(177, 75, 244, 0.5); border: 2px solid #fff; }
.controls-area { display: flex; justify-content: center; align-items: center; gap: 25px; }
.ctrl-btn { background: #fff; border: 1px solid #eaeaea; color: var(--text-dark); font-size: 18px; cursor: pointer; transition: all 0.3s; width: 45px; height: 45px; display: flex; justify-content: center; align-items: center; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.ctrl-btn:hover { color: #fff; background: var(--accent-color); border-color: var(--accent-color); transform: scale(1.1); }
.text-btn { font-size: 14px; font-weight: 800; }
.play-pause-btn { width: 65px; height: 65px; border-radius: 50%; border: none; background: var(--gradient-primary); color: #fff; font-size: 24px; cursor: pointer; display: flex; justify-content: center; align-items: center; box-shadow: 0 8px 25px rgba(255, 126, 179, 0.4); transition: all 0.2s; border: 3px solid #fff; }
.play-pause-btn:hover { transform: scale(1.1); box-shadow: 0 10px 30px rgba(255, 126, 179, 0.6); }

.pagination-container { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 35px; margin-bottom: 20px; flex-wrap: wrap; width: 100%; }
.page-btn { min-width: 45px; height: 45px; border-radius: 14px; background: #fff; border: 1px solid #eaeaea; color: var(--text-dark); font-size: 16px; font-weight: 700; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.page-btn:hover:not(.active):not(.dots):not(.disabled) { background: #FAFBFC; color: var(--accent-pink); border-color: var(--accent-pink); transform: translateY(-3px); box-shadow: 0 6px 15px rgba(255, 126, 179, 0.15); }
.page-btn.active { background: var(--gradient-primary); color: #fff; border: none; box-shadow: 0 6px 20px rgba(177, 75, 244, 0.3); transform: scale(1.05); }
.page-btn.dots { background: transparent; border: none; box-shadow: none; cursor: default; letter-spacing: 2px; font-size: 18px; color: var(--text-muted); }
.page-btn.disabled { opacity: 0.4; cursor: not-allowed; background: #f8f9fa; }

/* === PHẦN TRANG LIÊN HỆ NÂNG CẤP === */
.contact-page-title { font-size: 28px; font-weight: 800; color: var(--text-dark); margin-bottom: 25px; text-align: center; width: 100%; background: var(--gradient-primary); -webkit-background-clip: text; color: transparent; }
.contact-container { width: 100%; max-width: 550px; margin: 0 auto; background: rgba(255,255,255,0.8); backdrop-filter: blur(20px); border: 1px solid #fff; border-radius: 24px; padding: 40px 30px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 15px 40px rgba(177, 75, 244, 0.08); }
.form-title { color: var(--text-dark); font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.form-title i { color: var(--accent-pink); font-size: 20px; }
.form-input { width: 100%; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px 20px; color: var(--text-dark); font-size: 15px; outline: none; transition: all 0.3s; font-weight: 500; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02); }
.form-input:focus { border-color: var(--accent-color); box-shadow: 0 0 0 4px rgba(177, 75, 244, 0.1); }

/* Nút Tải Ảnh Update */
.upload-btn { width: 100%; border: 2px dashed #cbd5e1; border-radius: 14px; background: #f8fafc; color: var(--text-muted); padding: 16px; font-size: 15px; font-weight: 700; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 10px; transition: all 0.3s; }
.upload-btn:hover { border-color: var(--accent-color); color: var(--accent-color); background: #fff; }

.form-textarea { resize: vertical; min-height: 120px; }

/* Nút Gửi Cải Tiến Hiệu Ứng Bấm */
.submit-btn { width: 100%; background: var(--gradient-primary); border: none; border-radius: 14px; color: #fff; padding: 16px; font-size: 16px; font-weight: 800; letter-spacing: 1px; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 10px; box-shadow: 0 6px 20px rgba(177, 75, 244, 0.3); transition: all 0.2s; margin-top: 10px; }
.submit-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(177, 75, 244, 0.5); }
.submit-btn:active { transform: translateY(0) scale(0.97); box-shadow: 0 4px 15px rgba(177, 75, 244, 0.4); }

.divider { display: flex; align-items: center; text-align: center; margin: 10px 0; color: #cbd5e1; font-weight: 600; font-size: 14px; }
.divider::before, .divider::after { content: ''; flex: 1; border-bottom: 1px solid #e2e8f0; }
.divider span { padding: 0 15px; }

/* Thẻ Mạng Xã Hội Chèn Logo Thật */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-card { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 10px; border-radius: 14px; text-decoration: none; font-weight: 800; font-size: 15px; color: #fff; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 1; }
.contact-card:hover { transform: translateY(-4px) scale(1.02); }

/* Thẻ Telegram Logo Ẩn (Watermark) siêu vip */
.card-tele { background: linear-gradient(135deg, #0088cc, #005f8f); box-shadow: 0 6px 15px rgba(0, 136, 204, 0.3); }
.card-tele::after { content: ''; position: absolute; right: -15px; bottom: -15px; width: 90px; height: 90px; background: url('https://upload.wikimedia.org/wikipedia/commons/8/82/Telegram_logo.svg') no-repeat center/contain; opacity: 0.25; z-index: -1; transition: all 0.3s; }
.card-tele:hover { box-shadow: 0 8px 25px rgba(0, 136, 204, 0.5); }
.card-tele:hover::after { transform: scale(1.2) rotate(-10deg); opacity: 0.4; }

/* Thẻ Zalo Logo Ẩn (Watermark) siêu vip */
.card-zalo { background: linear-gradient(135deg, #0190f3, #0068ff); box-shadow: 0 6px 15px rgba(1, 144, 243, 0.3); }
.card-zalo::after { content: ''; position: absolute; right: -15px; bottom: -20px; width: 100px; height: 100px; background: url('https://upload.wikimedia.org/wikipedia/commons/9/91/Icon_of_Zalo.svg') no-repeat center/contain; opacity: 0.25; z-index: -1; transition: all 0.3s; }
.card-zalo:hover { box-shadow: 0 8px 25px rgba(1, 144, 243, 0.5); }
.card-zalo:hover::after { transform: scale(1.2) rotate(-10deg); opacity: 0.4; }


footer { width: 100%; background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(20px); border-top: 1px solid rgba(255, 255, 255, 0.8); padding: 60px 24px 20px 24px; color: var(--text-dark); margin-top: auto; position: relative; z-index: 10; box-shadow: 0 -10px 40px rgba(0,0,0,0.02); }
.footer-content { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 50px; justify-content: space-between; }
.footer-section { flex: 1; min-width: 280px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-logo img { width: 45px; height: 45px; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.1); border: 2px solid #fff; }
.footer-logo h3 { font-size: 18px; font-weight: 800; background: var(--gradient-primary); -webkit-background-clip: text; color: transparent; letter-spacing: 1px; }
.footer-section.about p { font-size: 15px; line-height: 1.7; color: var(--text-muted); font-weight: 500; }
.footer-links-wrapper { display: flex; gap: 60px; flex: 2; min-width: 300px; justify-content: flex-end; }
.footer-section.links h3 { color: var(--text-dark); font-size: 16px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.footer-section.links h3 i { color: var(--accent-pink); }
.footer-section.links ul { list-style: none; }
.footer-section.links ul li { margin-bottom: 14px; }
.footer-section.links ul li a { color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; }
.footer-section.links ul li a:hover { color: var(--accent-color); transform: translateX(5px); }
.footer-bottom { max-width: 1100px; margin: 50px auto 0 auto; padding-top: 25px; border-top: 1px solid rgba(0,0,0,0.05); text-align: center; font-size: 14px; color: #94a3b8; font-weight: 500; }

.loader-overlay { position: fixed; inset: 0; background-color: rgba(255, 255, 255, 0.85); backdrop-filter: blur(15px); z-index: 9999; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: all 0.4s ease; }
.loader-overlay.active { opacity: 1; visibility: visible; }
.logo-loader { position: relative; width: 100px; height: 100px; border-radius: 50%; display: flex; justify-content: center; align-items: center; background: #fff; box-shadow: 0 10px 40px rgba(177, 75, 244, 0.2); }
.logo-loader::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; background: conic-gradient(transparent, transparent, #FF7EB3, #B14BF4); animation: rotateLight 1s linear infinite; z-index: 0; }
.logo-loader::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #fff; z-index: 1; }
.logo-loader img { width: 84px; height: 84px; border-radius: 50%; z-index: 2; object-fit: cover; }
@keyframes rotateLight { to { transform: rotate(360deg); } }

.modal-overlay { position: fixed; inset: 0; background-color: rgba(15, 23, 42, 0.4); backdrop-filter: blur(8px); z-index: 10000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box { background: #fff; border-radius: 28px; padding: 40px 30px; width: 90%; max-width: 400px; text-align: center; box-shadow: 0 25px 50px rgba(0,0,0,0.1); transform: translateY(30px) scale(0.95); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 1px solid rgba(255,255,255,0.8); }
.modal-overlay.active .modal-box { transform: translateY(0) scale(1); }
.icon-circle { width: 80px; height: 80px; border-radius: 50%; background: #fdf2f8; display: flex; justify-content: center; align-items: center; margin: 0 auto 20px auto; font-size: 35px; color: var(--accent-pink); box-shadow: inset 0 4px 10px rgba(255, 126, 179, 0.2); }
.modal-box h3 { color: var(--text-dark); font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.modal-box p { color: var(--text-muted); font-size: 15px; margin-bottom: 30px; line-height: 1.6; font-weight: 500; }

.ad-progress-toast { position: fixed; top: -100px; left: 50%; transform: translateX(-50%); background: #fff; border-radius: 40px; padding: 8px 25px 8px 8px; display: flex; align-items: center; gap: 15px; box-shadow: 0 10px 35px rgba(177, 75, 244, 0.2); z-index: 10010; transition: top 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); border: 1px solid #f1f3f5; width: max-content; max-width: 90%; }
.ad-progress-toast.active { top: 30px; }
.toast-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-primary); display: flex; justify-content: center; align-items: center; color: #fff; font-size: 16px; box-shadow: 0 4px 10px rgba(255, 126, 179, 0.4); }
#adProgressText { font-weight: 700; color: var(--text-dark); font-size: 14px; }

@media (max-width: 768px) {
    .footer-content { flex-direction: column; gap: 40px; }
    .footer-links-wrapper { justify-content: space-between; gap: 30px; }
}
@media (max-width: 600px) {
    .movie-grid-container { grid-template-columns: repeat(2, 1fr); gap: 12px; } 
    .movie-info { padding: 30px 10px 12px 10px; }
    .movie-info h2 { font-size: 13px; }
    .badge-new { font-size: 10px; padding: 4px 8px; }
    .play-overlay { width: 45px; height: 45px; font-size: 18px; }
    
    .search-wrapper { flex-direction: column; background: transparent; border: none; box-shadow: none; padding: 0; gap: 10px; }
    .search-icon { display: none; }
    .search-wrapper input { width: 100%; border-radius: 20px; background: #fff; padding: 15px 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
    .search-wrapper button { width: 100%; border-radius: 20px; padding: 15px; }
    
    .page-btn { min-width: 38px; height: 38px; font-size: 15px; }
    .contact-cards { grid-template-columns: 1fr; } 
    
    .controls-area { gap: 15px; }
    .ctrl-btn { width: 40px; height: 40px; font-size: 16px; }
    .play-pause-btn { width: 55px; height: 55px; font-size: 20px; }
    
    .footer-links-wrapper { flex-direction: column; }
    #adProgressText { font-size: 12px; }
}
