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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #396355 0%, #5aa091 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  backdrop-filter: blur(10px);
}

.header {
  margin-bottom: 40px;
}

.header h1 {
  font-size: 2.5rem;
  color: #4a5568;
  margin-bottom: 10px;
  font-weight: 700;
}

/* .subtitle {
  font-size: 1.1rem;
  color: #718096;
  font-weight: 400;
} */

.main-content {
  margin-bottom: 40px;
}

.button-container {
  margin-bottom: 30px;
}

.main-button {
  position: relative;
  background: linear-gradient(135deg, #3b7567 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
  min-width: 200px;
}

.main-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

.main-button:active {
  transform: translateY(0);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.main-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.button-ripple {
  position: absolute;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.result-container {
  margin-top: 20px;
}

.result-message {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  color: white;
  padding: 15px 25px;
  border-radius: 10px;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(72, 187, 120, 0.3);
  animation: slideIn 0.5s ease;
  white-space: pre-line;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.4;
  max-height: 300px;
  overflow-y: auto;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  color: #718096;
  font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 30px 20px;
    margin: 20px;
  }

  .header h1 {
    font-size: 2rem;
  }

  .main-button {
    padding: 12px 30px;
    font-size: 1.1rem;
    min-width: 180px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 25px 15px;
  }

  .header h1 {
    font-size: 1.8rem;
  }

  .main-button {
    padding: 10px 25px;
    font-size: 1rem;
    min-width: 160px;
  }
}
