/* Base Styles */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background-color: #05080f;
  color: white;
}

/* Header Styles */
header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background-color: #003366;
  padding: 12px 16px;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
}

.header-left {
  flex: 1 1 auto;
  min-width: 0;
}

.header-left img {
  height: 32px;
  width: auto;
  margin-right: 10px;
  border-radius: 50%;
}

.site-title {
  font-size: 20px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-right {
  flex-shrink: 0;
}

.header-right img {
  height: 28px;
  width: auto;
  transition: transform 0.3s ease;
}

.header-right img:hover {
  transform: scale(1.1);
}


.header-left {
  display: flex;
  align-items: center;
}

.header-left img {
  height: 32px;
  margin-right: 10px;
  border-radius: 50%;
}

.site-title {
  font-size: 20px;
  font-weight: bold;
}

/* Ariolasoft logo & X logo in header */
.header-right img {
  height: 28px;
  width: auto;
  transition: transform 0.3s ease;
}

.header-right img:hover {
  transform: scale(1.1);
}

/* Main Content */
main {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

main h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

main p {
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
}

/* Section boxes (About, Vibe Coding) */
section {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px 20px;
  background-color: #0f131a;
  border-radius: 8px;
  text-align: center;
}

section h2 {
  font-size: 24px;
  margin-bottom: 12px;
  color: white;
}

section p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.6;
}

/* Link to games page */
a.games-link {
  font-weight: bold;
  color: white;
  text-decoration: none;
  border-bottom: 1px dashed white;
  transition: color 0.3s ease;
}

a.games-link:hover {
  color: #ff5500;
}

/* Footer Styles */
footer {
  background-color: #003366;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  margin-top: 50px;
}

footer a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  color: #ff5500;
}

/* X/Twitter icon */
.footer-icon {
  height: 18px;
  vertical-align: middle;
  margin-left: 8px;
  transform: translateY(-1px);
}

/* Responsive Tweaks */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .header-left, .header-right {
    width: 100%;
    justify-content: space-between;
  }

  main {
    padding: 30px 15px;
  }

  section {
    margin: 20px 10px;
    padding: 20px;
  }
}
@media (max-width: 480px) {
  .site-title {
    font-size: 16px;
  }

  .header-left img {
    height: 28px;
  }

  .header-right img {
    height: 24px;
  }
}
/* Vibe Games Page Styles */
    .games-page {
      max-width: 1200px;
      margin: 50px auto;
      padding: 0 20px;
      color: white;
      text-align: center;
    }

    .back-link {
      position: absolute;
      top: 20px;
      right: 30px;
    }

    .back-link a {
      color: #aaa;
      font-weight: bold;
      text-decoration: none;
      font-size: 14px;
      background-color: #11161f;
      padding: 6px 10px;
      border-radius: 4px;
      transition: background-color 0.3s;
    }

    .back-link a:hover {
      background-color: #2a0fc6;
    }

    .games-page h1 {
      font-size: 32px;
      margin-bottom: 10px;
    }

    .games-page p.description {
      font-size: 16px;
      color: #ccc;
      margin-bottom: 10px;
    }

    .games-page p.share-tip {
      font-size: 14px;
      color: #888;
      margin-bottom: 40px;
    }

    .game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}


    .game-card {
      background-color: #11161f;
      border: 1px solid #2a2f38;
      border-radius: 8px;
      padding: 20px;
      width: 300px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      transition: transform 0.3s ease;
    }

    .game-card:hover {
      transform: scale(1.03);
    }

    .game-card img {
      width: 100%;
      height: auto;
      max-height: 180px;
      object-fit: cover;
      border-radius: 6px;
      margin-bottom: 15px;
    }

    .game-card h2 {
      font-size: 20px;
      margin-bottom: 10px;
    }

    .game-card p {
      font-size: 14px;
      color: #bbb;
      margin-bottom: 12px;
    }

    .game-links {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }

    .game-links a {
      flex: 1 1 45%;
      background-color: #2a0fc6;
      color: white;
      text-decoration: none;
      padding: 8px;
      border-radius: 4px;
      transition: background-color 0.3s;
      font-size: 14px;
    }

    .game-links a:hover {
      background-color: #ff5500;
    }

    .powered-by {
      margin-top: 50px;
      font-style: italic;
      color: #888;
      font-size: 14px;
    }

    .powered-by a {
      color: #aaa;
      text-decoration: underline;
    }
  