* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #000; color: #fff; line-height: 1.6; min-height: 100vh; padding: 20px; } .app-header { width: 100%; padding: 10px 0; margin-bottom: 40px; } .header-container { display: flex; justify-content: flex-end; align-items: center; } /* User Info Box Styles */ .user-info-box { position: relative; z-index: 1000; } .login-prompt .login-button { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(45deg, #00ff88, #00ccff); border: none; border-radius: 25px; padding: 10px 20px; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: all 0.3s ease; box-shadow: 0 2px 10px rgba(0, 255, 136, 0.3); } .login-prompt .login-button:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0, 255, 136, 0.4); background: linear-gradient(45deg, #00ccff, #00ff88); } .user-info { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 25px; padding: 8px 15px 8px 8px; transition: all 0.3s ease; backdrop-filter: blur(10px); } .user-info:hover { background: rgba(255, 255, 255, 0.15); border-color: #00ff88; box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2); } .user-avatar { width: 35px; height: 35px; border-radius: 50%; overflow: hidden; border: 2px solid #00ff88; 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.9rem; 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: #ccc; margin-top: 2px; } .user-status .online { color: #00ff88; font-size: 0.6rem; } .user-menu { position: relative; } .menu-button { background: none; border: none; color: #ccc; 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: #111; border: 1px solid #333; border-radius: 10px; min-width: 180px; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); backdrop-filter: blur(10px); 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: #ccc; 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: #333; margin: 5px 0; } .logout-btn:hover { background: rgba(255, 71, 87, 0.1) !important; color: #ff4757 !important; } .container { max-width: 800px; margin: 0 auto; } .main-content { display: flex; flex-direction: column; gap: 30px; } /* Title Section */ .title-section { text-align: center; margin-bottom: 20px; } .main-title { font-size: 3rem; font-weight: 900; margin-bottom: 2rem; background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000); background-size: 400% 400%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: rainbowMove 3s ease infinite; } .subtitle { font-size: 2rem; font-weight: bold; color: #00ff88; margin-bottom: 1rem; text-shadow: 0 0 10px rgba(0, 255, 136, 0.5); } .desc-text { font-size: 1.2rem; color: #ccc; line-height: 1.8; } .highlight { color: #ff8800; font-weight: bold; text-shadow: 0 0 10px rgba(255, 136, 0, 0.5); } /* Section Cards */ .section-card { margin-bottom: 30px; } .rainbow-border { position: relative; padding: 3px; border-radius: 15px; background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000); background-size: 400% 400%; animation: rainbowMove 3s ease infinite; } .card-content { background: #111; border-radius: 12px; padding: 30px; width: 100%; } /* IP Section */ .ip-section { display: flex; align-items: center; gap: 20px; } .ip-icon { font-size: 2.5rem; color: #00ff88; flex-shrink: 0; } .ip-info { flex: 1; } .ip-label { font-size: 1rem; color: #888; margin-bottom: 8px; } .ip-display { font-size: 1.5rem; font-weight: bold; font-family: 'Courier New', monospace; color: #00ff88; word-break: break-all; } /* Token Section */ .view { transition: all 0.3s ease; } .hidden { display: none !important; } .token-section, .loading-section, .token-success-section { text-align: center; } .token-section h3, .token-success-section h3 { font-size: 1.5rem; margin-bottom: 15px; color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; } .token-section p, .loading-section p { color: #ccc; margin-bottom: 25px; font-size: 1rem; } .main-button { background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000); background-size: 400% 400%; border: none; border-radius: 10px; padding: 15px 30px; font-size: 1.1rem; font-weight: bold; color: white; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 10px; margin: 0 auto; animation: rainbowMove 3s ease infinite; text-decoration: none; } .main-button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2); } .secondary-button { background: #333; border: 1px solid #555; border-radius: 8px; padding: 12px 25px; color: #ccc; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; margin: 20px auto 0; font-size: 1rem; } .secondary-button:hover { background: #444; color: #fff; transform: translateY(-1px); } /* Loading */ .loading-section h3 { font-size: 1.3rem; margin-bottom: 10px; color: #fff; } .loading-spinner { width: 40px; height: 40px; border: 3px solid rgba(255, 255, 255, 0.3); border-top: 3px solid #00ff88; border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 20px; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Token Success */ .success-header { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 25px; color: #00ff88; } .success-header i { font-size: 1.8rem; } .token-display-section { margin-bottom: 25px; text-align: left; } .token-display-section label { display: block; font-size: 1rem; color: #ccc; margin-bottom: 10px; } .token-input-group { display: flex; gap: 10px; } .token-input-group input { flex: 1; background: #222; border: 2px solid #333; border-radius: 8px; padding: 12px; color: #00ff88; font-family: 'Courier New', monospace; font-size: 0.9rem; outline: none; } .token-input-group input:focus { border-color: #00ff88; } .copy-button { background: rgba(0, 255, 136, 0.2); border: 2px solid #00ff88; border-radius: 8px; padding: 12px; color: #00ff88; cursor: pointer; transition: all 0.3s ease; width: 50px; display: flex; align-items: center; justify-content: center; } .copy-button:hover { background: rgba(0, 255, 136, 0.3); transform: translateY(-1px); } /* Timer */ .timer-section { background: rgba(255, 136, 0, 0.1); border: 2px solid #ff8800; border-radius: 10px; padding: 20px; margin-bottom: 25px; } .timer-header { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 15px; color: #ff8800; font-size: 1rem; } .timer-display { font-size: 2.5rem; font-weight: bold; font-family: 'Courier New', monospace; color: #ff8800; text-align: center; } /* Guide Section */ .guide-section h3 { font-size: 1.5rem; margin-bottom: 25px; color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; } .guide-steps { display: flex; flex-direction: column; gap: 20px; } .step { display: flex; align-items: flex-start; gap: 15px; padding: 20px; background: rgba(255, 255, 255, 0.05); border-radius: 10px; border-left: 4px solid #00ff88; } .step-number { background: #00ff88; color: #000; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; } .step-content h4 { color: #00ff88; margin-bottom: 8px; font-size: 1.1rem; } .step-content p { color: #ccc; line-height: 1.6; } /* Security Section */ .security-section h3 { font-size: 1.5rem; margin-bottom: 25px; color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; } .security-warnings { display: flex; flex-direction: column; gap: 15px; } .warning-item { display: flex; align-items: center; gap: 12px; padding: 15px; background: rgba(255, 136, 0, 0.1); border-radius: 8px; border-left: 4px solid #ff8800; } .warning-item i { color: #ff8800; font-size: 1.2rem; flex-shrink: 0; } .warning-item span { color: #ccc; line-height: 1.5; } .download-warning { background: rgba(255, 136, 0, 0.1); border: 1px solid #ff8800; border-radius: 8px; padding: 15px; margin: 20px 0; display: flex; align-items: center; gap: 10px; } .download-warning i { color: #ff8800; font-size: 1.2rem; } .download-warning span { color: #ff8800; font-weight: 500; } /* Footer */ .app-footer { margin-top: 60px; padding: 30px 0; border-top: 1px solid #333; text-align: center; } .footer-content { display: flex; flex-direction: column; gap: 15px; align-items: center; } .footer-links { display: flex; gap: 20px; } .footer-links a { color: #ccc; text-decoration: none; transition: color 0.3s ease; } .footer-links a:hover { color: #00ff88; } /* Animations */ @keyframes rainbowMove { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } /* SweetAlert2 Custom Animations */ @keyframes swal2-show { 0% { transform: scale(0.7); opacity: 0; } 45% { transform: scale(1.05); opacity: 1; } 80% { transform: scale(0.95); } 100% { transform: scale(1); } } /* Enhanced button hover effects */ .main-button { position: relative; overflow: hidden; transition: all 0.3s ease; } .main-button::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s; } .main-button:hover::before { left: 100%; } .main-button:active { transform: translateY(1px); } /* Prevent button spam clicking */ .main-button:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; } .main-button:disabled::before { display: none; } /* Custom loading animation for buttons */ @keyframes buttonLoading { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .button-loading::after { content: ''; display: inline-block; width: 16px; height: 16px; border: 2px solid #fff; border-radius: 50%; border-top-color: transparent; animation: buttonLoading 1s linear infinite; margin-left: 8px; } /* Responsive */ @media (max-width: 768px) { body { padding: 15px; } .main-title { font-size: 2.2rem; } .subtitle { font-size: 1.5rem; } .desc-text { font-size: 1.1rem; } .card-content { padding: 20px; } .ip-section { flex-direction: column; text-align: center; gap: 15px; } .ip-display { font-size: 1.3rem; } .token-input-group { flex-direction: column; } .copy-button { width: 100%; } .timer-display { font-size: 2rem; } .user-name { max-width: 80px; } .user-info { padding: 6px 12px 6px 6px; } .user-avatar { width: 30px; height: 30px; } .dropdown-menu { min-width: 160px; } .step { flex-direction: column; text-align: center; } .guide-steps { gap: 15px; } } @media (max-width: 480px) { .main-title { font-size: 1.8rem; } .subtitle { font-size: 1.3rem; } .card-content { padding: 15px; } .main-button { font-size: 1rem; padding: 12px 25px; } .login-prompt .login-button { padding: 8px 15px; font-size: 0.8rem; } .user-details { display: none; } .user-info { padding: 6px; } } /* Debug Panel (Remove in production) */ .debug-panel button { transition: all 0.3s ease; } .debug-panel button:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); } @media (max-width: 768px) { .debug-panel { bottom: 5px !important; left: 5px !important; } .debug-panel button { padding: 6px 8px !important; font-size: 10px !important; } }