/* General */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #f2f2f2;
  background-color: #111;
  /* fallback background */
}

/* Navbar */
.navbar {
  background: url('images/extra-dark-steel\(small-size\).webp') no-repeat center center/cover;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  ;
  padding: 1rem 2rem;
  /* Use fixed padding for better control */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  display: flex;
  flex-wrap: wrap;
  /* Allow wrapping on small screens */
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Black Ops One', sans-serif;
  background: url('images/metal-background2.jpg') repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 5px rgb(0, 0, 0, 0.8);
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c2727;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  /* Allow links to wrap */
}

.navbar li {
  white-space: nowrap;
  /* Prevent breaking "Sign-up" */
}

.navbar a {
  font-family: 'black ops one', sans-serif;
  color: #f2f2f2;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  padding: 0.5rem 0.75rem;
  /* Add padding for touch targets */
}

.navbar a:hover {
  color: #e74c3c;
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #111 url('images/game-map\(smaller-size\).webp') no-repeat center center/cover;
  overflow: hidden;
  z-index: 0;
}

/* Remove grid overlay canvas styles */
.grid-overlay {
  display: none;
}

.map-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.map {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  color: #f0eded;
  /* red iron feel */
  margin: 0;
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0.5rem 0 2rem;
  color: #aaa;
}

.hero p {
  font-family: 'black ops one', sans-serif;
  max-width: 600px;
  margin: 1rem auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.cta-buttons button {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  background: url('images/darker-steel\(smaller-size\).webp') no-repeat center center/cover;
  color: #f2f2f2;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  outline: none;
  box-shadow: none;
}

.cta-buttons button:hover {
  background: url('images/extra-dark-steel\(small-size\).webp') no-repeat center center/cover;
  color: #f2f2f2;
}

.cta-buttons button a:visited {
  color: inherit;
}

.cta-buttons button a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.Big-Sign-up {
  font-family: 'Black Ops One', sans-serif;
  font-size: 0.7rem 1.4rem;
  background: url('images/metal-background2.jpg') no-repeat center center/cover;
  color: #222
}

.Big-Login {
  font-family: 'Black Ops One', sans-serif;
  font-size: 0.7rem 1.4rem;
  background: url('images/darker-steel\(smaller-size\).webp') no-repeat center center/cover;
  color: #222
}

.title {
  font-family: 'Black Ops One', sans-serif;
  font-size: 4rem;
  text-transform: uppercase;
  background: url('images/metal-background2.jpg') repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 5px rgb(0, 0, 0, 0.8);
}

.caption {
  font-family: 'Black Ops One', sans-serif;
  font-size: 4rem;
  text-transform: uppercase;
  background: url('images/metal-background2.jpg') repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 5px rgb(0, 0, 0, 0.8);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  padding: 4rem 2rem;
  background: #222;
}

.feature {
  text-align: center;
  font-family: 'black ops one', sans-serif;
}

.feature img {
  max-width: 100%;
  border-radius: 8px;
}

.feature h3 {
  font-family: 'black ops one', sans-serif;
  margin-top: 1rem;
  font-size: 1.25rem;
}

/* Footer */
footer {
  background: #1a1a1a;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #777;
}

/* Responsive styles */
@media (max-width: 700px) {
  .navbar-container {
    flex-direction: row;
    align-items: flex-start;
  }

  .navbar ul {
    flex-direction: row;
    gap: 0.5rem;
    width: 100%;
  }

  .nav-logo {
    margin-bottom: 0.5rem;
  }

  .hero {
    height: auto;
    padding: 3rem 1rem;
  }

  .features {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
    gap: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* about page */
.about {
  font-family: 'black ops one', sans-serif;
  padding: 2rem;
  max-width: fit-content;
  margin: auto;
  background: #222;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.image-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.image-left {
  flex-direction: row-reverse;
  display: flex;
  align-items: center;
  gap: 15px;
}

.image-right2 {
  display: flex;
  align-items: center;
  gap: 15px;
}

@media (max-width: 600px) {
  .image-right {
    flex-direction: column;
    align-items: flex-start;
  }

  .image-right2 {
    flex-direction: column;
    align-items: flex-start;
  }

  .image-left {
    flex-direction: column;
  }

  .about-image {
    width: 100%;
    max-width: 300px;
  }
}

.cta-buttons2 button a:visited {
  color: inherit;
}

.cta-buttons2 button a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.cta-buttons2 button:hover {
  background: url('images/extra-dark-steel\(small-size\).webp') no-repeat center center/cover;
  color: #f2f2f2;
}

.cta-buttons2 button {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  background: url('images/darker-steel\(smaller-size\).webp') no-repeat center center/cover;
  color: #f2f2f2;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  outline: none;
  box-shadow: none;
  align-items: center;
}

.cta-buttons2 {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.about-slogan {
  font-family: 'black ops one', sans-serif;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
}

/* Legal section */
.legal-section {
  font-family: 'black ops one', sans-serif;
  padding: 0.5rem 1.5rem;
  max-width: fit-content;
  margin: 1.5rem auto 0 auto;
  margin-bottom: 1.5rem;
  background: #222;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.Policy-header {
  font-family: 'black ops one', sans-serif;
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.corner-links {
  display: flex;
  justify-content: space-between;
}

.corner-links2 {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.corner-left {
  margin-left: 6rem;
  font-size: 1.5rem;
}

.corner-right {
  margin-right: 6rem;
  font-size: 1.5rem;
}

.corner-left2 {
  margin-left: 6rem;
  font-size: 1.5rem;
}

.corner-right2 {
  margin-right: 6rem;
  font-size: 1.5rem;
}

@media (max-width: 700px) {
  .corner-left {
    margin-left: 1rem;
    font-size: 1rem;
  }

  .corner-right {
    margin-right: 1rem;
    font-size: 1rem;
  }

  .corner-left2 {
    margin-left: 1rem;
    font-size: 1rem;
  }

  .corner-right2 {
    margin-right: 1rem;
    font-size: 1rem;
  }
}