* {
    margin: 0;
}

.slot-games::-webkit-scrollbar {
    width: 8px;
    background: transparent;
}

.slot-games::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.slot-games::-webkit-scrollbar {
    display: none;
}

.slot-games {
    width: 60%;
    height: calc(100vh - 110px);
    margin: 0 auto;
    padding: 10px;
    overflow-y: auto;
}

.list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #4b6cb7, #182848);
    border-radius: 8px;
    margin-bottom: 28px;
    padding: 12px 20px;
    box-shadow: 0 4px 6px rgba(70, 130, 180, 0.4);
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
}

.list:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    box-shadow: 0 8px 15px rgba(102, 126, 234, 0.7);
    transform: translateY(-3px);
}

.title {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-shadow: 0 0 5px rgba(102, 126, 234, 0.7);
}

.con {
    background-color: #ff6f61;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    box-shadow: 0 2px 10px rgba(255, 111, 97, 0.6);
    transition: background-color 0.3s ease;
}

.list:hover .con {
    background-color: #ff3b2f;
    box-shadow: 0 4px 15px rgba(255, 59, 47, 0.8);
}
.open_back {
    background-color: #121a3a;
    /* 조금 더 어둡고 진한 배경 */
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 30px 20px;
    /* 좌우 여백도 조금 줌 */
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* 가독성 좋은 폰트 */
    color: #f0f0f0;
    /* 밝은 텍스트 색상 */
}

.open-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.open-item {
    overflow: hidden;
    background-color: #2a3a70;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
}

.open-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 20px rgba(70, 100, 200, 0.6);
}

.open-item-img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 140px;
    border-radius: 6px;
    margin-bottom: 10px;
    user-select: none;
}

span {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
    font-weight: 600;
    color: #e0e0ff;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
}

@media (max-width:500px) {
    .slot-games {
        width: 90%;
    }
}