/* ===== General Styles ===== */
html, body {
  margin: 0;
  padding: 0;
  background-color: #0B0B12;
  font-family: Arial, sans-serif;
  color: white;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== Header & Footer ===== */
header, footer {
  background-color: #1C1C2C;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-menu, .footer-menu {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.nav-menu a,
.footer-menu a {
  padding: 0.4rem 1rem;
  background-color: #1f1f2e;
  color: white;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-menu a:hover,
.footer-menu a:hover {
  background-color: #2f2f4a;
  color: #f0c674;
}

.nav-menu a.active,
.footer-menu a.active {
  background-color: #6842ff;
  color: white;
}

footer {
  justify-content: center;
  background-color: #1C1C2C;  /* Ensure footer has the same background */
}

/* ===== Layout Structure ===== */
.container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  flex: 1;
}

.sidebar {
  width: 15%;
  background-color: #13141e;
  padding: 1rem;
  box-sizing: border-box;
  min-width: 150px;
  text-align: center;
}

.main-content {
  flex: 1;
  padding: 2rem;
  box-sizing: border-box;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== Game Section (for index) ===== */
iframe {
  width: 960px;
  height: 600px;
  border: none;
  max-width: 100%;
}

.game-blog {
  max-width: 960px;
  margin-top: 2rem;
  background-color: #1C1C2C;
  padding: 1.5rem;
  border-radius: 10px;
}

.game-blog h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #ffffff;
}

.game-blog p {
  line-height: 1.6;
  color: #ddd;
}

/* ===== About Section ===== */
.about-box {
  max-width: 960px;
  background-color: #1C1C2C;
  padding: 2rem;
  border-radius: 10px;
}

.about-box h1 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
  text-align: center;
}

.about-box p {
  font-size: 1.1rem;
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: justify;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    text-align: center;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  footer {
    flex-direction: column;
    align-items: center;
  }

  .nav-menu,
  .footer-menu {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.link-purple {
  color: #6842ff;
  text-decoration: none; /* Optional: removes underline */
}

.link-purple:hover {
  text-decoration: underline; /* Optional: adds underline on hover */
}

.footer-copy {
  text-align: center;
  width: 100%;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #aaa;
}
/* ===== Contact Form Styling ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  background-color: #2f2f4a;
  color: white;
  font-size: 1rem;
  width: 8in; 
}

.contact-form button {
  padding: 0.75rem;
  background-color: #6842ff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #5733d3;
}
