Homepage Update Responsive

This commit is contained in:
Jevinca Marvella 2025-12-08 10:10:14 +07:00
parent 1394ce7270
commit a502ad1ed3
3 changed files with 295 additions and 249 deletions

View File

@ -163,31 +163,31 @@ header {
} }
.btn-login { .btn-login {
background: linear-gradient(135deg, #00eaff, #0099ff); background: linear-gradient(135deg, #00eaff, #0099ff);
color: #fff; color: #fff;
font-weight: 900; font-weight: 900;
box-shadow: 0 6px 30px rgba(0, 234, 255, 0.7), 0 0 20px rgba(0, 153, 255, 0.5); box-shadow: 0 6px 30px rgba(0, 234, 255, 0.7), 0 0 20px rgba(0, 153, 255, 0.5);
border: 2px solid rgba(0, 234, 255, 0.5); border: 2px solid rgba(0, 234, 255, 0.5);
position: relative; position: relative;
z-index: 1; z-index: 1;
animation: loginPulse 2s ease-in-out infinite; animation: loginPulse 2s ease-in-out infinite;
} }
@keyframes loginPulse { @keyframes loginPulse {
0%, 100% { 0%, 100% {
box-shadow: 0 6px 30px rgba(0, 234, 255, 0.7), 0 0 20px rgba(0, 153, 255, 0.5); box-shadow: 0 6px 30px rgba(0, 234, 255, 0.7), 0 0 20px rgba(0, 153, 255, 0.5);
} }
50% { 50% {
box-shadow: 0 8px 40px rgba(0, 234, 255, 0.9), 0 0 35px rgba(0, 153, 255, 0.7); box-shadow: 0 8px 40px rgba(0, 234, 255, 0.9), 0 0 35px rgba(0, 153, 255, 0.7);
} }
} }
.btn-login:hover { .btn-login:hover {
background: linear-gradient(135deg, #7d0dde, #00aaff); background: linear-gradient(135deg, #7d0dde, #00aaff);
box-shadow: 0 12px 50px rgb(117, 3, 230), 0 0 50px rgba(0, 153, 255, 0.9); box-shadow: 0 12px 50px rgb(117, 3, 230), 0 0 50px rgba(0, 153, 255, 0.9);
transform: translateY(-5px) scale(1.1); transform: translateY(-5px) scale(1.1);
border-color: rgba(0, 255, 255, 0.8); border-color: rgba(0, 255, 255, 0.8);
} }
/* Hero Section */ /* Hero Section */
.hero { .hero {
@ -361,7 +361,6 @@ header {
box-shadow: 0 12px 50px rgba(255, 215, 0, 0.9), 0 0 40px rgba(255, 170, 0, 0.7); box-shadow: 0 12px 50px rgba(255, 215, 0, 0.9), 0 0 40px rgba(255, 170, 0, 0.7);
} }
/* Floating Decoration Elements */ /* Floating Decoration Elements */
.hero::before { .hero::before {
content: ''; content: '';
@ -410,316 +409,284 @@ header {
} }
/* =========================== /* ===========================
LOGOUT BUTTON STYLES LOGOUT BUTTON STYLES
=========================== */ =========================== */
/* Logout Button */
.btn-logout { .btn-logout {
background: linear-gradient(135deg, #ff0066, #cc0033) !important; background: linear-gradient(135deg, #ff0066, #cc0033) !important;
color: #fff !important; color: #fff !important;
font-weight: 900; font-weight: 900;
box-shadow: 0 6px 30px rgba(255, 0, 102, 0.7), 0 0 20px rgba(204, 0, 51, 0.5); box-shadow: 0 6px 30px rgba(255, 0, 102, 0.7), 0 0 20px rgba(204, 0, 51, 0.5);
border: 2px solid rgba(255, 0, 102, 0.5); border: 2px solid rgba(255, 0, 102, 0.5);
position: relative; position: relative;
z-index: 1; z-index: 1;
animation: logoutPulse 2s ease-in-out infinite; animation: logoutPulse 2s ease-in-out infinite;
} }
@keyframes logoutPulse { @keyframes logoutPulse {
0%, 100% { 0%, 100% {
box-shadow: 0 6px 30px rgba(255, 0, 102, 0.7), 0 0 20px rgba(204, 0, 51, 0.5); box-shadow: 0 6px 30px rgba(255, 0, 102, 0.7), 0 0 20px rgba(204, 0, 51, 0.5);
} }
50% { 50% {
box-shadow: 0 8px 40px rgba(255, 0, 102, 0.9), 0 0 35px rgba(204, 0, 51, 0.7); box-shadow: 0 8px 40px rgba(255, 0, 102, 0.9), 0 0 35px rgba(204, 0, 51, 0.7);
} }
} }
.btn-logout:hover { .btn-logout:hover {
background: linear-gradient(135deg, #ff0088, #dd0044) !important; background: linear-gradient(135deg, #ff0088, #dd0044) !important;
box-shadow: 0 12px 50px rgba(255, 0, 102, 1), 0 0 50px rgba(204, 0, 51, 0.9); box-shadow: 0 12px 50px rgba(255, 0, 102, 1), 0 0 50px rgba(204, 0, 51, 0.9);
transform: translateY(-5px) scale(1.1); transform: translateY(-5px) scale(1.1);
border-color: rgba(255, 0, 102, 0.8); border-color: rgba(255, 0, 102, 0.8);
} }
/* =========================== /* ===========================
LOGOUT CONFIRMATION MODAL LOGOUT CONFIRMATION MODAL
=========================== */ =========================== */
.logout-overlay { .logout-overlay {
position: fixed; position: fixed;
inset: 0; inset: 0;
background: rgba(0, 0, 0, 0.85); background: rgba(0, 0, 0, 0.85);
backdrop-filter: blur(12px); backdrop-filter: blur(12px);
display: none; display: none;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
z-index: 9999; z-index: 9999;
opacity: 0; opacity: 0;
transition: opacity 0.3s ease; transition: opacity 0.3s ease;
} }
.logout-overlay.active { .logout-overlay.active {
opacity: 1; opacity: 1;
} }
.logout-modal { .logout-modal {
background: linear-gradient(145deg, rgba(30, 0, 50, 0.98), rgba(45, 0, 70, 0.98)); background: linear-gradient(145deg, rgba(30, 0, 50, 0.98), rgba(45, 0, 70, 0.98));
backdrop-filter: blur(30px); backdrop-filter: blur(30px);
border: 3px solid rgba(255, 0, 102, 0.5); border: 3px solid rgba(255, 0, 102, 0.5);
border-radius: 28px; border-radius: 28px;
padding: 50px 45px 40px; padding: 50px 45px 40px;
max-width: 440px; max-width: 440px;
width: 90%; width: 90%;
text-align: center; text-align: center;
box-shadow: box-shadow:
0 40px 100px rgba(0, 0, 0, 0.8), 0 40px 100px rgba(0, 0, 0, 0.8),
0 0 80px rgba(255, 0, 102, 0.4), 0 0 80px rgba(255, 0, 102, 0.4),
inset 0 2px 60px rgba(255, 0, 102, 0.08); inset 0 2px 60px rgba(255, 0, 102, 0.08);
animation: modalSlideUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); animation: modalSlideUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
} }
@keyframes modalSlideUp { @keyframes modalSlideUp {
from { from {
opacity: 0; opacity: 0;
transform: translateY(50px) scale(0.9); transform: translateY(50px) scale(0.9);
} }
to { to {
opacity: 1; opacity: 1;
transform: translateY(0) scale(1); transform: translateY(0) scale(1);
} }
} }
.logout-icon { .logout-icon {
width: 80px; width: 80px;
height: 80px; height: 80px;
margin: 0 auto 25px; margin: 0 auto 25px;
background: linear-gradient(135deg, rgba(255, 0, 102, 0.2), rgba(204, 0, 51, 0.2)); background: linear-gradient(135deg, rgba(255, 0, 102, 0.2), rgba(204, 0, 51, 0.2));
border: 3px solid rgba(255, 0, 102, 0.6); border: 3px solid rgba(255, 0, 102, 0.6);
border-radius: 50%; border-radius: 50%;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
box-shadow: box-shadow:
0 0 30px rgba(255, 0, 102, 0.4), 0 0 30px rgba(255, 0, 102, 0.4),
inset 0 0 20px rgba(255, 0, 102, 0.1); inset 0 0 20px rgba(255, 0, 102, 0.1);
animation: iconPulse 2s ease-in-out infinite; animation: iconPulse 2s ease-in-out infinite;
} }
@keyframes iconPulse { @keyframes iconPulse {
0%, 100% { 0%, 100% {
transform: scale(1); transform: scale(1);
box-shadow: 0 0 30px rgba(255, 0, 102, 0.4); box-shadow: 0 0 30px rgba(255, 0, 102, 0.4);
} }
50% { 50% {
transform: scale(1.05); transform: scale(1.05);
box-shadow: 0 0 45px rgba(255, 0, 102, 0.6); box-shadow: 0 0 45px rgba(255, 0, 102, 0.6);
} }
} }
.logout-icon svg { .logout-icon svg {
width: 40px; width: 40px;
height: 40px; height: 40px;
color: #ff0066; color: #ff0066;
filter: drop-shadow(0 0 10px rgba(255, 0, 102, 0.6)); filter: drop-shadow(0 0 10px rgba(255, 0, 102, 0.6));
} }
.logout-title { .logout-title {
font-size: 28px; font-size: 28px;
font-weight: 900; font-weight: 900;
font-family: 'Orbitron', sans-serif; font-family: 'Orbitron', sans-serif;
background: linear-gradient(135deg, #ff0066 0%, #ff0088 50%, #ff0066 100%); background: linear-gradient(135deg, #ff0066 0%, #ff0088 50%, #ff0066 100%);
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
background-clip: text; background-clip: text;
margin-bottom: 15px; margin-bottom: 15px;
letter-spacing: 2px; letter-spacing: 2px;
filter: drop-shadow(0 0 20px rgba(255, 0, 102, 0.5)); filter: drop-shadow(0 0 20px rgba(255, 0, 102, 0.5));
} }
.logout-message { .logout-message {
color: rgba(255, 255, 255, 0.8); color: rgba(255, 255, 255, 0.8);
font-size: 16px; font-size: 16px;
margin-bottom: 35px; margin-bottom: 35px;
line-height: 1.6; line-height: 1.6;
font-family: 'Exo 2', sans-serif; font-family: 'Exo 2', sans-serif;
} }
.logout-buttons { .logout-buttons {
display: flex; display: flex;
gap: 15px; gap: 15px;
justify-content: center; justify-content: center;
} }
.btn-logout-cancel, .btn-logout-cancel,
.btn-logout-confirm { .btn-logout-confirm {
padding: 14px 32px; padding: 14px 32px;
border: none; border: none;
border-radius: 12px; border-radius: 12px;
font-weight: 800; font-weight: 800;
font-size: 15px; font-size: 15px;
font-family: 'Orbitron', sans-serif; font-family: 'Orbitron', sans-serif;
cursor: pointer; cursor: pointer;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 2px; letter-spacing: 2px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
} }
.btn-logout-cancel { .btn-logout-cancel {
background: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.9); color: rgba(255, 255, 255, 0.9);
border: 2px solid rgba(255, 255, 255, 0.3); border: 2px solid rgba(255, 255, 255, 0.3);
} }
.btn-logout-cancel:hover { .btn-logout-cancel:hover {
background: rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.15);
border-color: rgba(255, 255, 255, 0.5); border-color: rgba(255, 255, 255, 0.5);
transform: translateY(-2px); transform: translateY(-2px);
box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2); box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
} }
.btn-logout-confirm { .btn-logout-confirm {
background: linear-gradient(135deg, #ff0066, #cc0033); background: linear-gradient(135deg, #ff0066, #cc0033);
color: #fff; color: #fff;
border: 2px solid rgba(255, 0, 102, 0.6); border: 2px solid rgba(255, 0, 102, 0.6);
box-shadow: 0 4px 20px rgba(255, 0, 102, 0.5); box-shadow: 0 4px 20px rgba(255, 0, 102, 0.5);
} }
.btn-logout-confirm:hover { .btn-logout-confirm:hover {
background: linear-gradient(135deg, #ff0088, #dd0044); background: linear-gradient(135deg, #ff0088, #dd0044);
transform: translateY(-2px); transform: translateY(-2px);
box-shadow: 0 8px 30px rgba(255, 0, 102, 0.7); box-shadow: 0 8px 30px rgba(255, 0, 102, 0.7);
border-color: rgba(255, 0, 102, 0.9); border-color: rgba(255, 0, 102, 0.9);
} }
/* =========================== /* ===========================
LOGOUT SUCCESS MODAL LOGOUT SUCCESS MODAL
=========================== */ =========================== */
.logout-success-overlay { .logout-success-overlay {
position: fixed; position: fixed;
inset: 0; inset: 0;
background: rgba(0, 0, 0, 0.9); background: rgba(0, 0, 0, 0.9);
backdrop-filter: blur(15px); backdrop-filter: blur(15px);
display: none; display: none;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
z-index: 10000; z-index: 10000;
opacity: 0; opacity: 0;
transition: opacity 0.3s ease; transition: opacity 0.3s ease;
} }
.logout-success-overlay.active { .logout-success-overlay.active {
opacity: 1; opacity: 1;
} }
.logout-success-modal { .logout-success-modal {
background: linear-gradient(145deg, rgba(20, 0, 40, 0.98), rgba(35, 0, 60, 0.98)); background: linear-gradient(145deg, rgba(20, 0, 40, 0.98), rgba(35, 0, 60, 0.98));
backdrop-filter: blur(30px); backdrop-filter: blur(30px);
border: 3px solid rgba(0, 255, 136, 0.5); border: 3px solid rgba(0, 255, 136, 0.5);
border-radius: 28px; border-radius: 28px;
padding: 50px 45px; padding: 50px 45px;
max-width: 400px; max-width: 400px;
width: 90%; width: 90%;
text-align: center; text-align: center;
box-shadow: box-shadow:
0 40px 100px rgba(0, 0, 0, 0.8), 0 40px 100px rgba(0, 0, 0, 0.8),
0 0 80px rgba(0, 255, 136, 0.4), 0 0 80px rgba(0, 255, 136, 0.4),
inset 0 2px 60px rgba(0, 255, 136, 0.08); inset 0 2px 60px rgba(0, 255, 136, 0.08);
animation: successBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55); animation: successBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
} }
@keyframes successBounce { @keyframes successBounce {
0% { 0% {
opacity: 0; opacity: 0;
transform: scale(0.3) rotate(-10deg); transform: scale(0.3) rotate(-10deg);
} }
50% { 50% {
transform: scale(1.1) rotate(5deg); transform: scale(1.1) rotate(5deg);
} }
100% { 100% {
opacity: 1; opacity: 1;
transform: scale(1) rotate(0deg); transform: scale(1) rotate(0deg);
} }
} }
.success-icon { .success-icon {
width: 90px; width: 90px;
height: 90px; height: 90px;
margin: 0 auto 25px; margin: 0 auto 25px;
background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 200, 100, 0.2)); background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 200, 100, 0.2));
border: 3px solid rgba(0, 255, 136, 0.6); border: 3px solid rgba(0, 255, 136, 0.6);
border-radius: 50%; border-radius: 50%;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
box-shadow: box-shadow:
0 0 40px rgba(0, 255, 136, 0.5), 0 0 40px rgba(0, 255, 136, 0.5),
inset 0 0 25px rgba(0, 255, 136, 0.1); inset 0 0 25px rgba(0, 255, 136, 0.1);
animation: successIconPulse 1.5s ease-in-out infinite; animation: successIconPulse 1.5s ease-in-out infinite;
} }
@keyframes successIconPulse { @keyframes successIconPulse {
0%, 100% { 0%, 100% {
transform: scale(1); transform: scale(1);
box-shadow: 0 0 40px rgba(0, 255, 136, 0.5); box-shadow: 0 0 40px rgba(0, 255, 136, 0.5);
} }
50% { 50% {
transform: scale(1.08); transform: scale(1.08);
box-shadow: 0 0 60px rgba(0, 255, 136, 0.7); box-shadow: 0 0 60px rgba(0, 255, 136, 0.7);
} }
} }
.success-icon svg { .success-icon svg {
width: 50px; width: 50px;
height: 50px; height: 50px;
color: #00ff88; color: #00ff88;
filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.8)); filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.8));
} }
.success-title { .success-title {
font-size: 26px; font-size: 26px;
font-weight: 900; font-weight: 900;
font-family: 'Orbitron', sans-serif; font-family: 'Orbitron', sans-serif;
background: linear-gradient(135deg, #00ff88 0%, #00cc66 50%, #00ff88 100%); background: linear-gradient(135deg, #00ff88 0%, #00cc66 50%, #00ff88 100%);
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
background-clip: text; background-clip: text;
margin-bottom: 12px; margin-bottom: 12px;
letter-spacing: 2px; letter-spacing: 2px;
filter: drop-shadow(0 0 25px rgba(0, 255, 136, 0.5)); filter: drop-shadow(0 0 25px rgba(0, 255, 136, 0.5));
} }
.success-message { .success-message {
color: rgba(255, 255, 255, 0.85); color: rgba(255, 255, 255, 0.85);
font-size: 15px; font-size: 15px;
line-height: 1.6; line-height: 1.6;
font-family: 'Exo 2', sans-serif; font-family: 'Exo 2', sans-serif;
}
/* ===========================
RESPONSIVE FOR LOGOUT MODALS
=========================== */
@media (max-width: 480px) {
.logout-modal,
.logout-success-modal {
padding: 40px 30px;
}
.logout-title,
.success-title {
font-size: 24px;
}
.logout-message,
.success-message {
font-size: 14px;
}
.logout-buttons {
flex-direction: column;
gap: 12px;
}
.btn-logout-cancel,
.btn-logout-confirm {
width: 100%;
}
} }

View File

@ -6,6 +6,7 @@
<title>Homepage</title> <title>Homepage</title>
<link rel="stylesheet" href="Homepage.css"> <link rel="stylesheet" href="Homepage.css">
<link rel="stylesheet" href="Homepage_Credit.css"> <link rel="stylesheet" href="Homepage_Credit.css">
<link rel="stylesheet" href="Homepage_Responsive.css">
</head> </head>
<body> <body>
<!-- Neon Particles Background --> <!-- Neon Particles Background -->

78
Homepage_Responsive.css Normal file
View File

@ -0,0 +1,78 @@
/* RESPONSIVE */
@media (max-width: 480px) {
/* Header */
header {
padding: 18px 20px;
flex-direction: column;
gap: 12px;
}
.logo {
font-size: 24px;
letter-spacing: 2px;
}
.btn-login {
padding: 12px 28px;
font-size: 14px;
letter-spacing: 2px;
}
/* Hero Section - CENTERED & BALANCED */
.hero {
padding: 50px 15px;
display: flex;
flex-direction: column;
justify-content: center;
min-height: calc(100vh - 120px);
}
.hero-title {
font-size: 60px;
letter-spacing: 5px;
margin-bottom: 20px;
}
.hero-subtitle {
font-size: 14px;
letter-spacing: 2px;
margin-bottom: 35px;
}
.btn-cta {
padding: 15px 32px;
font-size: 15px;
letter-spacing: 2px;
}
.cta-buttons {
gap: 15px;
}
/* Logout Modal Responsive */
.logout-modal,
.logout-success-modal {
padding: 40px 30px;
}
.logout-title,
.success-title {
font-size: 24px;
}
.logout-message,
.success-message {
font-size: 14px;
}
.logout-buttons {
flex-direction: column;
gap: 12px;
}
.btn-logout-cancel,
.btn-logout-confirm {
width: 100%;
}
}