* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  gap: 10px;
}

header {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

main {
  flex: 1;
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
  padding: 0 10px;
}

.game-container {
  position: relative;
  width: 100%;
  max-width: calc((100vh - 200px) * 16 / 9);
  aspect-ratio: 16 / 9;
}

.game-frame {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  background-color: #000;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.play-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.play-button:hover {
  transform: scale(1.1);
}

.play-button:active {
  transform: scale(1.05);
}

.play-button svg {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.play-button span {
  color: white;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

footer {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.steam-button {
  max-width: 250px;
  width: 100%;
  height: auto;
  transition: transform 0.2s ease, filter 0.2s ease;
  cursor: pointer;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.steam-button:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4)) brightness(1.1);
}

.steam-button:active {
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding: 8px;
    gap: 8px;
  }

  .title-image {
    max-width: 350px;
  }

  .steam-button {
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 5px;
    gap: 5px;
  }

  .title-image {
    max-width: 280px;
  }

  .steam-button {
    max-width: 180px;
  }

  .play-button span {
    font-size: 18px;
  }
}

