:root {
  --bg-primary: #0a0d14;
  --bg-card: rgba(19, 25, 38, 0.7);
  --bg-card-hover: rgba(27, 36, 54, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 107, 0, 0.4);
  
  --heat-off: #374151;
  --heat-eco: #10b981;
  --heat-mid: #f59e0b;
  --heat-high: #f97316;
  --heat-turbo: #ef4444;
  
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --current-heat-color: var(--heat-off);
  --glow-intensity: 0px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

button, .btn-step, .channel-btn, .chip, .preset-card, .btn-connect, .btn-primary-connect, .btn-download-bluefy, .btn-copy-link, .btn-modal-demo, .btn-custom-timer, .lang-btn, .btn-update-reload {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(255, 87, 34, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 10% 90%, rgba(239, 68, 68, 0.05) 0%, transparent 40%);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  overflow-x: hidden;
}

.app-container {
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 16px 18px 24px;
  position: relative;
}

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

/* Disconnect Alert (Sade, gri ton) */
.disconnect-alert {
  background: rgba(31, 41, 55, 0.65);
  border: 1px solid rgba(156, 163, 175, 0.2);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.disconnect-alert.hidden {
  display: none;
}

.disconnect-alert-icon {
  font-size: 14px;
  opacity: 0.8;
  flex-shrink: 0;
}

.disconnect-alert-text {
  flex: 1;
}

/* Toast Bildirimi (Sade, ekranın üstünde geçici beliren) */
.toast-notification {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  width: auto;
  min-width: 260px;
  background: rgba(24, 30, 42, 0.95);
  border: 1px solid rgba(156, 163, 175, 0.25);
  border-radius: 12px;
  padding: 10px 16px;
  color: var(--text-main);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  z-index: 9999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast-notification.hidden {
  opacity: 0;
  transform: translate(-50%, -10px);
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flame-icon {
  font-size: 28px;
  filter: drop-shadow(0 0 10px rgba(255, 87, 34, 0.6));
  animation: pulse-flame 2s infinite ease-in-out;
}

@keyframes pulse-flame {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(255, 87, 34, 0.5)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 16px rgba(255, 87, 34, 0.9)); }
}

.app-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 40%, #fdba74 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-subtitle {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Header Actions & Demo Badge */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Dil Seçimi (Language Switch) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 3px 8px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.2s;
  font-family: inherit;
}

.lang-btn.active {
  color: #ff9800;
}

.lang-divider {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.15);
}

.demo-badge {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.8px;
}

.demo-badge.hidden {
  display: none;
}

/* Connect Button */
.btn-connect {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.btn-connect:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-connect.connected {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.btn-connect.connected .status-dot {
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
}

/* Device Badge */
.device-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(16px);
  margin-bottom: 24px;
}

.device-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.device-info .ble-icon {
  font-size: 16px;
}

/* Switch Toggle */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

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

.switch-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 999px;
}

.switch-toggle .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.switch-toggle input:checked + .slider {
  background: linear-gradient(135deg, #ff5722, #f97316);
  box-shadow: 0 0 12px rgba(255, 87, 34, 0.5);
}

.switch-toggle input:checked + .slider:before {
  transform: translateX(22px);
}

.switch-toggle input:disabled + .slider {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Circular Heat Dial & Section */
.dial-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.dial-container {
  position: relative;
  width: 290px;
  height: 270px;
  margin: 0 auto 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  touch-action: pan-y; /* Boş alanlarda dikey sayfa kaydırmaya izin ver */
}

.dial-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--current-heat-color);
  opacity: 0.15;
  filter: blur(40px);
  transition: background 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}

.dial-svg {
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  cursor: pointer;
}

.temp-disclaimer {
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  margin: 0 0 16px;
  letter-spacing: 0.2px;
}

.dial-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 18;
  stroke-linecap: round;
}

.dial-progress {
  fill: none;
  stroke: var(--current-heat-color);
  stroke-width: 18;
  stroke-linecap: round;
  stroke-dasharray: 439.82; /* 240 Derece Yay Uzunluğu */
  stroke-dashoffset: 439.82;
  transition: stroke-dashoffset 0.1s ease-out, stroke 0.3s ease;
  filter: drop-shadow(0 0 10px var(--current-heat-color));
}

/* Sürüklenebilir Top (Knob) */
.dial-knob-group {
  cursor: grab;
  touch-action: none;
}

.dial-knob-group:active, .dial-knob-group.dragging {
  cursor: grabbing;
}

.dial-knob-glow {
  fill: var(--current-heat-color);
  opacity: 0.35;
  filter: blur(8px);
  transition: opacity 0.2s;
}

.dial-knob-group.dragging .dial-knob-glow {
  opacity: 0.8;
  r: 26;
}

.dial-knob {
  fill: #ffffff;
  stroke: var(--current-heat-color);
  stroke-width: 4;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.6));
  transition: stroke 0.3s;
}

.dial-knob-center {
  fill: var(--current-heat-color);
  transition: fill 0.3s;
}

.dial-center {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  top: 48%;
  transform: translateY(-50%);
}

.heat-mode-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--current-heat-color);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.3s;
}

.heat-power-val {
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.heat-power-val .unit {
  font-size: 26px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 2px;
}

.temp-estimate {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.temp-icon {
  font-size: 14px;
}

/* Kolay Hassas Ayar Butonları (+ / -) */
.stepper-controls {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 4px;
  margin-top: 2px;
}

.btn-step {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
}

.btn-step:active {
  transform: scale(0.96);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-step .step-icon {
  font-size: 20px;
  font-weight: 700;
  color: #ff9800;
  line-height: 1;
}

.btn-step .step-label {
  font-size: 12px;
  font-weight: 700;
}

.stepper-hint {
  font-size: 9px;
  color: var(--text-dim);
  text-align: center;
  max-width: 110px;
  line-height: 1.2;
}

/* Presets Section */
.presets-section {
  margin-bottom: 24px;
}

.section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.presets-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.preset-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 12px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-main);
  backdrop-filter: blur(12px);
}

.preset-card:active {
  transform: scale(0.95);
}

.preset-card.active {
  background: rgba(255, 87, 34, 0.16);
  border-color: rgba(255, 87, 34, 0.7);
  box-shadow: 0 0 16px rgba(255, 87, 34, 0.25);
}

.preset-icon {
  font-size: 20px;
}

.preset-name {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.preset-detail {
  font-size: 9px;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
}

.preset-card.active .preset-detail {
  color: #ff9800;
}

/* Turbo Card Extra Glow */
.preset-card.turbo-card.active {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

/* Timer Section */
.timer-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(16px);
  margin-bottom: 20px;
}

.timer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.timer-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.timer-countdown {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.timer-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.timer-chips::-webkit-scrollbar {
  display: none;
}

.chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.chip.active {
  background: #f97316;
  border-color: #f97316;
  color: #fff;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.4);
}

/* Özel Zamanlayıcı Giriş Satırı */
.timer-custom-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.timer-input-group {
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0 12px;
  height: 40px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.timer-input-group:focus-within {
  border-color: #f97316;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
}

.timer-input-icon {
  font-size: 14px;
  margin-right: 8px;
  opacity: 0.7;
}

.custom-timer-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

.custom-timer-input::placeholder {
  color: var(--text-dim);
  opacity: 0.6;
}

.custom-timer-input::-webkit-outer-spin-button,
.custom-timer-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.custom-timer-input[type=number] {
  -moz-appearance: textfield;
}

.timer-input-suffix {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 6px;
}

.btn-custom-timer {
  background: #f97316;
  color: #fff;
  border: none;
  border-radius: 12px;
  height: 40px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.btn-custom-timer:active {
  transform: scale(0.96);
  box-shadow: 0 1px 4px rgba(249, 115, 22, 0.2);
}

/* Channel Section & Dual Insole Controls */
.channel-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.channel-toggle-group {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}

.channel-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 4px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.channel-btn.active {
  background: rgba(255, 87, 34, 0.2);
  border: 1px solid rgba(255, 87, 34, 0.5);
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 87, 34, 0.25);
}

/* Canlı Çift Tabanlık Kartları */
.dual-insole-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.insole-pill {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
}

.insole-pill:active {
  transform: scale(0.97);
}

.insole-pill.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 107, 0, 0.6);
  box-shadow: 0 0 14px rgba(255, 107, 0, 0.2);
}

.pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4b5563;
  box-shadow: 0 0 6px #4b5563;
  transition: background 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}

.insole-pill.active .pill-dot {
  background: var(--current-heat-color, #ff5722);
  box-shadow: 0 0 10px var(--current-heat-color, #ff5722);
}

.pill-info {
  display: flex;
  flex-direction: column;
}

.pill-title {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--text-dim);
}

.insole-pill.active .pill-title {
  color: #ff9800;
}

.pill-temp {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
}

.insole-link-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.insole-link-badge.active {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
}

/* Footer */
.app-footer {
  text-align: center;
  font-size: 10px;
  color: var(--text-dim);
  margin-top: auto;
  padding: 16px 0 10px;
  opacity: 0.6;
}

.footer-version {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.5px;
}

/* Yeni Sürüm Hazır Bildirimi (Altta sade banner) */
.update-banner {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 400px;
  background: rgba(19, 25, 38, 0.96);
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(249, 115, 22, 0.2);
  z-index: 9999;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: slide-up 0.3s ease;
}

.update-banner.hidden {
  display: none;
}

.update-banner-text {
  font-size: 13px;
  font-weight: 600;
  color: #f9fafb;
}

.btn-update-reload {
  background: #f97316;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}

.btn-update-reload:active {
  opacity: 0.85;
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translate(-50%, 15px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Karşılama Kartı (Bulanık Arka Plan) */
.welcome-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 13, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.welcome-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.welcome-card {
  background: rgba(19, 25, 38, 0.95);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  max-width: 360px;
  width: 100%;
  padding: 28px 22px 22px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 87, 34, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.welcome-icon {
  font-size: 38px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 14px rgba(255, 87, 34, 0.5));
}

.welcome-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.welcome-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 22px;
}

.welcome-action-group,
.welcome-unsupported-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.welcome-unsupported-group.hidden {
  display: none;
}

.welcome-action-group.hidden {
  display: none;
}

.btn-primary-connect {
  width: 100%;
  background: linear-gradient(135deg, #ff5722 0%, #f97316 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 87, 34, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.btn-primary-connect:active {
  transform: scale(0.98);
}

.unsupported-note {
  font-size: 12px;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.btn-download-bluefy {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  transition: transform 0.15s ease;
}

.btn-download-bluefy:active {
  transform: scale(0.98);
}

.btn-copy-link {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s ease;
  font-family: inherit;
}

.btn-copy-link:active {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(0.98);
}

.btn-modal-demo {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  margin-top: 14px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
  font-family: inherit;
}

.btn-modal-demo:hover {
  color: var(--text-muted);
}
