/* Base Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0f0f0f;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px; /* Horizontal padding */
    background: #1a1a1a;
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;  /* Set a fixed height */
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.site-name {
    font-size: 1.5rem;
    color: #ff9e0f;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-link {
    color: #ff9e0f;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff5f5f;
}

.balance-display {
    color: #fff;
    font-size: 1rem;
}

/* Ensure the content starts below the fixed navbar */
.game-container {
    max-width: 600px;
    margin: 90px auto 20px;  /* Top margin set to at least the nav height (70px) plus some extra spacing (20px) */
    padding: 20px;
    text-align: center;
}

/* Game Canvas */
.game-canvas {
    position: relative;
    width: 100%;
    height: 300px;  /* Adjusted height */
    background: url('images/golden-fortune/background.jpg') no-repeat center center;
    background-size: cover;
    background-color: transparent;  /* No extra background color */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Disable any pseudo-element overlay on the canvas */
.game-canvas::before {
    content: none;
}

/* Slot Machine Container */
.slot-machine {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

/* Slot Boxes: dark background for each slot */
.slot-box {
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slot images */
.slot {
    width: 100px;
    height: 80px;
    border-radius: 8px;
    transition: transform 0.3s;
    object-fit: contain;
    background: transparent;
}

.slot:hover {
    transform: scale(1.05);
}

/* Controls Container (Bet and Spin) */
.controls-container {
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.controls-container label,
.controls-container select,
.controls-container button {
    padding: 10px;
    font-size: 1rem;
    margin: 5px;
}

/* Winnings Display Section */
.winnings-display {
    padding: 20px;
    background: #1a1a1a;
    border-radius: 10px;
    width: 300px;
    margin: 20px auto;
}

footer {
    text-align: center;
    padding: 20px;
    background: #0d0d0d;
    color: #ccc;
    width: 100%;
    margin-top: 20px;
}
