* { margin: 0; padding: 0; box-sizing: border-box; } :root { --primary: #ff3333; --bg: #0a0a0a; --bg-secondary: #1a1a1a; --text: #ffffff; --text-secondary: #cccccc; --border: #333333; } body { background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 100%); color: #ffffff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; line-height: 1.6; min-height: 100vh; overflow-x: hidden; } .container { max-width: 1200px; margin: 0 auto; padding: 20px; } .header { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid #333; margin-bottom: 40px; animation: slideDown 0.5s ease; } .logo { font-size: 28px; font-weight: bold; background: linear-gradient(135deg, #ff3333, #ff6666); -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: glow 3s ease-in-out infinite; } .nav { display: flex; gap: 30px; } .nav a { color: #cccccc; text-decoration: none; transition: all 0.3s ease; font-size: 14px; font-weight: 500; } .nav a:hover { color: #ff3333; transform: translateY(-2px); } .section { opacity: 0; display: none; animation: fadeIn 0.5s ease forwards; } .section.active { display: block; opacity: 1; } @keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes glow { 0%, 100% { text-shadow: 0 0 10px rgba(255, 51, 51, 0.5); } 50% { text-shadow: 0 0 20px rgba(255, 51, 51, 0.8); } } .hero { text-align: center; padding: 80px 20px; animation: slideUp 0.6s ease; } .hero h1 { font-size: 48px; margin-bottom: 20px; background: linear-gradient(135deg, #ff3333, #ff6666); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .hero p { font-size: 18px; color: #cccccc; margin-bottom: 30px; } #features h2 { text-align: center; font-size: 36px; margin-bottom: 40px; } .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 40px; } .feature-card { background: linear-gradient(135deg, #1a1a1a, rgba(255, 51, 51, 0.1)); border: 1px solid #333; border-radius: 8px; padding: 30px 20px; text-align: center; transition: all 0.3s ease; animation: slideUp 0.6s ease; } .feature-card:hover { transform: translateY(-10px); border-color: #ff3333; box-shadow: 0 10px 30px rgba(255, 51, 51, 0.2); } .feature-icon { font-size: 40px; margin-bottom: 15px; } .feature-card h3 { margin-bottom: 10px; color: #ff3333; } .btn-primary { background: #ff3333; color: white; border: none; padding: 12px 30px; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: 600; transition: all 0.3s ease; } .btn-primary:hover { background: #ff5555; transform: scale(1.02); box-shadow: 0 5px 15px rgba(255, 51, 51, 0.4); } .btn-secondary { background: #1a1a1a; color: #ff3333; border: 2px solid #ff3333; padding: 10px 20px; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: 600; transition: all 0.3s ease; } .btn-secondary:hover { background: #ff3333; color: white; transform: scale(1.02); } .auth-container { max-width: 400px; margin: 60px auto; background: linear-gradient(135deg, #1a1a1a, rgba(255, 51, 51, 0.05)); border: 1px solid #333; border-radius: 8px; padding: 40px; animation: slideUp 0.6s ease; } .auth-container h2 { text-align: center; margin-bottom: 30px; color: #ff3333; } .auth-container form { display: flex; flex-direction: column; gap: 15px; } .auth-container input { background: #0a0a0a; border: 1px solid #333; color: #ffffff; padding: 12px 15px; border-radius: 4px; font-size: 14px; transition: all 0.3s ease; } .auth-container input:focus { outline: none; border-color: #ff3333; box-shadow: 0 0 10px rgba(255, 51, 51, 0.3); } .auth-container p { text-align: center; color: #cccccc; font-size: 14px; } .auth-container a { color: #ff3333; text-decoration: none; } .auth-container a:hover { text-decoration: underline; } .dashboard { max-width: 900px; margin: 0 auto; animation: slideUp 0.6s ease; } .dashboard h2 { margin-bottom: 30px; color: #ff3333; } .user-info { background: #1a1a1a; border-left: 4px solid #ff3333; padding: 15px 20px; margin-bottom: 30px; border-radius: 4px; } .dashboard-section { background: linear-gradient(135deg, #1a1a1a, rgba(255, 51, 51, 0.05)); border: 1px solid #333; border-radius: 8px; padding: 25px; margin-bottom: 25px; } .dashboard-section h3 { margin-bottom: 20px; color: #ff3333; } .vpn-key-container { display: flex; flex-direction: column; gap: 15px; } .vpn-key-text { background: #0a0a0a; border: 1px solid #333; padding: 15px; border-radius: 4px; font-family: "Courier New", monospace; font-size: 13px; word-break: break-all; white-space: pre-wrap; max-height: 200px; overflow-y: auto; color: #ff3333; } .key-buttons { display: flex; gap: 10px; } .key-buttons button { flex: 1; } .access-key-input { background: #0a0a0a; border: 1px solid #333; color: #ffffff; padding: 12px 15px; border-radius: 4px; width: 100%; margin-bottom: 10px; font-size: 14px; } .access-key-input:focus { outline: none; border-color: #ff3333; } #accessKeyStatus { font-size: 14px; margin-top: 10px; } .admin-panel { max-width: 1000px; margin: 0 auto; animation: slideUp 0.6s ease; } .admin-panel h2 { margin-bottom: 30px; color: #ff3333; } .admin-tabs { display: flex; gap: 10px; margin-bottom: 30px; border-bottom: 1px solid #333; } .tab-btn { background: none; border: none; color: #cccccc; padding: 12px 20px; cursor: pointer; border-bottom: 3px solid transparent; transition: all 0.3s ease; font-weight: 600; } .tab-btn.active { color: #ff3333; border-bottom-color: #ff3333; } .tab-btn:hover { color: #ff3333; } .tab-content { display: none; animation: fadeIn 0.3s ease; } .tab-content.active { display: block; } .form-section { background: #1a1a1a; border: 1px solid #333; border-radius: 8px; padding: 20px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 10px; } .form-section textarea, .form-section input, .form-section select { background: #0a0a0a; border: 1px solid #333; color: #ffffff; padding: 10px 12px; border-radius: 4px; font-size: 14px; } .form-section textarea:focus, .form-section input:focus, .form-section select:focus { outline: none; border-color: #ff3333; } table { width: 100%; border-collapse: collapse; background: #1a1a1a; border-radius: 8px; overflow: hidden; margin-bottom: 20px; } thead { background: rgba(255, 51, 51, 0.1); border-bottom: 2px solid #333; } th { padding: 15px; text-align: left; font-weight: 600; color: #ff3333; } td { padding: 12px 15px; border-bottom: 1px solid #333; } tr:hover { background: rgba(255, 51, 51, 0.05); } .modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); animation: fadeIn 0.3s ease; } .modal.show { display: flex; align-items: center; justify-content: center; } .modal-content { background: #1a1a1a; border: 1px solid #333; border-radius: 8px; padding: 40px; max-width: 500px; position: relative; animation: slideUp 0.3s ease; } .close { position: absolute; right: 20px; top: 15px; font-size: 28px; font-weight: bold; color: #cccccc; cursor: pointer; transition: all 0.3s ease; } .close:hover { color: #ff3333; transform: rotate(90deg); } #qrContainer { text-align: center; margin: 30px 0; padding: 20px; background: #0a0a0a; border-radius: 4px; } #qrContainer canvas { border: 2px solid #333; border-radius: 4px; } .message { position: fixed; bottom: 20px; left: 20px; background: #22c55e; color: white; padding: 15px 20px; border-radius: 4px; display: none; z-index: 2000; animation: slideUp 0.3s ease; max-width: 300px; } .message.show { display: block; } .message.error { background: #ef4444; } @media (max-width: 768px) { .header { flex-direction: column; gap: 15px; } .nav { gap: 15px; } .hero h1 { font-size: 32px; } .features-grid { grid-template-columns: 1fr; } table { font-size: 12px; } th, td { padding: 8px 10px; } .key-buttons { flex-direction: column; } .admin-tabs { flex-direction: column; } }