:root {
  --bg: #090b12;
  --surface: rgba(20, 24, 38, 0.82);
  --surface-strong: #141826;
  --surface-hover: rgba(31, 37, 58, 0.94);
  --border: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(255, 255, 255, 0.22);

  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --discord: #5865f2;
  --discord-glow: rgba(88, 101, 242, 0.35);
  --youtube: #ff0033;
  --youtube-glow: rgba(255, 0, 51, 0.3);
  --donate: #f59e0b;
  --donate-glow: rgba(245, 158, 11, 0.3);
  --sociabuzz: #77c043;
  --sociabuzz-glow: rgba(119, 192, 67, 0.34);
  --success: #22c55e;
  --accent: #38bdf8;

  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 13px;
  --radius-sm: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Glowing Background */
.bg-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.32;
}

.glow-1 {
  width: 300px;
  height: 300px;
  background: #5865f2;
  top: -110px;
  left: -80px;
}

.glow-2 {
  width: 260px;
  height: 260px;
  background: #ec4899;
  top: 200px;
  right: -100px;
  opacity: 0.18;
}

.glow-3 {
  width: 280px;
  height: 280px;
  background: #0ea5e9;
  bottom: -120px;
  left: 20%;
  opacity: 0.2;
}

/* Mobile-First Centered Container (ala Lynk.id / Linktree) */
.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 14px calc(104px + env(safe-area-inset-bottom, 0px));
}

/* Profile Header (Tanpa Background Card) */
.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 12px 10px 8px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.avatar-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  margin-bottom: 12px;
}

.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(88, 101, 242, 0.85);
  box-shadow: 0 0 26px rgba(88, 101, 242, 0.35);
  background: #1e2438;
}

.status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--success);
  border: 3px solid #131724;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.65);
}

.profile-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.profile-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.profile-tiktoks {
  display: contents;
}

.tiktok-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  transition: transform 0.14s ease, background 0.2s ease, border-color 0.2s ease;
}

.tiktok-pill:active {
  transform: scale(0.96);
  background: rgba(255, 255, 255, 0.14);
}

@media (hover: hover) {
  .tiktok-pill:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(254, 44, 85, 0.55);
  }
}

.tiktok-pill-icon {
  display: block;
  width: 14px;
  height: 14px;
  color: #ffffff;
  flex-shrink: 0;
}

.tiktok-pill span {
  display: inline-block;
  line-height: 1;
  transform: translateY(-2.5px);
}

.name-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.profile-meta h1 {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #1d9bf0;
  flex-shrink: 0;
}

.verified-badge svg {
  width: 19px;
  height: 19px;
}

.handle-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  font-family: inherit;
  color: #c7d2fe;
  background: rgba(88, 101, 242, 0.16);
  border: 1px solid rgba(88, 101, 242, 0.38);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.2s ease, border-color 0.2s ease;
}

.handle-pill:active {
  transform: scale(0.96);
  background: rgba(88, 101, 242, 0.32);
}

.discord-pill-icon {
  width: 15px;
  height: 15px;
  color: #818cf8;
  flex-shrink: 0;
}

.copy-icon {
  width: 13px;
  height: 13px;
  opacity: 0.9;
}

.profile-bio {
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Divider antara Profil & Link */
.profile-divider {
  width: 100%;
  height: 1px;
  margin: 18px 0 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 20%,
    rgba(255, 255, 255, 0.18) 80%,
    transparent 100%
  );
}

/* Section Headers */
.section {
  margin-top: 24px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0 2px;
}

.section-title {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-subtitle {
  margin-top: 3px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.section-pill {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 3px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* Main Links List (Thumb-Friendly Touch Targets) */
.links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 64px;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.16s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.link-card:active {
  transform: scale(0.98);
  background: var(--surface-hover);
}

.link-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.link-icon svg {
  width: 22px;
  height: 22px;
}

.link-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.link-card[data-theme="discord"] .link-icon {
  background: linear-gradient(135deg, #5865f2, #4752c4);
  box-shadow: 0 5px 14px rgba(88, 101, 242, 0.35);
}

.link-card[data-theme="youtube"] .link-icon {
  background: linear-gradient(135deg, #ff0033, #cc0029);
  box-shadow: 0 5px 14px rgba(255, 0, 51, 0.3);
}

.link-card[data-theme="donate"] .link-icon {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 5px 14px rgba(245, 158, 11, 0.3);
}

.link-card[data-theme="sociabuzz"] .link-icon {
  background: linear-gradient(135deg, #77c043, #4ea31d);
  box-shadow: 0 5px 14px var(--sociabuzz-glow);
}

.link-card[data-theme="sociabuzz"]:active,
.link-card[data-theme="sociabuzz"]:focus-visible {
  border-color: rgba(119, 192, 67, 0.85);
  box-shadow: 0 8px 22px var(--sociabuzz-glow);
}

@media (hover: hover) {
  .link-card[data-theme="sociabuzz"]:hover {
    border-color: rgba(119, 192, 67, 0.85);
    box-shadow: 0 10px 26px var(--sociabuzz-glow);
  }
}

.link-card[data-theme="default"] .link-icon {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
}

.link-content {
  flex: 1;
  min-width: 0;
}

.link-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.link-card-simple .link-content {
  padding-right: 26px;
}

.link-card-simple .link-title-row {
  justify-content: center;
  text-align: center;
}

.link-title {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
}

.link-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.link-subtitle {
  font-size: 0.77rem;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-arrow {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Discord Server Invite Card */
.dc-server-card {
  background: #23252c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.dc-server-banner {
  height: 52px;
  background: radial-gradient(ellipse at 50% 110%, #5c6068 0%, #2a2c33 58%, #1e2026 100%);
}

.dc-server-body {
  position: relative;
  padding: 0 16px 15px;
}

.dc-server-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -30px;
  margin-bottom: 10px;
}

.dc-server-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  padding: 3.5px;
  background: #23252c;
}

.dc-server-brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  padding: 3px;
  background: #23252c;
  display: grid;
  place-items: center;
}

.dc-server-brand-logo svg {
  width: 100%;
  height: 100%;
  padding: 7px;
  border-radius: 10px;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

.dc-server-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
  display: block;
  background: #14161b;
}

.dc-server-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dc-server-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.dc-server-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  color: #ffffff;
  flex-shrink: 0;
}

.dc-server-badge svg {
  width: 18px;
  height: 18px;
}

.dc-server-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.dc-server-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.dc-server-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #b5bac1;
}

.dc-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.dc-dot.online {
  background: #23a55a;
}

.dc-dot.members {
  background: #80848e;
}

.dc-server-est {
  font-size: 0.78rem;
  color: #949ba4;
}

.dc-join-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 36px;
  padding: 7px 18px;
  border-radius: 9px;
  background: #248046;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(36, 128, 70, 0.35);
  transition: transform 0.14s ease, background 0.18s ease;
}

.dc-join-btn:hover {
  background: #1a6334;
}

.dc-join-btn:active {
  transform: scale(0.96);
}

/* Swipeable Category Tabs for Mobile */
.category-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0 -14px 14px;
  padding: 2px 14px 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.tab-btn:active {
  transform: scale(0.96);
}

.tab-btn.active {
  background: var(--discord);
  border-color: var(--discord);
  color: #fff;
  box-shadow: 0 5px 15px rgba(88, 101, 242, 0.35);
}

/* Mobile 2-Column Store Grid (ala Lynk.id / Marketplace HP) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.16s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:active {
  transform: scale(0.985);
}

.product-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #101423;
  overflow: hidden;
  cursor: pointer;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-thumb.thumb-logo,
.modal-image-wrap.thumb-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: radial-gradient(circle at 50% 42%, #1d2336 0%, #111524 72%, #0c0f1a 100%);
}

.product-thumb.thumb-logo img,
.modal-image-wrap.thumb-logo img {
  width: auto;
  height: auto;
  max-width: 72%;
  max-height: 78%;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
}

.product-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  color: #fff;
  background: rgba(88, 101, 242, 0.92);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.product-badge.promo {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 10px 10px 11px;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 5px;
}

.product-category {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stock-pill {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.stock-pill.preorder {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.3);
}

.stock-pill.soldout {
  color: #f87171;
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.3);
}

.product-title {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-desc {
  display: none;
}

.product-footer {
  margin-top: auto;
  padding-top: 9px;
}

.price-row {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 9px;
}

.price-current {
  font-size: 0.94rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.price-old {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn:active {
  transform: scale(0.97);
}

.btn-discord {
  background: var(--discord);
  color: #fff;
  box-shadow: 0 5px 14px rgba(88, 101, 242, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text);
}

.btn-disabled {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  pointer-events: none;
}

/* Native-Style Bottom Sheet Modal on Mobile */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(4, 6, 12, 0.76);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 88dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.6);
  animation: sheetUp 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes sheetUp {
  from {
    opacity: 0;
    transform: translateY(48px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-handle {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  z-index: 6;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(9, 11, 18, 0.72);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-image-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0d101c;
}

.modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-body {
  padding: 16px 18px calc(22px + env(safe-area-inset-bottom, 0px));
}

.modal-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.modal-category {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
}

.modal-title {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.3;
}

.modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
}

.modal-price-row .price-current {
  font-size: 1.24rem;
}

.modal-price-row .price-old {
  font-size: 0.84rem;
}

.modal-desc {
  margin-top: 10px;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.modal-features-wrap {
  margin-top: 14px;
  padding: 12px 13px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
}

.modal-features-wrap h4 {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #e2e8f0;
}

.modal-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-features li {
  position: relative;
  padding-left: 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.modal-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 18px;
}

.modal-actions .btn {
  min-height: 46px;
  font-size: 0.88rem;
  border-radius: 12px;
}

/* Floating Mobile Bottom Dock */
.mobile-dock {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 90;
  width: min(calc(100% - 28px), 420px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(15, 19, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.dock-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 6px 10px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: background 0.18s ease, color 0.18s ease, transform 0.14s ease;
}

.dock-item svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.dock-item:active {
  transform: scale(0.95);
}

.dock-item.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.dock-item.dock-primary {
  color: #fff;
  background: var(--discord);
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.45);
}

/* Footer */
.footer {
  margin-top: 32px;
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-dim);
}

/* Toast Notification (Positioned above Mobile Dock) */
.toast {
  position: fixed;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  max-width: calc(100% - 32px);
  text-align: center;
  background: #1e293b;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 32px 16px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  font-size: 0.86rem;
}

/* Very Narrow Phones (< 340px) */
@media (max-width: 340px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Desktop / Tablet Enhancement (Hover effects & centered modal) */
@media (min-width: 641px) {
  .container {
    padding-top: 32px;
  }

  .handle-pill:hover {
    background: rgba(88, 101, 242, 0.28);
    border-color: rgba(88, 101, 242, 0.65);
  }

  .link-card:hover {
    transform: translateY(-2px);
    background: var(--surface-hover);
    border-color: var(--border-hover);
  }

  .link-card[data-theme="discord"]:hover {
    border-color: rgba(88, 101, 242, 0.7);
    box-shadow: 0 10px 26px var(--discord-glow);
  }

  .link-card[data-theme="youtube"]:hover {
    border-color: rgba(255, 0, 51, 0.65);
    box-shadow: 0 10px 26px var(--youtube-glow);
  }

  .link-card[data-theme="donate"]:hover {
    border-color: rgba(245, 158, 11, 0.65);
    box-shadow: 0 10px 26px var(--donate-glow);
  }

  .link-card[data-theme="sociabuzz"]:hover {
    border-color: rgba(119, 192, 67, 0.85);
    box-shadow: 0 10px 26px var(--sociabuzz-glow);
  }

  .link-card:hover .link-arrow {
    transform: translateX(3px);
    color: var(--text);
  }

  .product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(88, 101, 242, 0.55);
  }

  .btn-discord:hover {
    filter: brightness(1.08);
  }

  .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .modal-backdrop {
    align-items: center;
    padding: 20px;
  }

  .modal-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
  }

  .modal-handle {
    display: none;
  }
}
