/* ============================================
   CREATOR SPOTLIGHT — Matches Feedback "Neon Briefing Room" Theme
   ============================================ */

body {
  display: block;
  background: #0D0F1A;
}

/* ── Header ────────────────────────────────── */
.spotlight-header {
  margin-top: 80px;
  padding: 60px 20px 50px;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse at center, rgba(229, 57, 53, 0.08) 0%, transparent 70%);
}

.spotlight-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.015) 2px,
    rgba(255, 255, 255, 0.015) 4px
  );
  pointer-events: none;
}

.spotlight-page-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  background: linear-gradient(90deg, #E53935, #F5A623, #E53935);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerTitle 4s linear infinite;
  position: relative;
}

@keyframes shimmerTitle {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.spotlight-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #9aa0b0;
  letter-spacing: 0.02em;
  position: relative;
  line-height: 1.7;
  margin-bottom: 8px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Main Container ───────────────────────── */
.spotlight-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 40px;
  animation: fadeIn 0.6s ease 0.3s both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Form Card ─────────────────────────────── */
.spotlight-form-section {
  background: linear-gradient(180deg, #161929 0%, #0D0F1A 100%);
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid rgba(229, 57, 53, 0.15);
  box-shadow:
    0 0 40px rgba(229, 57, 53, 0.08),
    inset 0 1px 3px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.6s ease 0.4s both;
}

/* ── Section Dividers ─────────────────────── */
.form-section-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.1rem;
  letter-spacing: 3px;
  color: #F5A623;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(245, 166, 35, 0.15);
  text-shadow: 0 0 20px rgba(245, 166, 35, 0.15);
}

.form-section-title:not(:first-child) {
  margin-top: 36px;
}

/* ── Form Groups ──────────────────────────── */
.form-group {
  margin-bottom: 28px;
}

.form-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e0e0e0;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.form-required {
  color: #E53935;
  font-weight: 700;
}

.form-optional {
  color: #6B7194;
  font-weight: 400;
  font-size: 0.85rem;
}

.form-hint {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #4a4f6a;
  margin-top: 6px;
  line-height: 1.5;
}

/* ── Text Input, Textarea, Select ─────────── */
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #4a4f6a;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: rgba(229, 57, 53, 0.5);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7194' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-select option {
  background: #161929;
  color: #fff;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-char-count {
  display: block;
  text-align: right;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #4a4f6a;
  margin-top: 6px;
  transition: color 0.2s ease;
}

.form-char-count.over {
  color: #E53935;
}

/* ── Row Layout (side-by-side fields) ──────── */
.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

/* ── Avatar Upload ────────────────────────── */
.file-drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 20px;
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #6B7194;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-align: center;
}

.file-drop-zone:hover {
  border-color: rgba(229, 57, 53, 0.4);
  background: rgba(229, 57, 53, 0.03);
  color: #9aa0b0;
}

.file-drop-zone svg {
  opacity: 0.5;
}

.file-size-hint {
  font-size: 0.75rem;
  color: #4a4f6a;
}

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

.file-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-top: 10px;
}

.avatar-preview-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(229, 57, 53, 0.3);
}

.file-preview-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #9aa0b0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-remove-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 6px 14px;
  background: rgba(229, 57, 53, 0.1);
  border: 1px solid rgba(229, 57, 53, 0.2);
  border-radius: 8px;
  color: #E53935;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.file-remove-btn:hover {
  background: rgba(229, 57, 53, 0.18);
}

/* ── Consent Checkbox ─────────────────────── */
.consent-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.consent-checkbox {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #E53935;
  cursor: pointer;
  flex-shrink: 0;
}

.consent-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #9aa0b0;
  line-height: 1.5;
  cursor: pointer;
}

/* ── Status Messages ──────────────────────── */
.form-status {
  padding: 14px 18px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.5;
}

.form-status.success {
  background: rgba(0, 200, 83, 0.08);
  border: 1px solid rgba(0, 200, 83, 0.25);
  color: #4caf50;
}

.form-status.error {
  background: rgba(229, 57, 53, 0.08);
  border: 1px solid rgba(229, 57, 53, 0.25);
  color: #ef5350;
}

/* ── Submit Button ────────────────────────── */
.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: linear-gradient(135deg, #E53935, #C62828);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.3);
  letter-spacing: 0.02em;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(229, 57, 53, 0.45);
}

.submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.3);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.submit-spinner {
  width: 18px;
  height: 18px;
  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); }
}

/* ── Scroll Progress ──────────────────────── */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 10000;
  background: transparent;
}

.scroll-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #E53935, #F5A623);
  transition: width 0.1s ease-out;
}

/* ── Mobile Responsive ─────────────────────── */
@media (max-width: 768px) {
  .spotlight-header {
    margin-top: 32px;
    padding: 36px 15px 30px;
  }

  .spotlight-form-section {
    padding: 24px 18px;
  }

  .spotlight-container {
    padding: 0 15px 30px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .submit-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .spotlight-page-title {
    letter-spacing: 0.02em;
  }

  .spotlight-form-section {
    padding: 20px 14px;
    border-radius: 12px;
  }

  .form-label {
    font-size: 0.9rem;
  }

  .file-drop-zone {
    padding: 20px 16px;
  }
}
