diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0b84df0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.html
\ No newline at end of file
diff --git a/Bagian menu/Ace Spade.png b/Bagian menu/Ace Spade.png
deleted file mode 100644
index 06e48da..0000000
Binary files a/Bagian menu/Ace Spade.png and /dev/null differ
diff --git a/Bagian menu/Bagian menu.html b/Bagian menu/Bagian menu.html
deleted file mode 100644
index ad94805..0000000
--- a/Bagian menu/Bagian menu.html
+++ /dev/null
@@ -1,317 +0,0 @@
-
-
-
-
-
- Hit & Run
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Bagian menu/King Hearts.jpg b/Bagian menu/King Hearts.jpg
deleted file mode 100644
index c3c74ba..0000000
Binary files a/Bagian menu/King Hearts.jpg and /dev/null differ
diff --git a/Login.html b/Login.html
deleted file mode 100644
index 7177e9e..0000000
--- a/Login.html
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
- Hit or Run — Login
-
-
-
-
-
🂡
-
Login — Hit or Run
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Regis.html b/Regis.html
deleted file mode 100644
index ab7565e..0000000
--- a/Regis.html
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
-
- Hit or Run — Register
-
-
-
-
-
Register — Hit or Run
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/dump.txt b/dump.txt
deleted file mode 100644
index 00d4023..0000000
--- a/dump.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-Welcome !
-
-Logout
diff --git a/ingame.html b/ingame.html
deleted file mode 100644
index ba9c7eb..0000000
--- a/ingame.html
+++ /dev/null
@@ -1,789 +0,0 @@
-
-
-
-
-
-Hit or Run — Final
-
-
-
-
-
-
-
-
-
-
DECK
-
-
-
-
-
DEALER
-
-
Total Dealer: 0
-
-
-
-
-
BALANCE: 5000
-
CURRENT BET: 0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PLACE YOUR BET
-
-
Balance: $5000
-
Min Bet: $10
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/public/assets/css/style.css b/public/assets/css/style.css
index a9f3693..0f40ee5 100644
--- a/public/assets/css/style.css
+++ b/public/assets/css/style.css
@@ -134,3 +134,118 @@ footer{
color:rgba(255,255,255,0.45);
text-align:center
}
+
+.userbox {
+ display: flex;
+ align-items: center;
+ gap: 14px;
+ margin-bottom: 20px;
+ background: rgba(255, 255, 255, 0.04);
+ padding: 14px;
+ border-radius: 14px;
+ border: 1px solid rgba(255, 255, 255, 0.06);
+ box-shadow: 0 8px 24px rgba(2, 6, 23, 0.45);
+}
+
+.userbox .avatar {
+ width: 58px;
+ height: 58px;
+ border-radius: 50%;
+ background: linear-gradient(180deg, #0e3b33, #0b2a2f);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 22px;
+ font-weight: 800;
+ color: var(--accent);
+ border: 2px solid rgba(246,198,79,0.4);
+ box-shadow: 0 6px 14px rgba(0,0,0,0.5);
+}
+
+.userbox .info {
+ display: flex;
+ flex-direction: column;
+ line-height: 1.25;
+}
+
+.userbox .name {
+ font-weight: 800;
+ font-size: 24px;
+}
+
+.userbox .saldo {
+ margin-top: 4px;
+ font-size: 18px;
+ color: var(--muted);
+}
+
+.userbox .saldo span {
+ color: var(--accent);
+ font-weight: 700;
+}
+
+.userbox .status {
+ margin-top: 2px;
+ font-size: 16px;
+ color: var(--muted);
+}
+
+.gamename {
+ font-size: 36px;
+}
+
+.num-box {
+ display: inline-flex;
+ align-items: center;
+ border: 1px solid #444;
+ border-radius: 12px;
+ overflow: hidden;
+ background: #1e1e1e;
+ height: 50px;
+}
+
+.num-box input {
+ height: 50px;
+ width: 100px;
+ font-size: 18px;
+ background: transparent;
+ border: none;
+ color: white;
+ text-align: center;
+ outline: none;
+ line-height: 50px; /* base centering */
+ display: flex; /* optical fix */
+ align-items: center; /* optical fix */
+ justify-content: center; /* ensures centered horizontally */
+}
+
+.num-box input::-webkit-inner-spin-button,
+.num-box input::-webkit-outer-spin-button {
+ -webkit-appearance: none;
+}
+
+.num-box .btn {
+ width: 50px;
+ height: 50px;
+ border: none;
+ background: #2b2b2b;
+ color: white;
+ font-size: 22px;
+ cursor: pointer;
+
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+.num-box .btn:hover {
+ background: #3a3a3a;
+}
+
+.num-box .btn:active {
+ background: #555;
+}
+
+.plus, .minus {
+ margin-top: 0 !important;
+}
\ No newline at end of file
diff --git a/public/assets/js/menu.js b/public/assets/js/menu.js
new file mode 100644
index 0000000..6373640
--- /dev/null
+++ b/public/assets/js/menu.js
@@ -0,0 +1,11 @@
+document.querySelector(".plus").addEventListener("click", () => {
+ const input = document.querySelector(".num-box input");
+ const step = Number(input.step) || 1;
+ input.value = Number(input.value) + step;
+});
+
+document.querySelector(".minus").addEventListener("click", () => {
+ const input = document.querySelector(".num-box input");
+ const step = Number(input.step) || 1;
+ input.value = Math.max(1000, Number(input.value) - step);
+});
\ No newline at end of file
diff --git a/public/index.php b/public/index.php
new file mode 100644
index 0000000..65b4ba6
--- /dev/null
+++ b/public/index.php
@@ -0,0 +1,57 @@
+
+
+Logout
+
+?>
+
+
+
+
+
+ Hit & Run
+
+
+
+
+
+
+ Hit & Run
+ Hit or you Lose.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
P
+
+
+
+
Saldo:
+
Status: Masih Pemula Banghh....
+
+
+
+
+
+
+
+
+
diff --git a/public/signin.php b/public/signin.php
index 5abdafb..60ced52 100644
--- a/public/signin.php
+++ b/public/signin.php
@@ -1,5 +1,3 @@
-
-
fetch_assoc();
if (password_verify($password, $user["password"])) {
- $_SESSION["username"] = $user["username"];
+ $_SESSION["uid"] = $user["uid"];
header("Location: home.php");
exit;
} else {