body {
    margin: 0;
    padding: 0;
    font-family: "Kanit", sans-serif;
    background: #000;
	background: url('http://warzironz.com/img/background.png');
    background-size: cover;
}

/* หน้า Download */
.download-page {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
	margin-top: 80px;
    flex-wrap: wrap;
    
    background-position: center;
}

.column {
    width: 600px;
    background: rgba(0,0,0,0.65);
    padding: 25px;
    border-radius: 10px;
    backdrop-filter: blur(3px);
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

/* ===== ปรับหัวข้อใหม่ ===== */
.title {
    text-align: center;
    font-size: 35px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
    text-shadow: none !important; /* ❌ ตัดแสงออก */
}

/* เส้นแดงใต้หัวข้อ */
.title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 120px;
    height: 3px;
    background: #ff2b2b; /* 🔥 สีแดงแทนส้ม */
    transform: translateX(-50%);
    border-radius: 2px;
}

/* ตาราง */
.download-table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    font-size: 16px;
}

.download-table th {
    background: #111;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #550000; /* 🔥 แดงเข้ม */
}

.download-table td {
    padding: 12px;
    border-bottom: 1px solid #330000; /* 🔥 แดงหม่น */
}

.dl-center {
    text-align: center;
}

/* ปุ่มดาวน์โหลด/วิดีโอ */
.btn-dl, .btn-video {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #222;
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
}

.btn-dl:hover,
.btn-video:hover {
    background: #ff2b2b;   /* 🔥 เปลี่ยนเป็นแดง */
    transform: scale(1.1);
    box-shadow: 0 0 10px #ff2b2b; /* แสงแดง */
}

.btn-dl.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}
/* เส้นคั่นแนวตั้งกำหนดให้ th และ td ทุกช่อง */
.download-table th,
.download-table td {
    border-right: 2px solid rgba(255, 0, 0, 0.35); /* เส้นแดงหม่นด้านขวา */
}

/* ลบเส้นคอลัมน์สุดท้ายออก */
.download-table th:last-child,
.download-table td:last-child {
    border-right: none;
}

/* เส้นคั่นใต้หัวตารางให้เข้มขึ้น */
.download-table tr:first-child th {
    border-bottom: 3px solid rgba(255, 0, 0, 0.55);
}

/* เส้นคั่นแต่ละแถว */
.download-table td {
    border-bottom: 1px solid rgba(255, 0, 0, 0.25);
}

/* จัดตำแหน่งไอคอนให้อยู่กลางเป๊ะ */
.download-table th,
.download-table td {
    vertical-align: middle !important;
}

/* ปุ่มในช่องวิดีโอ/ดาวน์โหลด */
.btn-dl, .btn-video {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #222;
    color: #fff;
    margin: 0 4px;
    transition: 0.2s;
}

.btn-dl:hover,
.btn-video:hover {
    background: #ff2b2b;
    transform: scale(1.1);
    box-shadow: 0 0 10px #ff2b2b;
}
/* จัดหัวข้อให้อยู่ตรงกลางทั้งแนวนอนและแนวตั้ง */
.download-table th {
    text-align: center !important;
    vertical-align: middle !important;
    height: 50px; /* ทำให้หัวตารางสูงเท่ากัน */
    padding: 0;
    line-height: 1;
}
.btn-video,
.btn-dl {
    text-decoration: none !important;
}
.download-table td {
    vertical-align: middle !important;
    text-align: center;
}
/* พื้นหลัง Popup */
.image-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(3px);
    justify-content: center;
    align-items: center;
}

/* รูปใน Popup */
.image-popup img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(255,0,0,0.5);
}

/* ปุ่มปิด */
.close-img-popup {
    position: absolute;
    top: 40px;
    right: 60px;
    font-size: 50px;
    color: #fff;
    cursor: pointer;
    text-shadow: 0 0 10px #000;
    transition: 0.2s;
}

.close-img-popup:hover {
    color: #ff2b2b;
    transform: scale(1.1);
}
