/* ================================================================
   Controls — Language selector, sound toggle, share & notify buttons
   ================================================================ */

/* ── Language Selector ──────────────────────────────────────────── */
.language-selector { position: fixed; top: 20px; right: 20px; z-index: 100; animation: fadeIn 1s ease-out 1.5s both; }
.lang-toggle { display: flex; align-items: center; gap: 0; background: transparent; border: none; padding: 0; cursor: pointer; }

.lang-btn {
  background: transparent; border: none; color: rgba(183,199,223,0.4);
  font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 8px 12px; cursor: pointer; transition: all 0.3s ease;
  position: relative; font-family: inherit;
}

.lang-btn::before {
  content: ''; position: absolute; bottom: 4px; left: 50%;
  transform: translateX(-50%) scaleX(0); width: 16px; height: 1px;
  background: var(--accent); transition: transform 0.3s ease;
}

.lang-btn:hover { color: rgba(183,199,223,0.7); }
.lang-btn.active { color: var(--accent); }
.lang-btn.active::before { transform: translateX(-50%) scaleX(1); }
.lang-divider { color: rgba(183,199,223,0.2); font-size: 10px; user-select: none; }
.lang-eye { width: 14px; height: 14px; margin-right: 8px; opacity: 0.3; transition: opacity 0.3s ease; }
.lang-toggle:hover .lang-eye { opacity: 0.6; }

/* ── Sound Toggle ──────────────────────────────────────────────── */
.sound-toggle { position: fixed; bottom: 20px; right: 20px; z-index: 100; animation: fadeIn 1s ease-out 2s both; }
.sound-btn { background: transparent; border: none; color: rgba(183,199,223,0.2); cursor: pointer; padding: 8px; transition: color 0.3s ease; }
.sound-btn:hover { color: rgba(183,199,223,0.5); }
.sound-btn.active { color: rgba(163,107,255,0.5); }
.sound-btn svg { width: 16px; height: 16px; }

/* ── Share Button ──────────────────────────────────────────────── */
.share-section { margin-top: 14px; text-align: center; animation: fadeIn 1s ease-out 1.5s both; }

.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: none;
  color: var(--text-ghost); font-size: clamp(8px, 2vw, 10px);
  font-family: inherit; cursor: pointer; padding: 6px 0;
  transition: color 0.4s ease; letter-spacing: 0.15em; text-transform: uppercase;
}

.share-btn:hover { color: rgba(255,239,119,0.45); }
.share-btn .share-icon { width: 10px; height: 10px; opacity: 0.4; transition: opacity 0.4s ease; }
.share-btn:hover .share-icon { opacity: 0.7; }
.share-btn.copied { color: rgba(255,239,119,0.5); }
.share-btn.copied .share-icon { opacity: 0.8; }

/* ── Notify Button ─────────────────────────────────────────────── */
.notify-section { margin-top: 6px; text-align: center; animation: fadeIn 1s ease-out 1.6s both; }

.notify-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: none;
  color: var(--text-ghost); font-size: clamp(8px, 2vw, 10px);
  font-family: inherit; cursor: pointer; padding: 6px 0;
  transition: color 0.4s ease; letter-spacing: 0.15em; text-transform: uppercase;
}

.notify-btn:hover { color: rgba(163,107,255,0.45); }
.notify-btn .notify-icon { width: 10px; height: 10px; opacity: 0.4; transition: opacity 0.4s ease; }
.notify-btn:hover .notify-icon { opacity: 0.7; }
.notify-btn.active { color: rgba(163,107,255,0.5); }
.notify-btn.active .notify-icon { opacity: 0.8; }
.notify-btn.denied { color: rgba(255,80,80,0.3); cursor: not-allowed; }
