/* Import Inter font from Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap");

/* CSS Custom Properties for theming */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --background-color: #f8f9ff;
  --text-color: #333;
  --border-color: #e0e0e0;
  --success-color: #e8f5e8;
  --success-text: #2d5a2d;
  --border-radius: 10px;
  --border-radius-large: 20px;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-large: 0 20px 40px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

/* Body and Layout with Animated Background */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--primary-gradient);
  min-height: 100vh;
  padding: 0;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(120, 119, 198, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(120, 119, 198, 0.2) 0%,
      transparent 50%
    );
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 70%
  );
  animation: shimmer 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(1deg);
  }
}

@keyframes shimmer {
  0%,
  100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

/* Container */
.container {
  max-width: 100%;
  margin: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  position: relative;
  z-index: 10;
  min-height: 100vh;
}

/* Header */
.header {
  background: var(--primary-gradient);
  color: white;
  padding: 20px 15px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 70% 30%,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 30% 70%,
      rgba(120, 119, 198, 0.2) 0%,
      transparent 50%
    );
  animation: headerFloat 8s ease-in-out infinite;
}

.header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    60deg,
    transparent 40%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 60%
  );
  animation: headerShimmer 10s ease-in-out infinite;
}

@keyframes headerFloat {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1.02);
  }
}

@keyframes headerShimmer {
  0%,
  100% {
    transform: translateX(-120%) rotate(45deg);
  }
  50% {
    transform: translateX(120%) rotate(45deg);
  }
}

.header-content {
  position: relative;
  z-index: 10;
}

.header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.02em;
} 

.header .description {
  opacity: 0.9;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 15px;
}

.header .attribution {
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 400;
}

/* Content */
.content {
  padding: 15px;
}

/* Utility Classes */
.hidden {
  display: none;
}

.btn {
  background: var(--primary-gradient);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: var(--transition);
  margin: 4px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(102, 126, 234, 0.4);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.btn:disabled:hover {
  transform: none;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 0;
  }

  .container {
    margin: 0;
    border-radius: 0;
    min-height: 100vh;
  }

  .header {
    padding: 15px 10px;
  }

  .header h1 {
    font-size: 1.8rem;
    margin-bottom: 6px;
  } 

  .header .description {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .content {
    padding: 10px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin: 3px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .header {
    padding: 12px 8px;
  }

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

  .content {
    padding: 8px;
  }
}

