html, body {
  height: 100%;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Spectral', serif;
  background-color: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: relative;
}

header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 40px;
  right: 40px;
  height: 2px;
  background-color: #ccc;
}

.header-left a {
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 1.8rem;
}

.header-right {
  font-weight: 300;
  font-size: 1.8rem;
}

.games-section {
  max-width: 800px;
  margin: 20px auto 60px auto; 
  padding: 0 20px;
  font-family: "Times New Roman", serif;
  text-align: center;
}

.games-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 40px;
  padding-bottom: 40px;
  padding-top: 40px;
}

.game-block {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 60px;
}

.media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.game-image {
  padding-bottom: 20px;
  width: 200px;
  transform: rotate(-30deg);
}

.game-video {
  width: 480px;
  aspect-ratio: 16 / 9;
  border: 2px solid #ccc;
  object-fit: cover;
}

.game-description {
  max-width: 600px;
  font-family: "Times New Roman", serif;
  color: #000;
}

.game-description h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  text-align: left;
}

.game-description p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
  text-align
}

.tag-boxes {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.media-content {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.tag {
  border: 1px solid #000;
  padding: 6px 12px;
  font-size: 0.9rem;
  font-family: "Times New Roman", serif;
}


footer {
  position: relative;
  padding: 20px 40px;
  text-align: center;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 2px;
  background-color: #ccc;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(83%) sepia(0%) saturate(0%) hue-rotate(176deg) brightness(85%) contrast(84%);
  transition: filter 0.3s ease;
}

.social-icons a:hover img {
  filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #000;
}

.contact img {
  width: 20px;
  height: 20px;
}

@media (max-width: 480px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
  }
  
  header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 40px;
  right: 40px;
  height: 2px;
  background-color: #ccc;
}
  
  .header-left a {
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 0.9rem;
}

  .header-right {
  font-weight: 300;
  font-size: 0.9rem;
}

.games-section {
  max-width: 300px;
  margin: 20px auto 60px auto; 
  padding: 0 20px;
  font-family: "Times New Roman", serif;
  text-align: center;
}

.game-image {
  padding-bottom: 0px;
  width: 150px;
  transform: rotate(-30deg);
}

.game-video {
  width: 300px;
  aspect-ratio: 16 / 9;
  border: 2px solid #ccc;
  object-fit: cover;
}
