* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #070d18;
  color: #e0e6f0;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* ========== Navbar ========== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: rgba(5, 7, 22, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #040727;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #7dd3fc;
  font-weight: 700;
  font-size: 1.35rem;
  transition: all 0.4s ease-in-out;
  object-fit: cover;
}

.logo:hover {
  color: #7da9fc;
  transition: all 0.4s ease-in-out;
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.nav-item {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(135deg, #02010a, #1435a1);
  color: #7dd3fc;
  border: 1px solid #1e3a5f;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.25s ease-in-out;
}

.nav-item:hover {
  color: #22d3ee;
  border-color: #0e2fe9;
  background: linear-gradient(135deg, #02010a, #170f81);
  transition: all 0.25s ease-in-out;
}

/* ========== Hero ========== */
.hero {
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 5%;
  background: radial-gradient(ellipse at center, #0f1c33 0%, #070d18 70%);
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: #94a3b8;
  max-width: 520px;
  margin-bottom: 2.2rem;
}

.button {
  display: inline-block;
  padding: 0.85rem 3rem;
  background: linear-gradient(50deg, #0ea5e9, #05415e);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.25s ease-in-out;
}

.button:hover {
  background: linear-gradient(55deg, #0ea5e9, #05415e);
  transform: translateY(-2px);
  transition: all 0.25s ease-in-out;
}

.nav-button {
  display: inline-block;
  padding: 0.85rem 3rem;
  background: linear-gradient(50deg, #0ea5e9, #05415e);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.25s ease-in-out;
}

.nav-button:hover {
  background: linear-gradient(55deg, #0ea5e9, #05415e);
  transform: translateY(-2px);
  transition: all 0.25s ease-in-out;
}


/* ========== Sections ========== */
section {
  padding: 10rem 5%;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #e0e6f0;
}

.about {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: #94a3b8;
  font-size: 1.05rem;
}

/* ========== Projects ========== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  max-width: 1000px;
  margin: 0 auto;
}

.game-card {
  background: linear-gradient(135deg, #000e3d, #0100381c);
  border: 1px solid #1e293b;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: #0ea5e9;
}

.game-card .placeholder {
  height: 170px;
  background: linear-gradient(135deg, #040218, #1858a1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-weight: 600;
}

.game-card .info {
  padding: 1.4rem;
}

.game-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.game-card h3 a {
  color: #e0e6f0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.game-card h3 a:hover {
  color: #385bf8;
  transition: color 0.5s ease-in-out;
}

.game-card p {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ========== Footer ========== */
footer {
  text-align: center;
  padding: 5rem 5% 2.5rem;
  border-top: 1px solid #152238;
  color: #94a3b8;
  font-size: 0.95rem;
}

footer a {
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #7dd3fc;
}

.image {
  display: block;
  width: 450px;
  height: 300px;
  border-radius: 20px;
  border: 2px solid #100d3a;
  object-fit: cover;
}

    .terms-container {
      background: linear-gradient(135deg, #030116, #020a2b);
      border: 1px solid #000e3d;
      border-radius: 20px;
      max-width: 800px;
      margin: 0 auto;
      padding: 4rem 5%;
      margin-top: 2rem;
    }

    .terms-container h1 {
      font-size: 2.4rem;
      margin-bottom: 0.5rem;
      background: linear-gradient(90deg, #38bdf8, #81c3f8);
      background-clip: border-box;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .terms-meta {
      color: #a6c2eb;
      font-size: 0.95rem;
      margin-bottom: 3rem;
    }

    .terms-container h2 {
      font-size: 1.35rem;
      color: #e0e6f0;
      margin-top: 2.8rem;
      margin-bottom: 0.8rem;
    }

    .terms-container p {
      color: #c7cbf3;
      margin-bottom: 1.1rem;
      line-height: 1.7;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      font-weight: bold;
    }

    .terms-container ul {
      margin: 0 0 1.3rem 1.4rem;
      color: #94a3b8;
    }

    .terms-container li {
      margin-bottom: 0.45rem;
    }