This commit is contained in:
Evelyn Sucitro 2025-12-17 21:02:43 +07:00
parent a06013cd19
commit dcdc914e25
2 changed files with 1 additions and 11 deletions

View File

@ -82,10 +82,6 @@
font-weight: 700; font-weight: 700;
} }
/* ==========================
GAME OVER MODAL - WITH ICON BUTTONS
========================== */
.game-over-overlay { .game-over-overlay {
position: fixed; position: fixed;
inset: 0; inset: 0;
@ -131,7 +127,6 @@
} }
} }
/* Close Button (X) - Top Right */
.game-over-close { .game-over-close {
position: absolute; position: absolute;
top: 18px; top: 18px;
@ -171,7 +166,6 @@
transform: rotate(90deg) scale(0.95); transform: rotate(90deg) scale(0.95);
} }
/* Title - Gradient Pink/Red */
.game-over-title { .game-over-title {
font-size: clamp(32px, 5vw, 42px); font-size: clamp(32px, 5vw, 42px);
font-weight: 900; font-weight: 900;
@ -186,7 +180,6 @@
line-height: 1.2; line-height: 1.2;
} }
/* Subtitle */
.game-over-subtitle { .game-over-subtitle {
font-size: 14px; font-size: 14px;
color: rgba(255, 255, 255, 0.5); color: rgba(255, 255, 255, 0.5);
@ -196,7 +189,6 @@
text-transform: uppercase; text-transform: uppercase;
} }
/* Score Section - PURPLE/VIOLET gradient */
.game-over-score { .game-over-score {
margin: 0 0 38px; margin: 0 0 38px;
} }

View File

@ -17,9 +17,7 @@ $input = json_decode(file_get_contents('php://input'), true);
$username = $input['username'] ?? ''; $username = $input['username'] ?? '';
$password = $input['password'] ?? ''; $password = $input['password'] ?? '';
$stmt = $conn->prepare( $stmt = $conn->prepare("SELECT id, password FROM users WHERE username = ?");
"SELECT id, password FROM users WHERE username = ?"
);
$stmt->bind_param("s", $username); $stmt->bind_param("s", $username);
$stmt->execute(); $stmt->execute();
$stmt->store_result(); $stmt->store_result();