/* ==========================================================================
   Interactive Lamp Login Screen - Production CSS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Theme Variables & Color Presets
   -------------------------------------------------------------------------- */
:root {
  /* Default: Warm Amber / Sunset Gold */
  --theme-accent: #F6A821;
  --theme-accent-hover: #F8B845;
  --theme-bulb-glow: #FFD272;
  --theme-shade-shadow: #B26B07;
  --theme-focus-ring: rgba(246, 168, 33, 0.25);
  --theme-button-gradient: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  --theme-button-shadow: rgba(245, 158, 11, 0.35);
  --theme-beam-start: rgba(246, 168, 33, 0.38);
  --theme-beam-mid: rgba(246, 168, 33, 0.12);
  --theme-ambient-room: rgba(246, 168, 33, 0.14);
  --theme-card-edge: rgba(246, 168, 33, 0.35);

  /* Global Surface Colors */
  --bg-deep: #0D0F12;
  --bg-card: rgba(22, 25, 29, 0.92);
  --card-border: rgba(255, 255, 255, 0.08);
  --input-bg: #15181C;
  --input-border: #262B33;
  --input-border-hover: #373E49;
  --text-main: #F3F4F6;
  --text-muted: #8E95A2;
  --text-dim: #5C6472;

  /* Typography */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Animation Timings */
  --transition-lamp: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-color: 0.5s ease;
}

/* Theme 1: Warm Amber (Default) */
body.theme-amber {
  --theme-accent: #F6A821;
  --theme-accent-hover: #F8B845;
  --theme-bulb-glow: #FFD272;
  --theme-shade-shadow: #B26B07;
  --theme-focus-ring: rgba(246, 168, 33, 0.25);
  --theme-button-gradient: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  --theme-button-shadow: rgba(245, 158, 11, 0.35);
  --theme-beam-start: rgba(246, 168, 33, 0.38);
  --theme-beam-mid: rgba(246, 168, 33, 0.12);
  --theme-ambient-room: rgba(246, 168, 33, 0.14);
  --theme-card-edge: rgba(246, 168, 33, 0.35);
}

/* Theme 2: Cyberpunk Cyan */
body.theme-cyan {
  --theme-accent: #00D2D3;
  --theme-accent-hover: #2BE6E7;
  --theme-bulb-glow: #67E8F9;
  --theme-shade-shadow: #087F8C;
  --theme-focus-ring: rgba(0, 210, 211, 0.28);
  --theme-button-gradient: linear-gradient(135deg, #06B6D4 0%, #22D3EE 100%);
  --theme-button-shadow: rgba(6, 182, 212, 0.4);
  --theme-beam-start: rgba(6, 182, 212, 0.42);
  --theme-beam-mid: rgba(6, 182, 212, 0.13);
  --theme-ambient-room: rgba(6, 182, 212, 0.15);
  --theme-card-edge: rgba(34, 211, 238, 0.38);
}

/* Theme 3: Electric Magenta / Rose */
body.theme-magenta {
  --theme-accent: #F43F5E;
  --theme-accent-hover: #FB7185;
  --theme-bulb-glow: #FDA4AF;
  --theme-shade-shadow: #9F1239;
  --theme-focus-ring: rgba(244, 63, 94, 0.28);
  --theme-button-gradient: linear-gradient(135deg, #E11D48 0%, #FB7185 100%);
  --theme-button-shadow: rgba(225, 29, 72, 0.4);
  --theme-beam-start: rgba(244, 63, 94, 0.42);
  --theme-beam-mid: rgba(244, 63, 94, 0.13);
  --theme-ambient-room: rgba(244, 63, 94, 0.15);
  --theme-card-edge: rgba(251, 113, 133, 0.38);
}

/* Theme 4: Emerald Matrix Green */
body.theme-green {
  --theme-accent: #10B981;
  --theme-accent-hover: #34D399;
  --theme-bulb-glow: #6EE7B7;
  --theme-shade-shadow: #065F46;
  --theme-focus-ring: rgba(16, 185, 129, 0.28);
  --theme-button-gradient: linear-gradient(135deg, #059669 0%, #34D399 100%);
  --theme-button-shadow: rgba(16, 185, 129, 0.4);
  --theme-beam-start: rgba(16, 185, 129, 0.42);
  --theme-beam-mid: rgba(16, 185, 129, 0.13);
  --theme-ambient-room: rgba(16, 185, 129, 0.15);
  --theme-card-edge: rgba(52, 211, 153, 0.38);
}

/* Theme 5: Moonlight Ice Blue */
body.theme-blue {
  --theme-accent: #93C5FD;
  --theme-accent-hover: #BFDBFE;
  --theme-bulb-glow: #DBEAFE;
  --theme-shade-shadow: #1E40AF;
  --theme-focus-ring: rgba(147, 197, 253, 0.3);
  --theme-button-gradient: linear-gradient(135deg, #60A5FA 0%, #93C5FD 100%);
  --theme-button-shadow: rgba(96, 165, 250, 0.4);
  --theme-beam-start: rgba(147, 197, 253, 0.45);
  --theme-beam-mid: rgba(147, 197, 253, 0.14);
  --theme-ambient-room: rgba(147, 197, 253, 0.16);
  --theme-card-edge: rgba(147, 197, 253, 0.4);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Layout
   -------------------------------------------------------------------------- */
[hidden] {
  display: none !important;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-color);
}

/* Background Canvas for Floating Dust Particles */
#ambientDustCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Ambient Radial Glow on the Room Wall */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(
    circle at 35% 45%,
    var(--theme-ambient-room) 0%,
    rgba(13, 15, 18, 0.05) 55%,
    transparent 75%
  );
  opacity: 1;
  transition: opacity var(--transition-lamp), background var(--transition-color);
}

body.lamp-off .ambient-glow {
  opacity: 0;
}

/* --------------------------------------------------------------------------
   3. Main Scene Container
   -------------------------------------------------------------------------- */
.scene-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 980px;
  min-height: 580px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

/* --------------------------------------------------------------------------
   4. Desk Lamp Stage (Left Section)
   -------------------------------------------------------------------------- */
.lamp-stage {
  flex: 0 0 420px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lamp-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 540px;
}

/* Volumetric Light Beam */
.light-beam {
  position: absolute;
  top: 175px;
  left: 195px;
  width: 660px;
  height: 330px;
  pointer-events: none;
  z-index: 3;
  clip-path: polygon(4% 18%, 100% 0%, 100% 100%, 8% 62%);
  background: linear-gradient(
    to right,
    var(--theme-beam-start) 0%,
    var(--theme-beam-mid) 45%,
    transparent 100%
  );
  filter: blur(12px);
  mix-blend-mode: screen;
  opacity: 1;
  transform-origin: 0% 35%;
  transform: scale(1);
  transition: opacity var(--transition-lamp), transform var(--transition-lamp), background var(--transition-color);
}

body.lamp-off .light-beam {
  opacity: 0;
  transform: scale(0.92);
}

/* SVG Lamp Sizing */
.lamp-svg {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.45));
}

/* Lamp Shade Illumination States */
.shade-inner-surface {
  transition: fill var(--transition-lamp), opacity var(--transition-lamp);
}

body.lamp-off .shade-inner-surface {
  fill: url(#innerShadeDark) !important;
}

/* Light Bulb States */
.lamp-bulb-group {
  transition: opacity var(--transition-lamp), filter var(--transition-lamp);
}

body.lamp-off .lamp-bulb-group .bulb-outer-glow {
  opacity: 0;
}

body.lamp-off .lamp-bulb-group .bulb-glass {
  fill: #22252A;
}

body.lamp-off .lamp-bulb-group .bulb-core {
  fill: #373E47;
}

/* Pull Cord Handle */
.pull-cord-group {
  user-select: none;
}

.cord-handle {
  cursor: grab;
  outline: none;
  transition: filter 0.2s ease;
}

.cord-handle:hover {
  cursor: grab;
}

.cord-handle:active,
.cord-handle.dragging {
  cursor: grabbing !important;
}

.cord-handle:focus-visible .cord-halo {
  opacity: 0.5;
  stroke: var(--theme-accent);
  stroke-width: 2;
}

/* Cord Halo Pulse Animation */
.cord-halo {
  transform-origin: center;
  transition: opacity 0.3s ease, fill var(--transition-color);
  animation: haloPulse 3.5s infinite ease-in-out;
}

body.lamp-off .cord-halo {
  opacity: 0.12;
  animation: none;
}

@keyframes haloPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.28;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.42;
  }
}

/* --------------------------------------------------------------------------
   5. Floating Tooltip: "• Pull to turn on"
   -------------------------------------------------------------------------- */
.cord-tooltip {
  position: absolute;
  top: 275px;
  left: 248px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 9999px;
  background: rgba(18, 20, 24, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  color: #E2E8F0;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-8px) scale(0.94);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tooltip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--theme-accent);
  box-shadow: 0 0 8px var(--theme-accent);
  animation: dotBlink 1.8s infinite ease-in-out;
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Show Tooltip only when Lamp is OFF */
body.lamp-off .cord-tooltip {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* --------------------------------------------------------------------------
   6. Authentication Card (Right Section)
   -------------------------------------------------------------------------- */
.auth-card-section {
  flex: 0 0 380px;
  position: relative;
  z-index: 8;
}

.auth-card {
  position: relative;
  width: 100%;
  padding: 32px 30px 28px;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition: 
    opacity var(--transition-lamp),
    transform var(--transition-lamp),
    filter var(--transition-lamp),
    border-color var(--transition-color);
}

/* Subtle Left Edge Glow reflecting lamp light */
.card-edge-glow {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--theme-card-edge) 30%,
    var(--theme-card-edge) 70%,
    transparent 100%
  );
  opacity: 0.85;
  pointer-events: none;
  transition: background var(--transition-color), opacity var(--transition-lamp);
}

/* When Lamp is OFF: Card fades smoothly into darkness */
body.lamp-off .auth-card {
  opacity: 0.03;
  transform: translateY(18px) scale(0.97);
  filter: blur(8px);
  pointer-events: none;
}

body.lamp-off .card-edge-glow {
  opacity: 0;
}

/* --------------------------------------------------------------------------
   7. Card Header & Theme Switcher
   -------------------------------------------------------------------------- */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.brand-tracking {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--theme-accent);
  text-transform: uppercase;
  transition: color var(--transition-color);
}

.theme-picker-container {
  position: relative;
}

.theme-badge-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #1C2025;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.theme-badge-btn:hover {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.color-indicator-swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background-color: var(--theme-accent);
  box-shadow: 0 0 6px var(--theme-accent);
  transition: background-color var(--transition-color), box-shadow var(--transition-color);
}

/* Color Theme Popover */
.theme-palette-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 12px;
  background: #181B20;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.95);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.theme-picker-container:hover .theme-palette-popover,
.theme-palette-popover.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.palette-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.palette-swatch:hover {
  transform: scale(1.2);
}

.palette-swatch.active {
  border-color: #FFFFFF;
}

.swatch-amber { background-color: #F6A821; }
.swatch-cyan { background-color: #00D2D3; }
.swatch-magenta { background-color: #F43F5E; }
.swatch-green { background-color: #10B981; }
.swatch-blue { background-color: #93C5FD; }

/* --------------------------------------------------------------------------
   8. Heading Group & Crossfade Animation
   -------------------------------------------------------------------------- */
.card-heading-group {
  margin-bottom: 22px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 6px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.card-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* --------------------------------------------------------------------------
   9. Auth Tabs Navigation
   -------------------------------------------------------------------------- */
.auth-tabs {
  position: relative;
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #23282F;
  margin-bottom: 24px;
}

.tab-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 0 10px;
  cursor: pointer;
  outline: none;
  transition: color 0.2s ease;
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  color: #FFFFFF;
}

.tab-indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--theme-accent);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--theme-accent);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color var(--transition-color);
}

/* --------------------------------------------------------------------------
   10. Form Controls & Inputs
   -------------------------------------------------------------------------- */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: #A3ACBA;
}

.forgot-link {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--theme-accent);
  text-decoration: none;
  outline: none;
  transition: color var(--transition-color), opacity 0.2s ease;
}

.forgot-link:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  pointer-events: none;
  transition: color 0.2s ease;
}

.form-input {
  width: 100%;
  height: 44px;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 11px;
  padding: 0 14px 0 42px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: #FFFFFF;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-input::placeholder {
  color: #4C5564;
  font-size: 0.82rem;
}

.form-input:hover {
  border-color: var(--input-border-hover);
}

.form-input:focus {
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 3px var(--theme-focus-ring);
  background-color: #171B20;
}

.form-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--theme-accent);
}

.password-input {
  padding-right: 42px;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  outline: none;
  transition: color 0.2s ease;
}

.password-toggle-btn:hover {
  color: var(--text-main);
}

/* Extra Signup Field Animation */
.extra-signup-field {
  transition: opacity 0.3s ease, max-height 0.3s ease, transform 0.3s ease;
}

/* --------------------------------------------------------------------------
   11. Options Row & Custom Checkbox
   -------------------------------------------------------------------------- */
.form-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -2px;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.custom-checkbox-box {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.check-icon {
  color: #0E1012;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset 0.25s ease;
}

.custom-checkbox-label input:checked + .custom-checkbox-box {
  background: var(--theme-accent);
  border-color: var(--theme-accent);
}

.custom-checkbox-label input:checked + .custom-checkbox-box .check-icon {
  stroke-dashoffset: 0;
}

.custom-checkbox-label:hover .custom-checkbox-box {
  border-color: var(--theme-accent);
}

.checkbox-text {
  font-size: 0.78rem;
  color: #A3ACBA;
}

/* --------------------------------------------------------------------------
   12. Submit Button
   -------------------------------------------------------------------------- */
.submit-btn {
  position: relative;
  width: 100%;
  height: 46px;
  margin-top: 4px;
  border: none;
  border-radius: 11px;
  background: var(--theme-button-gradient);
  box-shadow: 0 8px 24px -4px var(--theme-button-shadow);
  color: #0B0E11;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: 
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.2s ease,
    background var(--transition-color);
}

.submit-btn:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 12px 28px -4px var(--theme-button-shadow);
  filter: brightness(1.05);
}

.submit-btn:active {
  transform: translateY(0.5px);
}

/* Loading Spinner */
.btn-loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(11, 14, 17, 0.25);
  border-top-color: #0B0E11;
  border-radius: 50%;
  animation: btnSpin 0.75s linear infinite;
}

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

/* --------------------------------------------------------------------------
   13. Form Divider
   -------------------------------------------------------------------------- */
.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 2px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: #242930;
}

.divider-text {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #555E6D;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   14. Social Buttons
   -------------------------------------------------------------------------- */
.social-login-row {
  display: flex;
  gap: 12px;
}

.social-btn {
  flex: 1;
  height: 42px;
  border-radius: 10px;
  background-color: #16191D;
  border: 1px solid #282D36;
  color: #D1D5DB;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.social-btn:hover {
  background-color: #1D2228;
  border-color: #3C4450;
  color: #FFFFFF;
  transform: translateY(-1.5px);
}

.social-btn:active {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   15. Toast Feedback
   -------------------------------------------------------------------------- */
.form-feedback-toast {
  position: absolute;
  bottom: 12px;
  left: 20px;
  right: 20px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #1C2026;
  border: 1px solid var(--theme-accent);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.form-feedback-toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   16. Sound Toggle Button (Bottom Corner)
   -------------------------------------------------------------------------- */
.sound-toggle-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(22, 25, 29, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9CA3AF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  outline: none;
  transition: all 0.2s ease;
}

.sound-toggle-btn:hover {
  background: rgba(30, 35, 41, 0.95);
  color: #FFFFFF;
  transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   17. Responsive Layout
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .scene-container {
    flex-direction: column;
    padding: 30px 16px;
    gap: 20px;
  }

  .lamp-stage {
    flex: 0 0 340px;
  }

  .lamp-wrapper {
    max-width: 340px;
    height: 440px;
  }

  .light-beam {
    top: 100px;
    left: 140px;
    width: 480px;
    height: 360px;
    clip-path: polygon(0% 25%, 100% 0%, 100% 100%, 0% 65%);
  }

  .auth-card-section {
    flex: 0 0 auto;
    width: 100%;
    max-width: 380px;
  }
}
