/* ─── ADMIN PANEL — hidden from regular visitors ─── */

#admin-trigger-btn {
  display: none;
  /* shown only after secret key sequence */
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  background: rgba(13, 17, 23, 0.85);
  border: 1px solid rgba(230, 168, 23, 0.4);
  color: #e6a817;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 18px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  backdrop-filter: blur(8px);
  transition: background 0.3s, border-color 0.3s;
}

#admin-trigger-btn:hover {
  background: rgba(230, 168, 23, 0.12);
  border-color: #e6a817;
}

/* ─── ADMIN OVERLAY ─── */
#admin-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9500;
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}

#admin-overlay.active {
  display: flex;
}

#admin-modal {
  background: #111820;
  border: 1px solid rgba(230, 168, 23, 0.3);
  width: 100%;
  max-width: 440px;
  padding: 40px 36px 36px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

#admin-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
}

#admin-close:hover {
  color: #e6a817;
}

.admin-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #e6a817;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.admin-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 32px;
}

/* ─── PASSWORD STEP ─── */
#admin-step-password {
  display: block;
}

#admin-step-upload {
  display: none;
}

.admin-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}

.admin-input {
  width: 100%;
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ede8df;
  padding: 13px 16px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.3s;
  margin-bottom: 8px;
}

.admin-input:focus {
  border-color: #e6a817;
}

.admin-error {
  font-size: 0.75rem;
  color: #e05555;
  min-height: 18px;
  margin-bottom: 20px;
  display: block;
}

.admin-btn {
  width: 100%;
  background: #e6a817;
  color: #0d1117;
  border: none;
  padding: 13px 24px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.3s;
}

.admin-btn:hover {
  background: #c48f10;
}

.admin-btn:disabled {
  background: rgba(230, 168, 23, 0.3);
  cursor: not-allowed;
}

/* ─── UPLOAD STEP ─── */
.upload-zone {
  border: 2px dashed rgba(230, 168, 23, 0.3);
  padding: 36px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
  margin-bottom: 20px;
  position: relative;
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: #e6a817;
  background: rgba(230, 168, 23, 0.05);
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  opacity: 0.4;
}

.upload-zone p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

.upload-zone p strong {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
  font-size: 0.85rem;
}

.upload-filename {
  font-size: 0.75rem;
  color: #e6a817;
  margin-bottom: 16px;
  word-break: break-all;
  min-height: 18px;
  display: block;
}

.upload-progress {
  display: none;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.upload-progress.active {
  display: block;
}

.upload-progress-bar {
  height: 100%;
  background: #e6a817;
  width: 0%;
  transition: width 0.3s;
}

.upload-success {
  display: none;
  background: rgba(100, 200, 100, 0.08);
  border: 1px solid rgba(100, 200, 100, 0.25);
  padding: 14px 16px;
  font-size: 0.8rem;
  color: #7dd87d;
  text-align: center;
  margin-bottom: 16px;
}

.upload-success.active {
  display: block;
}

.admin-hint {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  margin-top: 20px;
  letter-spacing: 0.05em;
}





/* LEFT-ALIGNED PROCESS TIMELINE */
#process {
  background: var(--bg);
  padding: 80px 40px;
}

.process-header {
  text-align: left;
  max-width: 600px;
  margin-bottom: 60px;
}

.process-header .section-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.process-header .section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--fg);
}

.process-header .section-title em {
  font-style: italic;
  color: var(--gold);
}

.process-header .section-desc {
  color: var(--fg2);
  font-size: 0.95rem;
  line-height: 1.85;
}

.timeline {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(230, 168, 23, 0.3);
  transform: translateY(-50%);
}

.step {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 8px;
  width: 180px;
  z-index: 2;
  transition: transform 0.3s, border-color 0.3s;
}

.step:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.step .icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.step h3 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.85rem;
  color: var(--fg2);
}

.step-connector {
  display: none;
}



/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .brand-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 24px;
  }

  .brand-section-header {
    padding: 0 24px 1.5rem;
  }

  .brand-hint {
    padding: 1rem 24px 0;
  }
}

/* ─── ADMIN TABS ─── */
.admin-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 16px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}

.admin-tab.active {
  color: #e6a817;
  border-bottom-color: #e6a817;
}

.admin-tab:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ─── HERO FULLSCREEN CURSOR ─── */
#hero-video,
#hero-yt-wrap {
  cursor: pointer;
}

/* ── MOBILE: vertical stack ── */
@media (max-width: 768px) {
  #process {
    padding: 60px 20px;
  }

  .timeline {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  /* Hide horizontal golden line */
  .timeline::before {
    display: none;
  }

  .step {
    width: 80%;
    max-width: 400px;
    flex: none;
    padding: 22px 20px;

  }

  .step:hover {
    transform: none;
  }

  /* Vertical golden connector with downward arrow */
  .step-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 2px;
    height: 44px;
    position: relative;
    z-index: 2;
  }

  .step-connector::before {
    content: '';
    display: block;
    width: 2px;
    height: 36px;
    background: rgba(230, 168, 23, 0.35);
  }


}