/* ==========================================================================
   ACLLEAGUE Cricket League - Page Specific Components
   ========================================================================== */

/* Brand Logo Image in Header/Footer */
.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 6px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.brand-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(245, 166, 35, 0.45), 0 0 0 2px var(--primary-gold);
}

.brand-logo-img {
  height: 46px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 10px;
  width: fit-content;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-brand-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.45);
}

.footer-brand-logo .brand-logo-img {
  height: 40px;
}

.team-emblem-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.7));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-emblem-img {
  transform: scale(1.12);
}

/* ==========================================================================
   Teams Page Styles
   ========================================================================== */
.teams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin: 30px 0 50px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-card);
}

.team-card::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--team-accent, rgba(0, 210, 255, 0.25)) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--team-accent, #00d2ff);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px var(--team-glow, rgba(0, 210, 255, 0.3));
}

.team-card:hover::before {
  opacity: 1;
}

.team-badge-container {
  width: 110px;
  height: 110px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.team-card-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.team-card-owner-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 20, 44, 0.7);
  border: 1px solid rgba(245, 166, 35, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.team-card-owner-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.team-card-owner-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-gold);
}

.team-card-actions {
  width: 100%;
}

.btn-owner-poster {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--primary-gold);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.04em;
}

.btn-owner-poster:hover {
  background: var(--primary-gold);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.35);
}

/* Owners Gallery Section */
.owners-section {
  margin: 50px 0 70px;
}

.section-head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.section-title-tag {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-tag::before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--primary-gold);
  border-radius: 2px;
}

.posters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.poster-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.poster-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-gold);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7), 0 0 20px var(--primary-gold-glow);
}

.poster-card-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.poster-card:hover .poster-card-img {
  transform: scale(1.03);
}

.poster-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(6, 11, 24, 0.95) 0%, rgba(6, 11, 24, 0.6) 60%, transparent 100%);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.poster-team-name {
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
}

.poster-owner-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-gold);
}

/* ==========================================================================
   Leadership & Founders Banner Showcase
   ========================================================================== */
.founders-feature-banner {
  background: linear-gradient(135deg, rgba(15, 29, 64, 0.92) 0%, rgba(6, 12, 26, 0.96) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  margin: 35px 0 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(245, 166, 35, 0.2);
}

.founders-feature-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f5a623, #00d2ff, #f5a623);
}

.founders-banner-content {
  display: flex;
  flex-direction: column;
}

.founders-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--primary-gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 14px;
}

.founders-banner-title {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.founders-banner-title .gold {
  color: var(--primary-gold);
}

.founders-banner-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.leadership-chips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.leadership-chip {
  background: rgba(8, 16, 36, 0.75);
  border: 1px solid rgba(46, 75, 135, 0.4);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.leadership-chip:hover {
  border-color: var(--primary-gold);
  background: rgba(15, 29, 64, 0.9);
  transform: translateX(3px);
}

.leadership-chip-role {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-gold);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.leadership-chip-name {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}

.founders-poster-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-gold);
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
  transition: all 0.35s ease;
}

.founders-poster-frame:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 45px rgba(245, 166, 35, 0.35);
  border-color: var(--primary-gold);
}

.founders-poster-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.founders-frame-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(0deg, rgba(6, 11, 24, 0.95) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.founders-frame-overlay span:last-child {
  color: var(--primary-gold);
}

/* Continuous Auto-Running Leadership Marquee Banner */
.leadership-marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin: 25px 0 45px;
  padding: 10px 0 25px;
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

.leadership-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: continuousMarquee 32s linear infinite;
  will-change: transform;
}

.leadership-marquee-container:hover .leadership-marquee-track {
  animation-play-state: paused;
}

@keyframes continuousMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.leadership-marquee-card {
  width: 290px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.leadership-marquee-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), 0 0 25px var(--primary-gold-glow);
  z-index: 5;
}

.leadership-marquee-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.leadership-marquee-card:hover img {
  transform: scale(1.04);
}

.leadership-marquee-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(6, 11, 24, 0.96) 0%, rgba(6, 11, 24, 0.7) 65%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.leadership-marquee-tag span {
  font-size: 10px;
  font-weight: 800;
  color: var(--primary-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.leadership-marquee-tag strong {
  font-size: 14px;
  color: #ffffff;
  font-weight: 800;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 25px 0 60px;
}

.leadership-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.leadership-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7), 0 0 25px var(--accent-blue-glow);
}

.leadership-poster-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.leadership-card:hover .leadership-poster-img {
  transform: scale(1.03);
}

/* ==========================================================================
   Photo Gallery Grid
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 25px 0 50px;
}

.gallery-photo-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.gallery-photo-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-gold);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6), 0 0 15px var(--primary-gold-glow);
}

.gallery-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-photo-card:hover .gallery-photo-img {
  transform: scale(1.06);
}

.gallery-photo-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(6, 11, 24, 0.95) 0%, transparent 100%);
  padding: 12px 14px;
  color: #ffffff;
}

.gallery-photo-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.gallery-photo-desc {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   Schedule & Fixtures Page Styles
   ========================================================================== */
.schedule-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.schedule-tabs {
  display: inline-flex;
  background: rgba(10, 20, 44, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 4px;
  gap: 6px;
}

.tab-btn {
  padding: 9px 24px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn.active {
  background: #1a73e8;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(26, 115, 232, 0.5);
}

.tab-btn:hover:not(.active) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.schedule-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 50px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table th {
  background: #091329;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.schedule-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(46, 75, 135, 0.2);
  text-align: center;
  font-size: 13px;
}

.schedule-table tr:hover {
  background: rgba(22, 45, 95, 0.35);
}

.match-badge-pill {
  display: inline-block;
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.4);
  color: var(--primary-gold);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
}

.td-match-team {
  font-weight: 700;
  color: #ffffff;
}

.team-inline-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.team-inline-badge {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.team-inline-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team-name-text {
  font-weight: 700;
  color: #ffffff;
}

.td-match-vs {
  font-size: 11px;
  font-weight: 900;
  color: var(--primary-gold);
}

.td-match-venue {
  color: var(--text-muted);
}

/* ==========================================================================
   Points Table Full View
   ========================================================================== */
.full-points-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin: 20px 0 50px;
}

.full-points-table {
  width: 100%;
  border-collapse: collapse;
}

.full-points-table th {
  background: #091329;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.full-points-table th.th-team {
  text-align: left;
  padding-left: 20px;
}

.full-points-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(46, 75, 135, 0.2);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

.full-points-table tr:hover {
  background: rgba(22, 45, 95, 0.4);
}

.full-points-table tr.top-four {
  background: rgba(0, 150, 255, 0.04);
}

.full-points-table tr.top-four td.td-pos {
  color: var(--primary-gold);
}

.full-points-table td.td-team {
  text-align: left;
  font-weight: 700;
  padding-left: 20px;
}

.full-points-table td.td-nrr {
  font-family: monospace;
  font-size: 13px;
}

.full-points-table td.td-nrr.positive {
  color: #00e676;
}

.full-points-table td.td-nrr.negative {
  color: #ff5252;
}

.full-points-table td.td-pts {
  font-weight: 800;
  color: #ffd000;
  font-size: 16px;
}

.qualification-bar-info {
  padding: 12px 20px;
  background: rgba(8, 17, 38, 0.9);
  border-top: 1px solid var(--border-color);
}

.qual-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.qual-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 8px #00e676;
}

/* ==========================================================================
   Squad Modal Styles
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-container {
  background: #0c1836;
  border: 1px solid rgba(0, 210, 255, 0.4);
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 210, 255, 0.2);
  overflow: hidden;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 18px 24px;
  background: #081126;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-team-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-team-name {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-body {
  padding: 20px 24px;
  max-height: 520px;
  overflow-y: auto;
}

.squad-modal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.squad-tab-btn {
  padding: 8px 16px;
  background: rgba(14, 28, 62, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.squad-tab-btn.active {
  background: var(--primary-gold);
  color: #000000;
  border-color: var(--primary-gold);
}

.squad-player-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.squad-player-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 28, 62, 0.6);
  border: 1px solid rgba(46, 75, 135, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: all 0.2s ease;
}

.squad-player-card:hover {
  background: rgba(22, 45, 95, 0.85);
  border-color: var(--accent-cyan);
}

.squad-player-badge-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-dim);
}

.squad-player-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.squad-player-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.squad-player-role {
  font-size: 11px;
  color: var(--primary-gold);
  font-weight: 600;
}

.squad-player-spec {
  font-size: 10px;
  color: var(--text-muted);
}

.squad-player-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.squad-player-points {
  font-size: 11px;
  font-weight: 800;
  color: #00e676;
}

.squad-player-age {
  font-size: 10px;
  color: var(--text-dim);
}

/* ==========================================================================
   Lightbox Fullscreen Viewer
   ========================================================================== */
.acl-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.acl-lightbox-overlay.open {
  display: flex;
}

.acl-lightbox-box {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: modalPop 0.25s ease;
}

.acl-lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 30px var(--primary-gold-glow);
}

.acl-lightbox-caption {
  margin-top: 12px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.acl-lightbox-close {
  position: absolute;
  top: -45px;
  right: -10px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 36px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.acl-lightbox-close:hover {
  color: var(--primary-gold);
}

/* ==========================================================================
   Contact & Registration Page Styles
   ========================================================================== */
.contact-hero-banner {
  text-align: center;
  margin-bottom: 35px;
}

.contact-quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.quick-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.quick-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px var(--primary-gold-glow);
}

.quick-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(245, 166, 35, 0.05));
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-gold);
  flex-shrink: 0;
}

.quick-stat-info {
  display: flex;
  flex-direction: column;
}

.quick-stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.quick-stat-val {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  word-break: break-word;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 50px;
  align-items: start;
}

.contact-info-card,
.registration-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before,
.registration-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-gold), var(--accent-cyan));
}

.card-title-header {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(46, 75, 135, 0.3);
}

.card-title-header i {
  color: var(--primary-gold);
}

.office-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.office-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(8, 16, 36, 0.65);
  border: 1px solid rgba(46, 75, 135, 0.3);
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.office-info-item:hover {
  border-color: var(--border-highlight);
  background: rgba(12, 24, 52, 0.85);
  transform: translateX(4px);
}

.office-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 16px;
  flex-shrink: 0;
}

.office-info-text {
  display: flex;
  flex-direction: column;
}

.office-info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.office-info-val {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
}

.contact-founders-preview {
  margin-top: 10px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  position: relative;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.contact-founders-preview:hover {
  transform: scale(1.02);
  border-color: var(--primary-gold);
  box-shadow: 0 12px 30px rgba(245, 166, 35, 0.35);
}

.contact-founders-img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-founders-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(6, 11, 24, 0.95) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.contact-founders-badge span {
  color: var(--primary-gold);
}

/* Form Styles */
.registration-form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(8, 16, 36, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 14px;
  font-family: var(--font-body);
  transition: all 0.25s ease;
}

.form-select {
  cursor: pointer;
}

.form-select option {
  background: #0a1329;
  color: #ffffff;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(12, 22, 48, 0.95);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.25);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-submit-btn {
  width: 100%;
  padding: 15px 24px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: linear-gradient(135deg, #f5a623 0%, #e67e22 100%);
  color: #000000;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}

.form-submit-btn:hover {
  background: linear-gradient(135deg, #ffb833 0%, #f39c12 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 166, 35, 0.6);
}

.venue-directions-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-card);
}

.venue-directions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

/* ==========================================================================
   Stats & Records Page Styles
   ========================================================================== */
.stats-quick-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.stat-counter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-counter-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 210, 255, 0.25);
}

.stat-counter-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.stat-counter-info {
  display: flex;
  flex-direction: column;
}

.stat-counter-val {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.stat-counter-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* 3 Major Cap Awards */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 50px;
}

.award-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 22px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.award-card:hover {
  transform: translateY(-8px);
}

/* Orange Cap Card */
.orange-cap-card {
  border-color: rgba(255, 107, 0, 0.4);
}

.orange-cap-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b00, #ffa502);
}

.orange-cap-card:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 107, 0, 0.35);
  border-color: #ff6b00;
}

/* Purple Cap Card */
.purple-cap-card {
  border-color: rgba(168, 85, 247, 0.4);
}

.purple-cap-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8b5cf6, #d946ef);
}

.purple-cap-card:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(168, 85, 247, 0.35);
  border-color: #a855f7;
}

/* All Rounder Card */
.allrounder-card {
  border-color: rgba(16, 185, 129, 0.4);
}

.allrounder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #06b6d4);
}

.allrounder-card:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.35);
  border-color: #10b981;
}

.award-header-badge {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.orange-cap-card .award-header-badge {
  background: rgba(255, 107, 0, 0.15);
  color: #ff8c00;
  border: 1px solid rgba(255, 107, 0, 0.3);
}

.purple-cap-card .award-header-badge {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.allrounder-card .award-header-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.award-sub-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.player-avatar-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(6, 11, 24, 0.85);
  border: 3px solid #f5a623;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  transition: transform 0.3s ease;
}

.award-card:hover .player-avatar-circle {
  transform: scale(1.08);
}

.award-player-name {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 4px;
}

.award-player-team {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 14px;
  display: block;
}

.award-stat-value {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.orange-cap-card .award-stat-value {
  color: #ff8c00;
  text-shadow: 0 0 15px rgba(255, 140, 0, 0.4);
}

.purple-cap-card .award-stat-value {
  color: #c084fc;
  text-shadow: 0 0 15px rgba(192, 132, 252, 0.4);
}

.allrounder-card .award-stat-value {
  color: #34d399;
  text-shadow: 0 0 15px rgba(52, 211, 153, 0.4);
}

.award-stat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.award-mini-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(10, 20, 44, 0.75);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.award-mini-pill span {
  color: #ffffff;
}

/* Table Team Logo & Pos Badges */
.table-team-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 8px;
}

.pos-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.pos-rank-1 {
  background: linear-gradient(135deg, #f5a623, #d97706);
  color: #000;
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.4);
}

.pos-rank-2 {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: #000;
}

.pos-rank-3 {
  background: linear-gradient(135deg, #b45309, #78350f);
  color: #fff;
}

.pos-rank-other {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

/* Tournament Milestones Section */
.milestones-section {
  margin: 50px 0 60px;
}

.milestones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.milestone-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.milestone-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-gold-glow);
}

.milestone-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  font-size: 18px;
  margin-bottom: 14px;
}

.milestone-stat-figure {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 2px;
  line-height: 1.2;
}

.milestone-stat-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-gold);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.milestone-stat-holder {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.milestone-stat-holder strong {
  color: #ffffff;
}

/* Toast Notifications */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #10244c, #1a73e8);
  border: 1px solid var(--accent-cyan);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 210, 255, 0.3);
  z-index: 1000;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .founders-feature-banner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 22px;
  }
  .stats-quick-counters {
    grid-template-columns: repeat(2, 1fr);
  }
  .milestones-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-quick-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .venue-directions-grid {
    grid-template-columns: 1fr;
  }
  .teams-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .posters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .awards-grid {
    grid-template-columns: 1fr;
  }
  .stats-tables-grid {
    grid-template-columns: 1fr;
  }
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .leadership-chips-grid {
    grid-template-columns: 1fr;
  }
  .teams-grid {
    grid-template-columns: 1fr;
  }
  .posters-grid {
    grid-template-columns: 1fr;
  }
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .squad-player-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
