/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(135deg, #0f0f1a, #050510);
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 900px;
  margin: auto;
}

/* HEADER */
.app-header {
  text-align: center;
  padding: 40px 0 20px;
}

.profile-logo img {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255, 0, 80, 0.6);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.app-title {
  font-size: 28px;
  margin-top: 10px;
  background: linear-gradient(90deg, #ff0050, #00f2ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.app-tagline {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 5px;
}

/* CARD */
.download-card {
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 0 25px rgba(0, 242, 234, 0.15);
}

/* TITLE */
.card-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
  color: #00f2ea;
}

/* INPUT */
.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #00f2ea;
}

input {
  width: 100%;
  padding: 12px 12px 12px 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  outline: none;
  transition: 0.3s;
}

input:focus {
  border-color: #00f2ea;
  box-shadow: 0 0 10px rgba(0, 242, 234, 0.4);
}

/* BUTTON */
.btn-download {
  width: 100%;
  margin-top: 15px;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #ff0050, #00f2ea);
  color: black;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn-download:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(255, 0, 80, 0.5);
}

/* LOADER */
.loader {
  width: 35px;
  height: 35px;
  margin: 20px auto;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #00f2ea;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* STATUS */
.status-indicator {
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
}

.status-icon {
  color: #00f2ea;
}

/* RESULT */
#result {
  margin-top: 20px;
  text-align: center;
}

/* FOOTER */
.app-footer {
  text-align: center;
  margin-top: 50px;
  padding: 20px;
  font-size: 12px;
  opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .app-title {
    font-size: 22px;
  }

  .download-card {
    padding: 18px;
  }
}


/* Buttons container */
.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* BUTTON VIDEO / AUDIO */
.btn-primary,
.btn-secondary {
  padding: 15px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  transition: 0.3s;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

/* Video Button */
.btn-primary {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
}

/* Audio Button */
.btn-secondary {
  background: linear-gradient(135deg, #10b981, #34d399);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.6);
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
