/**
 * style.css
 * @author Gabriel Aplok, FireWave Interactive.
 * @version 1.0
 */

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

body {
  font-family: "Inter", sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: #000;
  border-bottom: 1px solid #222;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  letter-spacing: 3px;
}

.navbar nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #777;
  font-weight: 500;
  transition: 0.2s;
}

.navbar nav a:hover {
  color: #fff;
}

/* Hero */
.hero {
  height: 100vh;
  background: linear-gradient(180deg, #000, #050505);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border-bottom: 1px solid #111;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.hero p {
  color: #777;
  margin-bottom: 25px;
}

.cta {
  display: inline-block;
  padding: 12px 28px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #fff;
  transition: 0.2s;
}

.cta:hover {
  background: #000;
  color: #fff;
}

/* Section */
.section {
  max-width: 1100px;
  margin: auto;
  padding: 100px 20px;
}

.section-header {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  letter-spacing: 2px;
  border-bottom: 1px solid #222;
  padding-bottom: 10px;
}

/* Card */
.card {
  border: 1px solid #222;
  padding: 20px;
}

.card a {
  color: #fff;
  text-decoration: underline;
}

/* Game List */
.game-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #222;
  margin-top: 40px;
}

/* Remove alternating weird layout */
.game-card.reverse {
  grid-template-columns: 1fr 1fr;
}

/* Image Block */
.game-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-right: 1px solid #222;
}

.game-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-right: 1px solid #111;
  border-bottom: 1px solid #111;
  filter: grayscale(100%) contrast(110%);
  transition: 0.2s;
}

.game-gallery img:hover {
  filter: grayscale(0%) contrast(120%);
}

/* Info Block */
.game-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.game-info h2 {
  font-size: 20px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.game-info span {
  font-size: 12px;
  color: #666;
  margin-left: 6px;
}

.game-info p {
  color: #aaa;
  margin-bottom: 20px;
}

/* Links */
.links {
  border-top: 1px solid #222;
  padding-top: 10px;
}

.links a {
  margin-right: 15px;
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid #444;
  transition: 0.2s;
}

.links a:hover {
  border-color: #fff;
}

/* Contact */
.contact {
  text-align: center;
  padding: 100px 20px;
  border-top: 1px solid #111;
}

.contact h2 {
  font-size: 22px;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.contact-grid div {
  border: 1px solid #222;
  padding: 15px 25px;
}

.contact-grid span {
  display: block;
  font-size: 12px;
  color: #666;
}

.contact-grid a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

.brand {
  color: #ff5722;
  text-decoration: none;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .game-card {
    grid-template-columns: 1fr;
  }

  .game-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 36px;
  }

  .nav-container {
    flex-direction: column;
    gap: 10px;
  }

  .navbar nav a {
    margin-left: 10px;
  }
}
