/* BeoSound 5 Device Component */

[data-bs5-component] {
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bs5-device {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.bs5-body {
    position: relative;
    display: flex;
    align-items: center;
}

.bs5-screen {
    width: 640px;
    height: 480px;
    background: linear-gradient(
        145deg,
        #0a0a0a 0%,
        #050505 50%,
        #0a0a0a 100%
    );
    border: 2px solid #333;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    padding: 46px 72px 46px 46px;
    display: flex;
    flex-direction: column;
}

.bs5-screen-inner {
    width: 100%;
    height: 100%;
    background: #000;
    border: 1px solid #222;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bs5-logo {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Helvetica Neue', -apple-system, sans-serif;
    font-size: 7px;
    font-weight: 400;
    letter-spacing: 2.5px;
    color: #888;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

.bs5-iframe,
.bs5-media {
    width: 106%;
    height: 106%;
    margin: -3% 0 0 -3%;
    border: none;
    background: #000;
    object-fit: cover;
}

.bs5-wheel {
    position: absolute;
    right: -125px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.bs5-wheel-ring {
    width: 262px;
    height: 262px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 20% 15%,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(255, 255, 255, 0.4) 10%,
            rgba(255, 255, 255, 0.15) 25%,
            transparent 45%
        ),
        radial-gradient(
            circle at 80% 85%,
            rgba(255, 255, 255, 0.6) 0%,
            rgba(255, 255, 255, 0.3) 10%,
            rgba(255, 255, 255, 0.1) 25%,
            transparent 45%
        ),
        repeating-radial-gradient(
            circle at center,
            transparent 0px,
            rgba(255, 255, 255, 0.05) 0.5px,
            transparent 1px,
            rgba(0, 0, 0, 0.03) 1.5px,
            transparent 2px
        ),
        linear-gradient(
            155deg,
            #b8b8b8 0%,
            #a0a0a0 25%,
            #888888 50%,
            #909090 75%,
            #a0a0a0 100%
        );
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 6px 30px rgba(0, 0, 0, 0.5),
        inset 0 2px 8px rgba(255, 255, 255, 0.6),
        inset 0 -3px 6px rgba(0, 0, 0, 0.3),
        inset 30px -20px 40px rgba(255, 255, 255, 0.15);
    padding: 25px;
}

.bs5-wheel-disc {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(
        155deg,
        #d0d0d0 0%,
        #c0c0c0 30%,
        #b0b0b0 60%,
        #b8b8b8 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.15);
    border: 3px solid #555;
}

.bs5-wheel-bar {
    width: 100%;
    height: 23px;
    background: #252525;
    display: flex;
    align-items: center;
    font-family: 'Helvetica Neue', -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    user-select: none;
}

.bs5-btn-back,
.bs5-btn-fwd,
.bs5-btn-go {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    user-select: none;
}

.bs5-btn-back {
    width: 25%;
    border-right: 1px solid #333;
}

.bs5-btn-back::before {
    content: '<';
    font-size: 13px;
    font-weight: 900;
    margin-top: -2px;
}

.bs5-btn-fwd {
    width: 25%;
    border-right: 1px solid #333;
}

.bs5-btn-fwd::before {
    content: '>';
    font-size: 13px;
    font-weight: 900;
    margin-top: -2px;
}

.bs5-btn-go {
    width: 50%;
}

.bs5-btn-go::before {
    content: 'GO';
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    [data-bs5-component] {
        min-height: 400px;
    }
}

@media (max-width: 900px) {
    .bs5-screen {
        width: 480px;
        height: 360px;
        padding: 35px 54px 35px 35px;
    }

    .bs5-logo {
        bottom: 12px;
        height: 10px;
        font-size: 8px;
    }

    .bs5-wheel {
        right: -95px;
    }

    .bs5-wheel-ring {
        width: 197px;
        height: 197px;
        padding: 19px;
    }

    .bs5-wheel-bar {
        height: 17px;
    }

    .bs5-btn-back::before,
    .bs5-btn-fwd::before {
        font-size: 9px;
    }

    .bs5-btn-go::before {
        font-size: 9px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    [data-bs5-component] {
        min-height: 320px;
    }

    .bs5-wheel-ring {
        width: 150px;
        height: 150px;
        padding: 15px;
    }

    .bs5-logo {
        bottom: 12px;
        height: 8px;
        font-size: 7px;
    }

    .bs5-wheel-bar {
        height: 13px;
    }

    .bs5-btn-back::before,
    .bs5-btn-fwd::before {
        font-size: 7px;
    }

    .bs5-btn-go::before {
        font-size: 7px;
        letter-spacing: 1px;
    }
}

@media (max-width: 500px) {
    [data-bs5-component] {
        min-height: 260px;
    }
}
