body {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-y: scroll; /* Prevents shift when modal opens */
    padding: 20px 0;
}

/* Loading Screen Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    flex-direction: column;
}

.loading-overlay.hidden {
    display: none !important;
}

.container {
    text-align: center;
    background: var(--bg-color-container);
    padding: 2rem;
    border: var(--border-main);
    box-shadow: var(--shadow-main);
    width: 90%;
    max-width: 800px;
}

.menu-ui {
    margin-top: 30px;
    text-align: center;
}

.slots-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.game-ui {
    margin-top: 20px;
}

.simulation-ui {
    margin-top: 20px;
}

.simulation-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.simulation-panels {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    width: 100%;
}

.wheel-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.checklist-panel {
    background: var(--bg-color-panel);
    padding: 20px;
    border: var(--border-panel);
    min-width: 250px;
    text-align: left;
    box-shadow: var(--shadow-main);
}

.attributes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: #1e1e1e;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 4px;
}
