* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: #141d2f;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding-top: 70px;
}

#main {
  width: 100%;
  max-width: 600px;
}

h1 {
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
}

form {
  display: flex;
  gap: 10px;
  margin-bottom: 1.5rem;
  background-color: #1e2a47;
  padding: 0.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

input {
  flex-grow: 1;
  padding: 10px 15px;
  border: none;
  background-color: transparent;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
}

input::placeholder {
  color: #9095a0;
}

button {
  padding: 10px 24px;
  background-color: #0079ff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #005ecb;
}

.card {
  background-color: #1e2a47;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #ffffff;
}

.card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  align-self: center;
  margin-bottom: 10px;
}

.card h2 {
  font-size: 1.8rem;
  text-align: center;
  margin: 0;
}

.card p {
  color: #d3d3d3;
  font-size: 1rem;
  line-height: 1.5;
}

.card h3 {
  font-size: 1rem;
  font-weight: normal;
  color: #ffffff;
  margin-bottom: 5px;
}

.card a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

#profile h3 {
  text-align: center;
  color: #ff4444;
  background-color: #1e2a47;
  padding: 20px;
  border-radius: 12px;
}

.profile-header {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.profile-header img {
  width: 80px;
  height: 80px;
  margin: 0;
}

.profile-info h2 {
  font-size: 1.5rem;
  text-align: left;
}

.profile-info a {
  color: #0079ff;
  margin-bottom: 5px;
}

.joined-date {
  font-size: 0.9rem;
  color: #ffffff;
}

.bio {
  margin-bottom: 25px;
  color: #d3d3d3;
  line-height: 1.5;
}

.stats-box {
  background-color: #141d2f;
  border-radius: 10px;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}

.stat-item {
  text-align: center;
}

.stat-item h4 {
  font-size: 0.8rem;
  color: #d3d3d3;
  margin-bottom: 5px;
  font-weight: normal;
}

.stat-item p {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
}

.links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.links-grid p,
.links-grid a {
  font-size: 0.9rem;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.links-grid a:hover {
  text-decoration: underline;
}

@media (max-width: 500px) {
  .links-grid {
    grid-template-columns: 1fr;
  }
}