Files
2025-07-31 10:46:55 +07:00

817 lines
14 KiB
CSS

/* Reset and base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.bar-icon {
height: 20px;
}
body {
font-family: 'Courier', monospace;
background-color: #1a1a1a;
color: #e6f4e6;
min-height: 100vh;
position: relative;
}
/* Modal styles */
.modal {
display: none;
position: fixed;
z-index: 9999;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.6);
}
.modal-content {
background-color: #24453D;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%); padding: 20px;
border-radius: 12px;
width: 90%;
max-width: 600px;
text-align: center;
color: #e6f4e6;
position: relative;
border: #05A38C 5px solid;
font-family: 'Jersey 15', cursive;
font-size: 20px;
line-height: 20px;
}
.modal-donate {
background-color: #24453D;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%); padding: 20px;
border-radius: 12px;
width: 90%;
max-width: 300px;
text-align: center;
color: #e6f4e6;
position: relative;
border: #05A38C 5px solid;
font-family: 'Jersey 15', cursive;
font-size: 20px;
line-height: 20px;
}
.back-btn {
background: linear-gradient(135deg, #057f6d, #024d42);
border: none;
border-radius: 12px;
padding: 8px;
cursor: pointer;
transition: all 0.3s ease;
text-align: center;
}
.next-btn {
margin-top: 10px;
background: linear-gradient(135deg, #057f6d, #024d42);
border: #05A38C 5px solid;
border-radius: 12px;
padding: 12px 12px;
cursor: pointer;
transition: all 0.3s ease;
text-align: center;
min-width: 200px;
width: 100%;
}
.next-text {
font-family: 'Jersey 15', cursive;
font-size: 16px;
line-height: 16px;
color: #e6f4e6;
}
.close-button:hover {
color: #000;
}
#result {
width: 100%;
height: 300px;
margin: 20px 0;
border-radius: 8px;
border: 2px solid #ddd;
}
/* Main container and background */
.main-container {
width: 100%;
min-height: 100vh;
background-color: #1a1a1a;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
}
.background-layer {
position: absolute;
bottom: 0;
width: 100%;
height: 410px;
background-image: url('../images/img_layer_1.png');
background-size: cover;
background-position: center;
z-index: 1;
}
.content-wrapper {
position: relative;
z-index: 2;
width: 100%;
display: flex;
flex-direction: column;
}
.gradient-overlay {
background: linear-gradient(0deg, #1a1a1a00 0%, #1a1a1a 50%, #1a1a1a00 100%);
width: 100%;
display: flex;
flex-direction: column;
gap: 32px;
align-items: center;
padding: 16px;
}
/* Header styles */
.header {
width: 100%;
max-width: 1440px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px;
background: rgba(26, 26, 26, 0.8);
backdrop-filter: blur(10px);
}
.header-left {
display: flex;
gap: 6px;
align-items: center;
}
.header-icon {
width: 32px;
height: 24px;
background-size: contain;
background-repeat: no-repeat;
}
.header-center {
display: flex;
gap: 8px;
align-items: center;
}
.logo-icon {
width: 32px;
height: 32px;
background-size: contain;
background-repeat: no-repeat;
}
.logo-text {
width: 80px;
height: 36px;
background-size: contain;
background-repeat: no-repeat;
}
.header-right {
display: flex;
gap: 16px;
align-items: center;
}
.balance-text {
font-family: 'Jersey 15', cursive;
font-size: 16px;
line-height: 16px;
color: #e6f4e6;
}
.connect-wallet {
display: flex;
align-items: center;
padding: 8px 12px;
background: rgba(93, 213, 162, 0.2);
border: 2px solid #5dd5a2;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
}
.connect-wallet:hover {
background: rgba(93, 213, 162, 0.3);
transform: scale(1.05);
}
.wallet-text {
font-family: 'Jersey 15', cursive;
font-size: 16px;
line-height: 16px;
color: #e6f4e6;
margin-left: 8px;
}
/* Game section */
.game-section {
width: 100%;
max-width: 1564px;
margin: 0 auto;
background-color: #1d2c29;
border: 8px solid #24453a;
border-radius: 24px;
padding: 16px;
margin-bottom: 100px;
}
.score-header {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #1d2c29;
border: 8px solid #24453a;
border-radius: 24px 24px 0px 0px;
padding: 12px 16px;
margin: -24px -24px 0 -24px;
}
.score-text {
font-family: 'Jersey 15', cursive;
font-size: 20px;
line-height: 20px;
color: #5dd5a2;
}
.play-section {
text-align: center;
margin: 24px 0;
}
.play-title-row {
display: flex;
gap: 16px;
justify-content: center;
align-items: center;
margin-bottom: 8px;
}
.diamond-icon {
width: 48px;
height: 32px;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.play-title,
.logo-title {
font-family: 'Jersey 15', cursive;
font-size: 48px;
line-height: 48px;
color: #e6f4e6;
text-align: center;
}
.entry-fee {
font-family: 'Jersey 15', cursive;
font-size: 20px;
line-height: 20px;
color: #5dd5a2;
margin-top: 8px;
}
.game-content {
display: flex;
gap: 24px;
margin-top: 24px;
flex-direction: column;
}
.pano {
background-color: #1a1a1a;
border-radius: 8px;
flex: 1;
}
.how-title {
font-family: 'Jersey 15', cursive;
font-size: 20px;
line-height: 20px;
color: #e6f4e6;
margin-bottom: 16px;
}
.instruction-list {
display: flex;
flex-direction: column;
gap: 12px;
margin-bottom: 16px;
}
.instruction {
font-size: 12px;
font-family: 'Courier', monospace;
line-height: 14px;
color: #5dd5a2;
}
.controls-section {
display: flex;
gap: 16px;
align-items: center;
margin-bottom: 12px;
}
.controls-grid {
display: flex;
flex-direction: column;
gap: 4px;
align-items: center;
}
.control-row {
display: flex;
gap: 4px;
}
.control-key {
width: 32px;
height: 24px;
background: rgba(93, 213, 162, 0.2);
border: 1px solid #5dd5a2;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Jersey 15', cursive;
font-size: 16px;
color: #e6f4e6;
}
.game-preview {
width: 120px;
height: 80px;
background-size: contain;
background-repeat: no-repeat;
border-radius: 8px;
}
.right-panel {
display: flex;
flex-direction: column;
gap: 16px;
align-items: flex-end;
min-width: 30%;
}
.disclaimer {
background-color: #1a1a1a;
border-radius: 8px;
padding: 16px;
display: flex;
gap: 12px;
align-items: flex-start;
width: 100%;
aspect-ratio: 1 / 1;
}
.checkbox {
width: 24px;
height: 24px;
background-size: contain;
background-repeat: no-repeat;
flex-shrink: 0;
margin-top: 4px;
}
.disclaimer-text {
font-size: 12px;
font-family: 'Courier', monospace;
line-height: 16px;
color: #5dd5a2;
}
.action-buttons {
display: flex;
flex-direction: column;
gap: 12px;
}
.start-game-btn {
background: linear-gradient(135deg, #5dd5a2, #057f6d);
border: none;
border-radius: 12px;
padding: 16px 24px;
cursor: pointer;
transition: all 0.3s ease;
text-align: center;
min-width: 200px;
}
.start-game-btn:hover {
transform: scale(1.05);
box-shadow: 0 8px 20px rgba(93, 213, 162, 0.3);
}
.btn-title {
font-family: 'Jersey 15', cursive;
font-size: 24px;
line-height: 24px;
color: #e6f4e6;
margin-bottom: 4px;
}
.btn-subtitle {
font-family: 'Jersey 15', cursive;
font-size: 18px;
line-height: 18px;
color: #e6f4e6;
}
.distance-text {
color: #A59EFA;
font-size: 64px;
line-height: 64px;
}
.check-btn {
background: linear-gradient(135deg,#705BD6, #341caa);
border: none;
border-radius: 12px;
padding: 12px 24px;
cursor: pointer;
transition: all 0.3s ease;
text-align: center;
min-width: 200px;
width: 100%;
}
.check-btn:hover {
transform: scale(1.05);
background: linear-gradient(135deg, #705BD6, #432fa8);
}
.check-btn:disabled {
background: linear-gradient(135deg, #7a797c, #6d6a71);
cursor: not-allowed;
}
.check-text {
font-family: 'Jersey 15', cursive;
font-size: 16px;
line-height: 16px;
color: #E6F4E6;
}
/* Footer */
.footer {
width: 100%;
background-color: #05a38c;
border-top: 14px solid #5dd5a2;
padding: 16px 20px 20px;
margin-top: auto;
}
.footer-content {
width: 100%;
max-width: 1376px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 16px;
align-items: center;
}
.footer-main {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 16px;
}
.footer-logo {
display: flex;
align-items: center;
gap: 8px;
}
.footer-nav {
display: flex;
gap: 8px;
align-items: center;
flex-wrap: wrap;
}
.nav-btn {
background-color: #057f6d;
border: none;
border-radius: 18px;
padding: 8px 16px;
font-size: 12px;
font-family: 'Courier', monospace;
color: #e6f4e6;
cursor: pointer;
transition: all 0.3s ease;
}
.nav-btn:hover {
background-color: #068a75;
transform: scale(1.05);
}
.footer-social {
display: flex;
align-items: center;
gap: 8px;
}
.social-icons {
display: flex;
gap: 8px;
}
.social-btn {
width: 36px;
height: 36px;
background-color: #e6f4e6;
border: none;
border-radius: 18px;
cursor: pointer;
transition: all 0.3s ease;
background-size: 20px;
background-position: center;
background-repeat: no-repeat;
}
.social-btn:hover {
transform: scale(1.1);
background-color: #f0f9f0;
}
.join-text {
font-family: 'Jersey 15', cursive;
font-size: 16px;
line-height: 16px;
color: #e6f4e6;
}
.footer-divider {
width: 100%;
height: 1px;
background-color: rgba(93, 213, 162, 0.5);
}
.footer-bottom {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.footer-link {
font-size: 12px;
font-family: 'Courier', monospace;
color: rgba(230, 244, 230, 0.7);
text-decoration: none;
cursor: pointer;
transition: color 0.3s ease;
}
.footer-link:hover {
color: #e6f4e6;
}
/* Responsive design */
@media (min-width: 640px) {
.header {
padding: 16px 24px;
}
.header-icon {
width: 48px;
height: 32px;
}
.logo-icon {
height: 40px;
width: 40px;
}
.logo-text {
width: 96px;
height: 42px;
}
.balance-text, .wallet-text {
font-size: 20px;
line-height: 20px;
}
.score-text {
font-size: 24px;
line-height: 24px;
}
.play-title {
font-size: 64px;
line-height: 64px;
}
.entry-fee {
font-size: 24px;
line-height: 24px;
}
.game-content {
flex-direction: row;
}
.how-title {
font-size: 24px;
line-height: 24px;
}
.instruction {
font-size: 14px;
line-height: 16px;
}
.disclaimer-text {
font-size: 14px;
line-height: 18px;
}
.control-key {
width: 40px;
height: 32px;
font-size: 20px;
}
.game-preview {
width: 180px;
height: 108px;
}
}
@media (min-width: 768px) {
.score-header {
padding: 16px 24px;
}
.score-text {
font-size: 28px;
line-height: 28px;
}
.play-title {
font-size: 80px;
line-height: 80px;
}
.entry-fee {
font-size: 28px;
line-height: 28px;
}
.how-title {
font-size: 28px;
line-height: 28px;
}
.instruction {
font-size: 15px;
line-height: 18px;
}
.btn-title {
font-size: 32px;
line-height: 32px;
}
.btn-subtitle {
font-size: 22px;
line-height: 22px;
}
.check-text {
font-size: 20px;
line-height: 20px;
}
.next-text {
font-size: 20px;
line-height: 20px;
}
.nav-btn {
font-size: 14px;
}
.join-text {
font-size: 20px;
line-height: 20px;
}
}
@media (min-width: 1024px) {
.header {
padding: 20px 22px;
}
.header-icon {
width: 62px;
height: 42px;
}
.logo-icon {
height: 48px;
width: 48px;
}
.logo-text {
width: 112px;
height: 50px;
}
.balance-text, .wallet-text {
font-size: 24px;
line-height: 24px;
}
.game-section {
padding: 32px;
margin-left: 188px;
margin-right: 188px;
margin-bottom: 156px;
}
.score-header {
margin: -40px -40px 0 -40px;
}
.score-text {
font-size: 32px;
line-height: 32px;
}
.play-title {
font-size: 96px;
line-height: 96px;
}
.entry-fee {
font-size: 32px;
line-height: 32px;
}
.how-title {
font-size: 32px;
line-height: 32px;
}
.btn-title {
font-size: 40px;
line-height: 40px;
}
.btn-subtitle {
font-size: 28px;
line-height: 28px;
}
.check-text {
font-size: 24px;
line-height: 24px;
}
.next-text {
font-size: 24px;
line-height: 24px;
}
.nav-btn {
font-size: 15px;
}
.social-btn {
width: 52px;
height: 52px;
}
.join-text {
font-size: 24px;
line-height: 24px;
}
.game-preview {
width: 218px;
height: 128px;
}
}
/* Hide elements on mobile */
@media (max-width: 639px) {
.header-left {
display: none;
}
.balance-text {
display: none;
}
.controls-section {
flex-direction: column;
align-items: center;
gap: 8px;
}
.game-preview {
width: 100px;
height: 64px;
}
.psv-container {
aspect-ratio: 1 / 1;
}
}