Editing: /home/goacom/6club.princedev.shop/main/assets/css/styles.css
/* --- Google Fonts Import --- */ @import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Poppins:wght@300;400;600&display=swap'); /* --- Root Variables (Color Theme) --- */ :root { --bg-dark: #09090b; --primary: #6366f1; /* Indigo Neon */ --secondary: #ec4899; /* Pink Neon */ --glass: rgba(255, 255, 255, 0.03); --border: rgba(255, 255, 255, 0.1); --text: #ffffff; --text-muted: #94a3b8; --error-bg: rgba(220, 38, 38, 0.1); --error-border: rgba(220, 38, 38, 0.2); --error-text: #fca5a5; } /* --- Global Reset --- */ * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; } body { background-color: var(--bg-dark); color: var(--text); min-height: 100vh; display: flex; justify-content: center; align-items: center; overflow: hidden; position: relative; } /* --- Animated Background Blobs --- */ .background-fx { position: absolute; width: 100%; height: 100%; z-index: 0; pointer-events: none; /* Mouse clicks pass through */ } .blob { position: absolute; filter: blur(80px); opacity: 0.6; animation: float 10s infinite alternate; } .blob-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; left: -100px; border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; } .blob-2 { width: 300px; height: 300px; background: var(--secondary); bottom: -50px; right: -50px; border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; animation-delay: -5s; } @keyframes float { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(50px, 50px) rotate(20deg); } } /* --- Glassmorphism Login Card --- */ .login-card { position: relative; z-index: 10; width: 100%; max-width: 400px; padding: 40px; background: rgba(15, 15, 20, 0.6); /* Semi-transparent black */ backdrop-filter: blur(20px); /* The Glass Effect */ -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); animation: cardEntrance 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); } @keyframes cardEntrance { from { opacity: 0; transform: translateY(30px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } } /* --- Header Section --- */ .header { text-align: center; margin-bottom: 30px; } .logo { width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 40px; color: white; margin-bottom: 15px; box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4); } .logo img { width: 100%; height: 100%; border-radius: 20px; object-fit: cover; } h2 { font-family: 'Rajdhani', sans-serif; font-size: 32px; font-weight: 700; margin-bottom: 5px; color: var(--text); } .subtitle { color: var(--text-muted); font-size: 14px; } /* --- Form Elements --- */ .form-group { margin-bottom: 1.5rem; } .input-group { position: relative; margin-bottom: 20px; } .input-field { width: 100%; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--border); padding: 16px 16px 16px 50px; /* Space for icon */ border-radius: 12px; color: white; font-size: 15px; outline: none; transition: all 0.3s; } .input-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-muted); transition: 0.3s; } /* Input Focus Effects */ .input-field:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15); background: rgba(0, 0, 0, 0.5); } .input-field:focus + .input-icon { color: var(--primary); } /* --- Buttons --- */ .btn-login { width: 100%; padding: 16px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border: none; border-radius: 12px; color: white; font-size: 16px; font-weight: 600; cursor: pointer; position: relative; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; margin-top: 10px; } .btn-login:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4); opacity: 0.9; } .btn-login:active { transform: translateY(0); } /* --- Error Message --- */ .alert { background: var(--error-bg); border: 1px solid var(--error-border); color: var(--error-text); padding: 12px; border-radius: 8px; font-size: 13px; text-align: center; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 8px; animation: shake 0.4s ease-in-out; } @keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } } /* --- Footer Area --- */ .footer { margin-top: 30px; text-align: center; border-top: 1px solid var(--border); padding-top: 20px; } .whatsapp-link { color: #4ade80; text-decoration: none; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; transition: 0.3s; } .whatsapp-link:hover { color: #22c55e; text-shadow: 0 0 10px rgba(74, 222, 128, 0.4); transform: scale(1.02); } /* --- Developer Credit --- */ .dev-credit { position: absolute; bottom: 20px; font-family: 'Rajdhani', sans-serif; color: var(--text-muted); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; text-align: center; width: 100%; } .dev-name { color: var(--primary); font-weight: 700; } /* --- Mobile Responsive --- */ @media (max-width: 480px) { .login-card { margin: 20px; padding: 30px 20px; width: 90%; } .blob { opacity: 0.4; /* Reduce blob opacity on mobile to save battery */ } }
💾 Save