body {
  margin: 0;
  font-family: "Ubuntu", sans-serif;
  background: #000;
  color: white;
}

.profile-header {
  display: flex;
  align-items: center;
  padding: 20px;
}

.profile-header img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 15px;
}

.profile-info {
  flex-grow: 1;
}

.profile-info h2 {
  margin: 0;
}

.stats {
  display: flex;
  gap: 15px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.buttons button {
  background-color: #333;
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 14px;
  cursor: default;
}
.button-link {
  background-color: #333;
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  margin: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  margin-top: 10px;
}

.gallery img {
  width: 100%;
  height: auto;
  cursor: pointer;
  display: block;
}
.gallery-end {
  width: 100%;
  aspect-ratio: 1/1;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  margin: 0;
  grid-column: span 1;
}
.gallery-end span {
  color: #fff;
  font-weight: bold;
  font-size: 2em;
  text-align: center;
  letter-spacing: 1px;
  user-select: none;
}

@media (max-width: 768px) {
  .gallery-end span {
    font-size: 1.3em;
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

.modal img {
  max-width: 90%;
  max-height: 70vh;
  margin-bottom: 15px;
}

.modal-text {
  color: white;
  font-size: 16px;
}

@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
