/* ==========================================================================
   VibeCode UI — Interactive Component Library Styles
   Styles for Web & Mobile App UI Previews
   ========================================================================== */

/* 1. Neon Pulse Magnetic Button */
.vibe-btn-neon {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  background: #0d0f17;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.4);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.25);
  text-decoration: none;
}

.vibe-btn-neon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    rgba(6, 182, 212, 0.8),
    transparent 30%
  );
  animation: rotateBorder 3.5s linear infinite;
  z-index: 0;
}

.vibe-btn-neon::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #0d0f17;
  border-radius: 10px;
  z-index: 1;
  transition: background 0.3s;
}

.vibe-btn-neon span,
.vibe-btn-neon svg {
  position: relative;
  z-index: 2;
}

.vibe-btn-neon:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.4), 0 0 45px rgba(139, 92, 246, 0.3);
}

.vibe-btn-neon:hover::after {
  background: #141724;
}

@keyframes rotateBorder {
  100% { transform: rotate(360deg); }
}


/* 2. Glassmorphic Cyber Card with Glowing Border */
.vibe-card-cyber {
  width: 100%;
  max-width: 320px;
  background: rgba(18, 21, 33, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.vibe-card-cyber:hover {
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(139, 92, 246, 0.2);
}

.cyber-card-glow-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 0.85rem;
}

.cyber-card-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.cyber-card-text {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.cyber-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.cyber-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cyber-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.cyber-author-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0;
}

.cyber-card-stat {
  font-size: 0.8rem;
  color: #a78bfa;
  font-weight: 600;
}


/* 3. Mobile App Curved Bottom Navigation Bar */
.mobile-app-shell {
  width: 290px;
  background: #090a0f;
  border: 4px solid #1e2230;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
}

.mobile-app-content-demo {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
}

.mobile-notch-nav {
  position: relative;
  background: #121522;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.6rem 0.5rem;
}

.nav-item-btn {
  background: transparent;
  border: none;
  color: #64748b;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.68rem;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0.2rem;
}

.nav-item-btn.active {
  color: #38bdf8;
}

.nav-center-fab {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  border: 3px solid #121522;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -24px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
  transition: transform 0.2s ease;
}

.nav-center-fab:hover {
  transform: translateY(-3px) scale(1.08);
}


/* 4. Interactive Bento Grid Feature Block */
.bento-grid-mini {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.75rem;
  width: 100%;
  max-width: 320px;
}

.bento-box {
  background: rgba(22, 25, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem;
  transition: border-color 0.25s, transform 0.25s;
}

.bento-box:hover {
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
}

.bento-box.full-span {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(22, 25, 38, 0.9), rgba(30, 20, 50, 0.7));
}

.bento-metric {
  font-size: 1.4rem;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 0.2rem;
}

.bento-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.bento-sub {
  font-size: 0.7rem;
  color: #94a3b8;
}


/* 5. Quantum Orbit Futuristic Loader */
.quantum-loader-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.quantum-loader {
  position: relative;
  width: 60px;
  height: 60px;
}

.quantum-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}

.quantum-ring:nth-child(1) {
  border-top-color: #8b5cf6;
  border-right-color: #8b5cf6;
  animation: orbitRotate 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.quantum-ring:nth-child(2) {
  inset: 6px;
  border-bottom-color: #06b6d4;
  border-left-color: #06b6d4;
  animation: orbitRotate 1.6s cubic-bezier(0.5, 0, 0.5, 1) infinite reverse;
}

.quantum-ring:nth-child(3) {
  inset: 12px;
  border-top-color: #ec4899;
  animation: orbitRotate 2s linear infinite;
}

.quantum-core {
  position: absolute;
  inset: 22px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 10px #38bdf8;
  animation: corePulse 1s ease-in-out infinite alternate;
}

.quantum-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes orbitRotate {
  to { transform: rotate(360deg); }
}

@keyframes corePulse {
  from { transform: scale(0.8); opacity: 0.6; }
  to { transform: scale(1.15); opacity: 1; }
}


/* 6. Mobile App Status Story Ring Carousel */
.story-ring-group {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.5rem;
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.story-item:hover {
  transform: scale(1.08);
}

.story-ring {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-ring.live {
  background: linear-gradient(135deg, #06b6d4, #8b5cf6, #f43f5e);
  animation: ringPulse 2s infinite ease-in-out;
}

.story-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #181b28;
  border: 2px solid #090a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.story-name {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 500;
}

@keyframes ringPulse {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(6, 182, 212, 0.4)); }
  50% { filter: drop-shadow(0 0 12px rgba(244, 63, 94, 0.6)); }
}


/* 7. Floating Glassmorphic Pill Navbar */
.floating-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(18, 22, 33, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.6rem;
  border-radius: 40px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.pill-nav-link {
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.pill-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.pill-nav-link.active {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  color: #fff;
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.35);
}


/* 8. Mobile Speed Dial Floating Action Button (FAB) */
.speed-dial-container {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.speed-dial-main {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(6, 182, 212, 0.45);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
}

.speed-dial-main.open {
  transform: rotate(45deg);
  background: #ef4444;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.45);
}

.speed-dial-item {
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1e2436;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  cursor: pointer;
}

.speed-dial-container.active .speed-dial-item:nth-child(1) {
  opacity: 1;
  transform: translateY(-60px) scale(1);
  pointer-events: auto;
}

.speed-dial-container.active .speed-dial-item:nth-child(2) {
  opacity: 1;
  transform: translate(-45px, -45px) scale(1);
  pointer-events: auto;
}

.speed-dial-container.active .speed-dial-item:nth-child(3) {
  opacity: 1;
  transform: translateX(-60px) scale(1);
  pointer-events: auto;
}


/* 9. Interactive 3D Glow Toggle Switch */
.vibe-switch-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.vibe-switch {
  position: relative;
  display: inline-block;
  width: 58px;
  height: 32px;
}

.vibe-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #1a1e2d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.vibe-switch input:checked + .switch-slider {
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.vibe-switch input:checked + .switch-slider:before {
  transform: translateX(26px);
  background-color: #0b0d14;
}

.switch-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
}


/* 10. Modern Floating Label Gradient Input */
.gradient-input-box {
  position: relative;
  width: 100%;
  max-width: 280px;
}

.gradient-input-box input {
  width: 100%;
  padding: 0.9rem 1rem 0.6rem;
  background: #0f121d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.25s ease;
}

.gradient-input-box label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.85rem;
  pointer-events: none;
  transition: all 0.25s ease;
}

.gradient-input-box input:focus,
.gradient-input-box input:not(:placeholder-shown) {
  border-color: #8b5cf6;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.25);
  padding-top: 1.2rem;
  padding-bottom: 0.4rem;
}

.gradient-input-box input:focus ~ label,
.gradient-input-box input:not(:placeholder-shown) ~ label {
  top: 25%;
  font-size: 0.68rem;
  color: #a78bfa;
  font-weight: 600;
}


/* 11. Stat Metric Trend Card (+24.8% trend) */
.stat-metric-card {
  width: 100%;
  max-width: 260px;
  background: rgba(18, 22, 33, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.15rem 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.stat-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin-top: 0.85rem;
  overflow: hidden;
}

.stat-bar-fill {
  width: 74%;
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #06b6d4);
  border-radius: 10px;
}


/* 12. Mobile Bottom Sheet Drawer Simulation */
.mobile-bottom-sheet-mini {
  width: 280px;
  background: #111422;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px 22px 0 0;
  padding: 1rem 1.2rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
  position: relative;
}

.sheet-handle-pill {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  margin: 0 auto 1rem;
}

.sheet-header-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.sheet-actions-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.sheet-action-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.sheet-action-item:hover {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
}

/* Kinetic Link Demo */
.kinetic-link-demo::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #06b6d4);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.kinetic-link-demo:hover::after {
  width: 100%;
}

/* ==========================================================================
   Tactile 3D Claymorphic Pill Buttons
   ========================================================================== */
.clay-buttons-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  padding: 1.25rem;
  width: 100%;
}

.clay-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 175px;
  padding: 0.85rem 2.2rem;
  border-radius: 9999px;
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.clay-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.clay-btn:active {
  transform: translateY(2px) scale(0.98);
}

.clay-blue {
  background: linear-gradient(180deg, #2b77f2 0%, #1c5ecf 100%);
  box-shadow: 
    0 10px 22px -4px rgba(28, 94, 207, 0.6),
    0 4px 8px -2px rgba(0, 0, 0, 0.25),
    inset 0 2px 2px rgba(255, 255, 255, 0.5),
    inset 0 -3px 3px rgba(10, 44, 110, 0.65);
}
.clay-blue:hover {
  box-shadow: 
    0 15px 30px -4px rgba(28, 94, 207, 0.75),
    0 6px 12px -2px rgba(0, 0, 0, 0.3),
    inset 0 2px 2px rgba(255, 255, 255, 0.65),
    inset 0 -3px 3px rgba(10, 44, 110, 0.65);
}
.clay-blue:active {
  box-shadow: 
    0 4px 10px -2px rgba(28, 94, 207, 0.4),
    inset 0 2px 4px rgba(10, 44, 110, 0.8);
}

.clay-green {
  background: linear-gradient(180deg, #24b25b 0%, #169446 100%);
  box-shadow: 
    0 10px 22px -4px rgba(22, 148, 70, 0.6),
    0 4px 8px -2px rgba(0, 0, 0, 0.25),
    inset 0 2px 2px rgba(255, 255, 255, 0.5),
    inset 0 -3px 3px rgba(8, 75, 34, 0.65);
}
.clay-green:hover {
  box-shadow: 
    0 15px 30px -4px rgba(22, 148, 70, 0.75),
    0 6px 12px -2px rgba(0, 0, 0, 0.3),
    inset 0 2px 2px rgba(255, 255, 255, 0.65),
    inset 0 -3px 3px rgba(8, 75, 34, 0.65);
}
.clay-green:active {
  box-shadow: 
    0 4px 10px -2px rgba(22, 148, 70, 0.4),
    inset 0 2px 4px rgba(8, 75, 34, 0.8);
}

.clay-red {
  background: linear-gradient(180deg, #e34c44 0%, #cb322a 100%);
  box-shadow: 
    0 10px 22px -4px rgba(203, 50, 42, 0.6),
    0 4px 8px -2px rgba(0, 0, 0, 0.25),
    inset 0 2px 2px rgba(255, 255, 255, 0.5),
    inset 0 -3px 3px rgba(110, 16, 12, 0.65);
}
.clay-red:hover {
  box-shadow: 
    0 15px 30px -4px rgba(203, 50, 42, 0.75),
    0 6px 12px -2px rgba(0, 0, 0, 0.3),
    inset 0 2px 2px rgba(255, 255, 255, 0.65),
    inset 0 -3px 3px rgba(110, 16, 12, 0.65);
}
.clay-red:active {
  box-shadow: 
    0 4px 10px -2px rgba(203, 50, 42, 0.4),
    inset 0 2px 4px rgba(110, 16, 12, 0.8);
}

.clay-orange {
  background: linear-gradient(180deg, #f5841f 0%, #dc6c0b 100%);
  box-shadow: 
    0 10px 22px -4px rgba(220, 108, 11, 0.6),
    0 4px 8px -2px rgba(0, 0, 0, 0.25),
    inset 0 2px 2px rgba(255, 255, 255, 0.5),
    inset 0 -3px 3px rgba(120, 52, 0, 0.65);
}
.clay-orange:hover {
  box-shadow: 
    0 15px 30px -4px rgba(220, 108, 11, 0.75),
    0 6px 12px -2px rgba(0, 0, 0, 0.3),
    inset 0 2px 2px rgba(255, 255, 255, 0.65),
    inset 0 -3px 3px rgba(120, 52, 0, 0.65);
}
.clay-orange:active {
  box-shadow: 
    0 4px 10px -2px rgba(220, 108, 11, 0.4),
    inset 0 2px 4px rgba(120, 52, 0, 0.8);
}

/* ==========================================================================
   14. Liquid Wave Fill Heart Like Button (Codelyx Obsidian Edition)
   ========================================================================== */
.liquid-like-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 22px 10px 16px;
  background: linear-gradient(135deg, rgba(22, 18, 28, 0.85) 0%, rgba(13, 14, 22, 0.95) 100%);
  border: 1px solid rgba(255, 60, 100, 0.25);
  border-radius: 9999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #f1f5f9;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  user-select: none;
  overflow: visible;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.liquid-like-btn:hover {
  border-color: rgba(255, 75, 110, 0.7);
  transform: translateY(-2px);
  box-shadow: 
    0 10px 30px rgba(255, 45, 85, 0.35),
    0 0 20px rgba(255, 45, 85, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.liquid-like-btn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 
    0 4px 15px rgba(255, 45, 85, 0.25),
    inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Heart Icon Container */
.heart-icon-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transform-origin: center;
  transition: transform 0.3s ease;
}

.liquid-like-btn:hover .heart-icon-box {
  animation: heartBeatPulse 1.4s ease-in-out infinite 0.25s;
}

.liquid-heart-svg {
  overflow: visible;
  display: block;
}

/* Background outline */
.heart-bg-outline {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 1.8;
  fill: rgba(255, 255, 255, 0.04);
  transition: stroke 0.3s ease;
}

.liquid-like-btn:hover .heart-bg-outline {
  stroke: rgba(255, 75, 110, 0.9);
}

/* Rising Liquid Tank */
.liquid-tank {
  transform: translateY(14px);
  transition: transform 0.65s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.liquid-like-btn:hover .liquid-tank {
  transform: translateY(-9px);
}

/* Horizontal Waving Motions */
.lq-wave {
  will-change: transform;
}

.lq-wave-front {
  animation: waveFlowFront 1.8s linear infinite;
}

.lq-wave-back {
  animation: waveFlowBack 2.4s linear infinite;
}

@keyframes waveFlowFront {
  0% { transform: translateX(0); }
  100% { transform: translateX(-24px); }
}

@keyframes waveFlowBack {
  0% { transform: translateX(-24px); }
  100% { transform: translateX(0); }
}

@keyframes heartBeatPulse {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.18); }
  28% { transform: scale(1.05); }
  42% { transform: scale(1.18); }
  65% { transform: scale(1); }
}

/* Button Text & Counter Badge */
.liquid-like-btn .btn-text {
  color: #f1f5f9;
  transition: color 0.3s ease;
}

.liquid-like-btn:hover .btn-text {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 75, 110, 0.4);
}

.like-counter-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.liquid-like-btn:hover .like-counter-badge {
  background: rgba(255, 45, 85, 0.16);
  border-color: rgba(255, 45, 85, 0.35);
  color: #ff85a1;
}

/* ==========================================================================
   15. 3D Tactile Pill Buttons V2.0 (Gloss Sweep + Slide Arrow + Aura Pulse)
   ========================================================================== */
.tactile-btn-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.tactile-btn-v2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 220px;
  padding: 14px 26px;
  border-radius: 9999px;
  border: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.tactile-btn-v2:hover {
  transform: translateY(-3px) scale(1.02);
}

.tactile-btn-v2:active {
  transform: translateY(2px) scale(0.98);
}

/* Gloss Specular Light Sweep */
.tactile-btn-v2 .btn-shimmer {
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.45) 50%, transparent 80%);
  transform: skewX(-22deg);
  pointer-events: none;
  transition: left 0.75s ease;
  z-index: 2;
}

.tactile-btn-v2:hover .btn-shimmer {
  left: 150%;
}

/* Thematic Leading Icon */
.tactile-btn-v2 .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
}

.tactile-btn-v2:hover .btn-icon {
  transform: scale(1.18) rotate(-6deg);
}

/* Button Label */
.tactile-btn-v2 .btn-label {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

/* Dynamic Slide-in Action Arrow */
.tactile-btn-v2 .btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0;
  opacity: 0;
  margin-left: 0;
  transform: translateX(-10px);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
}

.tactile-btn-v2:hover .btn-arrow {
  width: 20px;
  opacity: 1;
  margin-left: 8px;
  transform: translateX(0);
}

/* Color Modifier: Blue */
.tactile-blue {
  background: linear-gradient(180deg, #2b7af7 0%, #1754be 100%);
  box-shadow: 
    0 12px 24px -4px rgba(28, 94, 207, 0.65),
    0 4px 10px -2px rgba(0, 0, 0, 0.3),
    inset 0 2.5px 2px rgba(255, 255, 255, 0.65),
    inset 0 -3.5px 3px rgba(10, 44, 110, 0.65);
  animation: auraPulseBlue 3.5s ease-in-out infinite;
}

.tactile-blue:hover {
  box-shadow: 
    0 18px 36px -4px rgba(28, 94, 207, 0.85),
    0 0 22px rgba(59, 130, 246, 0.5),
    inset 0 2.5px 2px rgba(255, 255, 255, 0.8),
    inset 0 -3.5px 3px rgba(10, 44, 110, 0.65);
}

.tactile-blue:active {
  box-shadow: 
    0 5px 12px -2px rgba(28, 94, 207, 0.5),
    inset 0 2px 4px rgba(10, 44, 110, 0.85);
}

@keyframes auraPulseBlue {
  0%, 100% {
    box-shadow: 
      0 12px 24px -4px rgba(28, 94, 207, 0.65),
      0 4px 10px -2px rgba(0, 0, 0, 0.3),
      inset 0 2.5px 2px rgba(255, 255, 255, 0.65),
      inset 0 -3.5px 3px rgba(10, 44, 110, 0.65);
  }
  50% {
    box-shadow: 
      0 16px 32px -3px rgba(28, 94, 207, 0.8),
      0 0 18px rgba(59, 130, 246, 0.4),
      inset 0 2.5px 2px rgba(255, 255, 255, 0.75),
      inset 0 -3.5px 3px rgba(10, 44, 110, 0.65);
  }
}

/* Color Modifier: Green */
.tactile-green {
  background: linear-gradient(180deg, #24b25b 0%, #169446 100%);
  box-shadow: 
    0 12px 24px -4px rgba(22, 148, 70, 0.65),
    0 4px 10px -2px rgba(0, 0, 0, 0.25),
    inset 0 2.5px 2px rgba(255, 255, 255, 0.65),
    inset 0 -3.5px 3px rgba(8, 75, 34, 0.65);
  animation: auraPulseGreen 3.5s ease-in-out infinite 0.8s;
}

.tactile-green:hover {
  box-shadow: 
    0 18px 36px -4px rgba(22, 148, 70, 0.85),
    0 0 22px rgba(34, 197, 94, 0.5),
    inset 0 2.5px 2px rgba(255, 255, 255, 0.8),
    inset 0 -3.5px 3px rgba(8, 75, 34, 0.65);
}

.tactile-green:active {
  box-shadow: 
    0 5px 12px -2px rgba(22, 148, 70, 0.5),
    inset 0 2px 4px rgba(8, 75, 34, 0.85);
}

@keyframes auraPulseGreen {
  0%, 100% {
    box-shadow: 
      0 12px 24px -4px rgba(22, 148, 70, 0.65),
      0 4px 10px -2px rgba(0, 0, 0, 0.25),
      inset 0 2.5px 2px rgba(255, 255, 255, 0.65),
      inset 0 -3.5px 3px rgba(8, 75, 34, 0.65);
  }
  50% {
    box-shadow: 
      0 16px 32px -3px rgba(22, 148, 70, 0.8),
      0 0 18px rgba(34, 197, 94, 0.4),
      inset 0 2.5px 2px rgba(255, 255, 255, 0.75),
      inset 0 -3.5px 3px rgba(8, 75, 34, 0.65);
  }
}

/* Color Modifier: Red */
.tactile-red {
  background: linear-gradient(180deg, #e34c44 0%, #cb322a 100%);
  box-shadow: 
    0 12px 24px -4px rgba(203, 50, 42, 0.65),
    0 4px 10px -2px rgba(0, 0, 0, 0.25),
    inset 0 2.5px 2px rgba(255, 255, 255, 0.65),
    inset 0 -3.5px 3px rgba(110, 16, 12, 0.65);
  animation: auraPulseRed 3.5s ease-in-out infinite 1.6s;
}

.tactile-red:hover {
  box-shadow: 
    0 18px 36px -4px rgba(203, 50, 42, 0.85),
    0 0 22px rgba(239, 68, 68, 0.5),
    inset 0 2.5px 2px rgba(255, 255, 255, 0.8),
    inset 0 -3.5px 3px rgba(110, 16, 12, 0.65);
}

.tactile-red:active {
  box-shadow: 
    0 5px 12px -2px rgba(203, 50, 42, 0.5),
    inset 0 2px 4px rgba(110, 16, 12, 0.85);
}

@keyframes auraPulseRed {
  0%, 100% {
    box-shadow: 
      0 12px 24px -4px rgba(203, 50, 42, 0.65),
      0 4px 10px -2px rgba(0, 0, 0, 0.25),
      inset 0 2.5px 2px rgba(255, 255, 255, 0.65),
      inset 0 -3.5px 3px rgba(110, 16, 12, 0.65);
  }
  50% {
    box-shadow: 
      0 16px 32px -3px rgba(203, 50, 42, 0.8),
      0 0 18px rgba(239, 68, 68, 0.4),
      inset 0 2.5px 2px rgba(255, 255, 255, 0.75),
      inset 0 -3.5px 3px rgba(110, 16, 12, 0.65);
  }
}

/* Color Modifier: Orange */
.tactile-orange {
  background: linear-gradient(180deg, #f5841f 0%, #dc6c0b 100%);
  box-shadow: 
    0 12px 24px -4px rgba(220, 108, 11, 0.65),
    0 4px 10px -2px rgba(0, 0, 0, 0.25),
    inset 0 2.5px 2px rgba(255, 255, 255, 0.65),
    inset 0 -3.5px 3px rgba(120, 52, 0, 0.65);
  animation: auraPulseOrange 3.5s ease-in-out infinite 2.4s;
}

.tactile-orange:hover {
  box-shadow: 
    0 18px 36px -4px rgba(220, 108, 11, 0.85),
    0 0 22px rgba(249, 115, 22, 0.5),
    inset 0 2.5px 2px rgba(255, 255, 255, 0.8),
    inset 0 -3.5px 3px rgba(120, 52, 0, 0.65);
}

.tactile-orange:active {
  box-shadow: 
    0 5px 12px -2px rgba(220, 108, 11, 0.5),
    inset 0 2px 4px rgba(120, 52, 0, 0.85);
}

@keyframes auraPulseOrange {
  0%, 100% {
    box-shadow: 
      0 12px 24px -4px rgba(220, 108, 11, 0.65),
      0 4px 10px -2px rgba(0, 0, 0, 0.25),
      inset 0 2.5px 2px rgba(255, 255, 255, 0.65),
      inset 0 -3.5px 3px rgba(120, 52, 0, 0.65);
  }
  50% {
    box-shadow: 
      0 16px 32px -3px rgba(220, 108, 11, 0.8),
      0 0 18px rgba(249, 115, 22, 0.4),
      inset 0 2.5px 2px rgba(255, 255, 255, 0.75),
      inset 0 -3.5px 3px rgba(120, 52, 0, 0.65);
  }
}

