body {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    background-size: cover;
    background-position: center center;
}

html, body {
    overflow: hidden;
    touch-action: none;
    height: 100%;
}

canvas {
    touch-action: none !important;
}

.main {
    background-image: url("/resources/standee.png");
    background-size: 100% 100%;
    background-position: center center;
    width: 100%;
    height: 100%;
}

.card_info {
    position: absolute;
    right: 50px;
    top: 50px;
    background: white;
    padding: 20px;
    border-radius: 20px;
}

.card_info a {
    text-decoration: none;
    color: blue;
}

#myRobot {
    position: absolute;
    right: -50px;
    bottom: -40px;
    z-index: 9999;
    width: 300px;
    height: 300px;
}

#message_container {
    position: absolute;
    right: 190px;
    bottom: 190px;
    min-width: 200px;
    padding: 10px 20px;
    max-width: 700px;
    display: none;
    z-index: 9999;
}

#message {
    margin: 0;
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
}

.info-button {
    position: absolute;
    top: 50px;
    right: 50px;
    z-index: 1!important;
}

.sidebar-container {
    height: 300px;
}

.sidebar {
    background: rgba(15, 20, 40, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    padding: 20px;
    backdrop-filter: blur(10px);
    overflow-x: auto;
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    border-radius: 0 !important;
}

.sidebar::after {
    border-radius: 0 !important;
}

.sidebar::-webkit-scrollbar { /* Chrome, Safari, Edge mới */
    display: none;
}

.sidebar-title {
    color: #41fb2a;
    font-size: 1.2rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 255, 255, 0.4);
    padding-bottom: 8px;
    margin-bottom: 16px;
    text-shadow: 0 0 10px #41fb2a;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px;
    margin-right: 16px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.15);
    transition: all 0.3s ease;
    min-width: 230px;
    max-width: 230px;
}

.product-card:hover {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
    transform: translateY(-4px);
}

.product-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 8px;
}

.product-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 4px 0;
    text-align: center;
    font-weight: bold;
}

.product-card p {
    font-size: 0.85rem;
    color: #a0b8d1;
    line-height: 1.3em;
}

/*.sidebar::before, .sidebar::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    width: 3px;*/
/*    height: 100%;*/
/*    background: linear-gradient(180deg, #00ffff, #ff00ff);*/
/*    opacity: 0.4;*/
/*    filter: blur(2px);*/
/*}*/
/*.sidebar::before { left: 0; }*/
/*.sidebar::after { right: 0; }*/

#model-container {
    width: 100%;
    height: calc(100vh - 300px);
}



.neon-button {
    width: 160px;
    height: 160px;
    border-radius: 50% !important;
    background: rgba(151, 228, 243, 0.62);
    box-shadow:
            0 0 10px rgba(0, 255, 255, 0.4),
            0 0 20px rgba(0, 255, 255, 0.2),
            inset 0 0 20px rgba(0, 255, 255, 0.2);
    border: 5px solid rgba(255, 255, 255, 0.87);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    text-align: center;
    top: 30px;
    right: 30px;
    z-index: 9999;
}

/* Icon ở giữa */
.neon-button .icon {
    /*font-size: 32px;*/
}

.neon-button::after {
    border-radius: 50%!important;
}

/* Hiệu ứng glow bên ngoài */
.neon-button::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.2), transparent 70%);
    z-index: -1;
    filter: blur(8px);
    transition: all 0.4s ease;
}

.neon-button span {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    color: white;
}

/* Hover animation */
.neon-button:hover {
    box-shadow:
            0 0 20px rgba(0, 255, 255, 0.8),
            0 0 40px rgba(0, 255, 255, 0.4),
            inset 0 0 20px rgba(0, 255, 255, 0.4);
    transform: scale(1.05);
}

.neon-button:hover::before {
    transform: scale(1.2);
    opacity: 0.8;
}

.area-3d {
    position: relative;
    flex: 1;
}

.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(2px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2),
    inset 0 4px 20px rgba(255, 255, 255, 0.3);
}

.glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2rem;
    backdrop-filter: blur(1px);
    box-shadow: inset -10px -8px 0px -11px rgba(255, 255, 255, 1),
    inset 0px -9px 0px -8px rgba(255, 255, 255, 1);
    opacity: 0.6;
    z-index: -1;
    filter: blur(1px) drop-shadow(10px 4px 6px black) brightness(115%);
}



.dialog-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(1px);
}

.dialog-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Vùng nội dung */
.dialog-content {
    position: relative;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0,255,255,0.15), rgba(0,0,0,0.4));
    box-shadow: 0 0 40px rgba(0,255,255,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: zoomIn 0.5s ease forwards;
}

/* Ảnh trung tâm */
.product-center img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(0,255,255,0.6);
}

/* Các nút orbit */
.orbit {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orbit-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: rotate(calc(90deg * var(--i))) translate(130px) rotate(calc(-90deg * var(--i)));
    background: rgba(0,255,255,0.15);
    border: 1px solid rgba(0,255,255,0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: #00eaff;
    font-size: 20px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}
.orbit-btn:hover {
    box-shadow: 0 0 20px rgba(0,255,255,0.8);
    transform: scale(1.1) rotate(calc(90deg * var(--i))) translate(130px) rotate(calc(-90deg * var(--i)));
}

/* Animation bật */
@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lSSlideOuter .lightSlider li img {
    height: 700px;
}

.lSSlideOuter .lSPager.lSGallery img {
    height: 100px;
}


.protect-screen {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(1px);
    z-index: 9999;
}

.protect-screen.active {
    opacity: 1;
    pointer-events: all;
}

.product-card-home {
    margin-right: 0;
    margin-bottom: 20px;
    min-width: 400px;
    max-width: 400px;
    padding: 20px;
}

.product-card-home img {
    height: 260px;
}

.product-card-home h3 {
    font-size: 2rem;
}

@media only screen and (max-width: 480px) {
    .sidebar {
        justify-content: unset;
    }

    .sidebar-container {
        height: 180px;
    }

    .product-card {
        min-width: 130px;
        max-width: 130px;
    }

    .product-card img {
        height: 80px;
        margin-bottom: 4px;
    }

    .product-card h3 {
        font-size: 0.8rem;
    }

    #myRobot {
        width: 170px;
        height: 170px;
        right: -35px;
        bottom: -30px;
    }

    #message_container {
        right: 90px;
        bottom: 90px;
    }

    #message {
        font-size: 0.9rem;
    }

    .info-button {
        right: 20px;
        top: 20px;
    }

    .neon-button {
        width: 70px;
        height: 70px;
    }

    .dialog-content {
        width: 300px;
        height: 300px;
    }

    #model-container {
        width: 100%;
        height: calc(100vh - 180px);
    }

    .neon-button img {
        width: 25px;
    }

    .neon-button span {
        font-size: 0.6rem;
    }

    .lSSlideOuter .lightSlider li img {
        height: 350px;
    }

    .lSSlideOuter .lSPager.lSGallery img {
        height: 70px;
    }

    .product-center img {
        width: 100px;
        height: 100px;
    }
}

@media only screen and (max-width: 576px) {

}

@media only screen and (max-width: 768px) {

}