body { font-family: Arial, sans-serif; background: transparent; margin: 0; min-height: 100vh; overflow: hidden; position: relative; } #bg-video { position: fixed; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100vh; min-width: 177.77vh; transform: translate(-50%, -50%); z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1s ease-in-out; border: none; outline: none; } #bg-video.playing { opacity: 1; } .bio-container { position: relative; z-index: 2; background: rgba(20, 20, 20, 0.95); padding: 32px 44px; border-radius: 20px; box-shadow: 0 4px 32px rgba(0,0,0,0.25); text-align: center; max-width: 370px; margin: 60px auto; } .avatar-border { width: 130px; height: 130px; border-radius: 50%; padding: 4px; background: conic-gradient( #ff0000, #ff9900, #ffee00, #33ff00, #00ffee, #0066ff, #cc00ff, #ff0000 ); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px auto; transition: background 0.5s; box-shadow: 0 0 24px 4px rgba(255,255,255,0.12); } .avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; background: #222; border: 3px solid #222; display: block; } .username { font-size: 2.2rem; font-weight: bold; margin-bottom: 12px; margin-top: 0; letter-spacing: 1px; background: linear-gradient(90deg, #ff0000, #ff9900, #ffee00, #33ff00, #00ffee, #0066ff, #cc00ff, #ff0000); background-size: 200% auto; color: transparent; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: rainbow-text 3s linear infinite; } @keyframes rainbow-text { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } } .caption { font-size: 1.1rem; color: #fff; background: rgba(0,0,0,0.3); border-radius: 8px; padding: 12px; margin-top: 10px; display: inline-block; font-weight: 500; box-shadow: 0 2px 8px rgba(0,0,0,0.12); } .social-icons { position: absolute; bottom: 140px; left: 50%; transform: translateX(-50%); display: flex; gap: 35px; z-index: 2; } .social-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.3s; position: relative; backdrop-filter: blur(10px); border: 2px solid rgba(255,255,255,0.3); } .social-icon i { font-size: 28px; color: #fff; filter: drop-shadow(0 0 8px rgba(255,255,255,0.8)); } .social-icon.youtube { background: rgba(255, 0, 0, 0.4); box-shadow: 0 4px 20px rgba(255, 0, 0, 0.5), 0 0 40px rgba(255, 0, 0, 0.3); animation: float 6s ease-in-out infinite; } .social-icon.telegram { background: rgba(0, 136, 204, 0.4); box-shadow: 0 4px 20px rgba(0, 136, 204, 0.5), 0 0 40px rgba(0, 136, 204, 0.3); animation: float 6s ease-in-out infinite 2s; } .social-icon.discord { background: rgba(88, 101, 242, 0.4); box-shadow: 0 4px 20px rgba(88, 101, 242, 0.5), 0 0 40px rgba(88, 101, 242, 0.3); animation: float 6s ease-in-out infinite 4s; } .social-icon:hover { transform: translateY(-8px) scale(1.15); border: 2px solid rgba(255,255,255,0.6); } .social-icon.youtube:hover { background: rgba(255, 0, 0, 0.7); box-shadow: 0 8px 35px rgba(255, 0, 0, 0.7), 0 0 60px rgba(255, 0, 0, 0.4); } .social-icon.telegram:hover { background: rgba(0, 136, 204, 0.7); box-shadow: 0 8px 35px rgba(0, 136, 204, 0.7), 0 0 60px rgba(0, 136, 204, 0.4); } .social-icon.discord:hover { background: rgba(88, 101, 242, 0.7); box-shadow: 0 8px 35px rgba(88, 101, 242, 0.7), 0 0 60px rgba(88, 101, 242, 0.4); } @keyframes float { 0%, 100% { transform: translateY(0px) rotate(0deg); } 33% { transform: translateY(-25px) rotate(5deg); } 66% { transform: translateY(15px) rotate(-5deg); } } /* --- CSS CHO CÁC NÚT Ở GÓC MÀN HÌNH (Đã cập nhật) --- */ .top-left-buttons { position: fixed; top: 30px; left: 30px; z-index: 10; display: flex; gap: 15px; /* Khoảng cách giữa hai nút */ } .top-button { text-decoration: none; display: inline-block; padding: 15px 35px; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(20px); border-radius: 50px; border: 2px solid rgba(255, 255, 255, 0.1); transition: all 0.3s ease; overflow: hidden; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2); } .tab-text { position: relative; z-index: 2; font-weight: bold; font-size: 18px; letter-spacing: 2px; color: #fff; text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5); } .top-button:hover { transform: translateY(-2px); } .top-button.rainbow-border { border: 2px solid transparent; background-origin: border-box; background-clip: padding-box, border-box; } .welcome-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(10px); z-index: 100; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease; } .welcome-overlay.hidden { opacity: 0; pointer-events: none; } .welcome-content { text-align: center; max-width: 800px; padding: 0 20px; } .welcome-title { font-size: 2.5rem; font-weight: bold; margin-bottom: 40px; line-height: 1.3; color: #fff; -webkit-text-stroke: 3px transparent; background: linear-gradient(90deg, #ff0000, #ff9900, #ffee00, #33ff00, #00ffee, #0066ff, #cc00ff, #ff0000); background-size: 200% 100%; background-clip: text; -webkit-background-clip: text; animation: rainbow-border-text 4s linear infinite; text-shadow: 0 0 10px rgba(255, 0, 0, 0.8), 0 0 20px rgba(0, 255, 238, 0.6), 0 0 30px rgba(204, 0, 255, 0.4), 0 0 40px rgba(255, 238, 0, 0.3); animation: rainbow-border-text 4s linear infinite, text-glow 3s ease-in-out infinite alternate; } @keyframes rainbow-border-text { 0% { background-position: 0% 50%; -webkit-text-stroke: 3px #ff0000; } 14% { -webkit-text-stroke: 3px #ff9900; } 28% { -webkit-text-stroke: 3px #ffee00; } 42% { -webkit-text-stroke: 3px #33ff00; } 57% { -webkit-text-stroke: 3px #00ffee; } 71% { -webkit-text-stroke: 3px #0066ff; } 85% { -webkit-text-stroke: 3px #cc00ff; } 100% { background-position: 200% 50%; -webkit-text-stroke: 3px #ff0000; } } @keyframes text-glow { 0% { text-shadow: 0 0 10px rgba(255, 0, 0, 0.8), 0 0 20px rgba(255, 0, 0, 0.6), 0 0 30px rgba(255, 0, 0, 0.4), 0 0 40px rgba(255, 0, 0, 0.3); color: rgba(255, 255, 255, 0.9); } 25% { text-shadow: 0 0 10px rgba(0, 255, 238, 0.8), 0 0 20px rgba(0, 255, 238, 0.6), 0 0 30px rgba(0, 255, 238, 0.4), 0 0 40px rgba(0, 255, 238, 0.3); color: rgba(255, 255, 255, 1); } 50% { text-shadow: 0 0 10px rgba(204, 0, 255, 0.8), 0 0 20px rgba(204, 0, 255, 0.6), 0 0 30px rgba(204, 0, 255, 0.4), 0 0 40px rgba(204, 0, 255, 0.3); color: rgba(255, 255, 255, 0.95); } 75% { text-shadow: 0 0 10px rgba(255, 238, 0, 0.8), 0 0 20px rgba(255, 238, 0, 0.6), 0 0 30px rgba(255, 238, 0, 0.4), 0 0 40px rgba(255, 238, 0, 0.3); color: rgba(255, 255, 255, 1); } 100% { text-shadow: 0 0 10px rgba(51, 255, 0, 0.8), 0 0 20px rgba(51, 255, 0, 0.6), 0 0 30px rgba(51, 255, 0, 0.4), 0 0 40px rgba(51, 255, 0, 0.3); color: rgba(255, 255, 255, 0.9); } } .enter-btn { background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05)); border: 2px solid rgba(255,255,255,0.3); color: white; padding: 18px 50px; font-size: 1.3rem; font-weight: bold; letter-spacing: 3px; border-radius: 50px; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 15px; backdrop-filter: blur(10px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); } .enter-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(255,255,255,0.2); background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1)); border-color: rgba(255,255,255,0.5); } .enter-btn i { transition: transform 0.3s ease; } .enter-btn:hover i { transform: translateX(5px); } .loading-spinner { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border: 4px solid rgba(255, 255, 255, 0.2); border-top: 4px solid #fff; border-radius: 50%; animation: spin 1s linear infinite; z-index: 101; display: none; } @keyframes spin { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } } @media (max-width: 768px) { #bg-video { height: 100vh; width: 177.77vh; } .bio-container { margin: 30px 20px; padding: 24px 32px; max-width: 320px; } .top-left-buttons { top: 15px; left: 15px; gap: 10px; } .top-button { padding: 12px 25px; } .tab-text { font-size: 16px; letter-spacing: 1px; } .social-icons { bottom: 100px; gap: 25px; } .social-icon { width: 50px; height: 50px; } .social-icon i { font-size: 24px; } .welcome-title { font-size: 1.8rem; -webkit-text-stroke: 2px transparent; } .enter-btn { padding: 15px 40px; font-size: 1.1rem; letter-spacing: 2px; } } /* Thêm vào cuối file style.css */ /* --- USER INFO Ở GÓC PHẢI --- */ .top-right-user { position: fixed; top: 30px; right: 30px; z-index: 10; } /* Login button khi chưa đăng nhập */ .login-button i { margin-right: 5px; } /* User info khi đã đăng nhập */ .user-info { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(20px); border: 2px solid rgba(255, 255, 255, 0.1); border-radius: 50px; padding: 8px 15px 8px 8px; transition: all 0.3s ease; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); } .user-info:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.2); transform: translateY(-2px); } .user-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(0, 255, 136, 0.5); flex-shrink: 0; } .user-avatar img { width: 100%; height: 100%; object-fit: cover; } .user-details { flex: 1; min-width: 0; } .user-name { font-size: 0.95rem; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; } .user-status { display: flex; align-items: center; gap: 4px; font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); margin-top: 2px; } .user-status .online { color: #00ff88; font-size: 0.6rem; } .user-menu { position: relative; } .menu-button { background: none; border: none; color: rgba(255, 255, 255, 0.7); cursor: pointer; padding: 5px; border-radius: 50%; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; } .menu-button:hover { background: rgba(255, 255, 255, 0.1); color: #00ff88; } .dropdown-menu { position: absolute; top: 100%; right: 0; margin-top: 8px; background: rgba(20, 20, 20, 0.95); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; min-width: 180px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; z-index: 1001; } .dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0); } .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 12px 15px; color: rgba(255, 255, 255, 0.8); text-decoration: none; border: none; background: none; width: 100%; font-size: 0.9rem; transition: all 0.3s ease; cursor: pointer; } .dropdown-item:hover { background: rgba(0, 255, 136, 0.1); color: #00ff88; } .dropdown-item i { width: 16px; text-align: center; } .dropdown-divider { height: 1px; background: rgba(255, 255, 255, 0.1); margin: 5px 0; } .logout-btn:hover { background: rgba(255, 71, 87, 0.1) !important; color: #ff4757 !important; } /* Responsive cho user info */ @media (max-width: 768px) { .top-right-user { top: 15px; right: 15px; } .user-name { max-width: 80px; } .user-info { padding: 6px 12px 6px 6px; } .user-avatar { width: 35px; height: 35px; } .dropdown-menu { min-width: 160px; } } @media (max-width: 480px) { .user-details { display: none; } .user-info { padding: 6px; } }