* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333333;
  background: white;
  min-height: 100vh;
  padding: 20px;
} */

.container {
  max-width: 1240px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.15);
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

header {
  background: linear-gradient(219deg, #FB0E76 0%, #910694 100%);
  color: white;
  padding: 40px 30px;
  text-align: center;
}

header h1 {
  font-size: 45px !important;
  font-weight: 700;
	color:white !important;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header p {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 300;
}

.input-section {
  padding: 40px 30px;
  border-bottom: 1px solid #e0e0e0;
  background: #fafafa;
}

.input-group {
  margin-bottom: 24px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333333;
  font-size: 1rem;
}

#url-input {
  width: 100% !important;
  padding: 16px 20px !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: white !important;
}

#url-input:focus {
  outline: none !important;
  border-color: #e91e63 !important;
  background: white !important;
  box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1) !important;
}

.button-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px !important;
  border: none !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 120px !important;
}

.btn-primary {
  background: linear-gradient(219deg, #FB0E76 0%, #910694 100%) !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.15) !important;
}

.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(233, 30, 99, 0.25) !important;
}

.btn-secondary {
  background: white !important;
  color: #e91e63 !important;
  border: 2px solid #e91e63 !important;
}

.btn-secondary:hover {
  background: #e91e63 !important;
  color: white !important;
  transform: translateY(-2px) !important;
}

.btn-copy {
  background: #f48fb1 !important;
  color: white !important;
  padding: 8px 16px !important;
  font-size: 0.85rem !important;
  min-width: auto !important;
}

.btn-copy:hover {
  background: #e91e63 !important;
  transform: translateY(-1px) !important;
}

.results-section {
  padding: 40px 30px;
  display: none;
  background: white;
}

.results-section.show {
  display: block;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e91e63;
}

.results-header h2 {
  font-size: 1.8rem;
  color: #e91e63;
  font-weight: 700;
}

.results-grid {
  display: grid;
  gap: 20px;
}

.result-item {
  display: flex;
  align-items: center;
  padding: 16px;
  background: #fafafa;
  border-radius: 12px;
  border-left: 4px solid #e91e63;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-item:hover {
  background: #f5f5f5;
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.1);
}

.result-item label {
  font-weight: 600;
  color: #e91e63;
  min-width: 120px;
  margin-right: 16px;
  font-size: 0.95rem;
}

.result-value {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 12px;
}

.result-value span {
  flex: 1;
  word-break: break-word;
  color: #666666;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  padding: 8px 12px;
  background: white;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.result-value span:empty::after {
  content: '—';
  color: #ccc;
  font-style: italic;
}

.copy-btn {
  background: #f48fb1 !important;
  color: white !important;
  border: none !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  white-space: nowrap !important;
}

.copy-btn:hover {
  background: #e91e63 !important;
  transform: scale(1.05) !important;
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #e91e63;
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.15);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  z-index: 1000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
/*   body {
    padding: 10px;
  } */

  header {
    padding: 30px 20px;
  }

  header h1 {
    font-size: 35px;
  }

  .input-section,
  .results-section {
    padding: 30px 20px;
  }

  .button-group {
    flex-direction: column;
  }

  .btn {
    width: 100% !important;
  }

  .results-header {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .results-header h2 {
    text-align: center;
  }

  .result-item {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .result-item label {
    min-width: auto;
    margin-right: 0;
    font-size: 1rem;
  }

  .result-value {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .copy-btn {
    align-self: flex-end !important;
    width: fit-content !important;
  }
}

@media (min-width: 769px) {
  .results-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  header h1 {
    font-size: 3rem;
  }

  header p {
    font-size: 1.2rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.results-section.show .result-item {
  animation: fadeInUp 0.5s ease-out forwards;
}

.results-section.show .result-item:nth-child(even) {
  animation-delay: 0.1s;
}

.results-section.show .result-item:nth-child(odd) {
  animation-delay: 0.05s;
}
