/* Theme Variables */
:root {
  --bg: #000000;
  --bg-soft: #0a0a0a;
  --text: #e6e9f5;
  --muted: #9aa3b2;
  --card: #000000;
  --border: #23284b;
  --accent: #ff4d4f;
  --accent-2: #ffd166;
  --gradient-start: #ff7e5f;
  --gradient-end: #feb47b;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-2: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-blur: 12px;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  z-index: 9999;
  transition: width 0.1s ease;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: scale(1.05);
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

.brand-text {
  letter-spacing: 0.3px;
  font-size: 18px;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.back-link:hover {
  color: var(--accent);
  background: rgba(255, 77, 79, 0.1);
  border-color: rgba(255, 77, 79, 0.3);
  transform: translateX(-4px);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  background: radial-gradient(circle at top right, rgba(255, 126, 95, 0.08), transparent 60%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 126, 95, 0.15), transparent);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.gradient-text {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--muted);
  font-weight: 500;
}

.hero-description {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: linear-gradient(180deg, var(--glass-bg), var(--glass-bg-2));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 126, 95, 0.2);
}

.stat-number {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

/* Filter Section */
.filter-section {
  padding: 40px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(180deg, var(--glass-bg), var(--glass-bg-2));
  color: var(--text);
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.filter-btn:hover {
  border-color: var(--accent);
  background: rgba(255, 77, 79, 0.1);
  transform: translateY(-2px);
}

.filter-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 77, 79, 0.35);
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
  padding: 12px 20px;
  background: linear-gradient(180deg, var(--glass-bg), var(--glass-bg-2));
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.search-bar svg {
  color: var(--muted);
  flex-shrink: 0;
}

.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
}

.search-bar input::placeholder {
  color: var(--muted);
}

/* Buttons Showcase */
.buttons-showcase {
  padding: 60px 0;
}

.buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

/* Button Card */
.button-card {
  background: linear-gradient(180deg, var(--glass-bg), var(--glass-bg-2));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 18px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.button-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255, 126, 95, 0.15);
  border-color: rgba(255, 126, 95, 0.3);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.category-badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-badge.gradient {
  background: linear-gradient(135deg, rgba(255, 126, 95, 0.2), rgba(254, 180, 123, 0.2));
  color: var(--gradient-end);
  border: 1px solid rgba(255, 126, 95, 0.3);
}

.category-badge.outline {
  background: rgba(147, 197, 253, 0.1);
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.3);
}

.category-badge.solid {
  background: rgba(167, 139, 250, 0.1);
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, 0.3);
}

.category-badge.glass {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-badge.neon {
  background: rgba(255, 77, 79, 0.1);
  color: var(--accent);
  border: 1px solid rgba(255, 77, 79, 0.3);
}

.category-badge.animated {
  background: rgba(253, 224, 71, 0.1);
  color: #fde047;
  border: 1px solid rgba(253, 224, 71, 0.3);
}

.category-badge.\33 d {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Preview Area */
.preview-area {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 30px;
  background: rgba(15, 23, 42, 0.3);
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.preview-area.glass-bg {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
}

.preview-area.dark-bg {
  background: #0f172a;
}

/* Code Actions */
.code-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.action-btn {
  flex: 1;
  min-width: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: inherit;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.action-btn.primary {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-color: transparent;
  color: #fff;
}

.action-btn.primary:hover {
  box-shadow: 0 8px 20px rgba(255, 126, 95, 0.35);
}

.action-btn.copied {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

/* Code Container - Hidden by default */
.code-container {
  display: none;
}

.code-block {
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 16px;
  overflow-x: auto;
  position: relative;
}

.code-block pre {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.code-block code {
  color: #e2e8f0;
  font-family: 'Courier New', monospace;
  white-space: pre;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(255, 126, 95, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  z-index: 10000;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
  transform: translateY(0);
}

/* Footer */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.footer-note {
  margin-top: 8px;
  color: var(--accent);
}

/* Button Preview Styles */
.btn-preview {
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Gradient Primary */
.btn-gradient-primary {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(255, 126, 95, 0.35);
}

.btn-gradient-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 126, 95, 0.45);
}

/* Outline Accent */
.btn-outline-accent {
  background: transparent;
  color: #ff4d4f;
  border: 2px solid #ff4d4f;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
}

.btn-outline-accent:hover {
  background: #ff4d4f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 77, 79, 0.35);
}

/* Solid Dark */
.btn-solid-dark {
  background: #0f172a;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.4);
}

.btn-solid-dark:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.5);
}

/* Glass */
.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Neon */
.btn-neon {
  background: transparent;
  color: #ff4d4f;
  border: 2px solid #ff4d4f;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 77, 79, 0.5), inset 0 0 20px rgba(255, 77, 79, 0.1);
  text-shadow: 0 0 10px rgba(255, 77, 79, 0.8);
}

.btn-neon:hover {
  background: rgba(255, 77, 79, 0.1);
  box-shadow: 0 0 30px rgba(255, 77, 79, 0.8), inset 0 0 30px rgba(255, 77, 79, 0.2);
  transform: translateY(-2px);
}

/* Pulse Animation */
.btn-pulse {
  background: #ff4d4f;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 77, 79, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 79, 0);
  }
}

.btn-pulse:hover {
  transform: scale(1.05);
  animation: none;
  box-shadow: 0 8px 20px rgba(255, 77, 79, 0.45);
}

/* Additional Button Styles */
.btn-gradient-outline {
  background: #000;
  color: #ff7e5f;
  border: 2px solid transparent;
  background-image: linear-gradient(#000, #000), linear-gradient(135deg, #ff7e5f, #feb47b);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-gradient-outline:hover {
  background-image: linear-gradient(135deg, #ff7e5f, #feb47b), linear-gradient(135deg, #ff7e5f, #feb47b);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 126, 95, 0.35);
}

.btn-rounded-pill {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(255, 126, 95, 0.3);
}

.btn-rounded-pill:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 24px rgba(255, 126, 95, 0.4);
}

.btn-icon-left {
  background: #ff4d4f;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(255, 77, 79, 0.35);
}

.btn-icon-left:hover {
  background: #ff6b6d;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 77, 79, 0.45);
}

.btn-icon-left svg {
  transition: transform 0.3s ease;
}

.btn-icon-left:hover svg {
  transform: translateX(4px);
}

.btn-shine {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(255, 126, 95, 0.35);
}

.btn-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.btn-shine:hover::before {
  left: 100%;
}

.btn-shine:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 126, 95, 0.45);
}

.btn-outlined-rounded {
  background: transparent;
  color: #feb47b;
  border: 2px solid #feb47b;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outlined-rounded:hover {
  background: #feb47b;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(254, 180, 123, 0.4);
}

.btn-double-border {
  background: transparent;
  color: #ff4d4f;
  border: 2px solid #ff4d4f;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.btn-double-border::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid rgba(255, 77, 79, 0.3);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.btn-double-border:hover {
  background: rgba(255, 77, 79, 0.1);
  transform: translateY(-2px);
}

.btn-double-border:hover::before {
  inset: -8px;
  border-color: #ff4d4f;
}

/* Success Buttons */
.btn-success {
  background: #10b981;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.btn-success:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(16, 185, 129, 0.45);
}

.btn-success-outline {
  background: transparent;
  color: #10b981;
  border: 2px solid #10b981;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-success-outline:hover {
  background: #10b981;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

/* Warning Buttons */
.btn-warning {
  background: #f59e0b;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

.btn-warning:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.45);
}

.btn-warning-outline {
  background: transparent;
  color: #f59e0b;
  border: 2px solid #f59e0b;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-warning-outline:hover {
  background: #f59e0b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

/* Info Buttons */
.btn-info {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
}

.btn-info:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(59, 130, 246, 0.45);
}

.btn-info-outline {
  background: transparent;
  color: #3b82f6;
  border: 2px solid #3b82f6;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-info-outline:hover {
  background: #3b82f6;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

/* Danger Buttons */
.btn-danger {
  background: #ef4444;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.35);
}

.btn-danger:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(239, 68, 68, 0.45);
}

.btn-danger-outline {
  background: transparent;
  color: #ef4444;
  border: 2px solid #ef4444;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-danger-outline:hover {
  background: #ef4444;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35);
}

/* Purple Gradient */
.btn-purple-gradient {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.35);
}

.btn-purple-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(168, 85, 247, 0.45);
}

/* Blue Gradient */
.btn-blue-gradient {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

.btn-blue-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.45);
}

/* Green Gradient */
.btn-green-gradient {
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

.btn-green-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.45);
}

/* Light/White Button */
.btn-light {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Bounce Animation */
.btn-bounce {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(255, 126, 95, 0.35);
}

.btn-bounce:hover {
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-12px);
  }
  60% {
    transform: translateY(-6px);
  }
}

/* Ripple Effect */
.btn-ripple {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
}

.btn-ripple:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(59, 130, 246, 0.45);
}

/* Slide Effect */
.btn-slide {
  background: transparent;
  color: #10b981;
  border: 2px solid #10b981;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
  z-index: 1;
}

.btn-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #10b981;
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-slide:hover {
  color: #fff;
}

.btn-slide:hover::before {
  left: 0;
}

/* 3D Buttons */
.btn-3d-primary {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 0 8px 0 #d4634f, 0 12px 20px rgba(255, 126, 95, 0.4);
  transform: translateY(0);
}

.btn-3d-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 #d4634f, 0 14px 24px rgba(255, 126, 95, 0.5);
}

.btn-3d-primary:active {
  transform: translateY(4px);
  box-shadow: 0 4px 0 #d4634f, 0 6px 12px rgba(255, 126, 95, 0.3);
}

.btn-3d-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 0 8px 0 #047857, 0 12px 20px rgba(16, 185, 129, 0.4);
  transform: translateY(0);
}

.btn-3d-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 #047857, 0 14px 24px rgba(16, 185, 129, 0.5);
}

.btn-3d-success:active {
  transform: translateY(4px);
  box-shadow: 0 4px 0 #047857, 0 6px 12px rgba(16, 185, 129, 0.3);
}

.btn-3d-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 0 8px 0 #b91c1c, 0 12px 20px rgba(239, 68, 68, 0.4);
  transform: translateY(0);
}

.btn-3d-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 #b91c1c, 0 14px 24px rgba(239, 68, 68, 0.5);
}

.btn-3d-danger:active {
  transform: translateY(4px);
  box-shadow: 0 4px 0 #b91c1c, 0 6px 12px rgba(239, 68, 68, 0.3);
}

.btn-3d-info {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 0 8px 0 #1d4ed8, 0 12px 20px rgba(59, 130, 246, 0.4);
  transform: translateY(0);
}

.btn-3d-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 #1d4ed8, 0 14px 24px rgba(59, 130, 246, 0.5);
}

.btn-3d-info:active {
  transform: translateY(4px);
  box-shadow: 0 4px 0 #1d4ed8, 0 6px 12px rgba(59, 130, 246, 0.3);
}

.btn-3d-raised {
  background: linear-gradient(145deg, #a855f7, #9333ea);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.3), -4px -4px 12px rgba(168, 85, 247, 0.2);
  transform: translateY(0);
}

.btn-3d-raised:hover {
  transform: translateY(-3px);
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.35), -6px -6px 16px rgba(168, 85, 247, 0.25);
}

.btn-3d-raised:active {
  transform: translateY(2px);
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.25), -2px -2px 8px rgba(168, 85, 247, 0.15);
}

.btn-3d-inset {
  background: linear-gradient(145deg, #475569, #334155);
  color: #e2e8f0;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.4), inset -4px -4px 8px rgba(71, 85, 105, 0.3);
}

.btn-3d-inset:hover {
  background: linear-gradient(145deg, #334155, #1e293b);
  box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.5), inset -5px -5px 10px rgba(71, 85, 105, 0.2);
}

.btn-3d-inset:active {
  box-shadow: inset 6px 6px 12px rgba(0, 0, 0, 0.6), inset -3px -3px 8px rgba(71, 85, 105, 0.1);
}

.btn-3d-neumorphic {
  background: #e5e7eb;
  color: #1f2937;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.15), -8px -8px 16px rgba(255, 255, 255, 0.7);
}

.btn-3d-neumorphic:hover {
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.12), -6px -6px 12px rgba(255, 255, 255, 0.8);
}

.btn-3d-neumorphic:active {
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.15), inset -4px -4px 8px rgba(255, 255, 255, 0.6);
}

.btn-3d-pop {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 0 #b45309, 0 10px 20px rgba(245, 158, 11, 0.4);
  transform: translateY(0) scale(1);
}

.btn-3d-pop:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 0 #b45309, 0 16px 28px rgba(245, 158, 11, 0.5);
}

.btn-3d-pop:active {
  transform: translateY(3px) scale(0.98);
  box-shadow: 0 3px 0 #b45309, 0 5px 10px rgba(245, 158, 11, 0.3);
}

/* Download Switch Button */
.btn-download-switch {
  background-color: transparent;
  border: 2px solid rgb(91, 91, 240);
  display: flex;
  align-items: center;
  border-radius: 50px;
  width: 160px;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 5px;
  position: relative;
}

.btn-download-switch::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #fff;
  width: 8px;
  height: 8px;
  transition: all 0.4s ease;
  border-radius: 100%;
  margin: auto;
  opacity: 0;
  visibility: hidden;
}

.download-input {
  display: none;
}

.download-title {
  font-size: 17px;
  color: #fff;
  transition: all 0.4s ease;
  position: absolute;
  right: 18px;
  bottom: 14px;
  margin: 0;
}

.download-open {
  opacity: 0;
  visibility: hidden;
}

.download-circle {
  height: 45px;
  width: 45px;
  border-radius: 50%;
  background-color: rgb(91, 91, 240);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: 0 0 0 0 rgb(255, 255, 255);
  overflow: hidden;
}

.download-icon {
  color: #fff;
  width: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.download-square {
  aspect-ratio: 1;
  width: 15px;
  border-radius: 2px;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.download-circle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-color: #3333a8;
  width: 100%;
  height: 0;
  transition: all 0.4s ease;
}

.btn-download-switch:has(.download-input:checked) {
  width: 57px;
  animation: installed 0.4s ease 3.5s forwards;
}

.btn-download-switch:has(.download-input:checked)::before {
  animation: rotate-indicator 3s ease-in-out 0.4s forwards;
}

.download-input:checked + .download-circle {
  animation: pulse-download 1s forwards, circle-delete 0.2s ease 3.5s forwards;
  rotate: 180deg;
}

.download-input:checked + .download-circle::before {
  animation: installing 3s ease-in-out forwards;
}

.download-input:checked + .download-circle .download-icon {
  opacity: 0;
  visibility: hidden;
}

.download-input:checked ~ .download-circle .download-square {
  opacity: 1;
  visibility: visible;
}

.download-input:checked ~ .download-title {
  opacity: 0;
  visibility: hidden;
}

.download-input:checked ~ .download-open {
  animation: show-installed 0.4s ease 3.5s forwards;
}

@keyframes pulse-download {
  0% {
    scale: 0.95;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    scale: 1;
    box-shadow: 0 0 0 16px rgba(255, 255, 255, 0);
  }
  100% {
    scale: 0.95;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes rotate-indicator {
  0% {
    transform: rotate(-90deg) translate(27px) rotate(0);
    opacity: 1;
    visibility: visible;
  }
  99% {
    transform: rotate(270deg) translate(27px) rotate(270deg);
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes circle-delete {
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes show-installed {
  100% {
    opacity: 1;
    visibility: visible;
    right: 28px;
  }
}

@keyframes installed {
  100% {
    width: 100px;
    border-color: rgb(35, 174, 35);
  }
}

/* Modern Button Styles */

/* Gooey Effect */
.btn-gooey {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-gooey::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-gooey:hover::before {
  width: 300px;
  height: 300px;
}

/* Glitch Effect */
.btn-preview.btn-glitch,
.btn-glitch {
  background: #000;
  color: #00ff00;
  border: 2px solid #00ff00;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
  overflow: hidden;
}

.btn-preview.btn-glitch::before,
.btn-preview.btn-glitch::after,
.btn-glitch::before,
.btn-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.btn-preview.btn-glitch::before,
.btn-glitch::before {
  color: #ff00ff;
  animation: glitch-1 0.3s infinite;
}

.btn-preview.btn-glitch::after,
.btn-glitch::after {
  color: #00ffff;
  animation: glitch-2 0.3s infinite;
}

.btn-preview.btn-glitch:hover::before,
.btn-preview.btn-glitch:hover::after,
.btn-glitch:hover::before,
.btn-glitch:hover::after {
  opacity: 1;
}

@keyframes glitch-1 {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-3px, 3px); }
  40% { transform: translate(-3px, -3px); }
  60% { transform: translate(3px, 3px); }
  80% { transform: translate(3px, -3px); }
}

@keyframes glitch-2 {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(3px, -3px); }
  40% { transform: translate(3px, 3px); }
  60% { transform: translate(-3px, -3px); }
  80% { transform: translate(-3px, 3px); }
}

/* Rainbow Border */
.btn-rainbow {
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.btn-rainbow::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 12px;
  background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3, #ff0000);
  background-size: 400% 400%;
  z-index: -1;
  animation: rainbow-rotate 3s linear infinite;
}

@keyframes rainbow-rotate {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}

/* Neon Pulse */
.btn-neon-pulse {
  background: transparent;
  color: #0ff;
  border: 2px solid #0ff;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  text-shadow: 0 0 10px #0ff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), inset 0 0 20px rgba(0, 255, 255, 0.2);
  animation: neon-pulse-anim 1.5s ease-in-out infinite;
}

@keyframes neon-pulse-anim {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), inset 0 0 20px rgba(0, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.8), inset 0 0 30px rgba(0, 255, 255, 0.4);
  }
}

/* Elastic */
.btn-elastic {
  background: linear-gradient(135deg, #f093fb, #f5576c);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn-elastic:hover {
  transform: scale(1.1);
}

.btn-elastic:active {
  transform: scale(0.9);
  animation: elastic-bounce 0.5s ease;
}

@keyframes elastic-bounce {
  0%, 100% { transform: scale(0.9); }
  25% { transform: scale(1.15); }
  50% { transform: scale(0.95); }
  75% { transform: scale(1.05); }
}

/* Shine Sweep */
.btn-shine-sweep {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-shine-sweep::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
  transform: rotate(45deg);
  transition: all 0.6s ease;
}

.btn-shine-sweep:hover::before {
  left: 100%;
}

/* Morphing Border */
.btn-morph {
  background: #1a1a1a;
  color: #fff;
  border: 3px solid #ff4d4f;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s ease;
  animation: border-morph 3s ease-in-out infinite;
}

@keyframes border-morph {
  0%, 100% {
    border-radius: 12px;
    border-color: #ff4d4f;
  }
  25% {
    border-radius: 50px;
    border-color: #f5576c;
  }
  50% {
    border-radius: 8px;
    border-color: #ff7eb3;
  }
  75% {
    border-radius: 30px;
    border-color: #ff6b9d;
  }
}

.btn-morph:hover {
  animation-play-state: paused;
}

/* Hover Lift Card */
.btn-lift-card {
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  color: #333;
  border: none;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1), -5px -5px 15px rgba(255, 255, 255, 0.9);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-lift-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), -5px -5px 20px rgba(255, 255, 255, 1);
}

/* Loading State */
.btn-loading {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

.btn-loading:hover {
  background: #2563eb;
}

/* Split Text */
.btn-split-text {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  letter-spacing: 2px;
}

.btn-split-text::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ee5a6f, #ff6b6b);
  clip-path: polygon(0 0, 0% 0, 0% 100%, 0 100%);
  transition: clip-path 0.4s ease;
}

.btn-split-text:hover::before {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

/* Bubble Pop */
.btn-bubble {
  background: linear-gradient(135deg, #fa709a, #fee140);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  overflow: visible;
}

.btn-bubble::before,
.btn-bubble::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
}

.btn-bubble::before {
  top: -10px;
  left: 20%;
}

.btn-bubble::after {
  bottom: -10px;
  right: 20%;
}

.btn-bubble:hover::before {
  animation: bubble-rise-left 1s ease-out forwards;
}

.btn-bubble:hover::after {
  animation: bubble-rise-right 1s ease-out forwards;
}

@keyframes bubble-rise-left {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-60px) scale(1.5);
  }
}

@keyframes bubble-rise-right {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(60px) scale(1.5);
  }
}

/* Icon Swap */
.btn-icon-swap {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.icon-swap-default,
.icon-swap-hover {
  font-size: 20px;
  transition: all 0.3s ease;
  position: absolute;
  left: 16px;
}

.icon-swap-hover {
  opacity: 0;
  transform: translateY(20px) rotate(180deg);
}

.btn-icon-swap:hover .icon-swap-default {
  opacity: 0;
  transform: translateY(-20px) rotate(-180deg);
}

.btn-icon-swap:hover .icon-swap-hover {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.icon-swap-text {
  margin-left: 28px;
}

/* Gradient Shift */
.btn-gradient-shift {
  background: linear-gradient(45deg, #fa709a 0%, #fee140 25%, #30cfd0 50%, #a8edea 75%, #fa709a 100%);
  background-size: 300% 300%;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  animation: gradient-shift-anim 4s ease infinite;
  box-shadow: 0 4px 15px rgba(250, 112, 154, 0.4);
}

@keyframes gradient-shift-anim {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-gradient-shift:hover {
  animation-duration: 1s;
  box-shadow: 0 6px 20px rgba(250, 112, 154, 0.6);
}

/* Cyberpunk */
.btn-cyberpunk {
  background: #000;
  color: #0ff;
  border: 2px solid #0ff;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 0;
  cursor: pointer;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: all 0.3s ease;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%, 0 20%);
}

.btn-cyberpunk::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, #0ff, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-cyberpunk:hover {
  background: #0ff;
  color: #000;
  box-shadow: 0 0 30px #0ff, inset 0 0 30px rgba(0, 255, 255, 0.3);
}

.btn-cyberpunk:hover::before {
  opacity: 0.3;
  animation: cyber-scan 1s linear infinite;
}

@keyframes cyber-scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Additional Modern Button Styles */

/* Floating Action */
.btn-floating {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-icon {
  font-size: 24px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-floating:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.btn-floating:hover .floating-icon {
  transform: rotate(90deg);
}

.btn-floating:active {
  transform: scale(0.95);
}

/* Glass Morphism */
.btn-glass-morphism {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 16px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.btn-glass-morphism:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Wobble */
.btn-wobble {
  background: linear-gradient(135deg, #ff6b6b, #feca57);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  transform-origin: center;
}

.btn-wobble:hover {
  animation: wobble 0.8s ease-in-out;
}

@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(-3deg); }
  20% { transform: rotate(3deg); }
  30% { transform: rotate(-3deg); }
  40% { transform: rotate(3deg); }
  50% { transform: rotate(-2deg); }
  60% { transform: rotate(2deg); }
  70% { transform: rotate(-1deg); }
  80% { transform: rotate(1deg); }
  90% { transform: rotate(-0.5deg); }
}

/* Slide In */
.btn-slide-in {
  background: linear-gradient(135deg, #48cae4, #023e8a);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-slide-in::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transition: left 0.4s ease;
}

.btn-slide-in:hover::before {
  left: 100%;
}

/* Rotate In */
.btn-rotate-in {
  background: linear-gradient(135deg, #f72585, #b5179e);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: rotate(0deg);
}

.btn-rotate-in:hover {
  transform: rotate(5deg);
  animation: rotate-pulse 1s ease-in-out infinite;
}

@keyframes rotate-pulse {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(10deg); }
}

/* Scale Pulse */
.btn-scale-pulse {
  background: linear-gradient(135deg, #7209b7, #560bad);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: scale-pulse 2s ease-in-out infinite;
}

@keyframes scale-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.btn-scale-pulse:hover {
  animation-duration: 0.5s;
}

/* Flip Card */
.btn-flip-card {
  background: linear-gradient(135deg, #f77f00, #fcbf49);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  perspective: 1000px;
  transition: all 0.3s ease;
}

.btn-flip-card:hover {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #fcbf49, #f77f00);
}

/* Ripple Click */
.btn-ripple-click {
  background: linear-gradient(135deg, #06d6a0, #118ab2);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-ripple-click::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-ripple-click:active::before {
  width: 300px;
  height: 300px;
}

/* Wave Effect */
.btn-wave {
  background: linear-gradient(135deg, #8338ec, #3a86ff);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-wave::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.6s ease;
}

.btn-wave:hover::before {
  transform: scale(1);
}

/* Tilt Hover */
.btn-tilt {
  background: linear-gradient(135deg, #ff006e, #8338ec);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  transform-style: preserve-3d;
}

.btn-tilt:hover {
transform: rotateX(15deg) rotateY(-15deg);
box-shadow: 0 20px 40px rgba(255, 0, 110, 0.4);
}

/* Send Message Wrapper */
.send-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}
.styled-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  background: #ffffff;
}

.styled-wrapper button {
  border: none;
  position: relative;
  width: 200px;
  height: 73px;
  padding: 0;
  z-index: 2;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='868' width='2500' viewBox='0 0 726 252.17'%3E%3Cpath d='M483.92 0S481.38 24.71 466 40.11c-11.74 11.74-24.09 12.66-40.26 15.07-9.42 1.41-29.7 3.77-34.81-.79-2.37-2.11-3-21-3.22-27.62-.21-6.92-1.36-16.52-2.82-18-.75 3.06-2.49 11.53-3.09 13.61S378.49 34.3 378 36a85.13 85.13 0 0 0-30.09 0c-.46-1.67-3.17-11.48-3.77-13.56s-2.34-10.55-3.09-13.61c-1.45 1.45-2.61 11.05-2.82 18-.21 6.67-.84 25.51-3.22 27.62-5.11 4.56-25.38 2.2-34.8.79-16.16-2.47-28.51-3.39-40.21-15.13C244.57 24.71 242 0 242 0H0s69.52 22.74 97.52 68.59c16.56 27.11 14.14 58.49 9.92 74.73C170 140 221.46 140 273 158.57c69.23 24.93 83.2 76.19 90 93.6 6.77-17.41 20.75-68.67 90-93.6 51.54-18.56 103-18.59 165.56-15.25-4.21-16.24-6.63-47.62 9.93-74.73C656.43 22.74 726 0 726 0z'/%3E%3C/svg%3E") no-repeat 50% 50%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='868' width='2500' viewBox='0 0 726 252.17'%3E%3Cpath d='M483.92 0S481.38 24.71 466 40.11c-11.74 11.74-24.09 12.66-40.26 15.07-9.42 1.41-29.7 3.77-34.81-.79-2.37-2.11-3-21-3.22-27.62-.21-6.92-1.36-16.52-2.82-18-.75 3.06-2.49 11.53-3.09 13.61S378.49 34.3 378 36a85.13 85.13 0 0 0-30.09 0c-.46-1.67-3.17-11.48-3.77-13.56s-2.34-10.55-3.09-13.61c-1.45 1.45-2.61 11.05-2.82 18-.21 6.67-.84 25.51-3.22 27.62-5.11 4.56-25.38 2.2-34.8.79-16.16-2.47-28.51-3.39-40.21-15.13C244.57 24.71 242 0 242 0H0s69.52 22.74 97.52 68.59c16.56 27.11 14.14 58.49 9.92 74.73C170 140 221.46 140 273 158.57c69.23 24.93 83.2 76.19 90 93.6 6.77-17.41 20.75-68.67 90-93.6 51.54-18.56 103-18.59 165.56-15.25-4.21-16.24-6.63-47.62 9.93-74.73C656.43 22.74 726 0 726 0z'/%3E%3C/svg%3E") no-repeat 50% 50%;
width: 200px;
height: 73px;
padding: 0;
z-index: 2;
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='868' width='2500' viewBox='0 0 726 252.17'%3E%3Cpath d='M483.92 0S481.38 24.71 466 40.11c-11.74 11.74-24.09 12.66-40.26 15.07-9.42 1.41-29.7 3.77-34.81-.79-2.37-2.11-3-21-3.22-27.62-.21-6.92-1.36-16.52-2.82-18-.75 3.06-2.49 11.53-3.09 13.61S378.49 34.3 378 36a85.13 85.13 0 0 0-30.09 0c-.46-1.67-3.17-11.48-3.77-13.56s-2.34-10.55-3.09-13.61c-1.45 1.45-2.61 11.05-2.82 18-.21 6.67-.84 25.51-3.22 27.62-5.11 4.56-25.38 2.2-34.8.79-16.16-2.47-28.51-3.39-40.21-15.13C244.57 24.71 242 0 242 0H0s69.52 22.74 97.52 68.59c16.56 27.11 14.14 58.49 9.92 74.73C170 140 221.46 140 273 158.57c69.23 24.93 83.2 76.19 90 93.6 6.77-17.41 20.75-68.67 90-93.6 51.54-18.56 103-18.59 165.56-15.25-4.21-16.24-6.63-47.62 9.93-74.73C656.43 22.74 726 0 726 0z'/%3E%3C/svg%3E") no-repeat 50% 50%;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='868' width='2500' viewBox='0 0 726 252.17'%3E%3Cpath d='M483.92 0S481.38 24.71 466 40.11c-11.74 11.74-24.09 12.66-40.26 15.07-9.42 1.41-29.7 3.77-34.81-.79-2.37-2.11-3-21-3.22-27.62-.21-6.92-1.36-16.52-2.82-18-.75 3.06-2.49 11.53-3.09 13.61S378.49 34.3 378 36a85.13 85.13 0 0 0-30.09 0c-.46-1.67-3.17-11.48-3.77-13.56s-2.34-10.55-3.09-13.61c-1.45 1.45-2.61 11.05-2.82 18-.21 6.67-.84 25.51-3.22 27.62-5.11 4.56-25.38 2.2-34.8.79-16.16-2.47-28.51-3.39-40.21-15.13C244.57 24.71 242 0 242 0H0s69.52 22.74 97.52 68.59c16.56 27.11 14.14 58.49 9.92 74.73C170 140 221.46 140 273 158.57c69.23 24.93 83.2 76.19 90 93.6 6.77-17.41 20.75-68.67 90-93.6 51.54-18.56 103-18.59 165.56-15.25-4.21-16.24-6.63-47.62 9.93-74.73C656.43 22.74 726 0 726 0z'/%3E%3C/svg%3E") no-repeat 50% 50%;
  -webkit-mask-size: 100%;
  mask-size: 100%;
cursor: pointer;
background-color: transparent;
transform: translateY(8px);
}

.styled-wrapper button:after {
content: '';
position: absolute;
left: 0;
right: 0;
bottom: 0;
box-shadow: 0px 0 0 0 white;
transition: all 2s ease;
}

.styled-wrapper button:hover:after {
box-shadow: 0px -13px 56px 12px #ffffffa6;
}

.styled-wrapper button span {
position: absolute;
width: 100%;
font-size: 15px;
font-weight: 100;
left: 50%;
top: 39%;
letter-spacing: 3px;
text-align: center;
transform: translate(-50%,-50%);
color: black;
transition: all 2s ease;
z-index: 3;
font-family: 'Arial', sans-serif;
}

.styled-wrapper button:hover span {
color: white;
}

.styled-wrapper button:before {
content: '';
position: absolute;
width: 0;
height: 100%;
background-color: black;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
transition: all 1s ease;
z-index: 1;
}

.styled-wrapper button:hover:before {
width: 100%;
}

/* Expandable Delete Wrapper */
.delete-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}
.btn-delete-expand {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(20, 20, 20);
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.164);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  position: relative;
}

.btn-delete-expand .svgIcon {
  width: 12px;
  transition-duration: 0.3s;
}

.btn-delete-expand .svgIcon path {
  fill: white;
}

.btn-delete-expand:hover {
  width: 140px;
  border-radius: 50px;
  transition-duration: 0.3s;
  background-color: rgb(255, 69, 69);
  align-items: center;
}

.btn-delete-expand:hover .svgIcon {
  width: 50px;
  transition-duration: 0.3s;
  transform: translateY(60%);
}

.btn-delete-expand::before {
  position: absolute;
  top: -20px;
  content: "Delete";
  color: white;
  transition-duration: 0.3s;
  font-size: 2px;
}

.btn-delete-expand:hover::before {
  font-size: 13px;
  opacity: 1;
  transform: translateY(30px);
  transition-duration: 0.3s;
}

/* Animated Corner Button */
.corner-btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.btn-container {
  --btn-color: #d8ff7c;
  --corner-color: #0002;
  --corner-dist: 24px;
  --corner-multiplier: 1.5;
  --timing-function: cubic-bezier(0, 0, 0, 2.5);
  --duration: 250ms;

  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-container .btn {
  position: relative;
  min-width: 160px;
  min-height: calc(var(--corner-dist) * 2);
  border-radius: 16px;
  border: none;
  padding: 0.25em 1em;

  background: linear-gradient(#fff2, #0001), var(--btn-color);
  box-shadow:
    1px 1px 2px -1px #fff inset,
    0 2px 1px #00000010,
    0 4px 2px #00000010,
    0 8px 4px #00000010,
    0 16px 8px #00000010,
    0 32px 16px #00000010;

  transition:
    transform var(--duration) var(--timing-function),
    filter var(--duration) var(--timing-function);

  cursor: pointer;
  z-index: 2;
}

.btn-drawer {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;

  min-height: 32px;
  border-radius: 16px;
  border: none;
  padding: 0.25em 1em;
  font-size: 0.8em;
  font-weight: 600;
  font-family: "Poppins", monospace;
  color: #0009;

  background: linear-gradient(#fff2, #0001), var(--btn-color);
  background-color: #fbff13;
  opacity: 0;

  transition:
    transform calc(0.5 * var(--duration)) ease,
    filter var(--duration) var(--timing-function),
    opacity calc(0.5 * var(--duration)) ease;
  filter: blur(2px);
  z-index: 1;
}

.transition-top {
  top: 0;
  left: 0;
  border-radius: 12px 12px 0 0;
  align-items: flex-start;
}

.transition-bottom {
  bottom: 0;
  right: 0;
  border-radius: 0 0 12px 12px;
  align-items: flex-end;
}

.btn-text {
  display: inline-block;

  font-size: 1.25em;
  font-family: "Syne", "Poppins", "Inter", sans-serif;
  font-weight: 600;
  color: #5550;

  background-image: linear-gradient(#444, #000a);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 #fff6) drop-shadow(0 -1px 0 #0006);

  transition:
    transform var(--duration) var(--timing-function),
    filter var(--duration) var(--timing-function),
    color var(--duration) var(--timing-function);
}

.btn-corner {
  position: absolute;
  width: 32px;

  fill: none;
  stroke: var(--corner-color);

  transition:
    transform var(--duration) var(--timing-function),
    filter var(--duration) var(--timing-function);
  z-index: 1;
}

.btn-corner:nth-of-type(1) {
  top: 0;
  left: 0;
  transform: translate(
      calc(-1 * var(--corner-dist)),
      calc(-1 * var(--corner-dist))
    )
    rotate(90deg);
}

.btn-corner:nth-of-type(2) {
  top: 0;
  right: 0;
  transform: translate(var(--corner-dist), calc(-1 * var(--corner-dist)))
    rotate(180deg);
}

.btn-corner:nth-of-type(3) {
  bottom: 0;
  right: 0;
  transform: translate(var(--corner-dist), var(--corner-dist)) rotate(-90deg);
}

.btn-corner:nth-of-type(4) {
  bottom: 0;
  left: 0;
  transform: translate(calc(-1 * var(--corner-dist)), var(--corner-dist))
    rotate(0deg);
}

/* Hover Effects */
.btn-container:hover .btn {
  transform: scale(1.05);
  filter: drop-shadow(0 16px 16px #0002);
}

.btn-container:hover .transition-top {
  transform: translateY(-24px) rotateZ(4deg);
  filter: blur(0px);
  animation: hue-anim 3s infinite linear;
  opacity: 1;
}

.btn-container:hover .transition-bottom {
  transform: translateY(24px) rotateZ(4deg);
  filter: blur(0px);
  animation: hue-anim 3s infinite linear;
  opacity: 1;
}

.btn-container:hover .btn-text {
  filter: drop-shadow(0 1px 0 #fff6) drop-shadow(0 -1px 0 #0006)
    drop-shadow(0px 6px 2px #0003);
  transform: scale(1.05);
  color: #0008;
}

.btn-container:hover {
  --corner-color: #0004;
}

.btn-container:hover .btn-corner:nth-of-type(1) {
  transform: translate(
      calc(-1 * var(--corner-multiplier) * var(--corner-dist)),
      calc(-1 * var(--corner-multiplier) * var(--corner-dist))
    )
    rotate(90deg);
  filter: drop-shadow(-10px 10px 1px var(--corner-color))
    drop-shadow(-20px 20px 2px var(--corner-color));
}

.btn-container:hover .btn-corner:nth-of-type(2) {
  transform: translate(
      calc(var(--corner-multiplier) * var(--corner-dist)),
      calc(-1 * var(--corner-multiplier) * var(--corner-dist))
    )
    rotate(180deg);
  filter: drop-shadow(-10px 10px 1px var(--corner-color))
    drop-shadow(-20px 20px 2px var(--corner-color));
}

.btn-container:hover .btn-corner:nth-of-type(3) {
  transform: translate(
      calc(var(--corner-multiplier) * var(--corner-dist)),
      calc(var(--corner-multiplier) * var(--corner-dist))
    )
    rotate(-90deg);
  filter: drop-shadow(-10px 10px 1px var(--corner-color))
    drop-shadow(-20px 20px 2px var(--corner-color));
}

.btn-container:hover .btn-corner:nth-of-type(4) {
  transform: translate(
      calc(-1 * var(--corner-multiplier) * var(--corner-dist)),
      calc(var(--corner-multiplier) * var(--corner-dist))
    )
    rotate(0deg);
  filter: drop-shadow(-10px 10px 1px var(--corner-color))
    drop-shadow(-20px 20px 2px var(--corner-color));
}

/* Active/Click Effects */
.btn-container .btn:active {
  transform: scale(0.95);
  filter: drop-shadow(0 10px 4px #0002);
}

.btn-container .btn:active ~ .transition-top,
.btn-container .btn:active ~ .transition-bottom {
  transform: translateY(0px) scale(0.5);
}

.btn-container .btn:active ~ .btn-text {
  filter: drop-shadow(0 1px 0 #fff6) drop-shadow(0 -1px 0 #0006)
    drop-shadow(0px 6px 2px #0003);
  transform: scale(1);
  color: #000a;
}

.btn-container .btn:active ~ .btn-corner {
  --corner-color: #0005;
  --corner-multiplier: 0.95;
}

.btn-container .btn:active ~ .btn-corner:nth-of-type(1) {
  transform: translate(
      calc(-1 * var(--corner-multiplier) * var(--corner-dist)),
      calc(-1 * var(--corner-multiplier) * var(--corner-dist))
    )
    rotate(90deg);
  filter: drop-shadow(-10px 10px 2px var(--corner-color))
    drop-shadow(-20px 20px 3px var(--corner-color));
}

.btn-container .btn:active ~ .btn-corner:nth-of-type(2) {
  transform: translate(
      calc(var(--corner-multiplier) * var(--corner-dist)),
      calc(-1 * var(--corner-multiplier) * var(--corner-dist))
    )
    rotate(180deg);
  filter: drop-shadow(-10px 10px 2px var(--corner-color))
    drop-shadow(-20px 20px 3px var(--corner-color));
}

.btn-container .btn:active ~ .btn-corner:nth-of-type(3) {
  transform: translate(
      calc(var(--corner-multiplier) * var(--corner-dist)),
      calc(var(--corner-multiplier) * var(--corner-dist))
    )
    rotate(-90deg);
  filter: drop-shadow(-10px 10px 2px var(--corner-color))
    drop-shadow(-20px 20px 3px var(--corner-color));
}

.btn-container .btn:active ~ .btn-corner:nth-of-type(4) {
  transform: translate(
      calc(-1 * var(--corner-multiplier) * var(--corner-dist)),
      calc(var(--corner-multiplier) * var(--corner-dist))
    )
    rotate(0deg);
  filter: drop-shadow(-10px 10px 2px var(--corner-color))
    drop-shadow(-20px 20px 3px var(--corner-color));
}

@keyframes hue-anim {
  0%, 100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(-70deg);
  }
}

/* Animated Stars Button */
.star-btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.star-btn {
  position: relative;
  padding: 12px 35px;
  background: #fec195;
  font-size: 17px;
  font-weight: 500;
  color: #181818;
  border: 3px solid #fec195;
  border-radius: 8px;
  box-shadow: 0 0 0 #fec1958c;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.star-btn .star-1 {
  position: absolute;
  top: 20%;
  left: 20%;
  width: 25px;
  height: auto;
  filter: drop-shadow(0 0 0 #fffdef);
  z-index: -5;
  transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);
}

.star-btn .star-2 {
  position: absolute;
  top: 45%;
  left: 45%;
  width: 15px;
  height: auto;
  filter: drop-shadow(0 0 0 #fffdef);
  z-index: -5;
  transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-btn .star-3 {
  position: absolute;
  top: 40%;
  left: 40%;
  width: 5px;
  height: auto;
  filter: drop-shadow(0 0 0 #fffdef);
  z-index: -5;
  transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-btn .star-4 {
  position: absolute;
  top: 20%;
  left: 40%;
  width: 8px;
  height: auto;
  filter: drop-shadow(0 0 0 #fffdef);
  z-index: -5;
  transition: all 0.8s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-btn .star-5 {
  position: absolute;
  top: 25%;
  left: 45%;
  width: 15px;
  height: auto;
  filter: drop-shadow(0 0 0 #fffdef);
  z-index: -5;
  transition: all 0.6s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-btn .star-6 {
  position: absolute;
  top: 5%;
  left: 50%;
  width: 5px;
  height: auto;
  filter: drop-shadow(0 0 0 #fffdef);
  z-index: -5;
  transition: all 0.8s ease;
}

.star-btn:hover {
  background: transparent;
  color: #fec195;
  box-shadow: 0 0 25px #fec1958c;
}

.star-btn:hover .star-1 {
  position: absolute;
  top: -80%;
  left: -30%;
  width: 25px;
  height: auto;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.star-btn:hover .star-2 {
  position: absolute;
  top: -25%;
  left: 10%;
  width: 15px;
  height: auto;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.star-btn:hover .star-3 {
  position: absolute;
  top: 55%;
  left: 25%;
  width: 5px;
  height: auto;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.star-btn:hover .star-4 {
  position: absolute;
  top: 30%;
  left: 80%;
  width: 8px;
  height: auto;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.star-btn:hover .star-5 {
  position: absolute;
  top: 25%;
  left: 115%;
  width: 15px;
  height: auto;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.star-btn:hover .star-6 {
  position: absolute;
  top: 5%;
  left: 60%;
  width: 5px;
  height: auto;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.fil0 {
  fill: #fffdef;
}

/* Floral Four-Sided Button */
.floral-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.button-container {
  position: relative;
  display: inline-block;
}

.professional-button {
  position: relative;
  background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
  color: white;
  border: none;
  padding: 18px 36px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(37, 117, 252, 0.3);
  z-index: 10;
  overflow: hidden;
  letter-spacing: 1px;
}

.professional-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(37, 117, 252, 0.4);
}

.professional-button:active {
  transform: translateY(-1px);
}

/* Flower styles */
.flower {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  transition: all 0.6s ease;
}

.button-container:hover .flower {
  opacity: 1;
}

/* Rose - Top */
.flower-rose {
  top: -70px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  transition-delay: 0.1s;
}

.button-container:hover .flower-rose {
  transform: translateX(-50%) scale(1);
}

.rose-petal {
  position: absolute;
  width: 25px;
  height: 35px;
  background: linear-gradient(to bottom, #ff5e7d, #ff2e5f);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform-origin: bottom center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.rose-petal-1 {
  top: 10px;
  left: 17px;
  transform: rotate(0deg);
}

.rose-petal-2 {
  top: 8px;
  left: 17px;
  transform: rotate(45deg);
}

.rose-petal-3 {
  top: 6px;
  left: 17px;
  transform: rotate(90deg);
}

.rose-petal-4 {
  top: 4px;
  left: 17px;
  transform: rotate(135deg);
}

.rose-center {
  position: absolute;
  width: 15px;
  height: 15px;
  background: radial-gradient(circle, #ffde7d, #ffa36c);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Daisy - Right */
.flower-daisy {
  right: -70px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  transition-delay: 0.2s;
}

.button-container:hover .flower-daisy {
  transform: translateY(-50%) scale(1);
}

.daisy-petal {
  position: absolute;
  width: 20px;
  height: 30px;
  background: white;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform-origin: bottom center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.daisy-petal-1 {
  top: 10px;
  left: 15px;
  transform: rotate(0deg);
}

.daisy-petal-2 {
  top: 10px;
  left: 15px;
  transform: rotate(45deg);
}

.daisy-petal-3 {
  top: 10px;
  left: 15px;
  transform: rotate(90deg);
}

.daisy-petal-4 {
  top: 10px;
  left: 15px;
  transform: rotate(135deg);
}

.daisy-petal-5 {
  top: 10px;
  left: 15px;
  transform: rotate(180deg);
}

.daisy-petal-6 {
  top: 10px;
  left: 15px;
  transform: rotate(225deg);
}

.daisy-center {
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #ffde7d, #ffa36c);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Tulip - Bottom */
.flower-tulip {
  bottom: -70px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  transition-delay: 0.3s;
}

.button-container:hover .flower-tulip {
  transform: translateX(-50%) scale(1);
}

.tulip-petal {
  position: absolute;
  width: 25px;
  height: 35px;
  background: linear-gradient(to bottom, #ff6b6b, #ff8e8e);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform-origin: bottom center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tulip-petal-1 {
  top: 10px;
  left: 15px;
  transform: rotate(0deg);
}

.tulip-petal-2 {
  top: 10px;
  left: 15px;
  transform: rotate(72deg);
}

.tulip-petal-3 {
  top: 10px;
  left: 15px;
  transform: rotate(144deg);
}

.tulip-petal-4 {
  top: 10px;
  left: 15px;
  transform: rotate(216deg);
}

.tulip-petal-5 {
  top: 10px;
  left: 15px;
  transform: rotate(288deg);
}

.tulip-center {
  position: absolute;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #ffde7d, #ffa36c);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Sunflower - Left */
.flower-sunflower {
  left: -70px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  transition-delay: 0.4s;
}

.button-container:hover .flower-sunflower {
  transform: translateY(-50%) scale(1);
}

.sunflower-petal {
  position: absolute;
  width: 25px;
  height: 35px;
  background: linear-gradient(to bottom, #ffde7d, #ffd166);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform-origin: bottom center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sunflower-petal-1 {
  top: 10px;
  left: 17px;
  transform: rotate(0deg);
}

.sunflower-petal-2 {
  top: 10px;
  left: 17px;
  transform: rotate(30deg);
}

.sunflower-petal-3 {
  top: 10px;
  left: 17px;
  transform: rotate(60deg);
}

.sunflower-petal-4 {
  top: 10px;
  left: 17px;
  transform: rotate(90deg);
}

.sunflower-petal-5 {
  top: 10px;
  left: 17px;
  transform: rotate(120deg);
}

.sunflower-petal-6 {
  top: 10px;
  left: 17px;
  transform: rotate(150deg);
}

.sunflower-petal-7 {
  top: 10px;
  left: 17px;
  transform: rotate(180deg);
}

.sunflower-petal-8 {
  top: 10px;
  left: 17px;
  transform: rotate(210deg);
}

.sunflower-petal-9 {
  top: 10px;
  left: 17px;
  transform: rotate(240deg);
}

.sunflower-petal-10 {
  top: 10px;
  left: 17px;
  transform: rotate(270deg);
}

.sunflower-petal-11 {
  top: 10px;
  left: 17px;
  transform: rotate(300deg);
}

.sunflower-petal-12 {
  top: 10px;
  left: 17px;
  transform: rotate(330deg);
}

.sunflower-center {
  position: absolute;
  width: 25px;
  height: 25px;
  background: radial-gradient(circle, #8b4513, #654321);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Leaves - positioned diagonally */
.leaf {
  position: absolute;
  width: 20px;
  height: 30px;
  background: linear-gradient(to right, #7bed9f, #2ed573);
  border-radius: 50% 0 50% 0;
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 1;
}

.button-container:hover .leaf {
  opacity: 1;
}

.leaf-1 {
  top: -40px;
  left: 25px;
  transform: rotate(-45deg) scale(0);
  transition-delay: 0.3s;
}

.button-container:hover .leaf-1 {
  transform: rotate(-45deg) scale(1);
}

.leaf-2 {
  top: 15px;
  right: -40px;
  transform: rotate(135deg) scale(0);
  transition-delay: 0.4s;
}

.button-container:hover .leaf-2 {
  transform: rotate(135deg) scale(1);
}

.leaf-3 {
  bottom: -40px;
  left: 25px;
  transform: rotate(-135deg) scale(0);
  transition-delay: 0.5s;
}

.button-container:hover .leaf-3 {
  transform: rotate(-135deg) scale(1);
}

.leaf-4 {
  bottom: 15px;
  left: -40px;
  transform: rotate(45deg) scale(0);
  transition-delay: 0.6s;
}

.button-container:hover .leaf-4 {
  transform: rotate(45deg) scale(1);
}

/* Send Message Button */
.btn-send-message {
--primary: #ff5569;
--neutral-1: #f7f8f7;
--neutral-2: #e7e7e7;
--radius: 14px;
cursor: pointer;
border-radius: var(--radius);
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
border: none;
box-shadow: 0 0.5px 0.5px 1px rgba(255, 255, 255, 0.2),
0 10px 20px rgba(0, 0, 0, 0.2), 0 4px 5px 0px rgba(0, 0, 0, 0.05);
display: flex;
align-items: center;
justify-content: center;
position: relative;
transition: all 0.3s ease;
min-width: 200px;
padding: 20px;
height: 68px;
font-family: "Galano Grotesque", Poppins, Montserrat, sans-serif;
font-style: normal;
font-size: 18px;
font-weight: 600;
  
  cursor: pointer;
  border-radius: var(--radius);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  border: none;
  box-shadow: 0 0.5px 0.5px 1px rgba(255, 255, 255, 0.2),
    0 10px 20px rgba(0, 0, 0, 0.2), 0 4px 5px 0px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  min-width: 200px;
  padding: 20px;
  height: 68px;
  font-family: "Galano Grotesque", Poppins, Montserrat, sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 600;
}

.btn-send-message:hover {
  transform: scale(1.02);
  box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.3),
    0 15px 30px rgba(0, 0, 0, 0.3), 0 10px 3px -3px rgba(0, 0, 0, 0.04);
}

.btn-send-message:active {
  transform: scale(1);
  box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.3),
    0 10px 3px -3px rgba(0, 0, 0, 0.2);
}

.btn-send-message:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 2.5px solid transparent;
  background: linear-gradient(var(--neutral-1), var(--neutral-2)) padding-box,
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45)) border-box;
  z-index: 0;
  transition: all 0.4s ease;
}

.btn-send-message:hover::after {
  transform: scale(1.05, 1.1);
  box-shadow: inset 0 -1px 3px 0 rgba(255, 255, 255, 1);
}

.btn-send-message::before {
  content: "";
  inset: 7px 6px 6px 6px;
  position: absolute;
  background: linear-gradient(to top, var(--neutral-1), var(--neutral-2));
  border-radius: 30px;
  filter: blur(0.5px);
  z-index: 2;
}

.btn-send-message .state p {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-send-message .state .icon {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  transform: scale(1.25);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-send-message .state .icon svg {
  overflow: visible;
}

/* Outline */
.btn-send-message .outline {
  position: absolute;
  border-radius: inherit;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  inset: -2px -3.5px;
}

.btn-send-message .outline::before {
  content: "";
  position: absolute;
  inset: -100%;
  background: conic-gradient(from 180deg, transparent 60%, white 80%, transparent 100%);
  animation: send-spin 2s linear infinite;
  animation-play-state: paused;
}

@keyframes send-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.btn-send-message:hover .outline {
  opacity: 1;
}

.btn-send-message:hover .outline::before {
  animation-play-state: running;
}

/* Letters */
.btn-send-message .state p span {
  display: block;
  opacity: 0;
  animation: send-slideDown 0.8s ease forwards calc(var(--i) * 0.03s);
}

.btn-send-message:hover p span {
  opacity: 1;
  animation: send-wave 0.5s ease forwards calc(var(--i) * 0.02s);
}

.btn-send-message:focus p span {
  opacity: 1;
  animation: send-disapear 0.6s ease forwards calc(var(--i) * 0.03s);
}

@keyframes send-wave {
  30% {
    opacity: 1;
    transform: translateY(4px) translateX(0) rotate(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px) translateX(0) rotate(0);
    color: var(--primary);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0);
  }
}

@keyframes send-slideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px) translateX(5px) rotate(-90deg);
    color: var(--primary);
    filter: blur(5px);
  }
  30% {
    opacity: 1;
    transform: translateY(4px) translateX(0) rotate(0);
    filter: blur(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px) translateX(0) rotate(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0);
  }
}

@keyframes send-disapear {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateX(5px) translateY(20px);
    color: var(--primary);
    filter: blur(5px);
  }
}

/* Plane */
.btn-send-message .state--default .icon svg {
  animation: send-land 0.6s ease forwards;
}

.btn-send-message:hover .state--default .icon {
  transform: rotate(45deg) scale(1.25);
}

.btn-send-message:focus .state--default svg {
  animation: send-takeOff 0.8s linear forwards;
}

.btn-send-message:focus .state--default .icon {
  transform: rotate(0) scale(1.25);
}

@keyframes send-takeOff {
  0% {
    opacity: 1;
  }
  60% {
    opacity: 1;
    transform: translateX(70px) rotate(45deg) scale(2);
  }
  100% {
    opacity: 0;
    transform: translateX(160px) rotate(45deg) scale(0);
  }
}

@keyframes send-land {
  0% {
    transform: translateX(-60px) translateY(30px) rotate(-50deg) scale(2);
    opacity: 0;
    filter: blur(3px);
  }
  100% {
    transform: translateX(0) translateY(0) rotate(0);
    opacity: 1;
    filter: blur(0);
  }
}

/* Contrail */
.btn-send-message .state--default .icon:before {
  content: "";
  position: absolute;
  top: 50%;
  height: 2px;
  width: 0;
  left: -5px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.5));
}

.btn-send-message:focus .state--default .icon:before {
  animation: send-contrail 0.8s linear forwards;
}

@keyframes send-contrail {
  0% {
    width: 0;
    opacity: 1;
  }
  8% {
    width: 15px;
  }
  60% {
    opacity: 0.7;
    width: 80px;
  }
  100% {
    opacity: 0;
    width: 160px;
  }
}

/* States */
.btn-send-message .state {
  padding-left: 29px;
  z-index: 2;
  display: flex;
  position: relative;
}

.btn-send-message .state--default span:nth-child(4) {
  margin-right: 5px;
}

.btn-send-message .state--sent {
  display: none;
}

.btn-send-message .state--sent svg {
  transform: scale(1.25);
  margin-right: 8px;
}

.btn-send-message:focus .state--default {
  position: absolute;
}

.btn-send-message:focus .state--sent {
  display: flex;
}

.btn-send-message:focus .state--sent span {
  opacity: 0;
  animation: send-slideDown 0.8s ease forwards calc(var(--i) * 0.2s);
}

.btn-send-message:focus .state--sent .icon svg {
  opacity: 0;
  animation: send-appear 1.2s ease forwards 0.8s;
}

@keyframes send-appear {
  0% {
    opacity: 0;
    transform: scale(4) rotate(-40deg);
    color: var(--primary);
    filter: blur(4px);
  }
  30% {
    opacity: 1;
    transform: scale(0.6);
    filter: blur(1px);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0 40px;
  }

  .buttons-grid {
    grid-template-columns: 1fr;
  }

  .code-actions {
    flex-direction: column;
  }

  .action-btn {
    width: 100%;
  }

  .toast {
    bottom: 20px;
    right: 20px;
    left: 20px;
  }

  .back-link span {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand-text {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}
