/* General styles */ body { font-family: Arial, sans-serif; background: #1a1a1a; color: #ffffff; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 100vh; overflow: hidden; } /* Container styling */ .container { width: 95%; max-width: 600px; display: flex; flex-direction: column; align-items: center; background: #2c2c2c; border: 2px solid #444; border-radius: 15px; padding: 15px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7); animation: fadeIn 0.6s ease-in-out; } @keyframes fadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } } /* Header styling */ header { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; } header h1 { font-size: 24px; color: #e63946; text-align: center; animation: bounce 1.5s infinite; } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } } header .balance-display { font-size: 14px; } /* Button styling */ #back-btn { background: #e63946; color: #ffffff; padding: 8px 15px; border: none; border-radius: 5px; font-size: 14px; cursor: pointer; transition: background 0.3s ease, transform 0.2s ease; } #back-btn:hover { background: #a62639; transform: scale(1.1); } /* Game screen styling */ .game-screen { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 2px solid #e63946; border-radius: 10px; overflow: hidden; margin-bottom: 15px; display: flex; align-items: flex-end; justify-content: flex-start; background: #3a3a3a; } /* Sky image styling */ .sky-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; } /* Adjusted plane position */ .plane { position: absolute; bottom: 20px; left: 10px; width: 50px; height: auto; transition: transform 0.2s ease-in-out, left 0.4s ease-in-out; } .plane:hover { transform: scale(1.1); } /* Multiplier styling */ .multiplier { position: absolute; top: 5px; left: 5px; background: rgba(0, 0, 0, 0.7); color: #ffffff; padding: 8px 12px; border-radius: 8px; font-size: 14px; animation: pulse 1.5s infinite; } @keyframes pulse { 0%, 100% { background: rgba(0, 0, 0, 0.7); } 50% { background: rgba(0, 0, 0, 0.9); } } /* Controls styling */ .controls { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; } .controls input { width: 90%; padding: 10px; border: 2px solid #e63946; border-radius: 8px; background: #202124; color: #ffffff; font-size: 14px; transition: box-shadow 0.3s ease; } .controls input:focus { outline: none; box-shadow: 0 0 8px #e63946; } .buttons-group { display: flex; gap: 8px; width: 100%; justify-content: center; } .controls button { flex: 1; padding: 8px; border: none; border-radius: 8px; font-size: 14px; cursor: pointer; transition: background 0.3s ease, transform 0.2s ease; } .controls #stake-btn { background: #e63946; color: #ffffff; } .controls #cashout-btn { background: #444; color: #ffffff; } .controls button:disabled { background: #555; cursor: not-allowed; } .controls button:hover:not(:disabled) { background: #a62639; transform: scale(1.05); } /* Responsive design */ @media (max-width: 480px) { header h1 { font-size: 20px; } .container { padding: 12px; border-radius: 10px; } .controls input { font-size: 12px; padding: 8px; } .controls button { font-size: 12px; padding: 6px; } .multiplier { font-size: 12px; padding: 6px 10px; } }