222 lines
3.8 KiB
CSS
222 lines
3.8 KiB
CSS
body {
|
|
background: radial-gradient(circle at top, #111, #000);
|
|
color: #0f0;
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
margin: 0;
|
|
height: 100vh;
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
body::before {
|
|
content: "♠ ♥ Welcome to Gambling API ♦ ♣";
|
|
font-size: 24px;
|
|
color: #0f0;
|
|
margin-bottom: 40px;
|
|
display: block;
|
|
text-shadow: 0 0 5px #0f0, 0 0 10px #0f0;
|
|
}
|
|
|
|
button {
|
|
background-color: #0f0;
|
|
color: #000;
|
|
border: none;
|
|
padding: 15px 30px;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
box-shadow: 0 0 10px #0f0, 0 0 5px #0f0 inset;
|
|
transition: background 0.2s ease-in-out, transform 0.2s;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #1f1;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
button.logout {
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 20px;
|
|
padding: 10px 20px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.balance {
|
|
margin-top: 20px;
|
|
color: #0f0;
|
|
text-shadow: 0 0 5px #0f0, 0 0 10px #0f0;
|
|
}
|
|
|
|
.lobby-buttons {
|
|
display: flex;
|
|
gap: 20px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.lobby-room {
|
|
background: rgba(0, 0, 0, 0.7);
|
|
border: 2px solid #0f0;
|
|
border-radius: 12px;
|
|
padding: 30px;
|
|
margin-top: 40px;
|
|
width: 400px;
|
|
text-align: center;
|
|
box-shadow: 0 0 10px #0f0;
|
|
}
|
|
|
|
.lobby-room h2 {
|
|
color: #0f0;
|
|
font-size: 20px;
|
|
margin-bottom: 20px;
|
|
text-shadow: 0 0 5px #0f0;
|
|
}
|
|
|
|
#player-list {
|
|
color: #fff;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
#join-form {
|
|
margin-top: 20px;
|
|
gap: 10px;
|
|
display: none; /* default hidden */
|
|
}
|
|
|
|
#join-form:not(.hidden) {
|
|
display: flex;
|
|
}
|
|
|
|
#join-form input {
|
|
padding: 10px;
|
|
border-radius: 8px;
|
|
border: 2px solid #0f0;
|
|
background-color: #111;
|
|
color: #0f0;
|
|
font-size: 16px;
|
|
box-shadow: 0 0 5px #0f0 inset;
|
|
width: 200px;
|
|
}
|
|
|
|
#join-form button {
|
|
background-color: #0f0;
|
|
color: #000;
|
|
font-weight: bold;
|
|
padding: 10px 20px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.error-message {
|
|
color: red;
|
|
margin-top: 10px;
|
|
font-weight: bold;
|
|
text-shadow: 0 0 3px red;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
#matrix-canvas {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: -1;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background: transparent;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.leaderboard {
|
|
position: absolute;
|
|
top: 100px;
|
|
left: 20px;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
border: 2px solid #0f0;
|
|
border-radius: 10px;
|
|
padding: 20px;
|
|
width: 200px;
|
|
color: #0f0;
|
|
font-family: monospace;
|
|
box-shadow: 0 0 10px #0f0;
|
|
z-index: 1;
|
|
}
|
|
|
|
.leaderboard h3 {
|
|
margin-top: 0;
|
|
font-size: 18px;
|
|
text-align: center;
|
|
text-shadow: 0 0 5px #0f0;
|
|
}
|
|
|
|
.leaderboard ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.leaderboard li {
|
|
margin: 5px 0;
|
|
font-size: 14px;
|
|
text-shadow: 0 0 3px #0f0;
|
|
}
|
|
|
|
.leaderboard li.you {
|
|
font-weight: bold;
|
|
color: #ff0;
|
|
text-shadow: 0 0 5px #ff0;
|
|
}
|
|
|
|
.your-rank {
|
|
margin-top: 10px;
|
|
font-size: 14px;
|
|
color: #fff;
|
|
text-align: center;
|
|
text-shadow: 0 0 3px #0f0;
|
|
}
|
|
|
|
.lobby-room {
|
|
position: relative;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
border: 2px solid #0f0;
|
|
border-radius: 12px;
|
|
padding: 30px;
|
|
margin-top: 40px;
|
|
width: 400px;
|
|
text-align: center;
|
|
box-shadow: 0 0 10px #0f0;
|
|
}
|
|
|
|
.lobby-header {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
}
|
|
|
|
.leave-button {
|
|
background-color: #f00;
|
|
color: #fff;
|
|
font-size: 12px;
|
|
padding: 8px 12px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
box-shadow: 0 0 5px red;
|
|
cursor: pointer;
|
|
transition: background 0.2s, transform 0.2s;
|
|
}
|
|
|
|
.leave-button:hover {
|
|
background-color: #c00;
|
|
transform: scale(1.05);
|
|
} |