/* ส่วนสำหรับ Streamer Highlight */
#streamer-highlight {
    background-color: #2c3e50; /* สีพื้นหลังส่วนนี้ */
    padding: 60px 0;
    text-align: center;
}

#streamer-highlight h2 {
    color: #ecf0f1; /* สีข้อความหัวข้อ */
    margin-bottom: 40px;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.streamer-slider {
    position: relative;
    max-width: 900px; /* กำหนดความกว้างสูงสุดของสไลด์ */
    margin: 0 auto;
    overflow: hidden; /* ซ่อนสไลด์ที่เกินขอบ */
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    background-color: #34495e; /* สีพื้นหลังของสไลด์ */
}

.slider-inner {
    display: flex;
    transition: transform 0.5s ease-in-out; /* เพิ่ม animation ในการสไลด์ */
}

.streamer-slide {
    min-width: 100%; /* ทำให้แต่ละสไลด์เต็มความกว้างของคอนเทนเนอร์ */
    box-sizing: border-box; /* รวม padding/border ใน width */
    padding: 30px;
    text-align: center;
    color: #ecf0f1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.streamer-img {
    width: 150px; /* ขนาดรูปโปรไฟล์สตรีมเมอร์ */
    height: 150px;
    border-radius: 50%; /* ทำให้รูปเป็นวงกลม */
    object-fit: cover;
    border: 4px solid #f39c12; /* ขอบรูปโปรไฟล์ */
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.streamer-slide h3 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #f39c12; /* สีชื่อสตรีมเมอร์ */
}

.streamer-slide p {
    font-size: 1.1em;
    margin-bottom: 25px;
    line-height: 1.6;
}

.streamer-slide .btn-primary {
    background-color: #f39c12; /* สีปุ่ม */
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.streamer-slide .btn-primary:hover {
    background-color: #e67e22;
}

.streamer-slide .btn-primary i {
    margin-right: 8px;
}

/* ปุ่มเลื่อนสไลด์ (ซ้าย/ขวา) */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    font-size: 1.5em;
    z-index: 100;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.slider-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* จุดบอกตำแหน่งสไลด์ (Dots) */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: #f39c12; /* สีจุดที่แอคทีฟ */
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .streamer-slide {
        padding: 20px;
    }
    .streamer-slide h3 {
        font-size: 1.8em;
    }
    .streamer-slide p {
        font-size: 1em;
    }
    .streamer-img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .slider-nav {
        padding: 10px 5px;
        font-size: 1.2em;
    }
    .prev-btn {
        left: 5px;
    }
    .next-btn {
        right: 5px;
    }
    .streamer-slide {
        padding: 15px;
    }
    .streamer-img {
        width: 100px;
        height: 100px;
    }
}