/* Reset & Base Styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: #f8fafc;
  color: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
header.dashboard-header {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: .5rem;
}
.dashboard-header h1 {
  margin-bottom: .25em;
  font-size: 2.2rem;
}
.intro {
  font-size: 1.1rem;
  color: #4b5563;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* Card Layout */
.card-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.project-card {
  background: #fff;
  border-radius: 1.2em;
  box-shadow: 0 4px 16px 0 #0001;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 310px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: pointer;
}
.project-card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 8px 24px 0 #0002;
  background: #eef7fb;
}
.card-emoji {
  font-size: 2.8rem;
  margin-bottom: .6rem;
  user-select: none;
  transition: transform 0.2s;
}
.project-card:hover .card-emoji {
  transform: rotate(-10deg) scale(1.09);
}
.project-card h2 {
  margin-top: 0;
  margin-bottom: .4em;
  font-size: 1.35rem;
}
.project-card p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 1.8em;
}
.open-btn {
  padding: 0.7em 1.2em;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: .6em;
  font-size: 1rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 6px 0 #0001;
  transition: background .16s, transform .14s;
}
.open-btn:hover, .open-btn:focus {
  background: #1e40af;
  transform: scale(1.05);
}

.dashboard-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
footer {
  text-align: center;
  color: #558;
  padding: 1em;
  background: #f1f6f8;
  letter-spacing: 0.03em;
  font-size: 0.98rem;
  margin-top: auto;
}

/* Responsive Styles */
@media (max-width: 500px) {
  .project-card {
    padding: 1.2rem .5rem 1rem .5rem;
    font-size: .97rem;
  }
  .card-emoji {
    font-size: 2.1rem;
  }
}