:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --text-color: #1f2937;
  --bg-color: #f3f4f6;
  --card-bg: #ffffff;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header {
  background: white;
  padding: 2rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 2rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--secondary-color);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

.intro {
  text-align: center;
  margin-bottom: 3rem;
}

.section-container {
  background: transparent;
  margin-bottom: 3rem;
}

.section-header {
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.section-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--text-color);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.member-card {
  background: var(--card-bg);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.2s;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.member-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.assignment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.assignment-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.2s;
  border: 1px solid #e5e7eb;
}

.assignment-card:hover:not(.disabled) {
  border-color: var(--primary-color);
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.assignment-card .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.assignment-card .title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.assignment-card .status {
  font-size: 0.8rem;
  color: green;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
}

.button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 1rem;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
}

.button:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}

.button:hover:not(:disabled) {
  background-color: var(--secondary-color);
}

footer {
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
}

/* Specific styles for members/jay.html */
.profile-header {
  text-align: center;
  margin-bottom: 3rem;
}

.profile-avatar {
  width: 150px;
  height: 150px;
  background-color: #ddd;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #666;
  overflow: hidden;
  border: 4px solid var(--primary-color);
}

.profile-content {
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#fun-fact-container {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #eff6ff;
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary-color);
}

/* Secret Button */
.secret-button {
  display: inline-block;
  font-size: 1.5rem;
  text-decoration: none;
  opacity: 0.1;
  transition: opacity 0.3s, transform 0.3s;
  padding: 0.5rem;
}

.secret-button:hover {
  opacity: 1;
  transform: scale(1.2) rotate(20deg);
}

.hw2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.hw2-lang-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.2s;
}

.hw2-lang-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 6px -1px rgba(37,99,235,0.1);
}

.hw2-lang-card h3 {
  margin: 0 0 0.25rem;
}

.hw2-lang-card .lang-subtitle {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.hw2-lang-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hw2-lang-card ul li {
  margin: 0.4rem 0;
}

.hw2-lang-card ul li a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.hw2-lang-card ul li a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.echo-form-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 2px solid var(--primary-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.echo-form-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.echo-form-card a:hover {
  text-decoration: underline;
}