 :root {
            --pink-gradient: linear-gradient(90deg, #ff85c0, #f759ab);
            --blue-gradient: linear-gradient(90deg, #70d6ff, #1890ff);
            --glass: rgba(255, 255, 255, 0.85);
            --glass-dark: rgba(255, 255, 255, 0.95);
        }

        body, html {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            font-family: 'Kanit', sans-serif;
            overflow-x: hidden;
        }

        .bg-layer {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('075722.webp') no-repeat center center;
            background-size: cover;
            z-index: -1;
            filter: brightness(0.8);
        }

        /* Navbar */
        .navbar {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: #fff;
            padding: 10px 30px;
            border-radius: 50px;
            display: flex;
            align-items: center;
            gap: 25px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.15);
            z-index: 100;
        }

        .nav-item { text-decoration: none; color: #444; font-weight: bold; font-size: 14px; transition: 0.3s; }
        .nav-item:hover { color: #f759ab; }
        .nav-active { background: var(--blue-gradient); color: white; padding: 5px 20px; border-radius: 20px; }

        .logo-center { text-align: center; font-weight: bold; }
        .logo-main { color: #f759ab; font-size: 20px; display: block; line-height: 1; }
        .logo-sub { color: #1890ff; font-size: 10px; text-transform: uppercase; }

        /* Main Content */
        .container {
            max-width: 1000px;
            margin: 120px auto 50px;
            padding: 0 20px;
            z-index: 10;
            position: relative;
        }

        .download-header {
            text-align: center;
            color: white;
            text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
            margin-bottom: 40px;
        }

        .download-header h1 { font-size: 40px; margin: 0; }

        /* Download Section */
        .download-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 25px;
            margin-bottom: 40px;
        }

        .dl-card {
            background: var(--glass);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: 0.3s;
        }

        .dl-card:hover { transform: translateY(-5px); background: white; }

        .dl-card h2 { color: #333; margin-top: 0; }
        .dl-card p { color: #666; font-size: 14px; }

        .btn-dl {
            display: inline-block;
            padding: 15px 40px;
            border-radius: 12px;
            text-decoration: none;
            color: white;
            font-weight: bold;
            margin-top: 15px;
            transition: 0.3s;
        }

        .btn-full { background: var(--pink-gradient); width: 80%; }
        .btn-mirror { background: var(--blue-gradient); width: 80%; }

        /* Requirements Table */
        .spec-container {
            background: var(--glass-dark);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .spec-container h3 {
            text-align: center;
            color: #333;
            margin-bottom: 25px;
            font-size: 22px;
            border-bottom: 2px solid #f759ab;
            display: inline-block;
            width: 100%;
            padding-bottom: 10px;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            font-size: 15px;
        }

        th {
            background: #f0f2f5;
            color: #555;
            padding: 12px;
            text-align: left;
        }

        td {
            padding: 12px;
            border-bottom: 1px solid #eee;
            color: #444;
        }

        .spec-label { font-weight: bold; color: #1890ff; width: 30%; }

        /* Footer */
        .footer {
            text-align: center;
            color: rgba(255, 255, 255, 0.8);
            font-size: 12px;
            padding: 40px 0;
            line-height: 1.6;
        }

        @media (max-width: 768px) {
            .download-grid { grid-template-columns: 1fr; }
            .navbar { width: 90%; gap: 10px; padding: 10px; }
            .nav-item { font-size: 12px; }
        }
 .job-card {
            background: var(--glass);
            backdrop-filter: blur(10px);
            padding: 30px;
            border-radius: 20px;
            width: 260px;
            text-align: center;
            color: #333;
            transition: 0.3s;
            border: 1px solid rgba(255,255,255,0.3);
        }

        .job-card img { height: 60px; margin-bottom: 15px; border-radius: 10px; }
         /* กล่องควบคุมขนาดรูปภาพ */
        .logo-animation-box {
            height: 55px; /* ปรับขนาดความสูงของรูปบน Navbar ได้ที่นี่ */
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 2px 0; /* เว้นระยะห่างบน-ล่าง */
        }

        .nav-logo-char {
            height: 100%;
            width: auto;
            filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
            /* เรียกใช้แอนิเมชันขยับ */
            animation: logoBounce 3s infinite ease-in-out; 
            transform-origin: bottom center; /* ให้ฐานของรูปเป็นจุดหมุน/ยืด */
        }

        /* โค้ดแอนิเมชันขยับเด้งเบาๆ แบบนุ่มนวล (Squash and Stretch) */
        @keyframes logoBounce {
            0%, 100% {
                transform: scale(1) translateY(0);
            }
            30% {
                transform: scale(1.08, 0.92) translateY(0); /* ยุบตัวลงเล็กน้อย */
            }
            50% {
                transform: scale(0.95, 1.05) translateY(-6px); /* ยืดตัวขึ้นและลอยขึ้น */
            }
            70% {
                transform: scale(1.02, 0.98) translateY(0); /* ย่อตัวตอนตกลงมา */
            }
        }
.nav-logo-down {
           height: 80px;
            width: 180px;
            filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
            transform-origin: bottom center; 
        }

      <!-- 2. สไตล์ CSS ตกแต่งให้เหมือนหน้าจอมือถือ (วางไว้ในแท็ก <head> หรือในหน้าเว็บ) -->
.mobile-dialog-overlay {
  display: none; /* ซ่อนไว้เริ่มต้น */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* กล่องข้อความทรงสี่เหลี่ยมมุมมนแบบมือถือ */
.mobile-dialog-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.mobile-dialog-box {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  width: 85%;
  max-width: 320px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: center;
  animation: mobilePopupShow 0.2s ease-out;
}
.mobile-dialog-title { margin: 20px 20px 8px 20px; font-size: 17px; font-weight: 600; color: #000; }
.mobile-dialog-text { margin: 0 20px 20px 20px; font-size: 13px; line-height: 1.4; color: #3a3a3a; }
.mobile-dialog-subtext { display: block; margin-top: 8px; font-size: 11px; color: #8e8e93; }
.mobile-dialog-buttons { border-top: 0.5px solid #d1d1d6; display: flex; }

.mobile-btn-cancel, .mobile-btn-download {
  width: 50%; padding: 12px; font-size: 16px; text-align: center;
  text-decoration: none; background: transparent; border: none;
  outline: none; cursor: pointer; box-sizing: border-box;
}
.mobile-btn-cancel { color: #ff3b30; border-right: 0.5px solid #d1d1d6; }
.mobile-btn-download { color: #007aff; font-weight: 600; }
.mobile-btn-cancel:active, .mobile-btn-download:active { background-color: #f2f2f7; }

@keyframes mobilePopupShow {
  from { transform: translate(-50%, -50%) scale(1.1); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
       .footer {
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    padding: 10px 0; 
    background: rgba(15, 23, 42, 0.95); 
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    z-index: 30;
    line-height: 1.4;
    margin-top: auto; /* ตรึงให้อยู่ล่างสุดเสมอ */
.footer-links { margin-bottom: 10px; }
.footer-links a { color: #38bdf8; text-decoration: none; margin: 0 10px; transition: color 0.2s; }
.footer-links a:hover { color: #7dd3fc; text-decoration: underline; }
}
