@charset "utf-8";

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding-top: 200px;
  color: #E0EDF7;
  background-image: url('rune_background.png');
  background-repeat: repeat;
  background-size: 250px auto;
  background-color: #1A1C1F;
}

.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 120px;
  background-color: rgba(44, 47, 51, 0.9);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.navbar-logo img {
  height: 80px;
  width: auto;
  display: block;
}

.navbar-links {
  display: flex;
  gap: 24px;
  font-size: 1.1rem;
}

.navbar-links a {
  padding: 8px 12px;
  background-color: #3C3F45;
  color: #E0EDF7;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.navbar-links a:hover {
  background-color: #A3CBEF;
  color: #1A1C1F;
  box-shadow: 0 0 5px #A3CBEF;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.btn-cta {
  background-color: #5865F2;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 48px;
  transition: background 0.3s;
}

.btn-cta:hover {
  background-color: #4752C4;
}

.engine-tag {
  display: inline-block;
  background-color: #478CBF;
  padding: 8px;
  border-radius: 8px;
  margin-top: 10px;
  position: relative;
}

.game-title {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.icon-godot {
  height: 20px;
  width: 20px;
  display: block;
}

.tooltip-container {
  position: relative;
  display: inline-block;
}


.tooltip-text {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(44, 47, 51, 0.80);
  backdrop-filter: blur(1.8px);
  color: #E0EDF7;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.tooltip-container:hover .tooltip-text {
  opacity: 1;
}

.engine-tag:hover .tooltip-text {
  opacity: 1;
}

.hero,
.gods {
  background-color: rgba(26, 28, 31, 0.90);
  padding: 50px 20px;
  text-align: center;
  border-radius: 12px;
  backdrop-filter: blur(1.8px);
}

.legend {
  background-color: rgba(44, 47, 51, 0.90);
  padding: 50px 20px;
  text-align: center;
  border-radius: 12px;
  backdrop-filter: blur(1.8px);
}

.logo {
  width: 200px;
  margin-bottom: 20px;
}

.cta {
  background-color: #A3CBEF;
  color: #1A1C1F;
  padding: 10px 20px;
  border: none;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  display: inline-block;
  margin-top: 20px;
}

.cta:hover {
  background-color: #D9CBA3;
}

footer {
  background-color: rgba(44, 47, 51, 0.90);
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: #E0EDF7;
}

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

footer a:hover {
  color: #D9CBA3;
  text-decoration: underline;
}

.games-list {
  background-color: rgba(26, 28, 31, 0.90);
  padding: 50px 20px;
  text-align: center;
  border-radius: 12px;
  backdrop-filter: blur(1.8px);
}

.game-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  background-color: #2C2F33;
  padding: 20px;
  margin: 40px auto;
  max-width: 550px;
  border-radius: 10px;
  box-shadow: 0 0 10px #000;
}

.game-card.show {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease-out forwards;
}

.game-card h2 {
  margin-bottom: 10px;
}

.game-card p {
  margin: 10px 0;
}

.game-card a {
  color: #A3CBEF;
  text-decoration: none;
}

.game-card a:hover {
  color: #D9CBA3;
  text-decoration: underline;
}

.valerune-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
}

.contact-form {
  background-color: rgba(26, 28, 31, 0.90);
  padding: 50px 20px;
  text-align: center;
  border-radius: 12px;
  backdrop-filter: blur(1.8px);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 15px;
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: none;
  font-size: 16px;
}

.contact-form button {
  background-color: #A3CBEF;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #D9CBA3;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
}

.menu-icon img {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  max-width: 425px;
  border-radius: 10px;
  box-shadow: 0 0 10px #000;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.10);
}

.trailer-video {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  max-width: 900px;
  width: 100%;
  margin: 20px auto;
  display: block;
}

dl {
  margin-top: 20px;
}

dt {
  font-weight: bold;
  margin-top: 15px;
  font-size: 1.1rem;
  color: #A3CBEF;
}

dd {
  margin-left: 20px;
  margin-bottom: 10px;
  color: #E0EDF7;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dev-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  background-color: rgba(44, 47, 51, 0.9);
  margin: 30px auto;
  padding: 20px;
  max-width: 700px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  text-align: left;
}

.dev-card.show {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease-out forwards;
}
