/* fonts */
@font-face {
  font-family: "Lilita One";
  src: url("assets/fonts/LilitaOne-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/OpenSans-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --navy: #16163f;
  --navy-soft: #22225c;
  --orange: #ff8a1f;
  --red: #ff5a5a;
  --blue: #36a9e1;
  --yellow: #ffd23f;
  --green: #5bbf5b;
  --purple: #a855f7;
  --itch: #fa5c5c;
  --text: #f4f4ff;
  --radius: 26px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lilita One", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 0%, var(--navy-soft), var(--navy) 60%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.5;
  letter-spacing: 0.3px;
}

h2, h3 {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
}

/* floating top menu */
.navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(94%, 1040px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  background: rgba(34, 34, 92, 0.7);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 1.1rem;
}

.brand img {
  width: 38px;
  height: 38px;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  background: var(--purple);
  transform: translateY(-2px);
}

/* sections */
.section {
  max-width: 980px;
  margin: 0 auto;
  padding: 60px 22px;
  scroll-margin-top: 110px;
}

#quienes-somos {
  padding-top: 150px;
}

.section-title {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  text-align: center;
  margin-bottom: 34px;
  color: var(--yellow);
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
}

/* who we are */
.about-card {
  display: flex;
  align-items: center;
  gap: 34px;
  background: var(--navy-soft);
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 14px 0 rgba(0, 0, 0, 0.25);
}

.about-logo {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
}

.about-text p {
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.about-text strong {
  color: var(--orange);
}

/* linkedin button with hover */
.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 10px 20px 10px 12px;
  background: var(--blue);
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-size: 1.05rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.linkedin-btn img {
  width: 34px;
  height: 34px;
}

.linkedin-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 22px rgba(54, 169, 225, 0.5);
  filter: brightness(1.1);
}

/* games */
.game-card {
  display: flex;
  flex-direction: column;
  background: var(--navy-soft);
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 0 rgba(0, 0, 0, 0.25);
}

.game-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  /* game artwork as background */
  background: url("assets/img/bg-hallOfEgress.png") center / cover no-repeat;
}

.game-logo {
  width: min(80%, 460px);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45));
}

.game-info {
  padding: 30px 34px 36px;
}

.game-name {
  font-size: 2rem;
  color: var(--purple);
  margin-bottom: 10px;
}

.game-info p {
  font-size: 1.1rem;
  margin-bottom: 22px;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 64px;
  padding: 0 26px;
  border-radius: 18px;
}

/* itch button with hover */
.store-btn.itch {
  background: var(--itch);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.store-btn.itch img {
  height: 30px;
}

.store-btn.itch:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 24px rgba(250, 92, 92, 0.5);
  filter: brightness(1.08);
}

/* play store button disabled */
.store-btn.play {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
  filter: grayscale(0.6);
  opacity: 0.65;
}

.store-btn.play img {
  height: 34px;
}

.coming-soon {
  font-size: 0.95rem;
  color: var(--yellow);
}

/* footer */
.footer {
  text-align: center;
  padding: 50px 20px 40px;
  opacity: 0.85;
}

.footer img {
  width: 90px;
  height: 90px;
  margin-bottom: 8px;
}

.footer p {
  font-size: 0.95rem;
}

/* responsive */
@media (max-width: 720px) {
  .nav-links a {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  .brand span {
    display: none;
  }
  .about-card {
    flex-direction: column;
    text-align: center;
  }
}
