footer {
    background-color: #2c3e50;
    /* สีพื้นหลังน้ำเงิน */
    color: white;
    font-family: Arial, sans-serif;
    padding: 40px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* เพิ่มเงาให้กับฟุตเตอร์ */
}

.project-footer-nav {
    max-width: 1200px;
    margin: 0 auto 35px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
}

.project-footer-nav__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.project-footer-nav__icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.2), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.project-footer-nav__icon i {
    font-size: 1.5rem;
    color: #ffd700;
}

.project-footer-nav__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: #ffd700;
    margin: 0 0 4px;
}

.project-footer-nav__title {
    margin: 0;
    font-size: 1.4rem;
    color: #fff;
}

.project-footer-nav__section-title {
    margin: 0 0 12px;
    font-size: 1.05rem;
    color: #ffd700;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.project-footer-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px 20px;
}

.project-footer-nav__list li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.65rem 1rem;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease;
}

.project-footer-nav__list li a i {
    color: #33d1ff;
}

.project-footer-nav__list li a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.galaxy-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    /* เพิ่มระยะห่างระหว่างแต่ละส่วน */
    flex-wrap: nowrap;
    /* ทำให้คอลัมน์ทั้งหมดอยู่ในแถวเดียวกัน */
}

.cosmic-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
}

.cosmic-badge img {
    width: 150px;
    height: auto;
}

.nebula-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    gap: 30px;
}

.stardust-box {
    width: 250px;
    margin-bottom: 30px;
}

.stardust-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #FFD700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Arial', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    border-bottom: 3px solid #FFD700;
    padding-bottom: 10px;
}

.stardust-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stardust-box ul li {
    margin: 8px 0;
}

.stardust-box ul li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.stardust-box ul li a:hover {
    color: gold;
}

.stardust-box ul li i {
    margin-right: 12px;
    font-size: 28px;
    transition: font-size 0.3s ease;
}

.stardust-box ul li a:hover i {
    font-size: 32px;
}

.comet-links a {
    display: inline-block;
    margin: 5px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.comet-links a:hover {
    color: #d40000;
}

.quantum-signature {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #f8f8f8;
}

.quantum-signature p {
    margin: 5px 0;
}

/* Media Query สำหรับอุปกรณ์ที่มีหน้าจอเล็ก */
@media (max-width: 768px) {
    .project-footer-nav {
        padding: 20px;
    }

    .project-footer-nav__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-footer-nav__title {
        font-size: 1.2rem;
    }

    .nebula-grid {
        flex-direction: column;
        align-items: center;
        /* เมื่อหน้าจอเล็กจะจัดให้แต่ละส่วนอยู่ในคอลัมน์ */
    }

    .stardust-box {
        width: 100%;
        margin-bottom: 20px;
    }
}
