* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
 min-height: 100vh;
  position: relative;
  color: white;
}

.gradient-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, #ff6ec4, #7873f5, #00dbde, #fc00ff);
  background-size: 800% 800%;
  animation: gradientAnimation 20s ease infinite;
  z-index: -1;
}

@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.container {
  padding: 4rem 2rem;
  text-align: center;
}

h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 1px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  margin: 1rem 0 2rem;
  padding: 0.8rem 1.5rem;
  font-size: 1.1rem;
  background: linear-gradient(45deg, #ff6ec4, #7873f5);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease-in-out;
  font-weight: bold;
}

.btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  background: linear-gradient(45deg, #00dbde, #fc00ff);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.color-card {
  padding: 2rem;
  border-radius: 15px;
  font-weight: bold;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.color-card:hover {
  transform: scale(1.05);
}
/* Theme toggle button style */
.btn.small {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

/* Light theme styles */
body.light-mode {
  background: #f4f4f4;
  color: #333;
}

body.light-mode .gradient-bg {
  display: none;
}

body.light-mode .color-card {
  color: #333;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

body.light-mode .btn {
  background: linear-gradient(45deg, #a1c4fd, #c2e9fb);
  color: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.light-mode .btn:hover {
  background: linear-gradient(45deg, #fceabb, #f8b500);
  color: black;
}
.color-card {
  cursor: pointer;
  user-select: none;
}
.footer {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.95rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer a {
  color: #ffb6c1;
  text-decoration: none;
  margin: 0 0.3rem;
  transition: color 0.3s;
}

.footer a:hover {
  color: #ffffff;
}

.footer-content p {
  margin: 0.5rem 0;
}

.socials {
  margin-top: 0.5rem;
}
.contact-section {
  margin: 3rem auto;
  max-width: 600px;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(5px);
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ccc;
}

.contact-form button {
  margin-top: 1rem;
  width: 100%;
}
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
