/* ==========================================================================
   APPLE LIQUID GLASSMORPHISM BIO THEME - @Tom.b
   ========================================================================== */

:root {
  --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --glass-bg: rgba(255, 255, 255, 0.085);
  --glass-bg-hover: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-border-hover: rgba(255, 255, 255, 0.38);
  --glass-highlight: rgba(255, 255, 255, 0.5);
  --glass-blur: 32px;
  --color-accent-gold: #f59e0b;
  --color-accent-blue: #38bdf8;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.45);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: var(--font-system);
  background-color: #030712;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  padding: 24px 16px;
  touch-action: manipulation;
}

/* ==========================================================================
   BACKGROUND VIDEO & VIGNETTE
   ========================================================================== */
.bg-video-wrapper {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bg-video-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.35);
  width: 100vw;
  height: 56.25vw; /* 16:9 ratio */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 ratio */
  pointer-events: none;
}

.bg-video-frame iframe,
.bg-video-frame #yt-player {
  width: 100%;
  height: 100%;
  border: none;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.5) 0%, rgba(3, 7, 18, 0.88) 100%);
  backdrop-filter: blur(6px);
}

/* Ambient moving glow blobs behind card */
.ambient-glow {
  position: fixed;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
  animation: pulseGlow 12s infinite alternate ease-in-out;
}

.glow-1 {
  top: 15%;
  left: 20%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.6) 0%, transparent 70%);
}

.glow-2 {
  bottom: 15%;
  right: 20%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.5) 0%, transparent 70%);
  animation-delay: -6s;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.25; }
  50% { transform: scale(1.15) translate(40px, -30px); opacity: 0.45; }
  100% { transform: scale(0.95) translate(-30px, 40px); opacity: 0.3; }
}

/* ==========================================================================
   CLICK TO ENTER OVERLAY (Solid Dark Gray, Crisp Typography, Zero Leak)
   ========================================================================== */
.enter-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #11141a; /* Clean solid standard dark gray, completely opaque */
  cursor: pointer;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.75s;
  user-select: none;
}

.enter-screen.hidden {
  opacity: 0;
  transform: scale(1.05);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.75s, pointer-events 0s linear 0.4s;
}

.enter-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  animation: enterFloat 6s ease-in-out infinite;
  will-change: transform;
}

.enter-title {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.25);
  user-select: none;
}

.enter-prompt {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
  user-select: none;
}

@keyframes enterFloat {
  0%, 100% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(8px);
  }
}

/* ==========================================================================
   MAIN PROFILE CONTAINER & 3D TILT
   ========================================================================== */
.main-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 480px;
  perspective: 1200px;
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none; /* Block all clicks until enter overlay is dismissed */
}

.main-wrapper.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.main-wrapper.interactive {
  pointer-events: auto; /* Re-enable clicks after enter transition */
}

.profile-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(var(--glass-blur)) saturate(200%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(200%);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 36px 28px;
  box-shadow: 
    0 35px 90px -15px rgba(0, 0, 0, 0.75),
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  overflow: hidden;
}

/* Moving Specular Highlight across glass card */
.glass-specular {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  pointer-events: none;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.18),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.profile-card:hover .glass-specular {
  opacity: 1;
}

/* ==========================================================================
   AVATAR SECTION
   ========================================================================== */
.avatar-container {
  position: relative;
  width: 110px;
  height: 110px;
  transform: translateZ(30px);
}

.avatar-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(255, 255, 255, 0.12);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.avatar-container:hover .avatar-wrapper {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.6);
}

.avatar-container:hover .avatar-img {
  transform: scale(1.08);
}

.status-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 26px;
  height: 26px;
  background: #10b981;
  border: 3px solid #030712;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateZ(40px);
}

.status-badge::after {
  content: '';
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  opacity: 0.85;
}

/* ==========================================================================
   INFO & BADGES SECTION
   ========================================================================== */
.profile-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translateZ(25px);
  width: 100%;
}

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

.profile-name {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.badge-verified {
  width: 22px;
  height: 22px;
  color: #38bdf8;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6));
}

.profile-handle {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.profile-handle:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.profile-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.4;
  font-weight: 400;
}

.meta-pills {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.meta-pill {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   FEATURED BIERDEX BUTTON
   ========================================================================== */
.featured-section {
  width: 100%;
  transform: translateZ(28px);
}

.bierdex-card {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--text-primary);
  text-decoration: none;
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  cursor: pointer;
}

.bierdex-shimmer {
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  animation: shimmer 4.5s infinite;
}

@keyframes shimmer {
  0% { left: -150%; }
  35%, 100% { left: 150%; }
}

.bierdex-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bierdex-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.bierdex-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.bierdex-text {
  text-align: left;
}

.bierdex-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bierdex-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.bierdex-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.5);
  padding: 2px 7px;
  border-radius: 6px;
}

.bierdex-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.bierdex-arrow {
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

.bierdex-card:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(245, 158, 11, 0.65);
  box-shadow: 
    0 18px 40px rgba(245, 158, 11, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.bierdex-card:hover .bierdex-arrow {
  transform: translateX(4px);
  color: #fbbf24;
}

/* ==========================================================================
   SOCIALS BENTO GRID
   ========================================================================== */
.socials-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  transform: translateZ(26px);
}

.social-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  text-decoration: none;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  overflow: hidden;
}

.social-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: #ffffff;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.social-icon-wrapper svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.social-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
  overflow: hidden;
}

.social-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.social-handle {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

/* Brand specific hover treatments */
.social-card[data-platform="discord"]:hover {
  border-color: rgba(88, 101, 242, 0.6);
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.25);
  transform: translateY(-2px);
}
.social-card[data-platform="discord"]:hover .social-icon-wrapper {
  background: #5865f2;
  border-color: transparent;
  color: white;
}

.social-card[data-platform="instagram"]:hover {
  border-color: rgba(225, 48, 108, 0.6);
  box-shadow: 0 12px 30px rgba(225, 48, 108, 0.25);
  transform: translateY(-2px);
}
.social-card[data-platform="instagram"]:hover .social-icon-wrapper {
  background: radial-gradient(circle at 30% 100%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) no-repeat;
  background-size: 100% 100%;
  border-color: transparent;
  color: white;
}

.social-card[data-platform="tiktok"]:hover {
  border-color: rgba(0, 242, 254, 0.6);
  box-shadow: 0 12px 30px rgba(0, 242, 254, 0.22);
  transform: translateY(-2px);
}
.social-card[data-platform="tiktok"]:hover .social-icon-wrapper {
  background: #010101;
  border-color: #00f2fe;
  color: white;
  box-shadow: 2px 2px 0 rgba(254, 44, 85, 0.7);
}

.social-card[data-platform="snapchat"]:hover {
  border-color: rgba(255, 252, 0, 0.6);
  box-shadow: 0 12px 30px rgba(255, 252, 0, 0.22);
  transform: translateY(-2px);
}
.social-card[data-platform="snapchat"]:hover .social-icon-wrapper {
  background: #fffc00;
  border-color: transparent;
  color: #000000;
}

/* ==========================================================================
   FLOATING APPLE LIQUID GLASS MUSIC PLAYER PILL (Exact same glass look!)
   ========================================================================== */
.music-player-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 16px;
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(200%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(200%);
  border: 1px solid var(--glass-border);
  box-shadow: 
    0 30px 80px -15px rgba(0, 0, 0, 0.75),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.music-player-pill:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: 
    0 35px 90px -10px rgba(0, 0, 0, 0.85),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* Equalizer Bars */
.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 18px;
  width: 18px;
}

.eq-bar {
  width: 3px;
  background: var(--color-accent-blue);
  border-radius: 2px;
  height: 4px;
  transition: height 0.2s ease;
}

.eq-bars.playing .eq-bar:nth-child(1) { animation: eqJump 0.8s infinite ease-in-out alternate; }
.eq-bars.playing .eq-bar:nth-child(2) { animation: eqJump 0.6s infinite ease-in-out alternate 0.2s; }
.eq-bars.playing .eq-bar:nth-child(3) { animation: eqJump 0.9s infinite ease-in-out alternate 0.4s; }
.eq-bars.playing .eq-bar:nth-child(4) { animation: eqJump 0.7s infinite ease-in-out alternate 0.1s; }

@keyframes eqJump {
  0% { height: 4px; }
  100% { height: 18px; }
}

.player-info {
  display: flex;
  flex-direction: column;
  max-width: 120px;
}

.player-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-artist {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.player-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.player-btn svg {
  width: 16px;
  height: 16px;
}

/* Volume Slider Group */
.player-volume-group {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 4px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.vol-slider-wrapper {
  display: flex;
  align-items: center;
  width: 65px;
}

.vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}

.vol-slider:hover {
  background: rgba(255, 255, 255, 0.38);
}

.vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.vol-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

/* ==========================================================================
   DYNAMIC TOAST NOTIFICATION (Apple Liquid Glass Dynamic Island Style)
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(32px) saturate(210%);
  -webkit-backdrop-filter: blur(32px) saturate(210%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 11px 24px;
  border-radius: 999px;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #ffffff;
  pointer-events: none;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (Smartphone & Tablet Optimization)
   ========================================================================== */
@media (max-width: 520px) {
  body {
    align-items: flex-start;
    padding: 16px 12px calc(96px + env(safe-area-inset-bottom, 16px)) 12px;
  }

  .main-wrapper {
    max-width: 100%;
    width: 100%;
    padding-top: max(4px, env(safe-area-inset-top, 4px));
  }

  .profile-card {
    padding: 24px 16px 22px 16px;
    border-radius: 26px;
    gap: 16px;
    box-shadow: 
      0 20px 50px -10px rgba(0, 0, 0, 0.7),
      inset 0 1px 1px 0 rgba(255, 255, 255, 0.35);
  }

  /* Avatar */
  .avatar-container {
    width: 96px;
    height: 96px;
    transform: none;
  }

  .avatar-wrapper {
    border-radius: 24px;
  }

  .status-badge {
    width: 22px;
    height: 22px;
    bottom: -2px;
    right: -2px;
    border-width: 2.5px;
  }

  /* Name & Meta */
  .profile-info {
    gap: 5px;
    transform: none;
  }

  .profile-name {
    font-size: 1.55rem;
  }

  .badge-verified {
    width: 20px;
    height: 20px;
  }

  .profile-handle {
    font-size: 0.88rem;
    padding: 3px 12px;
  }

  .profile-tagline {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .meta-pills {
    margin-top: 4px;
    gap: 6px;
  }

  .meta-pill {
    font-size: 0.72rem;
    padding: 3px 9px;
  }

  /* Featured Bierdex */
  .featured-section {
    transform: none;
  }

  .bierdex-card {
    padding: 13px 14px;
    border-radius: 18px;
    gap: 10px;
  }

  .bierdex-left {
    gap: 12px;
  }

  .bierdex-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .bierdex-title {
    font-size: 1.05rem;
  }

  .bierdex-badge {
    font-size: 0.6rem;
    padding: 1.5px 6px;
  }

  .bierdex-desc {
    font-size: 0.75rem;
  }

  /* Bento 2-column on mobile: super compact, fits on screen cleanly! */
  .socials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    transform: none;
  }

  .social-card {
    padding: 10px 10px;
    gap: 8px;
    border-radius: 16px;
  }

  .social-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .social-icon-wrapper svg {
    width: 18px;
    height: 18px;
  }

  .social-name {
    font-size: 0.88rem;
  }

  .social-handle {
    font-size: 0.68rem;
  }

  /* Apple Floating Now Playing Pill on Mobile */
  .music-player-pill {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    right: 50%;
    transform: translateX(50%);
    width: calc(100% - 24px);
    max-width: 360px;
    padding: 8px 12px;
    gap: 8px;
    justify-content: space-between;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.75);
  }

  .music-player-pill:hover,
  .music-player-pill:active {
    transform: translateX(50%) translateY(0);
  }

  .player-info {
    max-width: 105px;
  }

  .player-title {
    font-size: 0.78rem;
  }

  .player-artist {
    font-size: 0.66rem;
  }

  .player-btn {
    width: 26px;
    height: 26px;
  }

  .player-btn svg {
    width: 15px;
    height: 15px;
  }

  .vol-slider-wrapper {
    width: 48px;
  }

  /* Enter Screen Mobile Typography */
  .enter-title {
    font-size: 2.3rem;
  }

  .enter-prompt {
    font-size: 0.95rem;
  }

  .enter-glow-backdrop {
    width: 300px;
    height: 250px;
    filter: blur(45px);
  }
}

/* Very Narrow Devices (< 350px) */
@media (max-width: 350px) {
  .socials-grid {
    grid-template-columns: 1fr;
  }
  .music-player-pill {
    padding: 6px 10px;
  }
  .vol-slider-wrapper {
    display: none;
  }
}
