/* Reset & base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #1a1a1a;
  /* Soft black */
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

a {
  color: #4dabf7;
  /* soft blue for links */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* --- Navigation Bar --- */
.navbar {
  position: sticky;
  top: 0;
  background-color: #111;
  padding: 0.25rem 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid #2a2a2a;
  /* subtle line */
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  /* Align vertically */
  gap: 10px;
  /* Space between logo image and text */
  color: #ffffff;
}

.nav-menu a {
  margin-left: 1.5rem;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #4dabf7;
  /* Soft blue on hover */
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 2rem;
  /* or try 2.2rem for more emphasis */
  font-family: 'Russo One', sans-serif;
  color: #ffffff;
  letter-spacing: 1px;
}

.banner {
  margin-top: 1rem;
}

.banner-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.games-section {
  padding: 3rem 1rem;
  background-color: #121212;
  /* slightly different black for depth */
}

.section-title {
  color: #ffffff;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
  font-family: 'Russo One', sans-serif;
}

.games-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.game-card {
  flex: 1 1 calc(33.333% - 1rem);
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.game-card:hover {
  transform: scale(1.03);
}

.game-img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #333;
}

.game-title {
  color: #ffffff;
  padding: 0.75rem;
  font-size: 1.1rem;
  font-family: 'Russo One', sans-serif;
}

.site-footer {
  background-color: #0f0f0f;
  color: #ccc;
  padding: 1rem 2rem;
  text-align: right;
  font-size: 0.9rem;
}

.game-details {
  padding: 3rem 0;
  color: #eee;
  background-color: #121212;
  border-top: 1px solid #333;
}

.details-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.details-image {
  flex: 1;
  max-width: 25%;
}

.details-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.details-text {
  flex: 3;
  font-size: 1rem;
  line-height: 1.6;
}

.subscribe-section {
  background-color: #1a1a1a;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #333;
}

.subscribe-title {
  font-size: 24px;
  margin-bottom: 20px;
  font-family: 'Russo One', sans-serif;
}

.subscribe-text {
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.subscribe-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.subscribe-button {
  margin-top: 20px;
  margin-bottom: 20px;
  /* adds space below the button */
  padding: 12px 24px;
  background-color: #ff6600;
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.subscribe-button:hover {
  background-color: #e65c00;
}

.subscribe-form {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  width: 100%;
}

.subscribe-form.active {
  max-height: 300px;
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #fff;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
}

.submit-button {
  padding: 10px 20px;
  background-color: #ff6600;
  color: white;
  border: none;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.submit-button:hover {
  background-color: #e65c00;
}

.form-slide {
  display: none;
  margin-top: 20px;
}

.form-slide.active {
  display: block;
}

.form-success-message {
  color: rgb(255, 255, 255);
  margin-top: 10px;
  text-align: center;
  font-family: 'Russo One', sans-serif;
}

.social-media {
  background-color: #1a1a1a;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #3e3e3e;
  border-bottom: 1px solid #3e3e3e;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-btn img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.social-btn:hover img {
  transform: scale(1.2);
}

.play-now-button {
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #4dabf7;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.play-now-button:hover {
  background-color: #3390e6;
}

@media (max-width: 768px) {
  .details-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .details-image {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .details-text {
    width: 100%;
    font-size: 1rem;
    padding: 0 1rem;
  }

  .subscribe-section {
    padding: 40px 15px;
  }

  .subscribe-text {
    font-size: 14px;
    padding: 0 1rem;
  }

  .form-group {
    width: 100%;
    padding: 0 1rem;
  }

  .games-row {
    flex-direction: column;
    align-items: center;
  }

  .game-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .social-icons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .play-now-button {
    margin-top: 1rem;
    width: 80%;
  }
}

/* --- Support Section with Rows --- */
.support-section {
  display: flex;
  flex-direction: column;
  gap: 60px;
  background-color: #0d0d0d;
  color: #fff;
  padding: 80px 5%;
}

/* Each row: image left, text right */
.support-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

/* Image style */
.support-image img {
  height: 50vh;
  /* half the screen height */
  width: auto;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
  object-fit: contain;
}

/* Text style */
.support-text {
  flex: 1;
  max-width: 600px;
  font-family: 'Russo One', sans-serif;
}

.support-text h2 {
  font-size: 2rem;
  color: #ffcc00;
  margin-bottom: 20px;
}

.support-text p {
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 12px;
}

.support-text a {
  color: #ffcc00;
  text-decoration: none;
}

.support-text a:hover {
  text-decoration: underline;
}

/* Mobile layout */
@media (max-width: 900px) {
  .support-row {
    flex-direction: column;
    text-align: center;
  }

  .support-image img {
    height: auto;
    width: 80vw;
  }

  .support-text {
    max-width: 90%;
  }
}