/* ============================================
   IT RISING STARS — Section Styles
   ============================================ */

/* --- Layout Defaults --- */
section {
  position: relative;
  z-index: var(--z-base);
  overflow: hidden;
}

/* --- Hero Section --- */
#home {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  transform: scale(1.05);
  transition: transform 0.3s ease-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero-overlay);
  z-index: 1;
}

#hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
}

.hero-logo-container {
  margin-bottom: 2rem;
  display: inline-block;
  animation: floatSlow 6s ease-in-out infinite;
}

.hero-logo {
  width: clamp(120px, 15vw, 180px);
  height: auto;
  border-radius: 50%;
  box-shadow: var(--shadow-glow-strong);
  border: 4px solid rgba(59, 130, 246, 0.3);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  line-height: 1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  text-decoration: none;
}

.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollIndicator 1.5s cubic-bezier(0.6, 0.05, 0.4, 1) infinite;
}

/* --- About Section --- */
#about {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h3 {
  font-size: var(--fs-h2);
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.about-culture {
  background: var(--gradient-card);
  padding: 2.5rem;
  border-radius: var(--card-radius);
  border: 1px solid var(--border-subtle);
  position: relative;
}

.about-culture::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 6rem;
  color: rgba(59, 130, 246, 0.1);
  line-height: 1;
}

/* --- News Section --- */
#news {
  background: var(--bg-primary);
  position: relative;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

/* --- Squad Section --- */
#squad {
  background: var(--bg-secondary);
}

.squad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* --- Leadership Section --- */
#leadership {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
  position: relative;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  align-items: stretch;
}

/* --- Achievements Section --- */
#achievements {
  background: var(--bg-primary);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

/* --- Hall of Fame Section --- */
#hall-of-fame {
  background: var(--bg-secondary);
  background-image: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
}

.fame-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  justify-content: center;
}

/* Highlight the first card (Player of Tournament) */
.fame-grid .fame-card:first-child {
  grid-column: 1 / -1;
  max-width: 600px;
  margin: 0 auto;
  border-color: var(--accent-gold);
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.15);
}

/* --- Gallery Section --- */
#gallery {
  background: var(--bg-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* --- Contact Section --- */
#contact {
  background: var(--bg-secondary);
  position: relative;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* --- Footer --- */
.footer {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-medium);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-brand {
  margin-bottom: 1.5rem;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-primary);
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: var(--fs-small);
  margin-bottom: 1rem;
}

.footer-contact i {
  color: var(--accent-primary);
  margin-top: 0.25rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.footer-copy strong {
  color: var(--text-secondary);
}
