/* ========== RESET E ESTILOS GERAIS ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #f27961;
  --primary-hover: #d0454f;
  --bg-transparent: #1d1d1db0;
  --text-color: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.2);
  --transition-speed: 0.3s;
  --border-radius: 5px;
  --blue-accent: #0bafe6;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-image: url('/assets/images/background/bg-site.webp');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
}

/* ========== CAMADAS DE FUNDO ========== */
.character-layer-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/images/bg-site-character2.png');
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: -1;
}

.character-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/images/bg-site-smoke.png');
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: -1;
  transform: translate(0, 0);
}

/* ========== HEADER E NAVEGAÇÃO ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: top var(--transition-speed) ease-in-out;
  z-index: 999;
  overflow: visible;
  display: flex;
  justify-content: center;
}

.hide {
  top: -150px;
}

/* Updated Navbar Styles */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.1em 1.1em;
  border-radius: 20px;
  background-color: rgba(23, 23, 23, 0.698);
  max-width: 800px;
  margin: 1em auto 0;
  position: relative;
  min-height: 60px; /* Ensure consistent height */
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
  width: 100%;
  gap: 20px; /* Equal spacing between items */
}

.nav-menu li {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-menu li a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1em;
  padding: 10px 5px;
  display: block;
  transition: color var(--transition-speed) ease;
}

.nav-menu li a:hover {
  color: var(--primary-color);
}

.nav-logo {
  width: 35px; /* Increased logo size */
  height: 35px; /* Increased logo size */
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1000;
  color: var(--text-color);
  background: transparent;
  border: none;
  padding: 5px;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  position: relative;
  padding-right: 15px !important;
}

.dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 5px;
  vertical-align: middle;
  border-top: 4px solid var(--text-color);
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: transform var(--transition-speed) ease;
}

.dropdown.active .dropdown-toggle::after {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-transparent);
  min-width: 200px;
  border-radius: var(--border-radius);
  padding: 5px 0;
  z-index: 1000;
  box-shadow: 0 8px 16px var(--shadow-color);
  list-style: none;
  animation: fadeIn 0.2s ease;
  backdrop-filter: blur(3px); /* Efeito de blur */
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu li {
  margin: 0;
  width: 100%;
}

.dropdown-menu li a {
  color: var(--text-color);
  padding: 8px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  transition: background-color var(--transition-speed);
}

.dropdown-menu li a:hover {
  background-color: var(--primary-color);
  color: var(--text-color);
}

.dropdown.active .dropdown-menu {
  display: block;
}

.navselect {
  color: var(--text-color);
  font-weight: bold;
  font-size: large;
}

.langselect {
  color: var(--text-color);
  font-weight: bold;
  font-size: small;
}

/* Mobile Styles */
@media (max-width: 768px) {
  nav {
    justify-content: space-between;
    padding: 0.1em 1em; /* Reduced height */
    max-width: 95%;
  }
  
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .nav-menu {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 0;
    transition: max-height 0.3s ease;
    gap: 10px;
  }
  
  .nav-menu.active {
    max-height: 500px;
    padding: 0.5em 0;
  }
  
  .nav-menu li:last-child {
    margin-left: auto;
  }
  
  .nav-menu li a {
    padding: 8px 5px;
    font-size: 0.9em;
  }
  
  .dropdown-menu {
    position: absolute;
    width: auto;
    min-width: 180px;
    box-shadow: 0 8px 16px var(--shadow-color);
    padding: 5px 0;
    background-color: var(--bg-transparent);
    top: 100%;
    left: 0;
  }
  
  .dropdown-menu li a {
    padding: 8px 15px;
  }
}

/* ========== HERO SECTION ========== */
.hero-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 80vh; /* reduzido para evitar rolagem */
  margin: 80px auto 0 auto; /* mais espaço do topo */
  padding: 0 10px;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

.hero-logo {
  max-width: 100%;
  width: 400px;
  height: auto;
  margin-bottom: 20px;
  margin-top: 10px;
}

.hero-content {
  text-align: center;
}

.hero-content h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
}

.hero-content p {
  font-size: 1.5em;
  margin-bottom: 2em;
}

.button-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
}

.btn2 {
  display: inline-block;
  padding: 0.75em 1em;
  background-color: var(--primary-color);
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
  border-radius: var(--border-radius);
  transition: background-color var(--transition-speed) ease, transform 0.2s ease;
  width: 35%;
  max-width: 300px;
  text-align: center;
}

.btn2:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  color: var(--text-color);
}

@media (max-width: 600px) {
  .button-container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 0 12px; /* Espaço lateral para não encostar nas bordas */
    box-sizing: border-box;
  }
  .btn2 {
    width: 100%;
    max-width: 340px;
    min-width: 0;
    margin: 0 auto;
    font-size: 1.1em;
    box-sizing: border-box;
  }
}

/* ========== FOOTER ========== */
footer {
  background-color: var(--bg-transparent);
  text-align: center;
  padding: 1em;
  width: 100%;
  margin-top: auto;
}

footer p {
  margin: 0;
}

.social a {
  color: var(--text-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
  margin: 0 5px;
}

.social a:hover {
  color: var(--primary-color);
}

/* ========== TEAM SECTION ========== */
.team {
  padding: 2em 1em;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
}

.team h1 {
  margin-top: 2%;
  margin-bottom: 1em;
}

.team p {
  max-width: 800px;
  text-align: center;
  margin-bottom: 2em;
}

/* Grid dos cards da equipe */
.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  justify-content: center;
  margin: 2rem auto;
  max-width: 1200px;
  width: 100%;
}

.team-card {
  background-color: rgba(94, 93, 93, 0.404);
  border-radius: 1.2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s, background-color 0.4s;
  height: 100%;
  backdrop-filter: blur(3px); /* Efeito de blur */
  border: 1.5px solid #9999994f;
}

.team-card:hover {
  transform: translateY(-4px);
  background-color: #ffffff;
  border: 1.5px solid #cccccc8e;
}

.team-thumb {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  object-fit: cover;
  
  background: #ffffff00;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.team-card:hover .team-thumb,
.team-thumb.hovered {
  transform: scale(1.1);
}

.team-card-name {
  font-weight: 700;
  color: #ffffff;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 0.5em;
  transition: color 0.4s;
}

.team-card-role {
  color: #d8d6d6;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 600;
  font-weight: bold;
  transition: color 0.4s;
}

.team-card:hover .team-card-name {
  color: #222222;
}

.team-card:hover .team-card-role {
  color: #444444;
}

/* Modal estilos */
.team-modal-bg {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.199);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
  overflow-y: auto;
}

.team-modal-bg.active {
  display: flex;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.team-modal {
  background: #fff;
  border-radius: 1.5rem;
  max-width: 95vw;
  max-height: 90vh;
  width: 700px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  animation: modalContentFadeIn 0.3s ease;
  box-sizing: border-box;
  margin: auto;
  overflow-y: scroll;
}

@keyframes modalContentFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 1.5rem;
  color: #2196f3;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
  padding: 5px;
  line-height: 1;
}

.modal-close:hover {
  color: var(--primary-color);
}

.team-modal-img {
  width: 150px;
  height: 150px;
  border-radius: 16px;
  margin-bottom: 1.2rem;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(33,150,243,0.10);
  transition: transform 0.3s ease;

}

.team-modal-img.hovered {
  transform: scale(1.05);
}

.team-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2196f3;
  margin-bottom: 0.3rem;
  text-align: center;
}

.team-modal-role {
  color: #333;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 600;
}

.team-modal-desc {
  color: #222;
  font-size: 1rem;
  text-align: justify;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.team-modal-skills {
  margin-bottom: 1.5rem;
  width: 100%;
}

.progress-bar-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.8rem;
  width: 100%;
}

.progress-bar {
  width: 100%;
  height: 25px;
  background-color: #5151514c;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  cursor: pointer;
  transition: box-shadow 0.2s, border 0.2s, filter 0.2s;
  border: 2px solid transparent;
}

.progress-bar:hover, .progress-bar:focus {
  box-shadow: 0 0 8px #2196f3cc;
  border: 2px solid #2196f3;
  filter: brightness(1.15);
  outline: none;
}

.progress-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(to right, var(--blue-accent), #2196f3);
  transition: width 1.2s cubic-bezier(.4,2,.6,1);
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  z-index: 1;
  font-size: 1em;
  pointer-events: none;
}

.skill-tooltip {
  display: none;
  width: 100%;
  background: #ffffff;
  color: #000000;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.98em;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  animation: fadeInTooltip 0.2s;
  text-align: center;
  line-height: 1.5;
  border: 2px solid #9e9e9e62;
  z-index: 2;  
}

.team-modal::-webkit-scrollbar {
  width: 10px;
  background: transparent;
  border-radius: 8px;
}
.team-modal::-webkit-scrollbar-thumb {
  background: #2195f39f;
  border-radius: 8px;
}

.skill-tooltip.active {
  display: block;
}

@keyframes fadeInTooltip {
  from { opacity: 0; transform: translateY(10px);}
  to { opacity: 1; transform: translateY(0);}
}

@media (max-width: 600px) {
  .progress-bar {
    height: 22px;
  }
  .skill-tooltip {
    font-size: 0.92em;
    padding: 10px 8px;
  }
}

.team-modal-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 0.5rem;
  width: 100%;
}

.team-modal-social img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  transition: transform 0.2s;
}

.team-modal-social img:hover {
  transform: scale(1.15);
}

/* Novo estilo para cards de jogos */
.games-cards-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  margin: 2rem auto;
  max-width: 1200px;
  width: 100%;
  
}

.game-highlight-card {
  position: relative;
  width: 300px;
  aspect-ratio: 1/1;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(94, 93, 93, 0.404);
  box-shadow: 0 4px 24px rgba(3, 3, 3, 0.342);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  display: flex;
  align-items: flex-end;
}

.game-highlight-card:hover {
  transform: scale(1.04) translateY(-4px);
  background: transparent;
  box-shadow: 0 4px 24px rgba(3, 3, 3, 0.342);
  transform: ease-in-out 0.3s;
}

.game-highlight-thumb {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.game-highlight-card:hover .game-highlight-thumb {
  transform: scale(1.07);
  transition: transform 0.3s;
}

.game-highlight-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.336) 70%, rgba(0,0,0,0.1) 100%);
  padding: 1.1rem 0.7rem 0.7rem 0.7rem;
  z-index: 2;
  border-radius: 0 0 20px 20px;

}

.game-highlight-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0;
  text-align: center  ;
  text-shadow: 0 2px 8px #000a;
}

.game-highlight-card:hover .game-highlight-title {
  color: #ffffff;
  text-shadow: none;
}

@media (max-width: 600px) {
  .games-cards-flex {
    gap: 3rem;
  }
  .game-highlight-card {
    width: 95vw;
    max-width: 300px;
    min-width: 180px;
    aspect-ratio: 1/1;
  }
}



/* Modal igual ao das páginas de jogo */
.game-modal-bg,
#modal-jogos {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(73, 73, 73, 0.438);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.game-modal-bg.active,
#modal-jogos.active,
#modal-jogos[style*="display: block"] {
  display: flex !important;
  animation: modalFadeIn 0.3s ease;
}

.game-modal,
#modal-jogos .modal-content {
  background: #00000000;
  border-radius: 20px;
  max-width: 95vw;
  max-height: 90vh;
  width: 90vw;
  height: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: modalContentFadeIn 0.3s ease;
}

.game-modal-img,
#modal-jogos .modal-image {
  width: 90%;
  max-width: 350px;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  background: transparent;
  display: block;
  margin: 0 auto 1rem auto;
}

@media (max-width: 600px) {
  .game-modal,
  #modal-jogos .modal-content {
    width: 95vw;
    max-width: 98vw;
    padding: 1.2rem 0.5rem;
  }
  .game-modal-img,
  #modal-jogos .modal-image {
    max-width: 90vw;
    width: 100%;
    height: auto;
  }
}

.modal-close,
#modal-jogos .close {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
  padding: 5px;
  line-height: 1;
  text-shadow: 0 2px 8px #000a;
}

.modal-close:hover,
#modal-jogos .close:hover {
  color: var(--primary-color);
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalContentFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}


/* ========== GAMES SECTION ========== */
.game-section {
  padding: 1em;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 2em;
}

.games-cloud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  justify-content: center;
  margin: 2rem auto;
  max-width: 1200px;
  width: 100%;
}

.game-cloud-card {
  background-color: rgba(94, 93, 93, 0.404);
  border-radius: 1.2rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1.5px solid #9999994f;
}

.game-cloud-card:hover {
  transform: translateY(-4px);
 background-color: #ffffff;
  transition: transform 0.5s ease;
  border: 1.5px solid #cccccc8e;
}

.cloud-shape {
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.game-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.game-cloud-card:hover .game-thumb {
  transform: scale(1.05);
}

.game-title {
  font-weight: 700;
  color: var(--text-color);
  font-size: 1.3rem;
  text-align: center;
  margin-top: 0.5rem;
}

.game-cloud-card:hover .game-title {
  color: #222222;
}

/* Game Modal */
.game-modal-bg {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.199);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.game-modal-bg.active {
  display: flex;
  animation: modalFadeIn 0.5s ease;
}

.game-modal {
  background: rgb(255, 255, 255);
  border-radius: 1.5rem;
  max-width: 95vw;
  max-height: 90vh;
  width: 600px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  
  animation: modalContentFadeIn 0.3s ease;
}

.game-modal-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1.5rem;

  cursor: pointer;
  transition: transform 0.3s ease;
}

.game-modal-img.zoom {
  transform: scale(1);
  cursor: grab;
}



.game-modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1rem;
  text-align: center;
}

.game-modal-desc {
  color: #000;
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.6;
}

/* ========== CONTACT SECTION ========== */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 25px auto;
  background-color: rgba(102, 102, 102, 0.3);
  padding: 2em;
  border-radius: 20px;
  max-width: 900px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 3em;
  backdrop-filter: blur(10px);
  border: 1.5px solid #9999994f;
}

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

.social-icon {
  width: 50px;
  height: 50px;
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.15);
  cursor: pointer;
}

.social-icon-hover {
  transition: transform 0.2s ease;
}

/* ========== UTILITY CLASSES ========== */
.empty-space {
  margin-top: 80px;
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 480px) {
  .hero-logo {
    width: 80%;
  }

  .hero-content h1 {
    font-size: 2em;
  }

  .hero-content p {
    font-size: 1.2em;
  }

  .team-cards-grid, .games-cloud-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
  }

  .team-modal-img {
    width: 150px;
    
  }

 .game-modal-img {
    width: 600px;
  }

  .team-modal-title, .game-modal-title {
    font-size: 1.3rem;
  }

  .team-modal-desc, .game-modal-desc {
    font-size: 0.9rem;
  }

  .social-icon, .social-icon-hover {
    width: 40px;
    height: 40px;
  }
}

.redes-sociais {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.botao-rede {
  position: relative;
  width: 24px;
  height: 24px;
  margin: 0 10px;
  transition: transform 0.2s ease-in-out;
}

.icone-rede {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.2s ease-in-out;
}

.icone-rede-padrao {
  opacity: 1;
}

.icone-rede-hover {
  opacity: 0;
}

.botao-rede:hover {
  transform: scale(1.1);
}

.botao-rede:hover .icone-rede-padrao {
  opacity: 0;
}

.botao-rede:hover .icone-rede-hover {
  opacity: 1;
}

/* Responsividade */
@media (max-width: 768px) {
  .redes-sociais {
    flex-wrap: nowrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .redes-sociais {
    flex-wrap: nowrap;
    justify-content: center;
  }
}

.game-container {
  position: relative;
  margin-top: 20px;
  margin-bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  border-radius: 20px;
  max-width: 500px;
}

.game {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

.game:hover {
  transform: scale(1.1);
}

.texto-sobrepondo {
  position: absolute;
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.titulo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.descricao {
  font-size: 18px;
  font-weight: normal;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* adicionado estilo de fundo transparente */
  backdrop-filter: blur(5px);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background-color: #00000000; /* estilo de fundo branco para o conteúdo do modal */
  border-radius: 10px;
  padding: 20px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* adicionado media query para dispositivos móveis */
@media only screen and (max-width: 768px) {
  .game-container {
    width: 90vw; /* largura da imagem agora é 90% da largura da tela */
  }
}

@media (min-width: 1200px) {
    .h2, h2 {
        font-size: 2rem;
        text-align: center;
    }
}

.h2, h2 {
    font-size: calc(1.325rem + .9vw);
    text-align: center;
}