/* Carrossel Dark Mode Premium */
.voleirio-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 219px;
    box-sizing: border-box;
    background: #111111;
    padding: 20px 0;
    overflow: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #ffffff;
    display: flex;
    justify-content: center;
    
    /* Default theme color */
    --theme-color: #6ec1e4;
}

.voleirio-carousel-wrapper.theme-praia {
    --theme-color: #ee7e33;
}

.voleirio-carousel-wrapper.theme-quadra {
    --theme-color: #6ec1e4;
}

.voleirio-carousel-container {
    width: 95%;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.voleirio-carousel-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.voleirio-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.3s;
}

.voleirio-carousel-nav:hover {
    background: rgba(50, 50, 50, 0.9);
}

.voleirio-carousel-nav.prev {
    left: 1%;
}

.voleirio-carousel-nav.next {
    right: 1%;
}

/* O item do carrossel ocupa 25% no desktop (4 por tela) */
.voleirio-carousel-item {
    flex: 0 0 260px;
    min-width: 260px;
    scroll-snap-align: start;
    padding: 0 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

.voleirio-carousel-item:last-child {
    border-right: none;
}

/* Card Design Interno */
.voleirio-c-card {
    display: flex;
    flex-direction: column;
}

.voleirio-c-header {
    margin-bottom: 15px;
}

.voleirio-c-date {
    font-family: 'Antonio', sans-serif;
    color: #a0a0a0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.voleirio-c-date b {
    color: var(--theme-color);
}

.voleirio-c-champ {
    color: #888888;
    font-size: 12px;
}

.voleirio-c-team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.voleirio-c-team-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.voleirio-c-logo {
    width: 34px;
    height: 34px;
    background: white;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 0;
}

.voleirio-c-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.voleirio-c-team-name {
    font-family: 'Alumni Sans', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: var(--theme-color);
}

.voleirio-c-score {
    background: #222222;
    color: var(--theme-color);
    font-family: 'Alumni Sans', sans-serif;
    font-weight: 800;
    font-size: 20px;
    padding: 2px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voleirio-c-sets {
    font-size: 10px;
    color: #666666;
    margin: 4px 0 4px 40px; /* Alinhado após o escudo */
    letter-spacing: 0.5px;
    min-height: 15px; /* Altura mínima para manter organização */
}

.voleirio-carousel-loading {
    padding: 40px;
    text-align: center;
    color: #888;
    width: 100%;
    align-content: center;
}
