/* =========================
   GLOBAL
   ========================= */

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;

  margin: 0;
  font-family: Arial, sans-serif;
  background: #2c2c2c;
  color: black;
  text-align: center;

  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  margin: 0;
}

footer {
  margin: 0;
}

/* =========================
   NAVBAR
   ========================= */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 8px 35px;

  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  position: sticky;
  top: 0;
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;

  color: white;
  text-decoration: none;
}

.brand img {
  height: 50px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;

  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #dcdcdc;
  text-decoration: none;

  font-size: 1rem;
  font-weight: 500;

  position: relative;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.nav-links a:hover {
  color: white;
  transform: translateY(-2px);
}

.nav-links a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -6px;

  width: 0;
  height: 2px;

  background: white;

  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}


/* =========================
   HAMBURGER
   ========================= */

.menu-toggle {
  display: none;

  background: none;
  border: none;

  color: white;
  font-size: 2rem;

  cursor: pointer;
}


/* =========================
   HOME HERO
   ========================= */

.home-hero {
  min-height: 45vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 40px 20px;

  background:
    linear-gradient(rgba(255, 255, 255, 0.18),
      rgba(0, 0, 0, 0.10)),
    #68686831;

  color: white;
}

.company-logo {
  width: 100%;
  max-width: 600px;
  height: auto;

  margin-bottom: 10px;
}

.home-tagline {
  margin: 10px 0;

  font-size: 1.6rem;
  letter-spacing: 3px;

  color: #e5e5e5;
}

.home-description {
  max-width: 650px;
  margin: 15px auto 25px;

  font-size: 1.2rem;
  line-height: 1.6;

  color: #eeeeee;
}


/* =========================
   BUTTONS
   ========================= */

.main-button {
  display: inline-block;

  padding: 14px 28px;

  background: #111;
  color: white;

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;

  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.main-button:hover {
  transform: translateY(-3px);
  background: #222;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 14px 24px;

  border: 1px solid #888;
  border-radius: 8px;

  color: white;
  text-decoration: none;
  font-weight: 600;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.secondary-button:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
}


/* =========================
   FEATURED GAME
   ========================= */

.featured-game {
  padding: 80px 20px;

  background: #181818;
  color: white;
}

.game-logo {
  width: 100%;
  max-width: 650px;
  height: auto;

  margin-bottom: 45px;
}

.game-showcase {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;

  align-items: center;
}

.game-showcase>img {
  width: 100%;
  height: 400px;

  object-fit: cover;

  border-radius: 12px;
}

.game-info {
  text-align: left;
}

.game-info h2 {
  font-size: 2rem;
  margin-top: 0;
}

.game-info p {
  color: #cccccc;

  font-size: 1.1rem;
  line-height: 1.7;
}

.game-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;

  margin-top: 25px;
}


/* =========================
   GAME TITLE
   ========================= */

.gametitle {
  padding: 45px 20px 35px;

  background:
    linear-gradient(rgba(255, 255, 255, 0.18),
      rgba(0, 0, 0, 0.10)),
    #68686831;
}

.gametitle img {
  max-width: 500px;
  width: 100%;
  padding-bottom: 30px;
  height: auto;

  display: block;
  margin: 0 auto;
}

.game-page main {
  flex: 0;
  background: #2c2c2c;
}

.steam-wishlist-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-top: 0px;
  padding: 14px 26px;

  background: linear-gradient(
    135deg,
    #1b2838,
    #2a475e
  );

  color: white;

  border: 1px solid #66c0f4;
  border-radius: 8px;

  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.steam-wishlist-button i {
  font-size: 1.4rem;
  color: #66c0f4;
}

.steam-wishlist-button:hover {
  transform: translateY(-3px);

  background: linear-gradient(
    135deg,
    #2a475e,
    #1b6a9c
  );

  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

/* =========================
   SCREENSHOTS
   ========================= */

.screenshots-section {
  padding: 45px 20px 70px;

  background: #2c2c2c;
  color: white;
}

.screenshots-section h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.screenshots-section>p {
  color: #cccccc;
  margin-bottom: 40px;
}

.screenshot-grid {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.screenshot-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;

  object-fit: cover;

  border-radius: 10px;

  transition: transform 0.25s ease;
}

.screenshot-grid img:hover {
  transform: scale(1.03);
}

/* =========================
   SCREENSHOT LIGHTBOX
   ========================= */

.screenshot {
  cursor: pointer;
}

.lightbox {
  display: none;

  position: fixed;
  inset: 0;

  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.92);

  z-index: 5000;

  justify-content: center;
  align-items: center;

  padding: 30px;
  box-sizing: border-box;
}

.lightbox.active {
  display: flex;
}

.lightbox-image {
  max-width: 95%;
  max-height: 90vh;

  width: auto;
  height: auto;

  object-fit: contain;

  border-radius: 8px;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;

  top: 20px;
  right: 30px;

  background: none;
  border: none;

  color: white;

  font-size: 3rem;
  line-height: 1;

  cursor: pointer;

  z-index: 5001;
}

.lightbox-close:hover {
  opacity: 0.7;
}


/* =========================
   COMMUNITY
   ========================= */

.community-section {
  padding: 80px 20px;

  background: #111;
  color: white;
}

.community-section h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.community-section p {
  max-width: 650px;
  margin: 0 auto 30px;

  line-height: 1.6;

  color: #cccccc;
}

.discord-home-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 14px 25px;

  background: #5865f2;
  color: white;

  text-decoration: none;
  font-weight: 600;

  border-radius: 8px;

  transition: transform 0.2s ease;
}

.discord-home-button:hover {
  transform: translateY(-3px);
}

.home-socials {
  display: flex;
  justify-content: center;
  gap: 25px;

  margin-top: 35px;

  flex-wrap: wrap;
}

.home-socials a {
  color: white;

  font-size: 1.8rem;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.home-socials a:hover {
  transform: translateY(-4px);
  opacity: 0.75;
}


/* =========================
   ABOUT PAGE
   ========================= */

.about-hero {
  padding: 70px 20px;

  background:
    linear-gradient(
      rgba(255, 255, 255, 0.18),
      rgba(0, 0, 0, 0.10)
    ),
    #68686831;

  color: white;
}

.about-logo {
  width: 90px;
  height: auto;

  margin-bottom: 20px;
}

.about-hero h1 {
  margin: 0 0 20px;

  font-size: 2.8rem;
}

.about-hero > p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;

  font-size: 1.2rem;
  line-height: 1.7;

  color: #eeeeee;
}


/* About Content */

.about-section {
  padding: 70px 20px;

  background: #2c2c2c;
  color: white;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-content h2 {
  margin-top: 0;

  font-size: 2.2rem;
}

.about-content > p {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;

  font-size: 1.1rem;
  line-height: 1.7;

  color: #dcdcdc;
}


/* =========================
   TEAM
   ========================= */

.team-section {
  margin-top: 45px;
}

.team-section h3 {
  margin-bottom: 35px;

  font-size: 1.8rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 30px;

  max-width: 950px;
  margin: 0 auto 40px;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 160px;
  height: 160px;

  object-fit: cover;

  border-radius: 50%;

  border: 3px solid rgba(255, 255, 255, 0.15);

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.team-member img:hover {
  transform: translateY(-4px) scale(1.03);

  border-color: rgba(255, 255, 255, 0.35);
}

.team-member h4 {
  margin: 15px 0 5px;

  font-size: 1.15rem;
  color: white;
}

.team-member p {
  margin: 0;

  color: #bbbbbb;

  font-size: 0.95rem;
}


/* Play Happy */

.about-content .about-tagline {
  margin-top: 35px;

  font-family: "Mr Dafoe", cursive;
  font-size: 3rem;

  color: rgb(8, 199, 8);

  text-shadow:
    2px 2px 2px rgba(0, 0, 0, 0.8),
    0 0 6px rgba(0, 0, 0, 0.5);
}


/* =========================
   ABOUT DARK SECTION
   ========================= */

.about-dark-section {
  padding: 70px 20px;

  background: #181818;
  color: white;
}

.about-dark-section .main-button {
  margin-top: 20px;
}


/* =========================
   ABOUT VALUES
   ========================= */

.about-values {
  padding: 70px 20px;

  background: #2c2c2c;
  color: white;
}

.about-values h2 {
  margin-top: 0;
  margin-bottom: 40px;

  font-size: 2.2rem;
}

.values-grid {
  max-width: 1000px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 25px;
}

.value-card {
  padding: 30px 25px;

  background: rgba(10, 10, 15, 0.85);

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;

  transition: transform 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-card h3 {
  margin-top: 0;

  font-size: 1.4rem;
}

.value-card p {
  margin-bottom: 0;

  color: #cccccc;

  line-height: 1.6;
}


/* =========================
   ABOUT MOBILE
   ========================= */

@media (max-width: 768px) {

  .about-hero {
    padding: 50px 20px;
  }

  .about-hero h1 {
    font-size: 2rem;
  }

  .about-hero p {
    font-size: 1rem;
  }

  .about-section,
  .about-dark-section,
  .about-values {
    padding: 50px 20px;
  }

  .about-content h2,
  .about-values h2 {
    font-size: 1.8rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 35px 20px;
  }

  .team-member img {
    width: 130px;
    height: 130px;
  }

  .about-content .about-tagline {
    font-size: 2.6rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================
   ABOUT MOBILE
   ========================= */

@media (max-width: 768px) {

  .about-hero {
    padding: 50px 20px;
  }

  .about-hero h1 {
    font-size: 2rem;
  }

  .about-hero p {
    font-size: 1rem;
  }

  .about-section,
  .about-dark-section,
  .about-values {
    padding: 50px 20px;
  }

  .about-content h2,
  .about-values h2 {
    font-size: 1.8rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Very small phones */

@media (max-width: 480px) {

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-member img {
    width: 150px;
    height: 150px;
  }
}


/* =========================
   CONTACT PAGE
   ========================= */

.contact-section {
  padding: 60px 20px;
  color: white;
}

.contact-section h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.contact-intro {
  max-width: 650px;
  margin: 0 auto 30px;

  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-card {
  max-width: 600px;
  margin: 0 auto;

  padding: 40px 30px;

  background: rgba(10, 10, 15, 0.9);

  border-radius: 12px;

  color: white;
}

.contact-card h2 {
  margin-top: 20px;
  margin-bottom: 15px;
}

.contact-block {
  padding: 25px 0;
}

.contact-block:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-block h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.contact-block p {
  max-width: 500px;
  margin: 0 auto 20px;

  color: #dcdcdc;
  line-height: 1.6;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: white;

  font-size: 1.1rem;
  font-weight: 600;

  text-decoration: none;
}

.contact-email:hover {
  text-decoration: underline;
}


/* =========================
   DISCORD CARD
   ========================= */

.discord-section {
  margin: 35px 0;
  padding: 25px;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.discord-section h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.discord-section p {
  max-width: 450px;
  margin: 0 auto 20px;

  color: #dcdcdc;

  line-height: 1.5;
}

.discord-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 22px;

  background: #5865f2;
  color: white;

  text-decoration: none;

  font-size: 1.05rem;
  font-weight: 600;

  border-radius: 8px;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.discord-button i {
  font-size: 1.4rem;
}

.discord-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}


/* =========================
   SOCIAL LINKS
   ========================= */

.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;

  margin-top: 20px;
}

.social-links a {
  color: white;

  font-size: 2rem;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-4px);
  opacity: 0.75;
}


/* =========================
   FOOTER
   ========================= */

footer {
  padding: 40px 20px;

  background: #08080d;

  color: #bbbbbb;

  text-align: center;
}

footer img {
  width: 55px;
  height: auto;

  margin-bottom: 10px;
}

.footer-tagline {
  margin: 5px 0 15px;

  letter-spacing: 2px;
}

footer a {
  color: #dddddd;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.copyright {
  margin-top: 25px;

  font-size: 0.85rem;

  color: #777;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {

  /* Navbar */

  nav {
    padding: 8px 20px;
    flex-wrap: wrap;
  }

  .brand img {
    height: 45px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;

    flex-direction: column;
    align-items: center;

    width: 100%;

    gap: 0;

    padding-top: 10px;
  }

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

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;

    width: 100%;

    padding: 15px 0;

    font-size: 1.1rem;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a::after {
    display: none;
  }


  /* Home */

  .home-hero {
    min-height: 60vh;
    padding: 50px 20px;
  }

  .company-logo {
    max-width: 90%;
  }

  .home-tagline {
    font-size: 1.3rem;
  }

  .home-description {
    font-size: 1rem;
  }

  .featured-game {
    padding: 55px 15px;
  }

  .game-logo {
    max-width: 90%;
    margin-bottom: 30px;
  }

  .game-showcase {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .game-showcase>img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .game-info {
    text-align: center;
  }

  .game-info h2 {
    font-size: 1.6rem;
  }

  .game-buttons {
    justify-content: center;
  }


  /* Game Title */

  .gametitle {
    padding: 40px 15px;
  }

  .gametitle img {
    max-width: 90%;
  }


  /* Screenshots */

  .screenshots-section {
    padding: 55px 15px;
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
  }


  /* Community */

  .community-section {
    padding: 55px 20px;
  }


  /* Contact */

  .contact-section {
    padding: 40px 15px;
  }

  .contact-section h1 {
    font-size: 2rem;
  }

  .contact-card {
    padding: 30px 20px;
  }

  .social-links {
    gap: 20px;
  }

  .social-links a {
    font-size: 1.8rem;
  }
}