/* GENERAL */

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #000;
  font-family: 'Oswald', sans-serif;
  text-align: center;
  display: flex;
  flex-direction: column;
}

/* SITE ROOT */

#site-root {
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Масштаб на мобільному */
@media (max-width: 640px) {
  #site-root {
    zoom: 0.8;
  }
}

/* LAYOUT */

main,
header.profile {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
}

main {
  flex: 1;
}

footer {
  text-align: center;
  color: #777;
  font-size: 0.9rem;
}

/* PROFILE */

header.profile {
  background: #000;
  color: white;
}

.avatar {
  margin-top: 20px;
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

header.profile h1 {
  margin: 0;
}

.social-links {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.social-icon {
  width: 28px;
  height: 28px;
  margin: 0 10px;
  transition: opacity 0.2s;
}

.social-icon:hover {
  opacity: 0.7;
}

/* RELEASES — tiles */

.release-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  justify-items: center;
}

.release-tile img {
  width: 100%;
  max-width: 240px;
  border-radius: 12px;
  transition: transform 0.2s ease;
}

.release-tile img:hover {
  transform: scale(1.03);
}

/* PLATFORMS — cards with centered title */

.platform-card {
  background: #1e1e1e;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 1rem 0;
  overflow: hidden;
  transition: transform 0.2s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  text-align: left;
  color: white;
  padding: 10px;
  gap: 12px;
  position: relative;
}

.platform-card:hover {
  transform: scale(1.01);
}

.platform-card img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.release-content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
}

.release-content h3 {
  margin: 0;
  font-size: 1.1rem;
  text-align: center;
  width: 100%;
  font-weight: 500;
}

.release-tile {
  position: relative;
  display: inline-block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.release-tile:hover {
  transform: scale(1.03);
}

.release-tile img {
  width: 100%;
  max-width: 240px;
  display: block;
  border-radius: 12px;
}

/* SEPARATOR */

.separator {
  margin: 2rem auto;
  height: 0px;
}