.floating-buttons {
      z-index: 9999;
    }

    @media (min-width: 1024px) {
      .floating-buttons {
        position: fixed;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 20px;
      }

      .floating-buttons a {
        width: 90px;
        height: 60px;
        padding: 18px 27px;
        font-size: 36px;
        border-radius: 45px 0 0 45px;
      }

      .floating-buttons a i {
        font-size: 36px;
      }
    }

    @media (max-width: 1023px) {
      .floating-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: linear-gradient(to right, #000000, #001f3f); /* ← เปลี่ยนตรงนี้ */
        padding: 10px 0;
        display: flex;
        justify-content: center;
        gap: 20px;
        box-shadow: 0 -5px 15px rgba(255, 255, 0, 0.3);
      }

      .floating-buttons a {
        width: 120px;
        height: 120px;
        font-size: 60px;
        padding: 30px;
        border-radius: 50%;
      }

      .floating-buttons a i {
        font-size: 60px;
      }
    }

    .floating-buttons a {
      text-decoration: none;
      color: white;
      background: linear-gradient(45deg, #001f3f, #0074D9);
      border: 4px solid yellow;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.4s ease;
      box-shadow: 0 0 15px yellow;
      position: relative;
      overflow: hidden;
    }

    .floating-buttons a:hover {
      background: #ffc107;
      color: black;
      transform: scale(1.08);
      box-shadow: 0 0 25px yellow, 0 0 40px white inset;
    }

    .floating-buttons a:active {
      transform: scale(0.95);
      background: #ffeb3b;
    }

    .floating-buttons a::after {
      content: "";
      position: absolute;
      background: rgba(255,255,255,0.4);
      width: 300px;
      height: 300px;
      transform: scale(0);
      border-radius: 50%;
      opacity: 0;
      transition: transform 0.6s, opacity 1s;
      pointer-events: none;
    }

    .floating-buttons a:active::after {
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(2);
      opacity: 1;
    }