/* (CSS สำหรับ "หน้าบ้าน" ... ธีม Dark/Mystical) */

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background-color: #121212;
    color: #eee;
}

.index-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* 1. (ส่วนต้อนรับ) */
.hero {
    text-align: center;
    padding: 80px 20px;
    /* (⭐️ "ย้อม" ภาพพื้นหลัง... เหมือน "ฮับ") */
    background: linear-gradient(rgba(10, 5, 20, 0.8), rgba(10, 5, 20, 0.9)), 
                url('https://i.imgur.com/g8VUcAm.jpeg'); /* (ใช้ภาพป่าเวทมนตร์... หรือภาพอื่น) */
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-size: 3.5em;
    color: #c77dff; /* (สีม่วง Neon) */
    margin: 0;
    text-shadow: 0 0 15px rgba(199, 125, 255, 0.5);
}

.hero p {
    font-size: 1.2em;
    color: #ccc;
    margin: 20px 0 30px 0;
}

/* (นี่คือ "ปุ่ม" ที่คุณขอ) */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    background-color: #007bff; /* (สีน้ำเงิน... ให้ "เด่น") */
    text-decoration: none;
    border-radius: 30px;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}
.cta-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* 2. (ส่วนแนะนำเกม) */
.guides {
    text-align: center;
}

.guides h2 {
    font-size: 2.5em;
    color: #00e0ff; /* (สีฟ้า Diamond) */
    border-bottom: 2px solid rgba(0, 224, 255, 0.3);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.game-list {
    display: grid;
    grid-template-columns: 1fr 1fr; /* (2 คอลัมน์) */
    gap: 20px;
}

.game-guide {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    transition: transform 0.2s ease;
}
.game-guide:hover {
    transform: translateY(-5px);
    border-color: #c77dff;
}
.game-guide h3 {
    font-size: 1.5em;
    color: #c77dff;
    margin-top: 0;
}
.game-guide p {
    color: #bbb;
}

/* (Footer) */
.index-footer {
    text-align: center;
    margin-top: 50px;
    color: #777;
}

/* (สำหรับมือถือ... ให้เหลือ 1 คอลัมน์) */
@media (max-width: 768px) {
    .game-list {
        grid-template-columns: 1fr;
    }
}