.samboteca-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    background: #000;
}

.samboteca-title {
    position: fixed;
    top: 12px;
    left: 12px;
    margin: 0;
    font-size: 3vh;
    color: #fff;
    z-index: 10;
}

.samboteca-play-btn {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px 27px;
    background: #000;
    color: #fff;
    border: 2px outset #bbb;
    letter-spacing: 2px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 3vh;
    z-index: 10;
}

.samboteca-play-btn:hover {
    background: #333;
}

.samboteca-container .samboteca-play-btn.hidden {
    display: none !important;
}

.samboteca-hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 3vh;
    height: 2.5vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 20;
}

.samboteca-hamburger span {
    display: block;
    width: 100%;
    height: 0.3vh;
    background: #11111;
    border-radius: 3px;
}

.samboteca-hamburger:hover span {
    background: #ccc;
}

.samboteca-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    background: #000;
    border: 2px outset #bbb;
    border-radius: 3px;
    z-index: 20;
    width: 6vh;
}

.samboteca-menu-item {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 1.8vh;
    letter-spacing: 1px;
}

.samboteca-menu-item:hover {
    background: #333;
}

.samboteca-menu.active {
    display: flex;
}

.samboteca-audio {
    display: none;
}

.samboteca-canvas {
    width: 100vw;
    height: 100vh;
    pointer-events: auto !important;
}

.samboteca-test-label {
    position: fixed;
    bottom: 12px;
    right: 12px;
    color: #fff;
    font-family: BitcountPropSingleInk;
    font-size: 10px;
    pointer-events: auto;
    letter-spacing: 1px;
    z-index: 10;
}

.samboteca-track-title {
    position: fixed;
    top: 40vh;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 3.5vh;
    z-index: 100;
    pointer-events: auto;
    line-height: 1.2em;
    max-width: 80%;
    width: 100%;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
    display: none;
}

.samboteca-track-type {
    position: fixed;
    top: calc(40vh - 4.2vh);
    left: 50%;
    transform: translateX(-50%);
    font-family: BitcountPropSingleInk;
    color: #fff;
    font-size: 3vh;
    z-index: 100;
    pointer-events: auto;
    display: none;
}

.fps-tela {
    position: fixed;
    bottom: 24px;
    font-family: BitcountPropSingleInk;
    right: 12px;
    font-size: 10px;
    letter-spacing: 1px;
    z-index: 1000;
}

.samboteca-credit {
    position: fixed;
    bottom: 12px;
    left: 12px;
    font-family: BitcountPropSingleInk;
    color: #fff;
    font-size: 15px;
    letter-spacing: 1px;
    z-index: 10;
    pointer-events: auto;
    display: none;
}

.samboteca-credit a {
    color: #fff;
    text-decoration: none;
}

.samboteca-credit a:hover {
    text-decoration: none;
}

.samboteca-total-time {
    position: fixed;
    font-family: BitcountPropSingleInk;
    letter-spacing: 1px;
    bottom: 36px;
    right: 12px;
    font-size: 10px;
}

.samboteca-categories {
    position: fixed;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2vh;
    color: #fff;
    margin-bottom: 50px;
    z-index: 10;
}

.samboteca-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 21px;
    justify-content: center;
    max-width: 1200px;
}

.samboteca-categories li {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.samboteca-categories ul:has(li:nth-child(n+7)) li:nth-child(n+7) {
    flex: 0 0 100%;
    justify-content: center;
}

.samboteca-category-checkbox {
    margin-right: 10px;
    width: 2vh;
    height: 2vh;
}

.samboteca-category-label {
    cursor: pointer;
    color: #fff;
    letter-spacing: 1px;
}

.samboteca-volume-container,
.samboteca-balance-container,
.samboteca-eq-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 20px;
    display: flex;
    align-items: center;
    z-index: 10;
}

.samboteca-volume-container {
    bottom: 50px;
}

.samboteca-balance-container {
    bottom: 80px;
}

.samboteca-eq-container {
    bottom: 110px;
}

.samboteca-volume-bar,
.samboteca-balance-bar,
.samboteca-eq-bar {
    width: 150px;
    height: 6px;
    background: #333333;
    position: relative;
    cursor: pointer;
    border-radius: 3px;
}

.samboteca-volume-fill,
.samboteca-eq-fill {
    height: 100%;
    background: #00ff00; /* Será substituído por options.bar_color */
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 3px;
    transition: width 0.2s ease, left 0.2s ease;
}

.samboteca-balance-marker,
.samboteca-eq-fill {
    width: 10%; /* 15px em desktop (150px * 0.1), 10px em mobile (100px * 0.1) */
    height: 100%;
    background: #00ff00; /* Será substituído por options.bar_color */
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
    transition: left 0.2s ease;
}

.samboteca-volume-fill {
    min-width: 15px;
}

.samboteca-volume-percentage,
.samboteca-balance-percentage,
.samboteca-eq-percentage {
    margin-left: 8px;
    color: #ffffff;
    font-size: 14px;
    font-family: Arial, sans-serif;
    white-space: nowrap;
}

.samboteca-balance-percentage {
    margin-left: 8px;
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .samboteca-volume-container,
    .samboteca-balance-container,
    .samboteca-eq-container {
        width: 150px;
    }
    .samboteca-volume-bar,
    .samboteca-balance-bar,
    .samboteca-eq-bar {
        width: 100px;
    }
    .samboteca-volume-fill {
        min-width: 10px;
    }
    .samboteca-balance-marker,
    .samboteca-eq-fill {
        width: 10%; /* 10px em mobile */
    }
    .samboteca-volume-percentage,
    .samboteca-balance-percentage,
    .samboteca-eq-percentage {
        font-size: 12px;
        margin-left: 8px;
        white-space: nowrap;
    }
    .samboteca-play-btn {
        top: 40%;
        transform: translate(-50%, -50%);
    }
    .samboteca-categories {
        width: 90%;
    }
    .samboteca-categories ul {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: space-between;
    }
    .samboteca-categories li {
        flex: 0 0 calc(33.333% - 8px);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .samboteca-category-checkbox {
        width: 1.5vh;
        height: 1.5vh;
        margin-right: 5px;
    }
    .samboteca-category-label {
        font-size: 1.8vh;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .samboteca-volume-container {
        bottom: 72px;
    }
    .samboteca-balance-container {
        bottom: 93px;
    }
    .samboteca-eq-container {
        bottom: 114px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
        .samboteca-volume-container {
        bottom: 12px;
    }
    .samboteca-balance-container {
        bottom: 30px;
    }
    .samboteca-eq-container {
        bottom: 48px;
    }
    .samboteca-track-type {
        top: calc(40vh - 0.2vh);
    }
}

@media (max-width: 768px) and (orientation: portrait) {
    .samboteca-canvas {
        height: 100vh; /* Reduzir largura para adicionar margens */
        margin: 0 auto; /* Centralizar o canvas */
    }
}