:root { --primary-neon-color: #00ffff; --secondary-neon-color: #e000ff; --success-neon-color: #39ff14; --error-neon-color: #ff4d4d; --gold-neon-color: gold; --dark-background-transparent: rgba(0,0,0,0.9); --dark-background-solid: #000000; --game-primary-color: #FF4D4D; --game-secondary-color: #4D4DFF; --game-tertiary-color: var(--success-neon-color); --game-accent-color: var(--primary-neon-color); --game-text-light: #E0E0E0; --game-text-dark: #1A1A1A; --game-canvas-bg: #0C0C0C; --game-border-glow: var(--primary-neon-color); --game-button-bg: var(--primary-neon-color); --game-button-active: #00B3B3; --game-block-border: #222222; --game-block-shadow: rgba(0, 0, 0, 0.4); --tile-size: 10px; } * { box-sizing: border-box; margin: 0; padding: 0; } body, html { width: 100%; min-height: 100vh; font-family: 'Poppins', sans-serif; color: var(--game-text-light); overflow: hidden; position: relative; background-image: url('https://vqmfachxnjyxwuavpgds.supabase.co/storage/v1/object/public/zaus//images%20(6).jpeg'); background-size: cover; background-position: center center; background-attachment: fixed; background-repeat: no-repeat; background-blend-mode: overlay; display: flex; justify-content: center; align-items: center; } body::before { content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.0); z-index: -1; border: 0px solid var(--primary-neon-color); box-shadow: 0 0 15px var(--primary-neon-color), 0 0 25px var(--primary-neon-color), 0 0 40px var(--primary-neon-color); animation: neon-border-pulse 2s ease-in-out infinite alternate; } @keyframes neon-border-pulse { from { border-color: rgba(0, 255, 255, 0.6); box-shadow: 0 0 40px rgba(0, 255, 255, 0.4), 0 0 80px rgba(0, 255, 255, 0.2), inset 0 0 20px rgba(0, 255, 255, 0.1); } to { border-color: rgba(0, 200, 200, 0.8); box-shadow: 0 0 50px rgba(0, 255, 255, 0.6), 0 0 100px rgba(0, 255, 255, 0.3), inset 0 0 25px rgba(0, 255, 255, 0.2); } } .hamburger-icon { position: fixed; top: 20px; right: 20px; width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: space-around; align-items: center; cursor: pointer; z-index: 10001; background: rgba(0,0,0,0.9); border-radius: 50%; padding: 8px; box-shadow: 0 0 15px var(--secondary-neon-color); transition: all 0.3s ease; } .hamburger-icon:hover { box-shadow: 0 0 25px var(--secondary-neon-color); transform: scale(1.05); } .hamburger-icon span { display: block; width: 80%; height: 4px; background-color: var(--primary-neon-color); border-radius: 0px; transition: all 0.3s ease; } .hamburger-icon.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); } .hamburger-icon.open span:nth-child(2) { opacity: 0; } .hamburger-icon.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); } .sidebar-menu { position: fixed; top: 0; right: -350px; width: 300px; max-width: 90vw; height: auto; background: linear-gradient(180deg, rgba(0,0,0,0.95), rgba(10,0,10,0.95)); box-shadow: -10px 0 30px rgba(0,0,0,0.5); transition: right 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); z-index: 10000; padding: 0px; overflow-y: auto; border-left: 2px solid var(--primary-neon-color); box-shadow: 0 0 25px var(--primary-neon-color), inset 0 0 10px rgba(0,255,255,0.1); } .sidebar-menu.open { right: 0; } .sidebar-menu h1 { font-family: 'Orbitron', sans-serif; color: var(--gold-neon-color); text-align: center; margin-bottom: 20px; animation: neon-glow 1.5s ease-in-out infinite alternate; background: linear-gradient(90deg, black 0%, #00bc 100%); padding: 10px 0; line-height: 1.2; font-size: 1.8em; } @keyframes neon-glow { from { text-shadow: 0 0 10px var(--gold-neon-color), 0 0 20px rgba(255,215,0,0.7), 0 0 30px rgba(255,215,0,0.5); } to { text-shadow: 0 0 15px var(--gold-neon-color), 0 0 25px rgba(255,215,0,0.8), 0 0 40px rgba(255,215,0,0.6); } } .sidebar-menu .saldo { position: relative; top: auto; left: auto; margin-bottom: 2px; text-align: center; font-size: 1.1em; } .sidebar-menu .marquee-container { margin-bottom: 15px; font-size: 0.9em; background: linear-gradient(90deg, #222 0%, #00bc 100%); color: var(--gold-neon-color); border-top: 1px solid var(--secondary-neon-color); border-bottom: 1px solid var(--secondary-neon-color); box-shadow: 0 0 10px var(--success-neon-color); } .sidebar-menu .btn-group { flex-direction: column; gap: 15px; margin-bottom: 25px; } .sidebar-menu .btn { margin-bottom: 5px; width: 100%; max-width: none; padding: 12px 20px; font-size: 1em; border-radius: 10px; background: linear-gradient(90deg, var(--secondary-neon-color) 0%, var(--primary-neon-color) 100%); box-shadow: 0 0 15px rgba(0, 188, 212, 0.6), 0 0 25px rgba(0, 188, 212, 0.4); border: 1px solid var(--gold-neon-color); } .sidebar-menu .btn:hover { background: var(--success-neon-color); box-shadow: 0 0 20px rgba(57, 255, 20, 0.8), 0 0 30px rgba(57, 255, 20, 0.5); } /* Logout button */ #logout-btn { background: linear-gradient(90deg, #8B0000 0%, #DC143C 100%); /* Merah gelap ke merah cerah */ color: #fff; margin-top: 30px; padding: 12px 20px; border-radius: 10px; font-size: 1em; font-weight: bold; cursor: pointer; border: none; box-shadow: 0 0 15px rgba(220, 20, 60, 0.6); transition: all 0.3s ease; width: 100%; display: block; text-transform: uppercase; } #logout-btn:hover { background: linear-gradient(90deg, #DC143C 0%, #FF6347 100%); /* Merah lebih terang */ box-shadow: 0 0 25px rgba(255, 99, 71, 0.8); transform: translateY(-2px); } .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.9); display: flex; justify-content: center; align-items: center; z-index: 10002; opacity: 0; visibility: hidden; transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out; } .modal-overlay.active { opacity: 1; visibility: visible; } .modal-content { color: #e0e0e0; padding: 35px; border-radius: 20px; box-shadow: 0 0 30px rgba(224, 0, 255, 0.7), inset 0 0 15px rgba(224, 0, 255, 0.3); width: 90%; max-width: 480px; transform: translateY(-50px) scale(0.9); opacity: 0; transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.4s ease-out; position: relative; border: 2px solid rgba(224, 0, 255, 0.8); } .modal-overlay.active .modal-content { transform: translateY(0) scale(1); opacity: 1; } .modal-content h2 { font-family: 'Orbitron', sans-serif; color: var(--success-neon-color); text-align: center; margin-bottom: 30px; font-size: 2em; text-shadow: 0 0 15px rgba(57, 255, 20, 0.8); border-bottom: none; padding-bottom: 0; background: none; margin-left: 0; margin-right: 0; padding: 0; } .modal-content label { display: block; margin-bottom: 2px; color: var(--white); font-weight: 700; font-size: 0.95em; text-shadow: 0 0 5px rgba(0, 188, 212, 0.3); } .modal-content input[type="text"], .modal-content input[type="email"], .modal-content input[type="number"], .modal-content select { width: 100%; padding: 3px; text-align: center; margin-bottom: 5px; border-radius: 5px; border: 2px solid rgba(0, 255, 255, 0.0); background-color: #999; color: #000; font-size: 1em; font-weight: 700; transition: border-color 0.3s ease, box-shadow 0.3s ease; } .modal-content input:focus, .modal-content select:focus { outline: none; border-color: red; box-shadow: 0 0 0 4px rgba(57, 255, 20, 0.0), 0 0 15px rgba(57, 255, 20, 0.0); background-color: #fff; } .modal-content input::placeholder { color: #666; } .modal-content input[readonly] { background-color: #fff; border-color: gold; cursor: default; } .input-group-with-copy { display: flex; align-items: center; margin-bottom: 10px; gap: 10px; } .input-group-with-copy label { margin-bottom: 0; flex-shrink: 0; white-space: nowrap; padding-right: 5px; } .input-group-with-copy input[type="text"] { flex-grow: 1; margin-bottom: 0; } .btn-copy { background: #000; color: white !important; border-radius: 1px !important; padding: 8px 15px !important; font-size: 0.9em !important; box-shadow: 0 0 10px rgba(224, 0, 255, 0.0) !important; flex-shrink: 0; border: 1px solid #999; min-width: 80px; text-align: center; display: flex; align-items: center; justify-content: center; font-weight: 700; gap: 2px; } .btn-copy:hover { background: var(--success-neon-color) !important; transform: translateY(-2px) !important; box-shadow: 0 0 15px rgba(57, 255, 20, 0.8) !important; border-color: rgba(57, 255, 20, 1); } .modal-content button.primary { background: linear-gradient(90deg, var(--success-neon-color) 0%, var(--primary-neon-color) 100%); border: 2px solid #fff; padding: 12px 25px; border-radius: 10px; color: var(--game-text-dark); font-weight: bold; font-size: 1.1em; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 0 15px rgba(57, 255, 20, 0.6); margin-top: 15px; width: 100%; } .modal-content button.primary:hover { background: linear-gradient(90deg, var(--primary-neon-color) 0%, var(--success-neon-color) 100%); box-shadow: 0 0 20px rgba(57, 255, 20, 0.8); transform: translateY(-2px) scale(1.01); } .modal-content button.secondary { background: #555; border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; padding: 10px 20px; border-radius: 10px; font-size: 1em; cursor: pointer; transition: all 0.3s ease; margin-top: 10px; width: 100%; } .secondary1 { background: gold; border: 1px solid rgba(255, 255, 255, 0.3); color: #000; padding: 5px 5px; border-radius: 10px; font-size: 1em; cursor: pointer; transition: all 0.3s ease; margin-top: 10px; width: auto; font-weight: 700; } .modal-content button.secondary:hover { background: #e000ff; color: var(--success-neon-color); border-color: var(--success-neon-color); } #form-qris { text-align: center; margin: 25px 0; } #gambar-qris { max-width: 100%; height: auto; border-radius: 15px; border: 3px solid var(--success-neon-color); box-shadow: 0 0 5px rgba(57, 255, 20, 0.7); } /* Tabel (dari profil.html) */ table { width: 100%; border-collapse: separate; border-spacing: 0; margin-bottom: 20px; background: rgba(10, 10, 30, 0.7); border-radius: 15px; overflow: hidden; box-shadow: 0 0 20px rgba(0, 255, 255, 0.2), inset 0 0 10px rgba(0, 255, 255, 0.1); border: 1px solid rgba(0, 255, 255, 0.3); } th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid rgba(0, 255, 255, 0.1); color: #c0c0c0; } th { background: var(--primary-neon-color); color: var(--game-text-dark); font-weight: 700; text-transform: uppercase; font-size: 0.9em; text-shadow: 0 0 5px rgba(0, 255, 255, 0.3); } .status-pending { color: var(--gold-neon-color); font-weight: bold; } .status-approved { color: var(--success-neon-color); font-weight: bold; } .status-rejected { color: var(--error-neon-color); font-weight: bold; } /* Efek Loading Tombol */ .btn.loading { position: relative; color: transparent; pointer-events: none; background: var(--primary-neon-color); } .btn.loading::after { content: ''; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin-top: -10px; margin-left: -10px; border: 3px solid var(--secondary-neon-color); border-top-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .game-container { display: flex; flex-direction: column; align-items: center; background: transparent; padding: 0px; border-radius: 15px; box-shadow: 0 0 0px var(--game-border-glow); border: 0px solid var(--game-border-glow); width: 95%; max-width: 480px; box-sizing: border-box; position: relative; z-index: 1; } h1.game-title { font-family: 'Press Start', cursive; color: var(--game-accent-color); text-shadow: 0 0 15px var(--game-accent-color), 0 0 25px rgba(0, 224, 224, 0.5); font-size: 1.5em; margin-bottom: 15px; letter-spacing: 2px; } .info-item { font-size: 0.9em; margin: 8px 0; white-space: nowrap; display: flex; justify-content: space-between; width: 100%; } .info-item span { margin-left: 10px; } .info-item #totalKemenanganSesi { color: var(--game-tertiary-color); font-weight: bold; } .info-item #totalKekalahanDisplay { color: var(--game-primary-color); font-weight: bold; } .info-item #balance { color: var(--game-tertiary-color); font-weight: bold; font-size: 1em; display: inline-block; transition: color 0.1s ease-out; text-shadow: 0 0 5px rgba(0, 255, 0, 0.5); } .info-item #balance.animate-gain { animation: balance-gain 0.5s ease-out; } .info-item #balance.animate-loss { animation: balance-loss 0.5s ease-out; } @keyframes balance-gain { 0% { transform: scale(1); color: var(--game-primary-color); } 50% { transform: scale(1.3); color: var(--game-tertiary-color); text-shadow: 0 0 10px var(--game-tertiary-color); } 100% { transform: scale(1); color: var(--game-primary-color); text-shadow: none; } } @keyframes balance-loss { 0% { transform: scale(1); color: var(--game-primary-color); } 50% { transform: scale(1.3); color: #FF4444; text-shadow: 0 0 10px #FF4444; } 100% { transform: scale(1); color: var(--game-primary-color); text-shadow: none; } } .player-banner { background-color: var(--game-canvas-bg); border: 0px solid var(--game-accent-color); padding: 0px 0px; border-radius: 10px; margin-bottom: 5px; width: 100%; box-sizing: border-box; font-size: 0.5em; color: var(--game-accent-color); text-align: left; box-shadow: inset 0 0 10px rgba(0, 224, 224, 0.3); font-weight: 900; letter-spacing: 2px; } .player-banner p { margin: 0; padding: 0px 0; display: flex; justify-content: space-between; } .player-banner .player-name { font-weight: bold; color: var(--game-tertiary-color); } .player-banner .player-status { font-size: 0.8em; color: #AAAAAA; } canvas { background-color: var(--game-canvas-bg); border: 1px solid var(--game-accent-color); border-radius: 5px; box-shadow: 0 0 2px rgba(0, 224, 224, 0.6); display: block; } .controls { display: grid; grid-template-areas: "left rotate right"; grid-template-columns: 1fr 1fr 1fr; gap: 40px; width: 100%; margin-top: 25px; } .controls button { background-color: var(--game-button-bg); color: var(--game-text-dark); border: none; padding: 15px 0; font-size: 1.8em; border-radius: 10px; cursor: pointer; transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease; font-weight: bold; display: flex; justify-content: center; align-items: center; height: 50px; box-shadow: 0 6px 0 var(--game-button-active); -webkit-tap-highlight-color: transparent; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); } .controls button:active { background-color: var(--game-button-active); transform: translateY(3px); box-shadow: 0 3px 0 var(--game-button-active); } .bet-controls { position: fixed; display: flex; justify-content: center; align-items: center; width: 100%; margin-top: 80%; gap: 5px; font-size: 1em; display: none; background-color: gold; width: 70px; border-radius: 10px; } .bet-controls button { background-color: var(--game-secondary-color); color: var(--game-text-light); border: none; padding: 10px 15px; font-size: 1em; border-radius: 8px; cursor: pointer; transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease; box-shadow: 0 4px 0 #4C4CBB; -webkit-tap-highlight-color: transparent; } .bet-controls button:active { background-color: #4C4CBB; transform: translateY(2px); box-shadow: 0 2px 0 #3B3B88; } .bet-controls span { font-size: 1em; font-weight: bold; color: black; text-shadow: 0 0 3px var(--game-accent-color); min-width: 80px; text-align: center; } #backToProfileBtn { margin-top: -100px; width: 0%; background-color: transparent; color: transparent; font-size: 0em; padding: 0px 0px; border-radius: 10px; cursor: pointer; border: none; font-weight: bold; text-shadow: 1px 1px 2px rgba(0,0,0,0.0); display: none; } #backToProfileBtn:active { background-color: #CCAA00; transform: translateY(3px); box-shadow: 0 3px 0 #997A00; } .message-area { margin-top: 40px; font-size: 1em; font-weight: bold; color: var(--game-text-light); min-height: 0px; text-align: center; text-shadow: 0 0 0px rgba(0,0,0,0.7); padding: 0px; } .message-area.info { color: var(--game-accent-color); text-shadow: 0 0 0px var(--game-accent-color); } .message-area.success { color: var(--game-tertiary-color); text-shadow: 0 0 10px var(--game-tertiary-color); } .message-area.error { color: var(--game-primary-color); text-shadow: 0 0 10px var(--game-primary-color); } .win-message-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.1); opacity: 0; color: var(--gold-neon-color); font-size: 1em; font-weight: bold; text-shadow: 0 0 15px var(--gold-neon-color), 0 0 25px orange; z-index: 1000; text-align: center; animation: none; font-family: 'Poppins', cursive; } .win-message-overlay.animate { animation: zoomWin 1.8s ease-out forwards; } @keyframes zoomWin { 0% { transform: translate(-50%, -50%) scale(0.1); opacity: 0; } 20% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; } 80% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } } @media (max-width: 768px) { .hamburger-icon { top: 15px; right: 15px; width: 35px; height: 35px; padding: 6px; } .hamburger-icon span { height: 2px; } .hamburger-icon.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-icon.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .sidebar-menu { width: 300px; padding: 0px; } .sidebar-menu h1 { font-size: 1.5em; } .sidebar-menu .saldo { font-size: 1em; } .sidebar-menu .marquee-container { font-size: 0.8em; } .sidebar-menu .btn { padding: 10px 15px; font-size: 0.9em; } #logout-btn { padding: 10px 15px; font-size: 0.9em; } .modal-content { padding: 25px; border-radius: 15px; } .modal-content h2 { font-size: 1.8em; } .modal-content button.primary, .modal-content button.secondary { font-size: 1em; padding: 10px 20px; } .btn-copy { font-size: 0.8em !important; padding: 6px 10px !important; min-width: 60px; } .input-group-with-copy { flex-direction: column; align-items: flex-start; gap: 5px; } .input-group-with-copy label, .input-group-with-copy input[type="text"], .btn-copy { width: 100%; } .game-container { padding: 15px; width: 100%; } h1.game-title { font-size: 1.3em; } .info-item { font-size: 0.8em; } .player-banner { padding: 0px 0px; } .controls button { padding: 12px 0; font-size: 1.5em; height: 50px; } .bet-controls button { padding: 8px 12px; font-size: 0.9em; } .bet-controls span { font-size: 1.1em; } #backToProfileBtn { padding: 12px 20px; font-size: 1em; } .message-area { font-size: 1em; } } @media (max-width: 480px) { .hamburger-icon { top: 10px; right: 10px; width: 30px; height: 30px; padding: 5px; } .hamburger-icon span { height: 2px; } .hamburger-icon.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .hamburger-icon.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } .sidebar-menu { width: 250px; padding: 10px; } .sidebar-menu h1 { font-size: 1.2em; } .sidebar-menu .saldo { font-size: 0.9em; } .sidebar-menu .marquee-container { font-size: 0.7em; } .sidebar-menu .btn { padding: 8px 12px; font-size: 0.8em; } #logout-btn { padding: 8px 12px; font-size: 0.8em; } .modal-content { padding: 20px; border-radius: 12px; } .modal-content h2 { font-size: 1.5em; } .modal-content button.primary, .modal-content button.secondary { font-size: 0.9em; padding: 8px 15px; } .btn-copy { font-size: 0.7em !important; padding: 5px 8px !important; min-width: 50px; } .game-container { padding: 50px; } h1.game-title { font-size: 1em; } .info-item { font-size: 1em; } .player-banner { padding: 8px 10px; } .controls button { padding: 10px 0; font-size: 1.2em; height: 45px; } .bet-controls button { padding: 6px 10px; font-size: 0.8em; } .bet-controls span { font-size: 1em; } #backToProfileBtn { padding: 10px 15px; font-size: 0.9em; } .message-area { font-size: 0.1em; } .static-image{ margin-bottom: 0px; width: 100%; } }