html,
body {
  min-width: 320px;
  max-width: 100%;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img,
video,
iframe,
canvas {
  max-width: 100%;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-color: var(--glass-line);
  background: var(--theme-nav);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
}

.shell,
.shell > *,
.shell :is(section, article, aside, form, fieldset, header, footer),
.shell :is([class*="grid"], [class*="layout"]) > * {
  min-width: 0;
}

body[data-honeydrop-page="index"] .hero {
  border-radius: 28px;
}

@media (max-width: 900px) {
  body[data-honeydrop-page="index"] .shell {
    padding-right: clamp(20px, 4vw, 30px);
    padding-left: clamp(20px, 4vw, 30px);
  }

  .site-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    height: auto;
    min-height: 0;
    padding: 10px clamp(14px, 3vw, 24px) 9px;
    border-radius: 0 0 20px 20px;
  }

  .brand {
    grid-row: 1;
    min-width: 0;
  }

  .nav-links {
    grid-row: 2;
    min-width: 0;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 7px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 2px 1px 5px;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links > *,
  .nav-group,
  .notification-center,
  .nav-account-controls {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .nav-links > a,
  .nav-links .nav-user,
  .nav-links .nav-admin-toggle,
  .nav-group > summary,
  .notification-toggle,
  .theme-toggle {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    border: 1px solid var(--glass-line);
    border-radius: 14px;
    background: var(--glass-surface);
    color: var(--glass-ink);
  }

  html[data-theme] .nav-links > a,
  html[data-theme] .nav-links .nav-user,
  html[data-theme] .nav-links .nav-admin-toggle,
  html[data-theme] .nav-group > summary,
  html[data-theme] .notification-toggle,
  html[data-theme] .theme-toggle {
    border-color: var(--glass-line);
    background: var(--glass-surface);
    color: var(--glass-ink);
  }

  html[data-theme="dark"] .nav-links > a,
  html[data-theme="dark"] .nav-links .nav-user,
  html[data-theme="dark"] .nav-links .nav-admin-toggle,
  html[data-theme="dark"] .nav-group > summary,
  html[data-theme="dark"] .notification-toggle,
  html[data-theme="dark"] .theme-toggle {
    border-color: var(--glass-line);
    background: var(--glass-surface);
    color: var(--glass-ink);
  }

  .nav-group > summary {
    width: auto;
    height: 44px;
    gap: 7px;
    padding: 0 12px;
  }

  .nav-account-controls {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .nav-account-controls .nav-user {
    width: auto;
    max-width: 210px;
    height: 44px;
    padding: 0 10px;
  }

  .nav-user__name {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-exit {
    padding: 0 12px;
    border-left: 0;
  }

  .nav-group__menu {
    position: fixed;
    top: calc(112px + env(safe-area-inset-top));
    right: 14px;
    left: 14px;
    width: auto;
    min-width: 0;
    max-width: none;
  }

  .shell {
    padding: 30px clamp(16px, 4vw, 30px) max(72px, env(safe-area-inset-bottom));
  }

  .page-header,
  .section-heading,
  .card-heading,
  .admin-header {
    min-width: 0;
    flex-wrap: wrap;
    gap: 12px;
  }

  .page-header > *,
  .section-heading > *,
  .card-heading > * {
    min-width: 0;
    max-width: 100%;
  }

  .hero {
    min-height: 0;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 16px;
    padding: 16px 0 32px;
  }

  .hero-copy {
    max-width: none;
    padding: 0 0 12px;
  }

  .hero h1 {
    font-size: clamp(42px, 6vw, 64px);
    letter-spacing: -.055em;
    overflow-wrap: anywhere;
  }

  .hero-scene {
    min-height: 390px;
    border-radius: 28px;
  }

  .page-builder-item.page-builder-has-explicit-height {
    height: auto !important;
    min-height: 0 !important;
  }

  body[data-honeydrop-page="index"] .hero {
    display: grid !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    border: 1px solid var(--glass-line);
    border-radius: 24px;
    overflow: visible !important;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0;
    padding: 22px clamp(22px, 5vw, 40px);
  }

  body[data-honeydrop-page="index"] .hero-copy {
    position: relative !important;
    inset: auto !important;
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  body[data-honeydrop-page="index"] .hero-scene {
    display: none !important;
  }
}

@media (max-width: 680px) {
  body {
    background-attachment: scroll;
  }

  .ambient {
    display: none;
  }

  .site-nav {
    gap: 7px;
    padding: 9px 12px 8px;
    border-radius: 0 0 18px 18px;
  }

  .brand {
    gap: 9px;
    font-size: 13px;
    letter-spacing: 1.3px;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 11px;
  }

  .nav-links {
    gap: 6px;
    margin-inline: -2px;
    padding: 2px 2px 5px;
  }

  .nav-links > a,
  .nav-links .nav-user,
  .nav-links .nav-admin-toggle,
  .nav-group > summary,
  .notification-toggle,
  .theme-toggle {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 13px;
  }

  .nav-links .nav-label,
  .nav-user__name,
  .nav-group > summary > span:not(.ui-icon),
  .nav-group__chevron {
    display: none;
  }

  .nav-links .nav-user-profile {
    width: 44px;
    padding: 0;
  }

  .nav-account-controls {
    gap: 6px;
  }

  .nav-account-controls .nav-user {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
  }

  .nav-group > summary {
    width: 44px;
    gap: 0;
  }

  .nav-admin-toggle {
    gap: 0;
  }

  .nav-group__menu {
    top: calc(108px + env(safe-area-inset-top));
    right: 10px;
    left: 10px;
  }

  .shell {
    padding: 22px 14px max(76px, env(safe-area-inset-bottom));
  }

  h1 {
    font-size: clamp(32px, 9vw, 50px);
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(23px, 6vw, 32px);
  }

  h2,
  h3,
  p,
  small,
  strong,
  a {
    overflow-wrap: anywhere;
  }

  input,
  select,
  textarea {
    min-width: 0;
    max-width: 100%;
    font-size: 16px;
  }

  button,
  .button {
    min-height: 44px;
    max-width: 100%;
    touch-action: manipulation;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 14px 0 28px;
  }

  body[data-honeydrop-page="index"] .shell {
    padding-right: clamp(18px, 4vw, 24px);
    padding-left: clamp(18px, 4vw, 24px);
  }

  body[data-honeydrop-page="index"] .hero {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px clamp(18px, 5vw, 26px) 24px;
    border: 1px solid var(--glass-line);
    border-radius: 22px;
  }

  .hero-copy {
    padding: 0;
  }

  body[data-honeydrop-page="index"] .hero-copy {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .hero-install-links {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
  }

  .hero h1 {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: clamp(40px, 11vw, 58px);
    line-height: 1;
    letter-spacing: -.06em;
  }

  body[data-honeydrop-page="index"] .hero h1 {
    max-width: 100%;
    font-size: clamp(40px, 11vw, 58px);
    letter-spacing: -.06em;
  }

  .hero-lead {
    max-width: 44ch;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-scene {
    width: 100%;
    min-height: 0;
    height: clamp(320px, 100vw, 420px);
    border-radius: 24px;
  }

  body[data-honeydrop-page="index"] .hero-scene {
    display: none !important;
  }

  .hero-scene__caption {
    top: 14px;
    right: 16px;
    font-size: 7px;
    letter-spacing: 1.4px;
  }

  .hero-glass-card {
    min-width: 0;
    max-width: 44%;
    gap: 6px;
    padding: 11px 12px;
    border-radius: 14px;
  }

  .hero-glass-card > span {
    font-size: 7px;
    letter-spacing: 1px;
  }

  .hero-glass-card > strong {
    font-size: 11px;
  }

  .hero-glass-card > i {
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
  }

  .hero-glass-card--balance {
    top: 12%;
    left: 3%;
  }

  .hero-glass-card--transfer {
    right: 3%;
    bottom: 23%;
  }

  .hero-glass-card--reward {
    bottom: 5%;
    left: 9%;
    min-width: 0;
  }

  body[data-honeydrop-page="index"] .hero-glass-card--balance {
    top: 12%;
    right: auto;
    bottom: auto;
    left: 3%;
  }

  body[data-honeydrop-page="index"] .hero-glass-card--transfer {
    top: auto;
    right: 3%;
    bottom: 23%;
    left: auto;
  }

  body[data-honeydrop-page="index"] .hero-glass-card--reward {
    top: auto;
    right: auto;
    bottom: 5%;
    left: 9%;
    min-width: 0;
  }

  .home-seo-section {
    margin-bottom: 28px;
    padding: 20px 16px;
    border-radius: 20px;
  }

  .home-servers-strip__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .home-servers-strip__stats {
    width: 100%;
    justify-content: flex-start;
  }

  .shell :is(.table-responsive, .table-scroll, .transaction-table, [class*="table-scroll"]) {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  dialog[open] {
    width: min(100% - 20px, 620px);
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    margin: auto;
    overflow: auto;
    overscroll-behavior: contain;
  }

  .site-footer {
    padding: 20px 14px max(24px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .shell {
    padding-right: 11px;
    padding-left: 11px;
  }

  .brand {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .hero-scene {
    height: 320px;
  }

  .hero-glass-card {
    padding: 9px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

body[data-honeydrop-page="index"] .hero-scene .hero-glass-card,
body[data-honeydrop-page="index"] .hero-scene .hero-glass-card.is-server-mode {
  position: absolute;
  z-index: 4;
  overflow: visible;
  transform-style: preserve-3d;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .22), transparent 58%),
    linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04) 52%, rgba(var(--gold-bright-rgb), .06));
  box-shadow:
    0 24px 48px rgba(67, 47, 21, .16),
    0 8px 20px rgba(67, 47, 21, .08),
    0 2px 5px rgba(67, 47, 21, .06);
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body[data-honeydrop-page="index"] .hero-scene {
  perspective: 900px;
  perspective-origin: center;
}

body[data-honeydrop-page="index"] .hero-glass-card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .22), transparent 36%),
    linear-gradient(300deg, rgba(var(--gold-bright-rgb), .07), transparent 48%);
  content: "";
  pointer-events: none;
}

body[data-honeydrop-page="index"] .hero-glass-card > span,
body[data-honeydrop-page="index"] .hero-glass-card > strong,
body[data-honeydrop-page="index"] .hero-glass-card > i {
  z-index: 5 !important;
}

body[data-honeydrop-page="index"] .hero-glass-card > :not(.hero-card-lens):not(.hero-card-depth) {
  transform: translateZ(2px);
}

html[data-theme="dark"] body[data-honeydrop-page="index"] .hero-scene .hero-glass-card,
html[data-theme="dark"] body[data-honeydrop-page="index"] .hero-scene .hero-glass-card.is-server-mode {
  border-color: rgba(255, 255, 255, .14);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .18), transparent 58%),
    linear-gradient(135deg, rgba(37, 39, 43, .16), rgba(17, 19, 23, .08) 52%, rgba(var(--gold-rgb), .08));
  box-shadow:
    0 24px 56px rgba(0, 0, 0, .36),
    0 9px 22px rgba(0, 0, 0, .22),
    0 2px 6px rgba(0, 0, 0, .16);
}

html[data-theme="dark"] body[data-honeydrop-page="index"] .hero-glass-card::before {
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .14), transparent 36%),
    linear-gradient(300deg, rgba(var(--gold-bright-rgb), .15), transparent 48%);
}

html[data-theme="dark"] body[data-honeydrop-page="index"] .hero-card-lens {
  background-color: #0d0e11 !important;
}

html[data-theme="dark"] body[data-honeydrop-page="index"] .hero-card-lens__scene {
  filter: brightness(.8) !important;
}

html[data-theme="dark"] body[data-honeydrop-page="index"] .hero-card-lens::after {
  background:
    linear-gradient(rgba(0, 0, 0, .26), rgba(0, 0, 0, .26)),
    linear-gradient(125deg, rgba(255, 255, 255, .12), transparent 35%, transparent 72%, rgba(var(--gold-bright-rgb), .05)) !important;
}

body[data-honeydrop-page="index"] .hero-glass-card::after {
  content: none;
}

body[data-honeydrop-page="index"] .hero-card-depth {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  transform-style: preserve-3d;
  pointer-events: none;
  --glass-depth: 10px;
}

body[data-honeydrop-page="index"] .hero-card-depth__back {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(161, 119, 66, .24);
  border-radius: inherit;
  background: rgba(148, 102, 43, .05);
  box-shadow: 0 0 0 2px rgba(161, 119, 66, .09), inset 0 0 0 1px rgba(255, 255, 255, .1);
  transform: translateZ(calc(0px - var(--glass-depth)));
  backface-visibility: hidden;
  pointer-events: none;
}

html[data-theme="dark"] body[data-honeydrop-page="index"] .hero-card-depth__back {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(230, 219, 199, .04);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .12), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

html[data-theme="light"] body[data-honeydrop-page="index"] .hero-scene .hero-glass-card,
html[data-theme="light"] body[data-honeydrop-page="index"] .hero-scene .hero-glass-card.is-server-mode {
  border-color: rgba(255, 255, 255, .78);
  background: rgba(248, 246, 240, .82);
  box-shadow:
    0 16px 38px rgba(70, 55, 38, .12),
    0 6px 16px rgba(70, 55, 38, .08),
    inset 0 1px rgba(255, 255, 255, .92);
  color: var(--glass-ink);
}

html[data-theme="light"] body[data-honeydrop-page="index"] .hero-card-lens {
  background-color: #f5f1e9 !important;
}

html[data-theme="light"] body[data-honeydrop-page="index"] .hero-card-lens__scene {
  filter: blur(4px) brightness(1.14) saturate(1.08) !important;
}

html[data-theme="light"] body[data-honeydrop-page="index"] .hero-card-lens::after {
  background:
    linear-gradient(rgba(255, 255, 255, .34), rgba(255, 255, 255, .34)),
    linear-gradient(125deg, rgba(255, 255, 255, .2), transparent 35%, transparent 72%, rgba(var(--gold-bright-rgb), .08)) !important;
  box-shadow: none !important;
}

html[data-theme="light"] body[data-honeydrop-page="index"] .hero-glass-card > span,
html[data-theme="light"] body[data-honeydrop-page="index"] .hero-server-card__heading {
  color: #7b653e !important;
}

html[data-theme="light"] body[data-honeydrop-page="index"] .hero-glass-card > strong,
html[data-theme="light"] body[data-honeydrop-page="index"] .hero-server-card__name {
  color: #201b16 !important;
}

/* One silhouette for the server photo and its color-matched frame. */
body[data-honeydrop-page="index"] .home-server-carousel__item {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
}

body[data-honeydrop-page="index"] .home-server-carousel__item img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  box-shadow: none;
}

body[data-honeydrop-page="index"] .home-server-carousel__item::before,
body[data-honeydrop-page="index"] .home-server-carousel__item::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

body[data-honeydrop-page="index"] .home-server-carousel__item::before {
  box-shadow: inset 0 0 10px 2px rgba(var(--server-accent, 174, 180, 190), .42);
  opacity: 0;
  transition: opacity .2s ease;
}

body[data-honeydrop-page="index"] .home-server-carousel__item::after {
  border: 1px solid rgba(var(--server-accent, 174, 180, 190), .72);
  box-sizing: border-box;
}

body[data-honeydrop-page="index"] .home-server-carousel__item:hover::before,
html[data-theme="dark"] body[data-honeydrop-page="index"] .home-server-carousel__item:hover::before {
  opacity: .72;
}

body[data-honeydrop-page="index"] .home-server-carousel__item:hover::after,
body[data-honeydrop-page="index"] .home-server-carousel__item.is-selected::after,
html[data-theme="dark"] body[data-honeydrop-page="index"] .home-server-carousel__item:hover::after,
html[data-theme="dark"] body[data-honeydrop-page="index"] .home-server-carousel__item.is-selected::after {
  border: 2px solid rgb(var(--server-accent, 174, 180, 190));
}

body[data-honeydrop-page="index"] .home-server-carousel__item:hover,
body[data-honeydrop-page="index"] .home-server-carousel__item.is-selected,
html[data-theme="dark"] body[data-honeydrop-page="index"] .home-server-carousel__item:hover,
html[data-theme="dark"] body[data-honeydrop-page="index"] .home-server-carousel__item.is-selected {
  background: transparent;
  box-shadow: none;
}
/* Give hover halos room inside the carousel clip edge. */
body[data-honeydrop-page="index"] .home-server-carousel {
  padding: 18px;
}

body[data-honeydrop-page="index"] .home-server-carousel__item {
  overflow: visible;
}

body[data-honeydrop-page="index"] .home-server-carousel__item::before {
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(var(--server-accent, 174, 180, 190), .5),
    0 0 6px 2px rgba(var(--server-accent, 174, 180, 190), .38),
    0 0 14px 7px rgba(var(--server-accent, 174, 180, 190), .1);
}
/* Refractive rim follows the same rounded glass face and strengthens as it tilts. */
body[data-honeydrop-page="index"] .hero-card-lens {
  border-radius: inherit;
  transform-style: preserve-3d;
}

body[data-honeydrop-page="index"] .hero-card-lens__scene {
  transform: scale(.82);
}

body[data-honeydrop-page="index"] .hero-card-lens::after {
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .3), transparent 24%, transparent 70%, rgba(var(--gold-bright-rgb), .22)),
    linear-gradient(0deg, rgba(var(--gold-bright-rgb), .12), transparent 28%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 0 16px rgba(255, 255, 255, .12);
  opacity: var(--lens-edge-opacity, .68);
}

html[data-theme="dark"] body[data-honeydrop-page="index"] .hero-card-lens::after {
  border-color: rgba(255, 255, 255, .42);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .2), transparent 24%, transparent 70%, rgba(var(--gold-bright-rgb), .18)),
    linear-gradient(0deg, rgba(0, 0, 0, .12), transparent 28%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 0 16px rgba(255, 255, 255, .08);
}
/* Frost the scene seen through the glass while keeping card content crisp. */
body[data-honeydrop-page="index"] .hero-card-lens__scene {
  filter: blur(4px) brightness(1.14) saturate(1.08);
}

html[data-theme="dark"] body[data-honeydrop-page="index"] .hero-card-lens__scene {
  filter: blur(4px) brightness(.8) saturate(1.08) !important;
}