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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}


body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 116, 97, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(120, 119, 198, 0.06) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  z-index: -1;
}

@keyframes float {
  0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(1deg); }
  66% { transform: translate(-20px, 20px) rotate(-1deg); }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


header {
  padding: 20px 0;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.crown {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff, #cccccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.motto {
  font-size: 0.95rem;
  color: #888;
  font-weight: 400;
  margin-top: 4px;
}


nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav a:hover {
  color: #fff;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #7877c6, #ff7461);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}


.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff, #7877c6, #ff7461);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  color: #aaa;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}


.upload-section {
  max-width: 600px;
  margin: 0 auto 80px;
  background: rgba(25, 25, 25, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.upload-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #7877c6, transparent);
}

.upload-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.file-input-wrapper {
  position: relative;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 40px 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.2);
}

.file-input-wrapper:hover {
  border-color: #7877c6;
  background: rgba(120, 119, 198, 0.05);
}

.file-input-wrapper.dragover {
  border-color: #ff7461;
  background: rgba(255, 116, 97, 0.1);
  transform: scale(1.02);
}

input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-input-content {
  text-align: center;
  pointer-events: none;
}

.upload-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  color: #7877c6;
}

.file-input-text {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 8px;
}

.file-input-subtext {
  font-size: 0.9rem;
  color: #888;
}

.upload-btn {
  background: linear-gradient(135deg, #7877c6, #ff7461);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.upload-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(120, 119, 198, 0.3);
}

.upload-btn:active {
  transform: translateY(0);
}

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

#result {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  word-break: break-all;
  display: none;
}

.success {
  border-color: rgba(46, 204, 113, 0.3);
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
}

.error {
  border-color: rgba(231, 76, 60, 0.3);
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

.url-container {
  display: flex;
  margin: 15px 0;
  gap: 10px;
}

.url-container input {
  flex: 1;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.copy-btn {
  background: rgba(120, 119, 198, 0.3);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.copy-btn:hover {
  background: rgba(120, 119, 198, 0.5);
}

.success-message p {
  margin-bottom: 10px;
}

.success-subtext {
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 10px;
}


.features {
  padding: 60px 0;
  background: rgba(15, 15, 15, 0.5);
}

.features h3 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(25, 25, 25, 0.6);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(120, 119, 198, 0.3);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #7877c6, #ff7461);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-card h4 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #fff;
}

.feature-card p {
  color: #aaa;
  line-height: 1.6;
}


.donation {
  max-width: 500px;
  margin: 60px auto;
  background: rgba(25, 25, 25, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.donation h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.donation .heart {
  color: #ff7461;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.donation p {
  color: #aaa;
  margin-bottom: 20px;
}

.donation-details {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
}

.donation-details p {
  margin: 8px 0;
  font-family: 'Courier New', monospace;
}

.donation-details strong {
  color: #7877c6;
}


footer {
  background: rgba(10, 10, 10, 0.9);
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
  color: #888;
  font-size: 0.9rem;
}


@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 20px;
  }

  nav {
    gap: 20px;
  }

  .hero h2 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .upload-section {
    margin: 0 20px 60px;
    padding: 30px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .donation {
    margin: 40px 20px;
    padding: 30px 20px;
  }
  
  .url-container {
    flex-direction: column;
  }
}