@media (max-width: 768px) {
  header .nav {
    width: 90% !important;
    margin: auto;
    padding: 10px 0;
  }

  #navRight {
    display: none;
    /* display: flex; */
    flex-direction: column;
    border-radius: 10px;
    gap: 1rem;
    position: absolute;
    right: 20px;
    top: 70px;
    background: var(--glass);
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
  }

  .dark #navRight{
    background: #000 !important;
  }

  .show-mobile {
    display: flex !important;
  }

  body.is-android .btn-solid {
    margin-left: 0; /* reset margin-left for mobile */
  }

  .menu-toggle {
    background: none;
    color: var(--text);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .flex-box {
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }

  .flex-box p {
    font-size: 18px;
    font-weight: 800;
  }

  .flex-box p {
    display: block !important;
  }

  #navRight a {
    width: 100%;
    justify-content: center;
  }
}

.hidden-desktop {
  display: none;
}

#themeBtn {
  color: var(--text);
}

.flex-box p {
  display: none;
}

.flex-box {
  display: flex;
}

.togglers {
  width: 50px;
  height: 26px;
  border-radius: 13px;
  background: var(--panel);
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
  margin-left: 30px;
}

.togglers span {
  position: absolute;
  top: 1px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, background 0.3s ease;
}

.togglers.active {
  background: var(--brand);
  border-color: transparent;
}

.togglers.active span {
  transform: translateX(24px);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.grad {
  background: linear-gradient(135deg, var(--accent), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.soon {
  position: relative;
  overflow: hidden !important;
}

.soon::after {
  display: block;
  content: "Soon";
  position: absolute;
  top: 0px;
  right: 0px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-weight: bold;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ===== FLOATING SUPPORT ===== */
      .fab {
        position: fixed;
        right: 18px;
        bottom: 18px;
        z-index: 60;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        border-radius: 999px;
        background: linear-gradient(135deg, var(--brand), var(--accent));
        color: #fff;
        font-weight: 800;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
        transform: translateY(8px) scale(0.98);
        animation: fabPop 0.7s ease 0.3s forwards,
          breathe 3s ease-in-out infinite;
      }
      @keyframes fabPop {
        to {
          transform: translateY(0) scale(1);
        }
      }
      @keyframes breathe {
        0%,
        100% {
          filter: brightness(1);
        }
        50% {
          filter: brightness(1.08);
        }
      }



.linksopen {
  position: relative !important;
  color: #58a6ff !important;           /* tweak as you like */
  text-decoration: none !important;
}

.linksopen::after {
  content: "" !important;
  display: inline-block !important;
  width: 14px !important; 
  height: 14px !important;
  margin-left: 2px !important;
  vertical-align: baseline !important;
  background: no-repeat center/contain
    url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2358a6ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'>\
<path d='M18 13v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/>\
<path d='M15 3h6v6'/>\
<path d='M10 14 21 3'/>\
</svg>") !important;
  filter: drop-shadow(0 0 0 var(--link-icon)) !important;
}

.linksopen:hover::after {
  transform: translateY(-1px) !important;
}