:root {
  --bg-color: #fff5e8;
  --text-color: #000000;
  --card-bg: rgba(255, 255, 255, 0.35);
  --accent-color: #e683cc;
  --border-color: rgba(255, 255, 255, 0.4);
  --contact-button-bg: #000000;
}

[data-theme="dark"] {
  --bg-color: #000000;
  --text-color: #ffffff;
  --card-bg: rgba(30, 30, 30, 0.35);
  --accent-color: #fca0e3;
  --border-color: rgba(255, 255, 255, 0.2);
  --contact-button-bg: #ffffff;
}

html,
body {
  height: 100%;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Courier New", Courier, monospace;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.navbar {
  border-radius: 16px;
  max-width: 900px;
  margin: 1.5rem auto;
  padding: 0.5rem 1rem;
  border-radius: 16px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.navbar .nav-link {
  font-size: 1.4rem;
  font-family: "Courier New", Courier, monospace;
  color: var(--text-color);
  font-weight: 550;
}

.navbar .nav-link:hover {
  color: #fca0e3;
}

.navbar .nav-link.active {
  color: var(--accent-color);
}

.profile-img {
  width: 375px;
  height: 375px;
  object-fit: cover;
  border-radius: 50%;
}

.content-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.contact-section {
  margin-top: 2.5rem;
  margin-bottom: 0;
  text-align: center;
}

.info-row {
  margin-top: 2.5rem;
  flex: 1;
  align-items: center;
}

.contact-row {
  margin-top: auto;
  padding-bottom: 1rem;
}

.personal-title {
  margin-bottom: 1.5rem;
}

.personal-title .subtitle {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.6rem;
  font-weight: normal;
}

.personal-description {
  margin-top: 0.75rem;
}

.text-highlight {
  color: #e683cc;
  font-weight: 700;
}

.contact-icons a {
  color: var(--contact-button-bg);
  font-size: 2rem;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
  margin-top: 0.5rem;
}

.contact-icons a:hover {
  color: #fca0e3;
  transform: translateY(-3px);
}

#theme-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.card-title {
  font-weight: 550;
}

.btn-custom {
  background-color: #fca0e3;
  border-color: #fca0e3;
  font-weight: 550;
  color: #000000;
}

.btn-custom:hover {
  background-color: #e683cc;
  border-color: #e683cc;
  font-weight: 550;
  color: #000000;
}

.btn-custom:active,
.btn-custom:focus {
  background-color: #e683cc;
  box-shadow: none;
}

/* The styling used below for the interactive component was done using AI */
.fun-page #fun-gradient-layer {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.fun-page #fun-gradient-layer::before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 620px;
  height: 620px;

  transform: translate(
    calc(var(--mx, 50vw) - 50%),
    calc(var(--my, 50vh) - 50%)
  );

  pointer-events: none;
  z-index: 0;

  background: radial-gradient(
    circle at 30% 30%,
    rgba(252, 160, 227, 0.45),
    rgba(230, 131, 204, 0.35),
    rgba(180, 140, 255, 0.25),
    rgba(0, 0, 0, 0)
  );

  filter: blur(70px) saturate(130%);
  opacity: 0;
  transition:
    opacity 300ms ease,
    transform 120ms ease-out;
}

.fun-page #fun-gradient-layer.is-hovering::before {
  opacity: 1;
}

.fun-page #fun-gradient-layer > * {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .fun-page #fun-gradient-layer::before {
    transition: none;
  }
}
