/* Pregame Landing Page Specific Styles */
/* Reusing existing header/footer styles from styles.css and games.css */

.pregame-content {
  flex: 1;
  padding: 2rem;
  max-width: 85vw;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.pregame-container {
  width: 100%;
  max-width: 80vw;
  position: relative;
}

.game-info-card {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  /* margin-top: 2rem; */
}

.card-header {
  padding: 2rem 2rem 0 0;
  display: flex;
  justify-content: flex-end;
  position: absolute;
  right: 0;
}

.start-game-button {
  background-color: #0032A0;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.start-game-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 29, 149, 0.3);
}

.card-content-pregame {
  padding: 4rem 3rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0032A0;
  margin-bottom: 1.5rem;
}

.how-to-play {
  margin-bottom: 3rem;
}

.game-rules {
  list-style: none;
  padding: 0;
}

.game-rules li {
  color: #4a90e2;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.game-rules li::before {
  content: "•";
  color: #4a90e2;
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.educational-objective {
  background-color: #C8D7F050;
  border-radius: 16px;
  padding: 1rem;
}

.objective-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0rem;
}

.objective-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #4a90e2, #7bb3f0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.objective-description {
  color: #0032A0;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.start-game-button-mobile {
  background-color: #0032A0;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  display: none;
}

/* Responsive Design for specific breakpoints */

/* 1500px and above - Default styles already applied */
@media (min-width: 1500px) {
  .pregame-content {
    padding: 5rem;
  }

  .card-content {
    padding: 3rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .game-rules li {
    font-size: 1.1rem;
  }

  .objective-description {
    font-size: 1.1rem;
  }
}

/* 1024px breakpoint */
@media (max-width: 1024px) {
  .pregame-content {
    padding: 1.5rem;
    max-width: 1024px;
  }

  .card-header {
    padding: 1.5rem 1.5rem 0 1.5rem;
  }

  .card-content {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .start-game-button {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .game-rules li {
    font-size: 0.95rem;
  }

  .objective-description {
    font-size: 0.95rem;
  }

  .educational-objective {
    padding: 1.5rem;
  }
}

/* 768px breakpoint */
@media (max-width: 768px) {
  .pregame-content {
    padding: 0.75rem;
    max-width: 100vw;
  }

  .pregame-container {
    max-width: 95vw;
  }

  .game-info-card {
    margin-top: 1rem;
    border-radius: 16px;
  }

  .card-header {
    padding: 1rem 0rem 0rem 0rem;
    justify-content: center;
  }

  .card-content {
    padding: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .start-game-button {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }

  .how-to-play {
    margin-bottom: 2rem;
  }

  .card-header {
    position: initial;
  }

  .game-rules li {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .objective-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .objective-icon {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }

  .educational-objective {
    padding: 1.25rem;
    text-align: center;
  }

  .objective-description {
    font-size: 0.9rem;
  }
}

/* 480px breakpoint */
@media (max-width: 480px) {
  .pregame-content {
    padding: 0.75rem;
    max-width: 100vw;
  }

  .pregame-container {
    max-width: 95vw;
  }

  .game-info-card {
    border-radius: 0.4rem;
  }

  .card-header {
    padding: 0rem;
  }

  .card-content {
    padding: 0.75rem;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .start-game-button {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    border-radius: 0.4rem;
  }

  .how-to-play {
    margin-bottom: 1.5rem;
  }

  .game-rules li {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    padding-left: 1.rem;
  }

  .objective-icon {
    width: 20px;
    height: 20px;
    font-size: 1.25rem;
  }

  .educational-objective {
    padding: 1rem;
    border-radius: 0.6rem;
    margin-bottom: 2rem;
  }

  .objective-description {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}

/* Additional responsive adjustments for page title */
@media (max-width: 768px) {
  .page-title {
    font-size: 1.3rem;
    line-height: 1.2;
  }

  .start-game-button {
  background-color: #0032A0;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  display: none;
}

.start-game-button-mobile {
  background-color: #0032A0;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  width: 100%;
  display: block;
}
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.4rem;
    line-height: 1.1;
  }

  .card-content-pregame {
  padding: 1rem 1rem 1rem 1rem;
}

.start-game-button {
  background-color: #0032A0;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  display: none;
}

.start-game-button-mobile {
  background-color: #0032A0;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  width: 100%;
  display: block;
}
}



