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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0a0a0f;
  color: #f0f0f0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  position: relative;
  background-image: url('images/background.png');
  background-repeat: repeat;
  background-size: auto;
  image-rendering: pixelated;
}

/* Dark overlay with radial light effect centered on logo */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse 50% 40% at 50% 25%,
    rgba(10, 10, 15, 0.3) 0%,
    rgba(10, 10, 15, 0.7) 40%,
    rgba(10, 10, 15, 0.9) 70%,
    rgba(10, 10, 15, 0.98) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Gradient fade to gameplay section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(10, 10, 15, 1) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
  animation: fadeIn 1s ease-out;
  position: relative;
  z-index: 2;
}

.logo {
  max-width: 500px;
  width: 100%;
  height: auto;
  margin-bottom: 40px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 30px rgba(138, 43, 226, 0.5));
}

/* Trailer com GIF preview */
.trailer-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: #0f0f18;
  cursor: pointer;
}

.trailer-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(138, 43, 226, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.6);
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(138, 43, 226, 1);
  box-shadow: 0 0 50px rgba(138, 43, 226, 0.8);
}

.play-button svg {
  width: 36px;
  height: 36px;
  fill: white;
  margin-left: 4px;
}

.trailer-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Description */
.description {
  font-size: 1.2rem;
  color: #c0c0c0;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Steam Button */
.steam-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #66c0f4;
  box-shadow: 0 4px 20px rgba(102, 192, 244, 0.3);
}

.steam-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(102, 192, 244, 0.5);
  background: linear-gradient(135deg, #2a475e 0%, #3d6a8a 100%);
}

.steam-icon {
  width: 24px;
  height: 24px;
}

/* Gameplay Section */
.gameplay {
  padding: 80px 20px;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0.95) 0%,
    rgba(15, 10, 25, 0.98) 100%
  );
}

.gameplay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.gameplay-item {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #0f0f18;
  cursor: pointer;
}

.gameplay-item:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.4);
}

.gameplay-item img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-image {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
  image-rendering: auto;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 48px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  color: #8a2be2;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #fff;
  background: rgba(138, 43, 226, 0.3);
  border: none;
  cursor: pointer;
  padding: 16px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.modal-nav:hover {
  background: rgba(138, 43, 226, 0.6);
}

.modal-prev {
  left: 20px;
}

.modal-next {
  right: 20px;
}

/* Footer */
.footer {
  padding: 60px 20px;
  text-align: center;
  background: rgba(5, 5, 10, 0.98);
  border-top: 1px solid rgba(138, 43, 226, 0.2);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(138, 43, 226, 0.2);
  border: 2px solid rgba(138, 43, 226, 0.4);
  color: #c0c0c0;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(138, 43, 226, 0.4);
  border-color: rgba(138, 43, 226, 0.8);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(138, 43, 226, 0.4);
}

.social-links svg {
  width: 24px;
  height: 24px;
}

.copyright {
  color: #666;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .logo {
    max-width: 300px;
  }

  .description {
    font-size: 1rem;
  }

  

  .gameplay-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steam-button {
    padding: 14px 24px;
    font-size: 1rem;
  }

  .play-button {
    width: 60px;
    height: 60px;
  }

  .play-button svg {
    width: 28px;
    height: 28px;
  }

  .modal-nav {
    font-size: 28px;
    padding: 12px 16px;
  }

  .modal-close {
    font-size: 36px;
    top: 15px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 40px 15px;
  }

  .logo {
    max-width: 250px;
    margin-bottom: 30px;
  }

  .trailer-container {
    margin-bottom: 30px;
  }

  .description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .social-links {
    gap: 20px;
  }

  .social-links a {
    width: 45px;
    height: 45px;
  }

  .modal-nav {
    font-size: 24px;
    padding: 10px 14px;
  }
}