body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
}

.bg-light-gray { background: #f6f7f9; }
.bg-blue { background: #e6f0ff; }
.bg-green { background: #e6fbe8; }
.bg-orange { background: #fff5e6; }
.bg-purple { background: #f3e6ff; }
.bg-gray { background: #f4f4f4; }

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

textarea {
  width: 100%;
  height: 120px;
  font-size: 1rem;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #ccc;
  resize: vertical;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}

button {
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  background: linear-gradient(to right, #e0e0e0, #f9f9f9);
  border: 1px solid #ccc;
  border-radius: 24px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  cursor: pointer;
}

button:hover {
  background: linear-gradient(to right, #dcdcdc, #f0f0f0);
}

nav a {
  margin: 0 0.8rem;
  text-decoration: none;
  font-weight: 500;
  color: #333;
}

footer {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #777;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.card {
  display: inline-block;
  padding: 1.5rem 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  color: #222;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  background: #f8f8f8;
}


.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.card {
  border-radius: 20px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card.bg-blue    { background: linear-gradient(135deg, #d0e5ff, #f0f8ff); }
.card.bg-green   { background: linear-gradient(135deg, #c8f7dc, #eafff1); }
.card.bg-orange  { background: linear-gradient(135deg, #ffeacc, #fff8e5); }
.card.bg-purple  { background: linear-gradient(135deg, #e4d1ff, #f6efff); }


.card i {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.card span {
  display: block;
  font-size: 1.1rem;
}


.bg-dark {
  background: linear-gradient(135deg, #121212, #1c1c1c);
  color: #fff;
}

.animated-title {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ffffff, #dddddd, #ffffff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: shine 4s infinite linear;
}

@keyframes shine {
  0% { background-position: -300px; }
  100% { background-position: 300px; }
}

.animated-background {
  background: linear-gradient(-45deg, #1e1e1e, #2a2a2a, #1e1e1e, #2a2a2a);
  background-size: 400% 400%;
  animation: backgroundMove 20s ease infinite;
}

@keyframes backgroundMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.light-card {
  color: #111;
  background: #ffffffcc;
  transition: all 0.3s ease;
}

.light-card:hover {
  background: #ffffffee;
  transform: translateY(-4px);
}


.bg-dark-light {
  background: linear-gradient(135deg, #2b2d30, #3c3e42);
  color: #f5f5f5;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

#particles-js {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
}

.card i {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  display: block;
}

.card span {
  display: block;
  font-size: 1.05rem;
  margin-top: 0.2rem;
}

.footer-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #ffffff22;
  color: #eee;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.footer-link:hover {
  background: #ffffff44;
}

button {
  margin-bottom: 1rem;
}
