/* Premiere Downgrader UI Styles */

:root {
  --accent-from: #f016a5;
  --accent-to: #ff9d00;
  --background: #121212;
  --surface: #1e1e1e;
  --surface-light: #2a2a2a;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --border: #333333;
  --gradient: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
}


.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
    border-left: 4px solid var(--border);
}

.toast.show {
    opacity: 1;
}

.toast.error {
    border-left-color: #ff4d4f;
}

.toast.success {
    border-left-color: #52c41a;
}

.toast-message {
    flex: 1;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 0 0 12px;
}

.toast-close:hover {
    color: var(--text-primary);
}


.disclaimer {
  background: rgba(255, 77, 79, 0.1);
  border-left: 3px solid #ff4d4f;
  padding: 12px;
  margin-top: 0px;
  border-radius: 4px;
}
.disclaimer summary {
  font-weight: bold;
  cursor: pointer;
}
.disclaimer ul {
  margin-top: 8px;
  padding-left: 20px;
}


.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  text-align: center;
  margin-bottom: 32px;
}

.upload-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  transition: transform 0.3s ease;
  margin-bottom: 24px;
}

.upload-area {
  text-align: center;
  padding: 40px 20px;
  border: 2px dashed var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.upload-area:hover {
  border-color: var(--accent-from);
  background: rgba(240, 22, 165, 0.05);
}

.upload-area.dragover {
  border-color: var(--accent-to);
  background: rgba(255, 157, 0, 0.1);
  transform: scale(1.02);
}

.upload-icon {
  color: var(--accent-from);
  font-size: 2rem;
  margin-bottom: 20px;
}

.upload-area h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.upload-area p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--gradient);
  color: var(--text-primary);
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 22, 165, 0.4);
}

.instagram-btn {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 32px;
}

.instagram-btn:hover {
  border-color: var(--accent-from);
  background: rgba(240, 22, 165, 0.1);
  transform: translateY(-1px);
}

#progressContainer {
  display: none;
}

.progress-container {
  padding: 20px 0;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--surface-light);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 4px;
  width: 0%;
  transition: width 0.3s ease;
  position: relative;
}

.progress-text {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}


/* FAQ Section */
.faq {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.faq h2 {
  color: var(--accent-from);
  margin-bottom: 20px;
  text-align: center;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-item h3 {
  color: var(--text-primary);
  font-size: 1.1rem;
  cursor: pointer;
}

.faq-item p {
  color: var(--text-secondary);
  margin-top: 8px;
  padding-left: 10px;
  border-left: 2px solid var(--accent-to);
}

.footer {
  text-align: center;
  padding: 20px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer a {
  color: var(--accent-from);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent-to);
}

@media (max-width: 768px) {
  .container {
    padding: 16px;
  }

  h1 {
    font-size: 2.5rem;
    line-height: 35pt;
    text-align: center;
  }

  .upload-card {
    padding: 24px;
  }

  .upload-area {
    padding: 24px 16px;
  }

  .upload-area h3 {
    font-size: 1.25rem;
  }
}


