/* ==========================================================================
   FABLE · 100% PURE FROSTED ZENITH GLASS ARCHITECTURE
   Animated Pure White Glass Edge-Flow & Conic Perimeter Sheen
   Lenis Smooth Inertial Scroll · 60FPS Lottie 3D Vector Engine
   Zero Monospace · Zero Solid Colored Buttons · Zero Muddy Gradients
   ========================================================================== */

:root {
  --ease-zenith: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --max-width: 1040px;
  --content-width: 960px;
  --padding-x: clamp(16px, 4vw, 40px);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;
}

/* ==========================================================================
   THEME 1: "ТЁМНАЯ" (ZENITH OBSIDIAN GLASS - DEFAULT)
   Deep Cosmic Sky with Visible Transparency and Neutral White Specular Sheen
   ========================================================================== */
body[data-theme="dark"] {
  --c-bg-deep: #030408;
  --c-bg-mid: #080c16;
  --c-bg-glow: #121828;
  --nebula-1: #384270;
  --nebula-2: #262f55;
  --nebula-3: #4b3d75;
  --aurora-1: rgba(99, 102, 241, 0.12);
  --aurora-2: rgba(56, 189, 248, 0.08);
  --aurora-3: rgba(168, 85, 247, 0.08);

  --bg-primary: #030408;
  --bg-secondary: #080c16;
  --bg-dots: rgba(255, 255, 255, 0.06);
  --grid-line: rgba(255, 255, 255, 0.028);

  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.85);
  --text-tertiary: rgba(255, 255, 255, 0.50);
  --text-muted: rgba(255, 255, 255, 0.30);

  --accent-color: #60A5FA;
  --accent-link: #93C5FD;
  --accent-border: rgba(255, 255, 255, 0.18);

  /* 100% Pure Frosted Glass System with Pristine Optical Transparency */
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.015) 50%, rgba(255, 255, 255, 0.05) 100%), rgba(8, 10, 18, 0.38);
  --glass-bg-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.07) 100%), rgba(12, 15, 26, 0.48);
  --glass-nav-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 100%), rgba(6, 8, 14, 0.55);

  --glass-border: 1px solid rgba(255, 255, 255, 0.15);
  --glass-border-hover: rgba(255, 255, 255, 0.32);

  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28),
                  0 20px 50px -15px rgba(0, 0, 0, 0.65);

  --glass-shadow-hover: inset 0 1px 0 rgba(255, 255, 255, 0.40),
                        0 24px 60px -15px rgba(0, 0, 0, 0.75);

  --glass-blur: blur(24px) saturate(180%) brightness(1.05);

  --chip-bg: rgba(255, 255, 255, 0.04);
  --chip-border: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   THEME 2: "КЛАУД" (CLOUD CELESTIAL DEEP INDIGO & CYAN GLASS)
   Pure Deep Cosmic Glass: Nebula Deep Field & Ethereal Starlight
   ========================================================================== */
body[data-theme="cloud"] {
  --c-bg-deep: #030816;
  --c-bg-mid: #08112b;
  --c-bg-glow: #102048;
  --nebula-1: #1e3a8a;
  --nebula-2: #2563eb;
  --nebula-3: #38bdf8;
  --aurora-1: rgba(56, 189, 248, 0.16);
  --aurora-2: rgba(99, 102, 241, 0.14);
  --aurora-3: rgba(147, 197, 253, 0.12);

  --bg-primary: #030816;
  --bg-secondary: #08112b;
  --bg-dots: rgba(255, 255, 255, 0.08);
  --grid-line: rgba(56, 189, 248, 0.035);

  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.88);
  --text-tertiary: rgba(255, 255, 255, 0.55);
  --text-muted: rgba(255, 255, 255, 0.35);

  --accent-color: #38BDF8;
  --accent-link: #7DD3FC;
  --accent-border: rgba(56, 189, 248, 0.28);

  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(56, 189, 248, 0.03) 50%, rgba(255, 255, 255, 0.08) 100%), rgba(8, 18, 42, 0.45);
  --glass-bg-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(56, 189, 248, 0.06) 50%, rgba(255, 255, 255, 0.12) 100%), rgba(12, 26, 60, 0.55);
  --glass-nav-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(56, 189, 248, 0.03) 100%), rgba(6, 14, 34, 0.65);

  --glass-border: 1px solid rgba(147, 197, 253, 0.22);
  --glass-border-hover: rgba(147, 197, 253, 0.45);

  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35),
                  0 20px 50px -15px rgba(0, 0, 0, 0.75);

  --glass-shadow-hover: inset 0 1px 0 rgba(255, 255, 255, 0.50),
                        0 24px 60px -15px rgba(0, 0, 0, 0.85);

  --glass-blur: blur(24px) saturate(190%) brightness(1.08);

  --chip-bg: rgba(56, 189, 248, 0.06);
  --chip-border: rgba(147, 197, 253, 0.18);
}

/* ==========================================================================
   GLOBAL RESET & TYPOGRAPHY
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  background-color: var(--bg-primary);
  scroll-behavior: auto;
  color-scheme: dark light;
}

body {
  font-family: var(--font-sans);
  background-color: var(--c-bg-deep);
  color: var(--text-primary);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  transition: background-color 0.6s var(--ease-zenith), color 0.4s var(--ease-zenith);
}

::selection {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

/* ==========================================================================
   AUTHENTIC NASA JAMES WEBB DEEP SPACE COSMOS PHOTOWALLPAPER
   Photorealistic Interstellar Nebula & Galaxy Deep Field
   Enhanced with Parallax Stars and Slow Breathing Shimmer
   ========================================================================== */
.space {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #030408;
  background-image: url('space_nebula.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transition: background-image 0.8s ease, background-color 0.6s ease;
  pointer-events: none;
}

body[data-theme="cloud"] .space {
  background-image: url('space_cosmos.jpg');
}

.space::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(3, 4, 8, 0.15) 0%, rgba(2, 3, 6, 0.68) 100%);
  pointer-events: none;
  z-index: 1;
}

.aurora {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  opacity: 0.65;
  mix-blend-mode: screen;
  filter: blur(40px);
}

.aurora-layer {
  position: absolute;
  border-radius: 50%;
}

.aurora-1 {
  width: 70%;
  height: 50%;
  top: 5%;
  left: -10%;
  background: radial-gradient(ellipse, var(--aurora-1) 0%, transparent 70%);
  animation: auroraMove1 22s ease-in-out infinite;
}

.aurora-2 {
  width: 60%;
  height: 55%;
  bottom: 0;
  right: -10%;
  background: radial-gradient(ellipse, var(--aurora-2) 0%, transparent 70%);
  animation: auroraMove2 26s ease-in-out infinite;
}

.aurora-3 {
  width: 55%;
  height: 45%;
  top: 30%;
  left: 30%;
  background: radial-gradient(ellipse, var(--aurora-3) 0%, transparent 70%);
  animation: auroraMove1 30s ease-in-out infinite reverse;
}

@keyframes auroraMove1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.15); }
}

@keyframes auroraMove2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, -50px) scale(1.2); }
}

.stars-parallax {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.galaxy {
  position: absolute;
  top: 35%;
  left: 50%;
  width: 680px;
  height: 680px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: screen;
  will-change: transform;
  animation: galaxySpin 90s linear infinite;
}

@keyframes galaxySpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.galaxy-arm {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, var(--nebula-2) 35deg, transparent 80deg, transparent 180deg, var(--nebula-1) 220deg, transparent 270deg, transparent 360deg);
  filter: blur(24px);
  opacity: 0.85;
}

.galaxy-arm.arm2 {
  transform: rotate(90deg) scale(0.82);
  opacity: 0.55;
  animation: galaxySpin 130s linear infinite reverse;
}

.galaxy-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, var(--nebula-3) 35%, transparent 75%);
  filter: blur(6px);
  animation: coreGlow 4s ease-in-out infinite;
}

@keyframes coreGlow {
  0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.28;
  mix-blend-mode: screen;
  pointer-events: none;
}

.n1 {
  width: 520px;
  height: 420px;
  background: radial-gradient(circle, var(--nebula-1) 0%, transparent 72%);
  top: -140px;
  left: -140px;
  animation: nebula1 28s ease-in-out infinite;
}

.n2 {
  width: 480px;
  height: 440px;
  background: radial-gradient(circle, var(--nebula-2) 0%, transparent 72%);
  bottom: -160px;
  right: -120px;
  animation: nebula2 34s ease-in-out infinite;
}

.n3 {
  width: 440px;
  height: 400px;
  background: radial-gradient(circle, var(--nebula-3) 0%, transparent 72%);
  top: 40%;
  left: 55%;
  animation: nebula3 38s ease-in-out infinite;
}

@keyframes nebula1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, 90px) scale(1.2); }
}

@keyframes nebula2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-130px, -100px) scale(1.25); }
}

@keyframes nebula3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-90px, 70px) scale(1.15); }
  70% { transform: translate(80px, -60px) scale(0.9); }
}

.stars {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-repeat: repeat;
  pointer-events: none;
}

.stars-1 {
  background-image: radial-gradient(1px 1px at 20px 30px, #fff, transparent),
                    radial-gradient(1px 1px at 90px 130px, rgba(199, 210, 254, 0.7), transparent),
                    radial-gradient(1px 1px at 180px 70px, #fff, transparent),
                    radial-gradient(1px 1px at 260px 190px, rgba(221, 214, 254, 0.6), transparent),
                    radial-gradient(1px 1px at 340px 40px, #fff, transparent),
                    radial-gradient(1px 1px at 420px 220px, rgba(165, 180, 252, 0.7), transparent),
                    radial-gradient(1px 1px at 500px 100px, #fff, transparent),
                    radial-gradient(1px 1px at 570px 260px, rgba(233, 213, 255, 0.5), transparent);
  background-size: 600px 300px;
  opacity: 0.5;
  animation: starsMove 120s linear infinite;
}

.stars-2 {
  background-image: radial-gradient(1.5px 1.5px at 50px 80px, #fff, transparent),
                    radial-gradient(1.5px 1.5px at 200px 40px, rgba(221, 214, 254, 0.8), transparent),
                    radial-gradient(1.5px 1.5px at 350px 180px, #fff, transparent),
                    radial-gradient(1.5px 1.5px at 480px 90px, rgba(165, 180, 252, 0.7), transparent),
                    radial-gradient(1.5px 1.5px at 620px 250px, #fff, transparent),
                    radial-gradient(1.5px 1.5px at 730px 130px, rgba(196, 181, 253, 0.6), transparent);
  background-size: 800px 350px;
  opacity: 0.65;
  animation: starsMove 80s linear infinite;
}

.stars-3 {
  background-image: radial-gradient(2px 2px at 100px 150px, #fff, transparent),
                    radial-gradient(2px 2px at 300px 60px, #c4b5fd, transparent),
                    radial-gradient(2px 2px at 500px 240px, #a5b4fc, transparent),
                    radial-gradient(2px 2px at 700px 120px, #e9d5ff, transparent),
                    radial-gradient(2px 2px at 850px 300px, #ddd6fe, transparent);
  background-size: 900px 400px;
  opacity: 0.65;
  animation: starsMove 50s linear infinite;
}

@keyframes starsMove {
  from { transform: translate(0, 0); }
  to { transform: translate(-600px, -300px); }
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ==========================================================================
   MASTER ZENITH FROSTED GLASS & PURE WHITE SPECULAR SHEEN
   ========================================================================== */

.glass-card {
  border: var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  background: var(--glass-bg);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  animation: slowGlassShimmer 9s ease-in-out infinite;
  transition: transform 0.4s var(--ease-zenith),
              border-color 0.3s var(--ease-zenith),
              box-shadow 0.4s var(--ease-zenith),
              background 0.3s var(--ease-zenith);
}

.glass-card:hover {
  transform: translateY(-2.5px);
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
  box-shadow: var(--glass-shadow-hover);
}

/* Pure Silvery-White Specular Edge Sweep from Template (Zero Yellow!) */
.edge-flow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.25) 42%, #ffffff 50%, rgba(255, 255, 255, 0.25) 58%, transparent 80%);
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 6;
  opacity: 0.45;
  animation: edgeSweep 9s linear infinite;
  transition: opacity 0.35s ease;
}

.glass-card:hover .edge-flow {
  opacity: 0.95;
  animation-duration: 3s;
}

@keyframes edgeSweep {
  0% { background-position: 200% 0; }
  100% { background-position: -100% 0; }
}

@keyframes slowGlassShimmer {
  0%, 100% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24),
                inset 0 0 0 1px rgba(255, 255, 255, 0.08),
                0 20px 48px -15px rgba(0, 0, 0, 0.65);
    border-color: rgba(255, 255, 255, 0.14);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44),
                inset 0 0 0 1px rgba(255, 255, 255, 0.24),
                0 24px 58px -15px rgba(0, 0, 0, 0.80);
    border-color: rgba(255, 255, 255, 0.28);
  }
}

/* ==========================================================================
   COLLAPSIBLE ZENITH NAVBAR CAPSULE
   ========================================================================== */

.header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 var(--padding-x);
  pointer-events: none;
  background: transparent;
  border: none;
  transition: top 0.4s var(--ease-zenith);
}

.header.scrolled {
  top: 10px;
}

.header-inner {
  pointer-events: auto;
  max-width: 920px;
  height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-pill);
  background: var(--glass-nav-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: 0 12px 0 18px;
  position: relative;
  transition: max-width 0.55s var(--ease-zenith),
              height 0.4s var(--ease-zenith),
              padding 0.4s var(--ease-zenith),
              background 0.4s var(--ease-zenith),
              box-shadow 0.4s var(--ease-zenith);
}

.header.scrolled .header-inner {
  max-width: 520px;
  height: 46px;
  padding: 0 12px 0 16px;
  background: var(--glass-nav-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}



.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.015em;
}

.brand-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: width 0.35s ease, height 0.35s ease;
}

.header.scrolled .brand-avatar {
  width: 24px;
  height: 24px;
}

.brand-name {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.glass-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: var(--radius-pill);
  padding: 5px 16px;
  border: var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  background: var(--chip-bg);
}

.header.scrolled .glass-nav {
  gap: 12px;
  padding: 4px 12px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s var(--ease-zenith);
  position: relative;
  cursor: pointer;
}

.header.scrolled .nav-link {
  font-size: 12px;
}

.nav-link:hover,
.nav-link.active {
  color: #FFFFFF;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FFFFFF;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header.scrolled .theme-label {
  display: none;
}

.theme-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  border: var(--glass-border);
  background: var(--chip-bg);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.theme-toggle-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.25);
}

.theme-icon {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   3-STRIPES MENU TOGGLE & DROPDOWN PANEL
   ========================================================================== */

.menu-toggle-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: var(--glass-border);
  background: var(--chip-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.menu-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.burger-bar {
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: var(--text-primary);
  transition: transform 0.3s var(--ease-zenith), opacity 0.3s;
}

.menu-toggle-btn.active .bar-1 {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle-btn.active .bar-2 {
  opacity: 0;
}

.menu-toggle-btn.active .bar-3 {
  transform: translateY(-6px) rotate(-45deg);
}

.menu-dropdown-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-zenith);
}

.menu-dropdown-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-dropdown-panel {
  position: fixed;
  top: 76px;
  right: clamp(16px, 4vw, 40px);
  width: 290px;
  z-index: 96;
  border-radius: 20px;
  padding: 18px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px) scale(0.96);
  transition: all 0.3s var(--ease-zenith);
}



.menu-dropdown-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.menu-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.menu-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-user-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
}

.menu-user-sub {
  font-size: 11px;
  color: var(--text-tertiary);
}

.menu-close-btn {
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s;
}

.menu-close-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.menu-links-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-item-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.menu-item-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  transform: translateX(3px);
}

/* ==========================================================================
   100% PURE FROSTED GLASS BUTTONS & CONIC ROTATING SHEEN
   (Zero Solid Color Buttons)
   ========================================================================== */

@property --angle-btn { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin-btn { 100% { --angle-btn: 360deg; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  color: var(--text-primary);
  border: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25),
              inset 0 0 0 1px rgba(255, 255, 255, 0.12),
              0 10px 24px -12px rgba(0, 0, 0, 0.5);
  animation: slowGlassShimmer 8s ease-in-out infinite;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s ease, box-shadow 0.35s ease;
}

/* Frosted Glass Button Body */
.btn-glass {
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25),
              inset 0 0 0 1px rgba(255, 255, 255, 0.12),
              0 10px 24px -12px rgba(0, 0, 0, 0.5);
  color: var(--text-primary);
}

.btn:hover,
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4),
              inset 0 0 0 1px rgba(255, 255, 255, 0.22),
              0 12px 28px -12px rgba(0, 0, 0, 0.65);
  transform: scale(1.025);
}

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

/* Pure Silvery White Conic Edge Sheen on Buttons (Slow & Hypnotic) */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle-btn), transparent 25%, rgba(255, 255, 255, 0.65) 45%, #ffffff 50%, rgba(255, 255, 255, 0.65) 55%, transparent 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  opacity: 0.35;
  animation: spin-btn 8.5s linear infinite;
  transition: opacity 0.35s ease;
}

.btn:hover::after {
  opacity: 1;
  animation-duration: 2.5s;
}

.btn-sm {
  padding: 7px 14px;
  border-radius: 11px;
  font-size: 12px;
}



/* ==========================================================================
   MAIN SECTIONS
   ========================================================================== */

main {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  padding-bottom: 80px;
}

/* ==========================================================================
   HERO & PROFILE SECTION
   ========================================================================== */

.hero-section {
  padding: 10px var(--padding-x) 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: 50px var(--padding-x);
  max-width: var(--content-width);
  margin: 0 auto;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 32px;
}

.section-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.section-heading {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.section-subheading {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
}

/* ==========================================================================
   TELEGRAM ANIMATED DUCK STICKER AT THE TOP OF THE SITE
   ========================================================================== */
.top-duck-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 12px;
  position: relative;
  z-index: 5;
}

.top-duck-container {
  width: 168px;
  height: 168px;
  cursor: pointer;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.65));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.top-duck-container:hover {
  transform: scale(1.12);
}

/* ==========================================================================
   UNIFIED PROFILE CARD (ENTIRELY FROSTED GLASS)
   ========================================================================== */

.profile-card {
  max-width: 660px;
  margin: 0 auto;
  padding: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

/* TOP BANNER: EXACT SAME LIGHT OLIVE BACKDROP AS IN THE NFT CARD */
.profile-banner {
  position: relative;
  min-height: 156px;
  background: url('nft_backdrop.svg') center/cover no-repeat;
  overflow: hidden;
  padding: 28px 26px 22px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border-bottom: 1px solid rgba(194, 175, 100, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
}

.banner-profile-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

/* Static, Fixed Avatar (Zero Float or Bouncing) */
.avatar-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 100%);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.75);
  flex-shrink: 0;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Meta: Fable + EXACT 3D Vector NFT Lottie Chupik + Title */
.profile-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
}

/* Exact Hypno Lollipop 3D Vector Model directly from NFT Lottie */
.nick-chupik-lottie {
  width: 34px;
  height: 34px;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.nick-chupik-lottie:hover {
  transform: scale(1.2);
}

/* «Бог промта» Prestigious Smooth Title */
.profile-title {
  display: inline-flex;
  align-items: center;
  margin-top: 3px;
}

.profile-title-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #FFFFFF;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  line-height: 1.25;
}



/* ==========================================================================
   DATA ELEMENTS: EACH ELEMENT IS A DISTINCT FROSTED GLASS CARD WITH SHEEN
   ========================================================================== */

.profile-data-content {
  padding: 16px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.data-elements-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Each Data Element is a Glass Card with Rotating Conic Sheen! */
.data-glass-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18),
              0 10px 24px -14px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  animation: slowGlassShimmer 9s ease-in-out infinite;
  transition: transform 0.25s ease, background 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.data-elements-list .data-glass-item:nth-child(1) { animation-delay: 0s; }
.data-elements-list .data-glass-item:nth-child(2) { animation-delay: 3s; }
.data-elements-list .data-glass-item:nth-child(3) { animation-delay: 6s; }

.item-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
}

.data-glass-item:hover .item-icon-badge {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}



.data-glass-item:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.22);
  transform: scale(1.015);
}

/* Pure Silvery White Conic Edge Sheen on Each Data Item (Slow & Hypnotic) */
.data-glass-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle-btn), transparent 25%, rgba(255, 255, 255, 0.65) 45%, #ffffff 50%, rgba(255, 255, 255, 0.65) 55%, transparent 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  opacity: 0.35;
  animation: spin-btn 8.5s linear infinite;
  transition: opacity 0.35s ease;
}

.data-glass-item:hover::after {
  opacity: 1;
  animation-duration: 2.5s;
}

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

/* Authentic Telegram @ and Monochrome Icons */
.tg-at-icon,
.item-icon {
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.data-glass-item:hover .tg-at-icon,
.data-glass-item:hover .item-icon {
  color: var(--text-primary);
}

.item-text {
  display: flex;
  flex-direction: column;
}

.item-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
}

.item-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.item-value.accent-link {
  color: #FFFFFF;
}



.item-action-pill {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.data-glass-item:hover .item-action-pill {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.profile-actions-row {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 6px;
}

.profile-actions-row .btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 14px;
  font-size: 13px;
  box-sizing: border-box;
  white-space: nowrap;
}

/* ==========================================================================
   NFT COLLECTIBLE SECTION (HYPNO LOLLIPOP #73890 ONLY)
   IMMUTABLE BACKDROP ACROSS ALL THEMES
   ========================================================================== */

.nft-featured-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.nft-visual-stage,
#nftStage {
  position: relative;
  min-height: 420px;
  background: url('nft_backdrop.svg') center/cover no-repeat !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.lottie-animation-container {
  width: 100%;
  max-width: 320px;
  height: 320px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.65));
}

.nft-interactive-hint {
  position: absolute;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  z-index: 3;
}

.nft-details-pane {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.nft-header-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nft-collection-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

.nft-item-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

.nft-item-description {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.nft-item-description a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}



.nft-traits-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}



.trait-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}



.trait-row:last-child {
  border-bottom: none;
}

.trait-name {
  color: var(--text-tertiary);
  font-weight: 500;
}

.trait-val {
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.trait-val.highlight-glass {
  color: #FFFFFF;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}



.rarity-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.nft-action-buttons {
  display: flex;
  gap: 10px;
}

.nft-action-buttons .btn {
  flex: 1;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 38px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius-xl);
}

.contact-duck-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 4px;
}

.contact-duck-container {
  width: 105px;
  height: 105px;
  cursor: pointer;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-duck-container:hover {
  transform: scale(1.12);
}

.contact-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  margin: 0;
}

.contact-desc {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 400px;
  line-height: 1.5;
  margin: 0 0 6px 0;
}

.contact-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  justify-content: center;
}

.contact-actions .btn {
  flex: 1 1 0;
  min-height: 44px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}

.contact-actions .btn svg {
  flex-shrink: 0;
}

.contact-btn-main {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

.contact-btn-main:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

/* ==========================================================================
   VISIT COUNTER SHOWCASE WINDOW
   Frosted Glass Card: Numbers on the Left, Counting Duck on the Right
   ========================================================================== */

.stats-showcase-card {
  max-width: 540px;
  margin: 0 auto;
  padding: 30px 28px 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.stats-left-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.stats-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  width: fit-content;
}

.stats-live-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4ade80;
}

.pulse-indicator {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 8px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.pulse-ring {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(34, 197, 94, 0.6);
  animation: pulsePing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulsePing {
  0% { transform: scale(0.5); opacity: 1; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}

.stats-card-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  margin: 0;
}

.stats-metrics-grid {
  display: flex;
  gap: 24px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.stats-metric-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.metric-caption {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  font-weight: 600;
}

.metric-number-wrap {
  display: flex;
  align-items: baseline;
}

.metric-number {
  font-family: var(--font-mono, monospace);
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}

.stats-card-footnote {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.stats-right-sticker {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter-duck-player {
  width: 100%;
  height: 100%;
  cursor: pointer;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.counter-duck-player:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  border-top: var(--glass-border);
  padding: 30px var(--padding-x);
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand {
  font-weight: 800;
  font-size: 14px;
  color: var(--text-primary);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-left: 8px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #FFFFFF;
}

/* Toast Shelf */
.toast-shelf {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(10, 12, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  animation: toastIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   RESPONSIVE ADAPTATIONS (MOBILE & DESKTOP ERGONOMICS)
   ========================================================================== */

@media (max-width: 820px) {
  .nft-featured-card {
    grid-template-columns: 1fr;
  }

  .nft-visual-stage,
  #nftStage {
    min-height: 320px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .glass-nav {
    display: none;
  }

  .header-inner {
    padding: 0 12px;
  }

  .header.scrolled .header-inner {
    max-width: calc(100% - 24px);
  }
}

@media (max-width: 600px) {
  :root {
    --padding-x: 14px;
  }

  main {
    padding-top: 80px;
    padding-bottom: 50px;
  }

  .hero-section {
    padding: 4px var(--padding-x) 24px;
  }

  .section {
    padding: 36px var(--padding-x);
  }

  /* Vibecoding Hero Mobile Adaptation */
  .vibe-section {
    padding: 6px var(--padding-x) 16px;
  }

  .vibe-container {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 24px 18px;
    text-align: center;
  }

  .vibe-content {
    align-items: center;
    gap: 12px;
  }

  .vibe-heading {
    font-size: 24px;
    line-height: 1.2;
  }

  .vibe-quote {
    padding: 12px 14px;
    text-align: left;
    margin-top: 2px;
  }

  .vibe-quote-text {
    font-size: 13px;
  }

  .orbit-system {
    width: 240px;
    height: 240px;
  }

  .ring-outer {
    width: 200px;
    height: 200px;
  }

  .orbit-core {
    width: 66px;
    height: 66px;
  }

  .orbit-node {
    width: 38px;
    height: 38px;
  }

  /* Scaled Orbit Radius = 100px on mobile */
  .node-1 { top: 1px; left: 101px; }
  .node-2 { top: 48px; left: 188px; }
  .node-3 { top: 154px; left: 188px; }
  .node-4 { top: 201px; left: 101px; }
  .node-5 { top: 154px; left: 14px; }
  .node-6 { top: 48px; left: 14px; }

  /* Header adjustments: Keep compact, prevent squishing or overflow */
  .header-cta .theme-label {
    display: none;
  }

  .theme-toggle-btn {
    padding: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .theme-icon {
    width: 17px;
    height: 17px;
  }

  /* Banner Layout on Mobile: Horizontal, Avatar on Left, Meta on Right */
  .banner-profile-content {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 14px;
  }

  .avatar-wrap {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
  }

  .name-row {
    justify-content: flex-start;
    gap: 8px;
  }

  .profile-name {
    font-size: 24px;
  }

  .top-duck-container {
    width: 135px;
    height: 135px;
  }

  .contact-duck-container {
    width: 90px;
    height: 90px;
  }

  .nick-chupik-lottie {
    width: 28px;
    height: 28px;
  }

  .profile-title-text {
    font-size: 13.5px;
  }

  .profile-banner {
    min-height: 126px;
    padding: 20px 18px 18px;
  }

  .profile-data-content {
    padding: 14px 16px 20px;
  }

  .data-glass-item {
    padding: 11px 14px;
    gap: 10px;
  }

  .item-left {
    gap: 11px;
    min-width: 0;
  }

  .item-icon-badge {
    width: 32px;
    height: 32px;
  }

  .item-label {
    font-size: 10px;
  }

  .item-value {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .item-action-pill {
    padding: 3px 8px;
    font-size: 10.5px;
    flex-shrink: 0;
  }

  /* Compact Side-by-Side Mobile Buttons from Design Template (Zero Overlap) */
  .profile-actions-row,
  .nft-action-buttons,
  .contact-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
  }

  .profile-actions-row .btn,
  .nft-action-buttons .btn,
  .contact-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    height: 44px;
    padding: 10px 8px;
    font-size: 12.5px;
    box-sizing: border-box;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .contact-title {
    font-size: 22px;
  }

  .stats-showcase-card {
    padding: 22px 18px 20px 20px;
    gap: 12px;
  }

  .stats-card-title {
    font-size: 18px;
  }

  .stats-metrics-grid {
    gap: 16px;
  }

  .metric-number {
    font-size: 22px;
  }

  .stats-right-sticker {
    width: 95px;
    height: 95px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .footer-left,
  .footer-right {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 440px) {
  /* Hide the extra @Dlc4u capsule button in header to prevent crowding on small mobile screens */
  .header-cta .btn-sm {
    display: none;
  }

  .header-inner {
    height: 48px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-avatar {
    width: 26px;
    height: 26px;
  }

  .section-heading {
    font-size: 24px;
  }

  .nft-item-title {
    font-size: 20px;
  }
}
