/* Modern Index Page Styles */

/* Quick Actions Section */
.quick-actions-section {
  padding: 3rem 2rem;
  background-color: var(--background, #f8f9fa);
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.action-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--primary-orange, #ff6900);
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.action-card.primary {
  border-left-color: #e67e22;
}

.action-card.secondary {
  border-left-color: #9b59b6;
}

.action-card.accent {
  border-left-color: #3498db;
}

.action-card h3 {
  color: var(--primary-dark, #2c3e50);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.action-card p {
  color: var(--text-secondary, #666);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.action-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.action-btn {
  background-color: #34495e;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.primary .action-btn {
  background-color: #e67e22;
}

.primary .action-btn:hover {
  background-color: #d35400;
}

.secondary .action-btn {
  background-color: #9b59b6;
}

.secondary .action-btn:hover {
  background-color: #8e44ad;
}

.accent .action-btn {
  background-color: #3498db;
}

.accent .action-btn:hover {
  background-color: #2980b9;
}

.action-btn:hover {
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Tournament Highlights Section */
.highlights-section {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #ff6900 0%, #e67e22 30%, #9b59b6 70%, #3498db 100%);
  color: white;
}

.highlights-section .section-title {
  color: white;
}

.highlights-section .section-title::after {
  background-color: white;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.highlight-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 0.5rem;
}

.highlight-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: white;
  font-weight: 600;
}

.highlight-card p {
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.3;
  margin: 0;
}

/* Compact Explore Section */
.explore-section-compact {
  padding: 2rem 2rem;
  background-color: white;
}

.section-title-small {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary-dark, #2c3e50);
  position: relative;
}

.section-title-small::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #27ae60);
}

.explore-cards-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.explore-card-compact {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.explore-card-compact:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.explore-image-compact {
  height: 320px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.explore-content-compact {
  padding: 1.5rem;
}

.explore-content-compact h4 {
  color: var(--primary-dark, #2c3e50);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.explore-content-compact p {
  color: var(--text-secondary, #666);
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.explore-link-compact {
  color: #3498db;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s ease;
  padding: 0.4rem 0.8rem;
  border: 2px solid #3498db;
  border-radius: 6px;
  display: inline-block;
}

.explore-link-compact:hover {
  background-color: #3498db;
  color: white;
  text-decoration: none;
}

/* Smaller section titles globally */
.section-title {
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .quick-actions-section,
  .highlights-section,
  .explore-section-compact {
    padding: 2rem 1rem;
  }
  
  .actions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .action-card {
    padding: 1.2rem;
  }
  
  .action-links {
    justify-content: center;
  }
  
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .highlight-number {
    font-size: 2rem;
  }
  
  .explore-cards-compact {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .explore-image-compact {
    height: 250px;
  }
  
  .explore-content-compact {
    padding: 1.2rem;
  }
  
  .section-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }
  
  .section-title-small {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  
  .action-links {
    flex-direction: column;
  }
  
  .action-btn {
    text-align: center;
  }
}