/* =================== RESET =================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =================== BODY =================== */
/* Light mode: Light gray background, Manrope font, 16px, #2D3748 text */
body {
  background: #F5F6F5;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  color: #2D3748;
  min-height: 100vh;
  padding: 0 15px;
  letter-spacing: 0em;
}

/* =================== CONTAINER =================== */
/* Max 480px wide, 30px top margin, centered horizontally */
.container {
  max-width: 480px;
  margin: 30px auto 0 auto;
}

/* =================== HEADER =================== */
/* Face icon + lines side by side */
.header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

/* Face icon: 50x50, circular */
.face-icon {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}

/* Lines container: stacked vertically, 15px from face icon */
.header-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-left: 15px;
}

/* Single line in header (link or div) */
.header-line {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #2D3748;
  font-size: 14px;
  font-weight: 500;
  gap: 5px;
}

/* Envelope icon: 19px, #64707D */
.header-line i {
  font-size: 19px;
  color: #64707D;
}

/* =================== MAIN LINKS =================== */
/* Container for main link tiles */
.main-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

/* Each tile is a clickable link */
.link-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #E2E3E5;
  border-radius: 11px;
  padding: 10px;
  width: 100%;
  transition: background 0.2s ease;
}

/* Hover effect for main link tiles */
.link-tile:hover {
  background: #E2E3E5;
}

/* Top row: icon + title, centered vertically */
.link-top {
  display: flex;
  align-items: center;
}

/* Tile icon: 26x26, slightly rounded */
.tile-icon {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  margin-right: 10px;
}

/* Tile title: bold, 18px, no extra margin */
.tile-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

/* Description text below title */
.tile-desc {
  margin-top: 10px;
  font-size: 15px;
  color: #64707D;
}

/* Base tile-badge style: small "button" shape */
.tile-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  font-weight: 600;
  border: 1px solid #FF577F; /* Default color if no variant specified */
  border-radius: 5px;
  font-size: 12px;
  color: #FF577F;
  background: #fff;
}

/* =============== Badge Color Variants =============== */
/* Pink / Red style (default) */
.badge-pink {
  border-color: #FF577F;
  color: #FF577F;
}

/* Blue style */
.badge-blue {
  border-color: #3B82F6;
  color: #3B82F6;
}

/* Green style */
.badge-green {
  border-color: #10B981;
  color: #10B981;
}

/* =================== SOCIAL ICONS =================== */
/* Four icon links at the bottom */
.social-icons {
  display: flex;
  gap: 15px; /* space between icons */
  margin-top: 30px;
  justify-content: center; /* centers them horizontally */
}

/* Each social icon link => #64707D color, no underline */
.social-icons a {
  text-decoration: none;
  color: #64707D;
}

/* Phosphor icons => 28px, #64707D */
.social-icons i {
  font-size: 28px;
  color: #64707D;
}

/* =================== DARK MODE =================== */
@media (prefers-color-scheme: dark) {
  /* Body: Dark background and light text */
  body {
    background: #1A202C;
    color: #E2E8F0;
  }

  /* Header text and lines */
  .header-line {
    color: #E2E8F0;
  }
  .header-line i {
    color: #A0AEC0;
  }

  /* Main link tiles: dark background, darker border, hover background */
  .link-tile {
    background: #2D3748;
    border-color: #4A5568;
  }
  .link-tile:hover {
    background: #4A5568;
  }

  /* Tile description text */
  .tile-desc {
    color: #A0AEC0;
  }

  /* Badge variants in dark mode */
  .tile-badge {
    background: #2D3748;
  }
  .badge-pink {
    border-color: #F687B3;
    color: #F687B3;
  }
  .badge-blue {
    border-color: #63B3ED;
    color: #63B3ED;
  }
  .badge-green {
    border-color: #68D391;
    color: #68D391;
  }

  /* Social icons */
  .social-icons a {
    color: #A0AEC0;
  }
  .social-icons i {
    color: #A0AEC0;
  }
}
