* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: linear-gradient(to right, #0f172a, #1e293b);
    color: white;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(0,0,0,0.3);
    border-bottom: 2px solid gold;
}

header h1 {
    color: gold;
}

.balance-box {
    background: gold;
    color: black;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
}

main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 30px;
}

.game-card {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.game-card h2 {
    margin-bottom: 20px;
    color: gold;
}

.slot-machine {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.slot {
    width: 80px;
    height: 80px;
    background: white;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    border-radius: 10px;
}

button {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: gold;
    color: black;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

button:hover {
    transform: scale(1.05);
    background: orange;
}

.dice-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.dice {
    width: 80px;
    height: 80px;
    background: white;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    border-radius: 10px;
}

.coin-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

p {
    margin-top: 15px;
    font-size: 18px;
}

footer {
    text-align: center;
    padding: 20px;
    color: #ccc;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 10px;
    }
}
