@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap');

:root {
  /* Deep Dark Muted Theme */
  --primary-color: #7C9CBF;
  --background-dark: #000000;
  --surface-dark: #0A0A0A;
  --text-primary: #E9ECEF;
  --text-secondary: #868E96;
  --error-color: #E64980;
  --success-color: #51CF66;
  --border-radius: 0;
  --transition-speed: 0.2s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background: linear-gradient(135deg, 
    var(--background-dark) 0%,
    #0A0A0A 25%,
    #1A1A1A 50%,
    #0A0A0A 75%,
    var(--background-dark) 100%
  );
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  position: relative;
  overflow-x: hidden;
  transition: opacity 0.5s ease-out;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(124, 156, 191, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(81, 207, 102, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body.fade-out {
  opacity: 0;
}

.container {
  background-color: var(--surface-dark);
  padding: 3rem;
  width: 100%;
  max-width: 700px;
  margin: 0;
  position: relative;
  z-index: 1;
  border-left: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  background: linear-gradient(180deg,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(0, 0, 0, 0.98) 100%
  );
  animation: fadeIn 0.8s ease-out;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 3rem;
  text-align: left;
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  position: relative;
  padding-left: 1rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

h1::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: var(--primary-color);
}

.input-wrapper {
  margin-bottom: 2rem;
  position: relative;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

input[type="text"],
select {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-speed);
  position: relative;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: none;
}

select option {
  background-color: var(--surface-dark);
  color: var(--text-primary);
  padding: 1rem;
  font-size: 1rem;
}

select optgroup {
  background-color: var(--surface-dark);
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

select option:disabled,
select optgroup:disabled {
  color: var(--text-secondary) !important;
  opacity: 0.6;
}


select:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-color);
}

select:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-color);
}

input[type="text"]::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '▼';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
  font-size: 0.75rem;
}

button {
  width: 100%;
  padding: 1.25rem;
  border: none;
  background-color: var(--primary-color);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #E64980;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: 1;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(230, 73, 128, 0.3);
}

button:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

button:hover::after {
  transform: translateX(100%);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(230, 73, 128, 0.2);
}

button:disabled {
  background-color: var(--text-secondary);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

button:disabled::before,
button:disabled::after {
  display: none;
}

.progress-bar {
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  margin: 1.5rem 0;
}

.progress-bar-inner {
  height: 100%;
  background-color: var(--primary-color);
  opacity: 0.9;
  transition: width 0.3s ease-out;
}

#download-progress {
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-align: left;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.button-wrapper {
  position: fixed;
  bottom: 3.55rem;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 2rem;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.button-container,
.button-container2,
.button-container3 {
  position: static;
  display: flex;
  gap: 1rem;
}

.button-container {
  position: fixed;
  right: 2rem;
  left: auto;
  transform: none;
}

.button-container2 {
  position: fixed;
  left: 2rem;
  transform: none;
}

.button-container3 {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
}

.my-button,
.my-button2,
.my-button3 {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* First button style - Minimal with icon */
.my-button {
  background-color: transparent;
  border: 1px solid var(--error-color);
  color: var(--error-color);
}

.my-button::before {
  content: '📋';
  font-size: 1rem;
}

.my-button:hover {
  background-color: var(--error-color);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Second button style - Minimal with icon */
.my-button2 {
  background-color: transparent;
  border: 1px solid var(--success-color);
  color: var(--success-color);
}

.my-button2::before {
  content: '🎥';
  font-size: 1rem;
}

.my-button2:hover {
  background-color: var(--success-color);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Third button style - Minimal with icon */
.my-button3 {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.my-button3::before {
  content: '⚡';
  font-size: 1rem;
}

.my-button3:hover {
  background-color: var(--primary-color);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Responsive adjustments for buttons */
@media (max-width: 768px) {
  .button-wrapper {
    bottom: 2.25rem;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
  }

  .button-container,
  .button-container2,
  .button-container3 {
    width: 100%;
  }

  .my-button,
  .my-button2,
  .my-button3 {
    width: 100%;
  }
}

.home {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background-color: transparent;
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed);
  z-index: 2;
}

.home:hover {
  transform: scale(1.1);
}

.home svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-primary);
  transition: stroke var(--transition-speed);
}

.home:hover svg {
  stroke: var(--primary-color);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.fade-out {
  animation: fadeOut 0.5s ease-out forwards;
  pointer-events: none;
}

/* Popup styles */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--surface-dark);
  padding: 2rem;
  border: 2px solid var(--primary-color);
  z-index: 1000;
  text-align: center;
  animation: popupFadeIn 0.2s ease-out;
  min-width: 300px;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -55%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 2rem 1.5rem;
    border-left: none;
    border-right: none;
  }

  h1 {
    font-size: 2.5rem;
  }

  .home {
    top: 1rem;
    right: 1rem;
  }
}

/* Custom Scrollbar Styles */






