/* =============================
   DOMINIUM STUDIOS
   Visual baseado na referência
   ============================= */

:root {
  --bg: #050505;
  --panel: #0b0b0b;
  --panel-soft: #101010;
  --text: #f4f4f4;
  --muted: #a4a4a4;
  --line: #242424;
  --red: #ff1d25;
  --red-soft: rgba(255, 29, 37, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

button {
  font: inherit;
}

.container {
  width: min(1440px, calc(100% - 80px));
  margin-inline: auto;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 2, 2, 0.96);
  border-bottom: 1px solid #151515;
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 5px;
}

.brand span {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.7px;
}

.nav {
  display: flex;
  align-items: stretch;
  gap: 52px;
  height: 100%;
}

.nav a {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #d7d7d7;
  transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--red);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  margin: auto;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: 0.25s ease;
}

.nav a.active::after,
.nav a:hover::after {
  width: 100%;
}

.contact-button {
  justify-self: end;
  padding: 14px 22px;
  border: 1px solid var(--red);
  border-radius: 7px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  transition: 0.25s ease;
}

.contact-button:hover {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 28px rgba(255, 29, 37, 0.16);
}

.menu-toggle {
  display: none;
}

/* HERO */

.hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #070707;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("assets/banner.png") center 48% / cover no-repeat;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.94) 0%,
      rgba(0, 0, 0, 0.78) 27%,
      rgba(0, 0, 0, 0.3) 56%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.96) 0%,
      rgba(0, 0, 0, 0.15) 31%,
      rgba(0, 0, 0, 0.08) 70%,
      rgba(0, 0, 0, 0.22) 100%
    );
}

.hero-content {
  padding: 62px 0 54px;
}

.eyebrow,
.section-label {
  color: var(--red);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.hero h1 {
  margin-top: 10px;
  max-width: 720px;
  font-size: clamp(52px, 6vw, 82px);
  line-height: 0.97;
  font-weight: 900;
  letter-spacing: -3px;
  text-shadow: 0 8px 35px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  margin-top: 14px;
  font-size: 17px;
  color: #efefef;
}

.outline-button {
  margin-top: 24px;
  width: max-content;
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 27px;
  border: 1px solid var(--red);
  border-radius: 7px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  transition: 0.25s ease;
}

.outline-button span {
  font-size: 28px;
  line-height: 1;
}

.outline-button:hover {
  background: var(--red);
  color: white;
  transform: translateY(-2px);
}

/* ABOUT */

.about {
  padding: 62px 0;
  background: #070707;
  border-bottom: 1px solid #171717;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about h2 {
  margin-top: 9px;
  font-size: clamp(30px, 3vw, 45px);
  line-height: 1.05;
  letter-spacing: -1.6px;
}

.about-inner > p {
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* GAME */

.game {
  padding: 42px 0 50px;
  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(255, 29, 37, 0.035),
      transparent 35%
    ),
    #050505;
}

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

.game-title p {
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.game-title h2 {
  margin-top: 8px;
  font-size: clamp(32px, 3vw, 44px);
  letter-spacing: -1.5px;
}

.game-title span {
  display: block;
  margin: 12px auto 0;
  width: 78px;
  height: 2px;
  background: var(--red);
}

.game-grid {
  max-width: 1080px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  align-items: center;
  gap: 36px;
}

.game-card {
  min-height: 210px;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px 34px;
  border: 1px solid var(--red);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent 45%),
    #090909;
  box-shadow: inset 0 0 35px rgba(255, 29, 37, 0.025);
}

.game-logo-box {
  width: 178px;
  height: 145px;
  display: grid;
  place-items: center;
  border: 2px dashed var(--red);
}

.logo-placeholder {
  width: 66px;
  height: 66px;
}

.logo-placeholder svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--red);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.truco-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.hidden {
  display: none !important;
}

.game-description h3 {
  color: var(--red);
  font-size: 17px;
  font-weight: 800;
}

.game-description p {
  margin-top: 13px;
  max-width: 350px;
  color: #d6d6d6;
  font-size: 15px;
  line-height: 1.7;
}

.features {
  padding-left: 36px;
  border-left: 1px solid #2a2a2a;
}

.feature {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  color: #f1f1f1;
  font-size: 15px;
}

.feature svg {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* FOOTER */

.footer {
  margin-top: auto;
  background: linear-gradient(180deg, #0d0d0d, #090909);
  border-top: 1px solid #222;
}

.footer-grid {
  min-height: 145px;
  padding: 28px 0 25px;
  display: grid;
  grid-template-columns: 1.45fr 0.75fr 1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.footer h4 {
  margin-bottom: 11px;
  font-size: 12px;
  color: #f0f0f0;
  font-weight: 700;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 4px;
}

.footer-brand h3 {
  font-size: 20px;
  letter-spacing: -0.6px;
}

.footer-brand p {
  margin-top: 8px;
  color: #aeaeae;
  font-size: 12px;
  line-height: 1.65;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav a {
  margin-bottom: 5px;
  color: #b9b9b9;
  font-size: 12px;
  transition: 0.2s;
}

.footer-nav a:first-of-type,
.footer-nav a:hover {
  color: var(--red);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a9a9a9;
  font-size: 12px;
}

.footer-contact svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #c8c8c8;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links {
  display: flex;
  gap: 28px;
}

.social-links a {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border: 1px solid var(--red);
  border-radius: 7px;
  color: var(--red);
  transition: 0.25s ease;
}

.social-links a:hover {
  background: var(--red);
  color: #050505;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 29, 37, 0.15);
}

.social-links svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links .icon-cut {
  fill: #080808;
  stroke: #080808;
}

.social-links a:hover .icon-cut {
  fill: var(--red);
  stroke: var(--red);
}

.copyright {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #171717;
  color: #777;
  font-size: 11px;
}

/* RESPONSIVO */

@media (max-width: 1080px) {
  .container {
    width: min(100% - 42px, 1440px);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav {
    position: absolute;
    top: 92px;
    left: 0;
    width: 100%;
    height: auto;
    padding: 22px;
    display: none;
    flex-direction: column;
    gap: 18px;
    background: rgba(5, 5, 5, 0.98);
    border-bottom: 1px solid #222;
  }

  .nav.open {
    display: flex;
  }

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

  .contact-button {
    display: none;
  }

  .menu-toggle {
    justify-self: end;
    width: 38px;
    height: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: 0;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 100%;
    height: 2px;
    background: white;
    transition: 0.2s;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .game-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .features {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid #2a2a2a;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 680px) {
  .container {
    width: calc(100% - 30px);
  }

  .header-inner {
    height: 76px;
  }

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

  .brand span {
    font-size: 16px;
  }

  .nav {
    top: 76px;
  }

  .hero {
    min-height: 450px;
  }

  .hero-image {
    background-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.45)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent 55%);
  }

  .hero-content {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 50px;
    letter-spacing: -2px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .game-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 28px 22px;
  }

  .game-description p {
    max-width: 420px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .social-links {
    gap: 14px;
  }
}

/* Ajustes da logo do Truco */
.game-logo-box {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}
.truco-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  background: #fff;
}
.brand img,
.footer-brand img {
  object-fit: cover;
}

/* ====================================
   LOGOS OFICIAIS + SELETOR DE IDIOMAS
   ==================================== */

.brand img,
.footer-brand img {
  object-fit: contain !important;
  background: transparent !important;
  border-radius: 0 !important;
}

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

.footer-brand img {
  width: 66px;
  height: 66px;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 13px;
}

.language-box {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px 0 11px;
  border: 1px solid #323232;
  border-radius: 7px;
  background: #090909;
  transition: 0.2s ease;
}

.language-box:hover,
.language-box:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 20px rgba(255, 29, 37, 0.08);
}

.language-box svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-box select {
  min-width: 65px;
  border: 0;
  outline: 0;
  background: #090909;
  color: #eeeeee;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.language-box option {
  background: #0a0a0a;
  color: #ffffff;
}

.game-logo-box {
  width: 250px !important;
  height: 175px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.truco-logo {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  object-fit: contain !important;
  background: transparent !important;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
}

.game-card {
  grid-template-columns: 270px 1fr;
}

.game-description h3 {
  font-size: 20px;
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .menu-toggle {
    display: flex;
  }

  .contact-button {
    display: none;
  }
}

@media (max-width: 680px) {
  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand span {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .language-box {
    height: 38px;
    padding: 0 7px;
  }

  .language-box select {
    min-width: 55px;
    font-size: 10px;
  }

  .game-logo-box {
    width: min(100%, 320px) !important;
    height: 200px !important;
  }

  .game-card {
    grid-template-columns: 1fr;
  }
}

/* ====================================
   REDES SOCIAIS — ÍCONES CORRIGIDOS
   ==================================== */

.social-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.social-links a {
  width: 50px !important;
  height: 50px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid var(--red) !important;
  border-radius: 8px !important;
  background: rgba(255, 29, 37, 0.035) !important;
  color: var(--red) !important;
  transition: 0.25s ease;
}

.social-links a:hover {
  background: var(--red) !important;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 9px 22px rgba(255, 29, 37, 0.16);
}

.social-links .social-icon {
  width: 24px !important;
  height: 24px !important;
}

.social-links .fill-icon {
  fill: currentColor !important;
  stroke: none !important;
}

.social-links .instagram-icon rect,
.social-links .instagram-icon circle {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
}

.social-links .youtube-play {
  fill: #050505 !important;
  stroke: none !important;
}

.social-links a:hover .youtube-play {
  fill: #ffffff !important;
}

/* contato atualizado */
.footer-contact a {
  word-break: break-word;
}

/* ====================================
   BLOCO DE MISTÉRIO / EM BREVE
   ==================================== */

.mystery-game {
  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(255, 29, 37, 0.04),
      transparent 35%
    ),
    #050505;
}

.mystery-card {
  max-width: 1080px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 34px;
  align-items: stretch;
}

.mystery-blur {
  position: relative;
  min-height: 270px;
  padding: 38px 36px;
  border: 1px solid var(--red);
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 29, 37, 0.03)),
    rgba(9, 9, 9, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 50px rgba(255, 29, 37, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mystery-blur::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 29, 37, 0.16),
      transparent 24%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 255, 255, 0.06),
      transparent 20%
    ),
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.04),
      transparent 40%,
      rgba(255, 29, 37, 0.05)
    );
  filter: blur(20px);
  opacity: 0.95;
  z-index: 0;
}

.mystery-badge,
.mystery-blur h3,
.mystery-blur p {
  position: relative;
  z-index: 1;
}

.mystery-badge {
  width: max-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 29, 37, 0.55);
  border-radius: 999px;
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  background: rgba(255, 29, 37, 0.08);
}

.mystery-blur h3 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -1.2px;
  max-width: 520px;
}

.mystery-blur p {
  margin-top: 15px;
  max-width: 540px;
  color: #d3d3d3;
  font-size: 15px;
  line-height: 1.75;
}

.mystery-glow {
  position: absolute;
  width: 230px;
  height: 230px;
  right: -40px;
  bottom: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 29, 37, 0.28), transparent 65%);
  filter: blur(24px);
  pointer-events: none;
}

.mystery-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding-left: 32px;
  border-left: 1px solid #2a2a2a;
}

.mystery-side .feature {
  min-height: 56px;
}

@media (max-width: 1080px) {
  .mystery-card {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .mystery-side {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid #2a2a2a;
  }
}

@media (max-width: 680px) {
  .mystery-blur {
    min-height: 250px;
    padding: 28px 22px;
  }

  .mystery-blur p {
    font-size: 14px;
  }
}
