:root {
  --bg-color: #0e0d0b;
  --text-color: #d6c4a3;
  --accent-color: #8c7c5c;
  --font-family: 'Cormorant Garamond', serif;
  --body-sans-serif: 'Open Sans', sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background-color: #1a1814;
  position: relative;
}

nav {
  display: flex;
  justify-content: flex-start;
  gap: 3rem;
  font-size: 1.7rem;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: bold;
  text-transform: uppercase;
}

a {
  color: var(--text-color);
  text-decoration: none;
}

a:hover {
  color: var(--text-color);
  text-decoration: none;
}

.steam-button {
  margin-right: 2rem;
}

.steam-button a {
  text-decoration: none;
}

.steam-button .button,
.read-more .button {
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--text-color);
  padding: 0.5rem 1.25rem;
  font-family: var(--body-sans-serif);
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.steam-button .button:hover,
.read-more .button:hover {
  background-color: var(--accent-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  width: 100%;
}

main {
  max-width: 820px;
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
}

h1, h2, h3 {
  color: var(--text-color);
  text-align: left;
}

.welcome-title {
  line-height: 0;
  font-size: 3rem;
}

p {
  line-height: 1.7;
  font-size: 1.125rem;
  font-family: var(--body-sans-serif);
  letter-spacing: 0.04em;
  word-spacing: 0.1em;
  text-align: left;
}

.placeholder-img {
  width: 100%;
  height: auto;
  margin: 2rem 0;
}

.placeholder-img img {
  max-width: 60%;
  height: auto;
}

.read-more {
  margin-top: 1.5rem;
}

footer {
  text-align: center;
  padding: 2rem;
  background-color: #1a1814;
  font-size: 0.875rem;
  color: #a89b86;
}

@media (max-width: 820px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .welcome-title {
    font-size: 1.4rem;
    white-space: nowrap;
    display: block;
    max-width: 100%;
  }

  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .steam-button {
    display: none;
    width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
    margin: 1rem 0 0 0;
  }

  .steam-button .button {
    width: auto;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
  }

  .mobile-nav.active {
    display: flex;
  }
}

