:root {
  --primary-color: #004AAD;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #000000;
  --background-light: #f8f8f8;
  --card-background-dark: rgba(255, 255, 255, 0.1);
  --card-background-light: #ffffff;
  --border-color: #e0e0e0;
}

/* Base styles for the specific page */
.page-match-prediction-center-world-cup-group-stage {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--background-dark); /* Inherited from shared.css or default */
}

/* Fixed header spacing */
.page-match-prediction-center-world-cup-group-stage__hero-section {
  padding-top: 120px; /* Desktop: Adjust based on fixed header height */
}

.page-match-prediction-center-world-cup-group-stage__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-match-prediction-center-world-cup-group-stage__hero-section {
  text-align: center;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.page-match-prediction-center-world-cup-group-stage__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-match-prediction-center-world-cup-group-stage__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--text-light);
}

.page-match-prediction-center-world-cup-group-stage__main-title .highlight {
  color: var(--secondary-color);
}

.page-match-prediction-center-world-cup-group-stage__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.page-match-prediction-center-world-cup-group-stage__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-match-prediction-center-world-cup-group-stage__cta-buttons--center {
  margin-top: 40px;
}

.page-match-prediction-center-world-cup-group-stage__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-match-prediction-center-world-cup-group-stage__btn-primary {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-match-prediction-center-world-cup-group-stage__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-match-prediction-center-world-cup-group-stage__btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-match-prediction-center-world-cup-group-stage__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Content Section */
.page-match-prediction-center-world-cup-group-stage__content-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-match-prediction-center-world-cup-group-stage__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: var(--text-light);
  font-weight: 700;
}

.page-match-prediction-center-world-cup-group-stage__section-title .highlight {
  color: var(--secondary-color);
}

.page-match-prediction-center-world-cup-group-stage p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-light);
  opacity: 0.85;
}

.page-match-prediction-center-world-cup-group-stage p .highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

/* Grid Layouts */
.page-match-prediction-center-world-cup-group-stage__grid-3-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-match-prediction-center-world-cup-group-stage__grid-2-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

/* Cards */
.page-match-prediction-center-world-cup-group-stage__card {
  background-color: var(--card-background-dark);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  color: var(--text-light);
}

.page-match-prediction-center-world-cup-group-stage__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-match-prediction-center-world-cup-group-stage__card-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small but also not excessively large for card context */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-match-prediction-center-world-cup-group-stage__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-match-prediction-center-world-cup-group-stage__card p {
  font-size: 1em;
  color: var(--text-light);
  opacity: 0.8;
  text-align: left;
}

/* Group Analysis Sections */
.page-match-prediction-center-world-cup-group-stage__group-analysis {
  border-radius: 10px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-match-prediction-center-world-cup-group-stage__group-analysis.page-match-prediction-center-world-cup-group-stage__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-match-prediction-center-world-cup-group-stage__group-analysis.page-match-prediction-center-world-cup-group-stage__light-bg {
  background-color: var(--card-background-dark);
  color: var(--text-light);
}

.page-match-prediction-center-world-cup-group-stage__group-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-match-prediction-center-world-cup-group-stage__group-analysis p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--text-light);
  opacity: 0.9;
}

/* Lists */
.page-match-prediction-center-world-cup-group-stage__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 30px;
  font-size: 1.1em;
  color: var(--text-light);
  opacity: 0.9;
}

.page-match-prediction-center-world-cup-group-stage__list li {
  margin-bottom: 10px;
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-match-prediction-center-world-cup-group-stage__main-title {
    font-size: 2.8em;
  }
  .page-match-prediction-center-world-cup-group-stage__section-title {
    font-size: 2em;
  }
  .page-match-prediction-center-world-cup-group-stage__grid-3-columns {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-match-prediction-center-world-cup-group-stage__grid-2-columns {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-match-prediction-center-world-cup-group-stage__hero-section {
    padding-top: 100px !important; /* Mobile: Adjust based on fixed header height */
    padding-bottom: 60px;
  }
  .page-match-prediction-center-world-cup-group-stage__container {
    padding: 0 15px;
  }
  .page-match-prediction-center-world-cup-group-stage__main-title {
    font-size: 2.2em;
  }
  .page-match-prediction-center-world-cup-group-stage__hero-description {
    font-size: 1em;
  }
  .page-match-prediction-center-world-cup-group-stage__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-match-prediction-center-world-cup-group-stage__cta-button {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-match-prediction-center-world-cup-group-stage__content-section {
    padding: 60px 0;
  }
  .page-match-prediction-center-world-cup-group-stage__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-match-prediction-center-world-cup-group-stage p,
  .page-match-prediction-center-world-cup-group-stage__list li {
    font-size: 1em;
  }
  .page-match-prediction-center-world-cup-group-stage__grid-3-columns,
  .page-match-prediction-center-world-cup-group-stage__grid-2-columns {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
  }
  .page-match-prediction-center-world-cup-group-stage__card {
    padding: 20px;
  }
  .page-match-prediction-center-world-cup-group-stage__card-title {
    font-size: 1.3em;
  }
  .page-match-prediction-center-world-cup-group-stage__group-analysis {
    padding: 30px;
  }
  .page-match-prediction-center-world-cup-group-stage__group-title {
    font-size: 1.5em;
  }
  /* Ensure all images are responsive and do not overflow */
  .page-match-prediction-center-world-cup-group-stage img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-match-prediction-center-world-cup-group-stage__card-image {
    max-width: 100% !important;
    width: 100% !important;
  }
  .page-match-prediction-center-world-cup-group-stage__section,
  .page-match-prediction-center-world-cup-group-stage__card,
  .page-match-prediction-center-world-cup-group-stage__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-match-prediction-center-world-cup-group-stage__cta-buttons,
  .page-match-prediction-center-world-cup-group-stage__button-group,
  .page-match-prediction-center-world-cup-group-stage__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-match-prediction-center-world-cup-group-stage__main-title {
    font-size: 1.8em;
  }
  .page-match-prediction-center-world-cup-group-stage__section-title {
    font-size: 1.5em;
  }
  .page-match-prediction-center-world-cup-group-stage__group-title {
    font-size: 1.3em;
  }
  .page-match-prediction-center-world-cup-group-stage__cta-button {
    font-size: 0.9em;
    padding: 10px 15px;
  }
  .page-match-prediction-center-world-cup-group-stage__card p,
  .page-match-prediction-center-world-cup-group-stage__group-analysis p {
    font-size: 0.95em;
  }
  .page-match-prediction-center-world-cup-group-stage__list {
    margin-left: 20px;
  }
}