@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('images/casino_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Russo One', sans-serif;
    padding: 20px;
}

.casino-container {
    background: linear-gradient(145deg, rgba(45, 8, 32, 0.94), rgba(15, 3, 12, 0.96));
    border-radius: 45px;
    padding: 28px 38px;
    box-shadow: 0 0 0 3px #b8860b, 0 0 70px rgba(255, 45, 120, 0.35);
}

h1 { text-align: center; font-size: 40px; letter-spacing: 6px; margin-bottom: 25px; background: linear-gradient(180deg, #fff5b0 0%, #ffd700 40%, #b8860b 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.top-panel { display: flex; justify-content: center; gap: 30px; margin-bottom: 22px; flex-wrap: wrap; }
.balance-box, .bet-box, .win-box { background: linear-gradient(145deg, #2d0820, #15030f); padding: 10px 28px; border-radius: 18px; text-align: center; border: 2px solid #b8860b; min-width: 150px; }

.label { font-size: 12px; color: #ffd700; margin-bottom: 4px; }
.value { font-size: 34px; color: white; }
.win-value { color: #00ffaa !important; }

.bet-controls { display: flex; justify-content: center; align-items: center; gap: 25px; margin-bottom: 25px; }
.bet-btn { background: linear-gradient(145deg, #ff2d78, #b8004a); border: 2px solid #ffd700; color: white; width: 85px; padding: 10px 0; border-radius: 40px; font-size: 22px; cursor: pointer; }
.bet-label { color: #ffd700; font-size: 18px; }

.reels-wrapper { background: radial-gradient(circle at 50% 50%, rgba(120, 15, 60, 0.45), rgba(0, 0, 0, 0.9)); border-radius: 28px; padding: 22px; border: 3px solid #b8860b; margin-bottom: 25px; width: 100%; max-width: 520px; margin-left: auto; margin-right: auto; }

.reels-grid { display: grid; gap: 12px; width: 100%; }

.slot-cell { background: radial-gradient(circle at 50% 30%, rgba(150, 20, 70, 0.5), rgba(15, 3, 12, 0.96) 70%); border-radius: 50%; border: 2px solid rgba(184, 134, 11, 0.6); display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; overflow: hidden; }

.slot-cell img { width: 100%; height: 100%; object-fit: cover; }
.slot-row-highlight { border: 2px solid #ffd700 !important; box-shadow: 0 0 25px 5px #ffd700 !important; transform: scale(1.05); z-index: 10; }

.action-buttons { display: flex; justify-content: center; gap: 25px; margin-top: 15px; flex-wrap: wrap; }
.spin-btn { background: linear-gradient(145deg, #ff2d78, #b8004a); color: white; border: 2px solid #ffd700; border-radius: 60px; padding: 14px 32px; font-size: 24px; width: 200px; cursor: pointer; }
.bonus-btn { background: linear-gradient(145deg, #ffd700, #b8860b); color: #2a1a00; border-radius: 60px; padding: 14px 32px; font-size: 18px; width: 220px; cursor: pointer; }

@media (max-width: 800px) {
    .casino-container { padding: 15px; border-radius: 30px; }
    h1 { font-size: 24px; }
    .reels-wrapper { padding: 10px; }
    .reels-grid { gap: 6px; }
    .top-panel { gap: 10px; }
    .balance-box, .bet-box, .win-box { padding: 6px 10px; min-width: 30%; }
    .value { font-size: 18px; }
    .spin-btn, .bonus-btn { width: 100%; font-size: 16px; }
}
