:root {
    --bg-color: #f7f7f7;
    --text-color: #1a1a1a;
    --light-text: #a0a0a0;
    --font-main: 'Oswald', sans-serif;
    --border-color: #e0e0e0;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-transform: uppercase;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.slots-wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.slot {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.slot-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    color: var(--light-text);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.slot-number {
    font-weight: 500;
}

.slot-title {
    font-weight: 500;
}

.slot-window {
    height: 150px;
    position: relative;
    overflow: hidden;
    /* Removed border to match screenshots */
}

.slot-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
}

.slot-item {
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    word-break: break-word;
    hyphens: auto;
}

/* Color slot specific styling */
.color-item {
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.color-blocks {
    display: flex;
    height: 60px;
    width: 100%;
    max-width: 200px;
}

.color-block {
    flex: 1;
    height: 100%;
}

.color-names {
    font-size: 0.9rem;
    color: var(--light-text);
    font-weight: 400;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Spinning Animation Class */
.spinning {
    animation: blurSpin 0.1s infinite;
}

@keyframes blurSpin {
    0% { filter: blur(0px); }
    50% { filter: blur(4px); }
    100% { filter: blur(0px); }
}

/* Button */
#spin-btn {
    background-color: #d1d1d1;
    color: white;
    border: none;
    padding: 15px 40px;
    font-family: var(--font-main);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    margin-top: 40px;
}

#spin-btn:hover {
    background-color: #b0b0b0;
}

#spin-btn:active {
    transform: scale(0.98);
}

/* Responsive */
@media (max-width: 1024px) {
    .slots-wrapper {
        flex-wrap: wrap;
    }
    .slot {
        flex: 1 1 45%;
        margin-bottom: 30px;
    }
}

@media (max-width: 600px) {
    .slot {
        flex: 1 1 100%;
    }
    .slot-item {
        font-size: 2.5rem;
    }
}
