/*/////////////////////////// HERO ///////////////////////////*/
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 10%;
  background:
    linear-gradient(to right, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.75)),
    url("../image/image (7).png");
  background-size: cover;
  background-position: center;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

@media (max-width: 768px) {
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 60px;
    }

  .hero-stats {
    justify-content: center;
  }
}

/* TEXT */
.hero-text {
  max-width: 675px;
}

.hero-text h1 {
  font-size: 56px;
  line-height: 1.2;
}

.hero-text span {
  background: linear-gradient(45deg, #38bdf8, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text p {
  margin: 20px 0;
  color: #94a3b8;
  font-size: 16px;
}

/* STATS */
.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 25px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: #94a3b8;
}

.hero-stats strong {
  font-size: 20px;
  color: #fff;
}

/* RIGHT VISUAL */
.hero-visual {
  position: relative;
}

/* glow orb */
.glow {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #38bdf8, transparent 70%);
  filter: blur(80px);
}

/* card */
.mock-card {
  position: relative;
  z-index: 1;
  background: #111827;
  padding: 25px;
  border-radius: 16px;
  width: 260px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.mock-card h3 {
  margin-bottom: 10px;
}

.mock-card p {
  margin-bottom: 15px;
  color: #94a3b8;
}

.small {
  padding: 8px 16px;
  font-size: 13px;
}

.buttons {
    display: flex;
}

.buttons div {
    margin: 8px;
    max-width: 170px;
    width: -webkit-fill-available;
}

.btn-primary {
  background: #38bdf8;
  border: none;
  padding: 12px 25px;
  color: #000;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-primary:active {
  transform: scale(0.9);
}

.btn-outline {
  background: transparent;
  border: 1px solid #38bdf8;
  padding: 12px 25px;
  color: #38bdf8;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  transform: scale(1.05);
}

.btn-outline:active {
  transform: scale(0.9);
}

/*/////////////////////////// FEATURES ///////////////////////////*/
.features {
  padding: 100px 10%;
  text-align: center;
  background: linear-gradient(45deg, #163b51, transparent);
}

.features h2 {
  font-size: 38px;
  margin-bottom: 10px;
  background: linear-gradient(45deg, #38bdf8, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

.features-sub {
  color: #94a3b8;
  margin-bottom: 50px;
}

/* GRID */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* CARD */
.feature-card {
  background: #111827;
  padding: 25px;
  border-radius: 16px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

/* hover glow */
.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.25);
}

/* icon */
.feature-card i {
  font-size: 20px;
  margin-bottom: 12px;
  color: #38bdf8;
}

/* title */
.feature-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

/* text */
.feature-card p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.5;
}

/* highlighted card */
.feature-card.highlight {
  background: linear-gradient(
    135deg,
    rgba(19, 114, 255, 0.233),
    rgba(0, 238, 255, 0.219)
  );
  border: 1px solid rgba(56, 189, 248, 0.4);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/*/////////////////////////// GAMES ///////////////////////////*/
.games {
  padding: 80px 10%;
  text-align: center;
}

.game-list {
  display: grid;
  gap: 20px;
  margin-top: 30px;

  grid-template-columns: repeat(3, 1fr);
}

/* TABLET */
@media (max-width: 900px) {
  .game-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 500px) {
  .game-list {
    grid-template-columns: 1fr;
  }
}

/* CARD */
.game-card {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #111827;
}

/* wrapper */
.card-img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}

/* image */
.card-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  will-change: transform;
}

/* 🔥 title at bottom with gradient */
.card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;

  padding: 12px;
  font-weight: bold;
  font-size: 14px;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0.5)
  );

  color: #fff;
}

@media (max-width: 500px) {
  .games {
    padding: 50px 20px;
  }

  .card-img-wrap {
    height: 220px;
  }

  .card-title {
    font-size: 13px;
  }
}

/*/////////////////////////// CTA ///////////////////////////*/
.cta {
  position: relative;
  text-align: center;
  padding: 100px 10%;
}

/* glow background effect */
.cta-glow {
  position: absolute;
  width: 400px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.25),
    transparent 70%
  );
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(60px);
  z-index: 0;
}

/* content */
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: auto;
}

.cta h2 {
  font-size: 42px;
  margin-bottom: 15px;
  background: linear-gradient(45deg, #38bdf8, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

.cta p {
  color: #94a3b8;
  font-size: 16px;
  margin-bottom: 30px;
}

/* buttons */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

    .cta-buttons button {
        width: stretch;
    }

/* badges */
.cta-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-badges span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: #cbd5f5;
  transition: 0.3s;
}

.cta-badges span:hover {
  transform: translateY(-3px);
  border-color: #38bdf8;
}
