/* ==========================================================================
   NCL (Dream11 Nadan Champions League) Portal Styling - Mobile Responsive
   ========================================================================== */

#ncl-splash-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #1b0c36 0%, #06020e 100%);
  z-index: 30000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.6s ease;
  padding: 1.5rem;
}

#ncl-splash-screen.fade-out {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.ncl-splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 780px;
  width: 100%;
}

.ncl-champ-badge {
  background: var(--ncl-neon-gold);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(0.75rem, 2.5vw, 0.95rem);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 0 25px var(--ncl-neon-gold);
}

.ncl-splash-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
}

.ncl-splash-subtitle {
  font-size: clamp(0.95rem, 3vw, 1.2rem);
  color: var(--ncl-neon-cyan);
  font-weight: 800;
}

/* NCL Header & Navigation */
.ncl-header {
  background: rgba(14, 4, 30, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--ncl-neon-cyan);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

.ncl-brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .ncl-brand-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-back-nbcc {
    width: 100%;
  }
}

.ncl-logo-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ncl-crest-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ncl-neon-purple);
  border: 2px solid var(--ncl-neon-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 20px var(--ncl-neon-gold);
}

.ncl-title-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 3.5vw, 1.4rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
}

.ncl-title-text p {
  font-size: 0.72rem;
  color: var(--ncl-neon-gold);
  letter-spacing: 2px;
  font-weight: 900;
}

.ncl-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.6rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE & Edge */
}

.ncl-nav::-webkit-scrollbar {
  display: none; /* Chrome, Safari & Opera */
}

.ncl-nav-item {
  padding: 0.55rem 1.1rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.ncl-nav-item:hover, .ncl-nav-item.active {
  color: var(--ncl-neon-gold);
  background: rgba(157, 78, 221, 0.25);
  border-bottom: 2px solid var(--ncl-neon-gold);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* NCL Marquee Ticker */
.ncl-ticker-bar {
  background: rgba(157, 78, 221, 0.2);
  border-top: 1px solid var(--ncl-neon-purple);
  border-bottom: 1px solid var(--ncl-neon-purple);
  padding: 0.45rem 0;
  overflow: hidden;
}

.ncl-marquee-wrapper {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.ncl-marquee-text {
  display: inline-block;
  white-space: nowrap;
  animation: nclMarquee 22s linear infinite;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

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

.btn-back-nbcc {
  background: transparent;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-back-nbcc:hover {
  background: var(--accent-gold);
  color: #000;
}

/* NCL Tab Page Controller */
.ncl-tab-page {
  display: none;
}

.ncl-tab-page.active {
  display: block;
  animation: fadeIn 0.35s ease forwards;
}

/* NCL Hero Banner */
.ncl-hero-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--ncl-neon-cyan);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.35);
  min-height: 300px;
  height: 420px;
}

@media (max-width: 640px) {
  .ncl-hero-banner {
    height: 320px;
  }
}

.ncl-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ncl-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 2, 16, 0.95) 0%, rgba(7, 2, 16, 0.2) 70%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

/* NCL Franchises Grid */
.franchise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 480px) {
  .franchise-grid {
    grid-template-columns: 1fr;
  }
}

.franchise-card {
  background: rgba(18, 7, 36, 0.9);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  position: relative;
}

.franchise-card:hover {
  transform: translateY(-6px);
  border-color: var(--ncl-neon-gold);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

.franchise-title-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.franchise-logo-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--ncl-neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.franchise-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
}

.franchise-titles-badge {
  display: inline-block;
  background: var(--ncl-neon-gold);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
