body {
  font-family: "DM Mono", monospace;
  background: #0e0c0a;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  padding-top: 80px;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #f5f0e8;
  padding: 12px 0;
  text-align: center;
  border-bottom: 1px solid #b8860b;
  z-index: 100;
}

nav a {
  margin: 0 16px;
  text-decoration: none;
  color: #0e0c0a;
  font-weight: 700;
}

nav a:hover {
  color: #b8860b;
}

.about-page {
  width: min(100%, 980px);
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.about-card {
  background: rgba(245, 240, 232, 0.95);
  padding: 36px;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(184, 134, 11, 0.18);
}

.page-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 34px;
}

.page-header h1 {
  font-family: "DM Serif Display", serif;
  margin: 10px 0 12px;
  font-size: clamp(2rem, 3vw, 3.25rem);
}

.intro-text {
  margin: 0 auto;
  max-width: 650px;
  color: #48443d;
  line-height: 1.8;
}

.profile-card {
  display: grid;
  grid-template-columns: minmax(220px, 260px) 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 36px;
}

.profile-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(184, 134, 11, 0.18);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.profile-details h2,
.team-section h2 {
  margin: 0 0 10px;
  color: #3d362f;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}

.profile-details h3,
.member-card h3 {
  margin: 0;
  font-size: 1.65rem;
  font-family: "DM Serif Display", serif;
  color: #1d1b18;
}

.role,
.bio-text,
.member-card p {
  color: #4f4a44;
  line-height: 1.75;
  margin: 12px 0 0;
}

.bio-text {
  margin-top: 18px;
}

.profile-links,
.member-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.profile-links a,
.member-links a {
  color: #0e0c0a;
  text-decoration: none;
  padding: 10px 16px;
  background: rgba(184, 134, 11, 0.1);
  border-radius: 999px;
  font-weight: 700;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.profile-links a:hover,
.member-links a:hover {
  background: rgba(184, 134, 11, 0.18);
  transform: translateY(-1px);
}

.team-section {
  margin-top: 16px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.member-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  border: 1px solid rgba(14, 12, 10, 0.08);
  box-shadow: 0 18px 32px rgba(14, 12, 10, 0.07);
}

.member-card h3 {
  margin-bottom: 8px;
}

.member-card p {
  margin-bottom: 18px;
}

@media (max-width: 760px) {
  body {
    padding-top: 100px;
  }

  .about-page {
    padding: 24px 16px 60px;
  }

  .profile-card,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #f5f0e8;
  padding: 30px;
  width: 400px;
  border-radius: 6px;
}

.header {
  text-align: center;
  margin-bottom: 20px;
}

.header h1 {
  font-family: "DM Serif Display", serif;
}

input {
  width: 100%;
  padding: 10px;
  font-size: 18px;
  margin-bottom: 15px;
}

.selectors {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

select {
  flex: 1;
  padding: 10px;
}

.exchange-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  font-size: 22px;
  color: #b8860b;
}

#convert-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #8d6a13, #b8860b);
  color: #fff9e6;
  border: 1px solid #7a5b0f;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

#convert-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(184, 134, 11, 0.25);
}

#result {
  margin-top: 20px;
  text-align: center;
  font-size: 20px;
}

#popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#popup-overlay.hidden {
  display: none;
}

.popup {
  width: min(90%, 360px);
  background: #131213;
  padding: 26px 24px;
  border-radius: 20px;
  border: 1px solid rgba(184, 134, 11, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.popup h2 {
  margin: 0 0 14px;
  font-size: 24px;
  color: #f1c40f;
}

.popup p {
  margin: 0 0 24px;
  color: #e7e2d8;
  line-height: 1.5;
}

#popup-close {
  padding: 12px 20px;
  background: linear-gradient(135deg, #8d6a13, #b8860b);
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
}

#popup-close:hover {
  filter: brightness(1.05);
}

.time-block {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.time-label {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #777;
}

#current-time {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
