.widget-container {
    width: 100vw;
    display: flex;
    margin-top: 36px;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Slot Request Container */
.slot-request-container {
    width: 100%;
    max-width: 400px;
    background: var(--color-widget-BG, rgba(12, 12, 12, 0.9));
    border-radius: var(--border-radius, 8px);
    overflow: hidden;
    border: 2px solid var(--section-bg-color, #FF1F8E);
}

/* Header */
.slot-request-header {
    background: var(--section-bg-color, #FF1F8E);
    padding: 15px;
    text-align: center;
}

.header-txt {
    color: var(--section-font-color, #000);
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

.slot-request-list {
    overflow: hidden;
    background: var(--color-widget-BG2, rgba(12, 12, 12, 0.8));
    position: relative;
}

.scroll-container {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.list-display {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.5s ease; /* Matches fadeDuration */
}

.list-item {
    display: flex;
    align-items: center;
    padding: 15px;
    height: 100px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--color-widget-BG2, rgba(12, 12, 12, 0.8));
    position: relative;
}

.left {
    margin-right: 15px;
    flex-shrink: 0;
}

.pfp {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--pfp-border-color, #FF1F8E);
    object-fit: cover;
    display: block;
}

.middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; /* Prevents overflow */
}

.list-request {
    color: var(--widget-font-color, #f2f2f2);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left;
    text-transform: capitalize;
}

.user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-username {
    color: var(--widget-font-color, #f2f2f2);
    font-size: 16px;
    opacity: 0.95;
}

.marked-user {
    color: gold !important;
    font-weight: bold;
    text-decoration: line-through;
}

.lock-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.lock-icon svg {
    width: 16px;
    height: 16px;
    fill: #FF1F8E;
}

.right {
    margin-left: 15px;
    flex-shrink: 0;
}

.user-placement {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    background: var(--pfp-border-color, #FF1F8E);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Footer */
.slot-request-footer {
    background: var(--section-bg-color, #FF1F8E);
    padding: 10px 15px;
    text-align: center;
}

.footer-txt {
    color: var(--section-font-color, #fff);
    font-size: 14px;
    font-weight: bold;
}

/* Slot Machine Notification */
.noti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slot-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    font-size: 3.5rem;
    line-height: 1;
}

.slot-name, .winner-container {
    text-align: center;
    color: var(--widget-font-color);
}

.slot-name {
    margin: 1em 0 .25em 0;
}

#streamer-name {
    color: #ffffff;
    font-family: "Exo 2", sans-serif;
}

.winner-container {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    margin-bottom: 2em;
    gap: 20px;
    font-size: .95em;
}

.request {
    font-size: .8em;
}

.winner {
    color: var(--section-font-color);
    font-weight: bold;
}

.slots {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 45%;
    transform: translate(0, -50%);
}

.slot {
    display: inline-block;
    height: 300px; /* Adjust based on slot height */
    overflow: hidden;
    margin-right: 75px;
}

.slot:last-of-type {
    margin-right: 0;
}

.slot-inner {
    display: flex;
    flex-direction: column;
    height: auto; /* Adjust to fit all images */
    width: 100%;  
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 50%; 
    transition: transform 0.5s ease-in-out;
}

.slot-image {
    width: 300px;
    height: 300px; /* Same as imageHeight in the JS */
    background-size: cover;
    border-radius: 50%; /* To keep the images rounded */
    flex-shrink: 0;
}

.slot-inner.spin {
    animation: spin 0.5s infinite linear;
}

.sweet-title {
  position: relative;
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 3rem;
  line-height: 0.75em;
  text-align: center;
  text-shadow:
    3px 1px 1px #ffe591, 2px 2px 1px #ffcc66, 4px 2px 1px #ffc947,
    3px 3px 1px #ffb300, 5px 3px 1px #ff9800, 4px 4px 1px #ffb300,
    6px 4px 1px #ffa726, 5px 5px 1px #ffc107, 7px 5px 1px #ffb300,
    6px 6px 1px #ff9800, 8px 6px 1px #ffcc66, 7px 7px 1px #ffd54f,
    9px 7px 1px #ffe082;
}

.sweet-title span {
    display: block;
    position: relative;
}

.sweet-title span:before {
    content: attr(data-text);
    position: absolute;
    text-shadow: 2px 2px 1px #090016, -1px -1px 1px #190039,
      -2px 2px 1px #100025, 1px -1px 1px #0f0024;
    z-index: 1;
}

.sweet-title span:nth-child(1) {
    padding-right: 2.25rem;
}

.sweet-title span:nth-child(2) {
    padding-left: 2.25rem;
}

/* Animations */
@keyframes spin {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .slot-request-container {
        max-width: 350px;
    }
    
    .pfp {
        width: 60px;
        height: 60px;
    }
    
    .list-item {
        height: 120px;
        padding: 10px;
    }
    
    .slot-name {
        font-size: 2.5rem;
    }
    
    .slot {
        width: 120px;
        height: 240px;
    }
    
    .slot-image {
        width: 240px;
        height: 240px;
    }
    
    .user-placement {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}