:root {
  --bg: #201f1f;
  --panel: #1a1919;
  --text: #eee;
  --accent: #5c53ae;
  --btn: #a3813e;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}
.container {
  display: flex;
  min-height: 100vh;
}



.home-hero {
  width: 100%;
  padding: 80px 20px 60px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-content {
  max-width: 700px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 25px;
}

.play-button {
  display: inline-block;
  padding: 14px 36px;
  background: #fff;
  color: #000;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.play-button:hover {
  transform: scale(1.05);
}



.home-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
  padding-bottom: 80px;
}



.home-card {
  position: relative;
  background: linear-gradient(145deg, #0c0c0c, #141414);
  border-radius: 18px;
  padding: 25px;
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.home-card h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.home-card p {
  font-size: 1rem;
  opacity: 0.9;
}


.card-main {
  width: 70%;
  height: 260px;
}

.home-card.jogar {
  background-image: url("../img/tabuleiro xadres.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.home-card.jogar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(6px) brightness(0.6);
  transform: scale(1.1);
  z-index: 0;
}

.card-overlay {
  position: relative;
  z-index: 1;
}


.card-row {
  width: 70%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card-small {
  height: 170px;
}



@media (max-width: 900px) {
  .card-main,
  .card-row {
    width: 90%;
  }

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

  .hero-content h1 {
    font-size: 2.2rem;
  }
}
.hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 3rem;
}

.hero-logo {
  height: 200px;
}
h2 {
  color: #786ed2;
}