/* ===== mo_ta.css - GAMING NEON DARK ===== */

/* Toàn trang */
body{
    margin:0;
    padding:0;
    font-family:'Segoe UI', Tahoma, sans-serif;
    color: rgba(255,255,255,0.88);
    background: radial-gradient(circle at top, #1a2a6c, #0b0b15 60%, #000 100%);
    overflow-x:hidden;
    position:relative;
}

/* glow nền */
body::before{
    content:"";
    position:fixed;
    width:560px;
    height:560px;
    background:rgba(0,255,255,.18);
    filter:blur(120px);
    top:-170px;
    left:-170px;
    pointer-events:none;
    z-index:-1;
}
body::after{
    content:"";
    position:fixed;
    width:560px;
    height:560px;
    background:rgba(255,0,200,.14);
    filter:blur(120px);
    bottom:-170px;
    right:-170px;
    pointer-events:none;
    z-index:-1;
}

/* Container chính */
.main-container{
    max-width: 1500px;
    margin: 30px auto;
    padding: 22px;
    display:flex;
    gap:20px;

    background: rgba(15, 15, 25, 0.78);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;

    box-shadow: 0 12px 40px rgba(0,0,0,.55);
    backdrop-filter: blur(10px);

    position:relative;
    overflow:hidden;
}

/* neon line top */
.main-container::before{
    content:"";
    position:absolute;
    left:18px;
    right:18px;
    top:-1px;
    height:2px;
    background:linear-gradient(90deg, transparent, #00ffff, #ff00cc, transparent);
    opacity:.9;
}

/* Cột ảnh */
.product-image{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    min-width: 0;
}

/* KHUNG BAO ẢNH CHÍNH */
.main-image-box{
    width:100%;
    max-width:1000px;
    height:380px;

    border-radius:18px;
    overflow:hidden;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);

    box-shadow: 0 12px 35px rgba(0,0,0,.55);
}

/* ẢNH CHÍNH */
.main-image-box img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
    transition: transform .45s ease;
}

/* hover ảnh chính */
.main-image-box:hover img{
    transform: scale(1.03);
}

/* Divider (gạch dọc) */
.divider{
    width:2px;
    border-radius:1px;
    background: linear-gradient(to bottom, transparent, #00ffff, #ff00cc, transparent);
    opacity:.85;
}

/* Cột mô tả */
.product-info{
    flex:1;
    display:flex;
    flex-direction:column;
    min-width:0;
}

/* Title */
.product-info h2{
    font-size:24px;
    margin-bottom:10px;
    color:#00ffff;
    letter-spacing:.4px;
    text-transform:uppercase;
}

/* mô tả */
.product-info p{
    font-size:14.5px;
    line-height:1.7;
    margin-bottom:14px;
    color: rgba(255,255,255,0.78);

    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Giá */
.product-info .price{
    font-weight:900;
    font-size:18px;
    margin-bottom:18px;
    color:#00ff9d;
}

/* nút mua + thêm giỏ (neon) */
.product-info .btn-buy,
.product-info .btn-add{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:12px 18px;
    border-radius:14px;
    font-weight:900;
    font-size:14px;
    letter-spacing:.2px;

    color:#fff;
    text-decoration:none;

    background: linear-gradient(135deg, rgba(0,255,255,.18), rgba(255,0,204,.16));
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 10px 22px rgba(0,0,0,.35);

    transition:.25s;
}

/* nếu bạn muốn 2 nút cách nhau */
.product-info .btn-add{
    margin-top:10px;
}

.product-info .btn-buy{
    margin-top:auto; /* đẩy xuống đáy */
}

.product-info .btn-buy:hover,
.product-info .btn-add:hover{
    transform: translateY(-2px);
    border-color: rgba(0,255,255,0.35);
    box-shadow: 0 16px 30px rgba(0,0,0,.55);
}

.product-info .btn-buy:active,
.product-info .btn-add:active{
    transform: scale(0.97);
}

/* ===== DANH SÁCH ẢNH NHỎ ===== */
.thumb-list{
    display:flex;
    flex-direction:row;
    gap:10px;
    flex-wrap:wrap;
}

.thumb{
    width:72px;
    height:72px;
    border-radius:14px;
    object-fit:cover;
    cursor:pointer;

    opacity:.65;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);

    transition:.22s;
}

.thumb:hover{
    opacity:1;
    transform: translateY(-2px) scale(1.05);
    border-color: rgba(0,255,255,0.35);
    box-shadow: 0 12px 26px rgba(0,0,0,.45);
}

.thumb.active{
    opacity:1;
    border-color: rgba(0,255,255,0.70);
    box-shadow: 0 12px 26px rgba(0,255,255,0.10);
}

/* Responsive */
@media (max-width: 768px){
    .main-container{
        flex-direction:column;
        margin: 18px 14px;
        padding: 18px;
        border-radius:16px;
    }

    .divider{
        display:none;
    }

    .main-image-box{
        height:240px;
        border-radius:16px;
    }

    .thumb{
        width:64px;
        height:64px;
        border-radius:14px;
    }

    .product-info h2{
        font-size:20px;
    }
}
