.va-mobile-trigger,
.va-mobile-backdrop,
.va-mobile-drawer {
  display: none;
}

@media (max-width: 767px) {
  body.va-mobile-menu-open {
    overflow: hidden;
  }

  header.min-h-screen,
  header[class*="min-h-["] {
    min-height: auto !important;
  }

  header[class*="pt-40"],
  header[class*="pt-48"],
  header[class*="pt-56"],
  header[class*="pt-32"] {
    padding-top: 7rem !important;
  }

  header[class*="pb-32"],
  header[class*="pb-44"],
  header[class*="pb-48"] {
    padding-bottom: 4.5rem !important;
  }

  section[class*="py-24"] {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
  }

  section[class*="py-32"] {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }

  .va-mobile-enhanced-nav {
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
  }

  .va-mobile-enhanced-nav .max-w-7xl {
    gap: 0.85rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .va-mobile-enhanced-nav img {
    max-width: 8.5rem !important;
    height: 2.35rem !important;
  }

  .va-mobile-actions > a,
  .va-mobile-meta > span,
  .va-mobile-meta > a {
    display: none !important;
  }

  .va-mobile-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
      radial-gradient(circle at top right, rgba(139, 92, 246, 0.16), transparent 55%),
      linear-gradient(180deg, rgba(20, 15, 36, 0.72) 0%, rgba(11, 8, 20, 0.88) 100%);
    color: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28), 0 0 18px rgba(139, 92, 246, 0.12);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  }

  .va-mobile-trigger:hover {
    border-color: rgba(139, 92, 246, 0.26);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34), 0 0 24px rgba(139, 92, 246, 0.16);
  }

  .va-mobile-trigger:active {
    transform: scale(0.97);
  }

  .va-mobile-trigger svg {
    width: 1.1rem;
    height: 1.1rem;
  }

  .va-mobile-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    border: 0;
    background: rgba(3, 1, 8, 0.76);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .va-mobile-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .va-mobile-drawer {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 91;
    width: min(24rem, 88vw);
    height: 100vh;
    flex-direction: column;
    padding: 1.1rem 1rem 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background:
      radial-gradient(circle at top right, rgba(139, 92, 246, 0.18), transparent 32%),
      radial-gradient(circle at top left, rgba(45, 212, 191, 0.08), transparent 28%),
      linear-gradient(180deg, rgba(20, 15, 36, 0.96) 0%, rgba(8, 6, 18, 0.985) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.42);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
  }

  .va-mobile-drawer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
      linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 100% 82px, 82px 100%;
    opacity: 0.42;
  }

  .va-mobile-drawer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 1px;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0), rgba(139, 92, 246, 0.7), rgba(45, 212, 191, 0.7), rgba(45, 212, 191, 0));
    opacity: 0.9;
  }

  .va-mobile-drawer.is-open {
    transform: translateX(0);
  }

  .va-mobile-drawer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
  }

  .va-mobile-drawer__eyebrow {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #a78bfa;
  }

  .va-mobile-drawer__title {
    margin-top: 0.45rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
  }

  .va-mobile-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  }

  .va-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem 0;
    position: relative;
    z-index: 1;
  }

  .va-mobile-link {
    display: block;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 1rem 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
  }

  .va-mobile-link::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 0.42rem;
    height: 0.42rem;
    border-top: 1.5px solid rgba(196, 181, 253, 0.65);
    border-right: 1.5px solid rgba(196, 181, 253, 0.65);
    transform: translateY(-50%) rotate(45deg);
  }

  .va-mobile-link:active,
  .va-mobile-link:hover {
    border-color: rgba(139, 92, 246, 0.28);
    background:
      radial-gradient(circle at top right, rgba(139, 92, 246, 0.14), transparent 55%),
      linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18), 0 0 20px rgba(139, 92, 246, 0.08);
  }

  .va-mobile-actions-list {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
  }

  .va-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 9999px;
    padding: 0.95rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 800;
    text-align: center;
    transition: filter 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  }

  .va-mobile-cta--primary {
    background: #ffffff;
    color: #030108;
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.16);
  }

  .va-mobile-cta--secondary {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.88);
  }

  .va-mobile-cta:hover,
  .va-mobile-cta:active {
    filter: brightness(1.05);
  }

  body[data-cookie-theme="mitra"] .va-mobile-drawer {
    background:
      radial-gradient(circle at top right, rgba(45, 212, 191, 0.12), transparent 24%),
      radial-gradient(circle at top left, rgba(139, 92, 246, 0.16), transparent 32%),
      linear-gradient(180deg, rgba(7, 5, 16, 0.98) 0%, rgba(2, 1, 8, 0.98) 100%);
  }

  body[data-cookie-theme="mitra"] .va-mobile-drawer::before {
    background:
      linear-gradient(rgba(45, 212, 191, 0.022) 1px, transparent 1px),
      linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
    background-size: 100% 72px, 72px 100%;
  }

  body[data-cookie-theme="mitra"] .va-mobile-link {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
  }

  body[data-cookie-theme="mitra"] .va-mobile-cta--primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #2dd4bf 100%);
    color: #fff;
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.18);
  }

  .va-newsletter-wrap {
    margin-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .va-newsletter-panel {
    border-radius: 1.35rem;
  }

  .va-newsletter-inner {
    gap: 1rem;
    padding: 1.2rem;
  }

  .va-newsletter-title {
    max-width: 14rem;
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .va-newsletter-copy {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .va-newsletter-note {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
  }

  .va-newsletter-optin {
    padding: 0.85rem 0.9rem;
  }

  body > footer {
    padding-top: 3rem !important;
    padding-bottom: 1.75rem !important;
  }

  body > footer .max-w-7xl:first-child {
    row-gap: 1.5rem !important;
    margin-bottom: 1.75rem !important;
  }
}

@media (min-width: 768px) {
  .va-mobile-backdrop,
  .va-mobile-drawer,
  .va-mobile-trigger {
    display: none !important;
  }
}
