@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: white;
  line-height: 1.5;
}

:root {
  --color-white: white;

  --color-background: #121314;

  --color-text-paragraphos: #e5e7eb;

  --color-primary: #f85b12;

  --color-card: #793d3d;

  --padding-standard: 2rem;

  --font-size-titles: 3.75rem;

  --font-size-paragraphos: 1rem;
}

/* ===== SCROLLBAR QUADRADA - CILINDRO RETO 3D ===== */

::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
  border-radius: 0 !important;
  box-shadow:
    inset 0 0 10px rgba(0, 0, 0, 0.9),
    inset 2px 2px 5px rgba(0, 0, 0, 0.7),
    inset -1px -1px 3px rgba(60, 60, 60, 0.3);
  border: none;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    #ff9a7a 0%,
    #ff7040 15%,
    #e85020 50%,
    #ff7040 85%,
    #ff9a7a 100%
  );

  border-radius: 0 !important;

  box-shadow:
    inset 0 -4px 6px rgba(0, 0, 0, 0.5),
    inset 0 4px 6px rgba(255, 255, 255, 0.3),
    inset -3px 0 6px rgba(0, 0, 0, 0.3),
    inset 3px 0 6px rgba(0, 0, 0, 0.15),
    0 3px 8px rgba(0, 0, 0, 0.6);

  border-left: 2px solid rgba(255, 200, 180, 0.3);
  border-right: 2px solid rgba(30, 30, 30, 0.5);
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(0, 0, 0, 0.6);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    #ffb09a 0%,
    #ff8860 15%,
    #ff6030 50%,
    #ff8860 85%,
    #ffb09a 100%
  );

  box-shadow:
    inset 0 -5px 8px rgba(0, 0, 0, 0.5),
    inset 0 5px 8px rgba(255, 255, 255, 0.35),
    inset -3px 0 8px rgba(0, 0, 0, 0.3),
    inset 3px 0 8px rgba(0, 0, 0, 0.15),
    0 4px 10px rgba(0, 0, 0, 0.7),
    0 0 15px rgba(255, 100, 50, 0.5);

  border-left: 2px solid rgba(255, 220, 200, 0.4);
  border-top: 2px solid rgba(255, 255, 255, 0.3);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #e05020 0%, #c04018 50%, #e05020 100%);

  box-shadow:
    inset 0 6px 10px rgba(0, 0, 0, 0.7),
    inset 0 -2px 4px rgba(255, 255, 255, 0.15),
    inset -4px 0 8px rgba(0, 0, 0, 0.4),
    inset 4px 0 8px rgba(0, 0, 0, 0.2);

  border-top: 2px solid rgba(0, 0, 0, 0.4);
  border-left: 2px solid rgba(0, 0, 0, 0.3);
  border-right: 2px solid rgba(0, 0, 0, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:horizontal {
  background: linear-gradient(
    90deg,
    #ff9a7a 0%,
    #ff7040 15%,
    #e85020 50%,
    #ff7040 85%,
    #ff9a7a 100%
  );

  border-left: 2px solid rgba(255, 255, 255, 0.2);
  border-right: 2px solid rgba(0, 0, 0, 0.6);
  border-top: 2px solid rgba(255, 200, 180, 0.3);
  border-bottom: 2px solid rgba(30, 30, 30, 0.5);
}

::-webkit-scrollbar-corner {
  background: #0a0a0a;
  border-radius: 0 !important;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.9);
}

::-webkit-scrollbar-track-piece {
  border-radius: 0 !important;
}

::-webkit-scrollbar-button {
  background: #151515;
  border-radius: 0 !important;
  box-shadow:
    inset 0 0 6px rgba(0, 0, 0, 0.8),
    inset 1px 1px 2px rgba(255, 255, 255, 0.05);
  border: 1px solid #0a0a0a;
}

.uppercase {
  text-transform: uppercase;
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(5px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  background: transparent;
  width: 0%;
  max-width: 1200px;
  animation: modalIn 0.3s ease;
}

button {
  cursor: pointer;
  padding: 1rem 2rem;

  /* Fundo igual ao scrollbar-thumb */
  background: linear-gradient(
    180deg,
    #ff9a7a 0%,
    #ff7040 15%,
    #e85020 50%,
    #ff7040 85%,
    #ff9a7a 100%
  );

  border: none;

  /* Bordas 3D */
  border-left: 2px solid rgba(255, 200, 180, 0.3);
  border-right: 2px solid rgba(30, 30, 30, 0.5);
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(0, 0, 0, 0.6);

  /* Sombras 3D */
  box-shadow:
    inset 0 -4px 6px rgba(0, 0, 0, 0.5),
    inset 0 4px 6px rgba(255, 255, 255, 0.3),
    inset -3px 0 6px rgba(0, 0, 0, 0.3),
    inset 3px 0 6px rgba(0, 0, 0, 0.15),
    0 3px 8px rgba(0, 0, 0, 0.6);

  color: white;
  font-weight: bold;
  font-size: 12pt;
  border-radius: 0 !important;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  transition: all 0.2s ease;
}

@keyframes modalIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.close-btn {
  position: absolute;
  right: -40px;
  top: -50px;
  color: white;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition:
    transform 0.3s,
    color 0.3s;
}

.close-btn:hover {
  color: var(--color-primary);
  transform: rotate(90deg);
}

/* ===== MINI PLAYERS ===== */
.video-mini iframe {
  width: 300px;
  height: 200px;
  border-radius: 8px;
  pointer-events: none; /* ✅ Importante! */
}

.video-preview {
  cursor: pointer;
  transition: transform 0.3s;
}

.video-preview:hover {
  transform: scale(1.05);
}

.videos-youtube {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(5px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  background: transparent;
  width: 90%;
  max-width: 1200px;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.close-btn {
  position: absolute;
  right: -40px;
  top: -50px;
  color: white;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition:
    transform 0.3s,
    color 0.3s;
}

.close-btn:hover {
  color: var(--color-primary);
  transform: rotate(90deg);
}

/* ===== MINI PLAYERS ===== */
.video-mini iframe {
  width: 300px;
  height: 200px;
  border-radius: 8px;
  pointer-events: none; /* ✅ Importante! */
}

.video-preview {
  cursor: pointer;
  transition: transform 0.3s;
}

.video-preview:hover {
  transform: scale(1.05);
}

.videos-youtube {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(5px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes modalIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.close-btn {
  position: absolute;
  right: -40px;
  top: -50px;
  color: white;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition:
    transform 0.3s,
    color 0.3s;
}

.close-btn:hover {
  color: var(--color-primary);
  transform: rotate(90deg);
}

/* ===== MINI PLAYERS ===== */
.video-mini iframe {
  width: 300px;
  height: 200px;
  border-radius: 8px;
  pointer-events: none; /* ✅ Importante! */
}

.video-preview {
  cursor: pointer;
  transition: transform 0.3s;
}

.video-preview:hover {
  transform: scale(1.05);
}

.videos-youtube {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
/**/

button {
  cursor: pointer;
  padding: 1rem;
  background-color: var(--color-primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12pt;
}

a {
  color: var(--color-white);
}

a svg {
  width: 10px;
}

h1 {
  color: #f85b12;
  font-weight: 600;
  text-align: center;
  font-size: 40pt;
  letter-spacing: -0.05em;
  font-weight: 900;
  margin-bottom: 24px;
  text-align: center;
}
h4 {
  font-weight: 900;
  font-size: 14pt;
}

p {
  font-family: "Inter", sans-serif;
  font-size: var(--font-size-paragraphos);
  color: var(--color-text-paragraphos);
  margin-bottom: 24px;
  font-weight: 300;
}

img {
  width: 100%;
}
html {
  overflow-x: hidden;
}

body,
html {
  width: 100%;
  background-color: var(--color-background);
}

body {
  background: #121314;
  position: relative;
  background-image: url(../img/background.png);
  background-repeat: repeat;
  background-size: 10px;
  width: 100%;
}

iframe {
  pointer-events: none;
}

.main {
  max-width: 1500px;
  width: 100%;
  margin: auto;
  padding: var(--padding-standard) !important;
  display: flex;

  flex-direction: column;
}

.main #estudio-title {
  text-align: start;
}

.hero {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 600px;

  background-image: url("../assets/images/hero.gif");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;

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

.hero #menu-ham {
  width: auto;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero #menu-ham .hamburger-label {
  display: none;
  height: 20px;
  flex-direction: column;
  width: 25px;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  right: 0;
  cursor: pointer;
}

.menu-toggle:checked ~ #menu {
  right: 0;
}

.hero #menu-ham .line {
  width: 100%;
  background-color: white;
  height: 2px;
}

.hero .navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.7);
  padding-right: 1rem;
  padding-left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.hero .navbar .content {
  max-width: 1500px;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.hero .navbar ol {
  display: flex;
  gap: 50px;
}

.hero .navbar ol li {
  cursor: pointer;
}

#batalhasinsanas {
  position: relative;
  z-index: 0; /* ou remova o z-index */
}

#batalhasinsanas::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background-color: #0f0d0e;
  background-image:
    linear-gradient(135deg, rgba(248, 91, 18, 0.25) 0%, transparent 55%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(248, 91, 18, 0.06) 10px,
      rgba(248, 91, 18, 0.06) 11px
    );
  z-index: -1; /* ← MUDE PARA -1 */
  pointer-events: none;
}

/* Garantir que o conteúdo tenha z-index maior */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: transparent;
  margin: auto;
  width: 100%;
  max-width: 1200px;
  animation: modalIn 0.3s ease;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.close-btn {
  position: absolute;
  right: -40px;
  top: -50px;
  color: white;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.close-btn:hover {
  color: #ccc;
}

.video-mini iframe {
  width: 300px;
  height: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-preview {
  cursor: pointer;
  text-align: center;
}

.videos-youtube {
  display: flex;
  gap: 1rem;
}

.hero .hero-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0 60px 0px;
}

.hero .hero-content .add-steam #icon-steam {
  background-color: none;
  width: 40px;
}

.hero .logo img {
  height: 40px;
  width: auto;
  cursor: pointer;
}

.main .flex-row {
  gap: 4rem;
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: center;
}

.main .flex-row .description {
  max-width: 500px;
}

.main #modosdejogo {
  position: relative;
  z-index: 0;
}

.main #modosdejogo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-image: url("../assets/images/modos.png"); /* TROQUE PELA SUA IMAGEM */
  background-size: cover;
  background-position: center;
  width: 100vw;
  height: 100%; /* altura do degrade */
  pointer-events: none;
  z-index: -1;
}

.main #modosdejogo .titleSection h1 {
  color: white;
}

.main .flex {
  display: flex;
  gap: 64px;
  flex-direction: column;
  padding: 6rem 0rem 6rem 0rem;
}

.main .flex-wrapper {
  display: flex;
  flex-direction: column;
  align-items: space-between;
  height: 100%;
}

.main .flex-wrapper #play {
  width: 100%;
}

#bemvindo-info .titleSection h1 {
  text-align: left;
}

/* Container da grid de stats */
#stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

/* Cards individuais */
.stat-card {
  background: linear-gradient(
    135deg,
    rgba(20, 20, 30, 0.9),
    rgba(30, 30, 50, 0.9)
  );
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  letter-spacing: 2px;
}

/* Descrições */
.stat-description {
  font-size: 0.85rem;
  font-weight: 600;
  color: #c0c0c0;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  line-height: 1.4;
}

.main .card {
  background-color: var(--color-background);
  border: 1px solid #1a1a1a;
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main #content-card {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
}

.main .icon-description,
.main .icon-description > img {
  max-width: 150px;
}

.main .sobre__img img {
  max-width: 600px;
}

.main .card-modo-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(305px, 1fr));
  gap: 1rem;
  margin: 0 auto;
}

.main .card-midia-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(305px, 1fr));
  gap: 1rem;
  margin: 0 auto;
}

.main .card-modo,
.card-midia {
  background-color: var(--color-background);
  border: 1px solid #1a1a1a;
  width: 100%;
  padding: 1rem;
}

#noticias .noticias-grid {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

#noticias .noticias-grid .card-noticia {
  background-color: var(--color-background);
  border: 1px solid rgb(26, 26, 26);
  width: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer {
  max-width: 1500px;
  width: 100%;
  margin: auto;
  padding: var(--padding-standard) !important;
  display: flex;
  flex-direction: column;
}

.footer-content {
  display: flex;
  flex-direction: column;
}

.footer-logo {
}

.footer .unordered-list-footer li {
  display: flex;
  flex-direction: column;
}

.footer .footer-main {
  display: flex;
  justify-content: space-between;
}

.footer .social-icons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.footer .social-icons .social-icon {
  width: 30px;
}

footer .copy {
  text-align: center;
}

.main {
  padding: 0rem 5% 0px;
}

@media (max-width: 1100px) {
  .main .card-midia-container {
    grid-template-columns: repeat(2, minmax(305px, 1fr));
  }
}

@media (max-width: 700px) {
  .main .card-modo-container {
    grid-template-columns: 1fr;
  }

  .main .card-midia-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .hero #menu-ham .hamburger-label {
    display: flex;
  }

  .flex-row {
    flex-wrap: wrap;
  }

  #noticias .noticias-grid {
    flex-wrap: wrap;
  }

  .main #content-card {
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .hero #menu {
    position: fixed;
    background-color: rgba(00, 00, 00, 0.7);
    top: 50px;
    right: -100%;
    height: 100vh;
    width: 100%;
    transition: all 0.5s ease-in-out;
  }

  .hero #menu ol {
    display: flex;
    padding-top: 2rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero #menu {
    position: fixed;
    background-color: rgba(00, 00, 00, 0.7);
    top: 50px;
    right: -100%;
    height: 100vh;
    width: 400px;
    transition: all 0.5s ease-in-out;
  }

  .hero #menu ol {
    display: flex;
    padding-top: 2rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
