.match-container {
	width:100%;
	text-align:center;
}
.scheduled_match .match-card {
	background-color: #fff;
	display: flex;
	flex-direction: column;
	/* min-width: 330px; */
	max-width: 330px;
	border-radius: 10px;
	box-shadow: 0 0 2px 0 rgba(48, 48, 48, 0.1), 0 4px 4px 0 rgba(48, 48, 48, 0.1);
	float: none;
	margin: 20px auto;
}

.scheduled_match .match-header {
  display: flex;
  border-bottom: 2px solid rgba(48, 48, 48, 0.1);
  padding: 5px;
}

.scheduled_match .match-tournament {
  display: flex;
  font-weight: 600;
  margin:auto;
}
.scheduled_match .match-tournament img {
  width: 30px;
  margin-right: 5px;
}

.scheduled_match .match-content {
  height:160px;
  display: flex;
  position: relative;
}

.scheduled_match .column {
  padding: 18px 0px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100% / 3);
}

.scheduled_match .league_team {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scheduled_match .league_team-logo {
  margin-bottom: 1.5rem!important;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 4px 4px 0 rgba(48, 48, 48, 0.15), 0 0 0 15px #f3f5f9;
}
.scheduled_match .league_team-logo img {
  width: 40px;
  height: 40px;
}

.scheduled_match .league_team-name {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.scheduled_match .match-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.scheduled_match .match-date, .scheduled_match .match-location {
  font-size: 11px;
  width: 100%;
  color: #8A8F98;
}
.scheduled_match .match-date strong, .scheduled_match .match-location strong {
  color: #1c2a38;
}

.scheduled_match .match-score {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.scheduled_match .match-score-number {
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}
.scheduled_match .match-score-number--leading {
  color: #623ce6;
}

.scheduled_match .match-score-divider {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #dbdade;
  margin-left: 10px;
  margin-right: 10px;
}

.scheduled_match .match-pk-score-number {
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}
.scheduled_match .match-pk-score-number--leading {
  color: #623ce6;
}

.scheduled_match .match-pk-score-divider {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #dbdade;
  margin-left: 10px;
  margin-right: 10px;
}

.scheduled_match .match-referee {
  margin-top: 12px;
}

.scheduled_match .match-container {
  /* position: absolute; */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.collapseMatchesButton {
	color:purple;
}
.collapseMatchesButton:hover {
	font-weight:700;
}

/* ================================
   HOME PAGE STYLES
   ================================ */

/* New Hero Section */
.hero-new {
    position: relative;
    min-height: 80vh;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

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

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content-panel {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.league-badge {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 12px 20px;
    margin-bottom: 30px;
    width: fit-content;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.badge-icon i {
    color: #1e3c72;
    font-size: 1.2rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.badge-title {
    font-size: 1rem;
    color: white;
    font-weight: 700;
}

.hero-main-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: white;
}

.title-line-1,
.title-line-2 {
    display: block;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 500px;
}

.quick-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.quick-stat {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.stat-icon i {
    color: #ffd700;
    font-size: 1.2rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1e3c72;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    color: #1e3c72;
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

.btn-text {
    margin-right: 10px;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-hero:hover .btn-icon {
    transform: translateX(3px);
}

/* League Start Countdown - Enhanced */
.league-start-countdown {
    margin-top: 20px;
}

.countdown-badge {
    position: relative;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    border-radius: 25px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    animation: countdownPulse 2s ease-in-out infinite;
    max-width: 450px;
}

@keyframes countdownPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 20px 40px rgba(255, 107, 107, 0.6);
    }
}

.badge-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    border-radius: 25px;
    animation: shimmer 3s ease-in-out infinite;
}

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

.countdown-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: iconSpin 4s linear infinite;
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.countdown-icon i {
    color: white;
    font-size: 1.8rem;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.countdown-content {
    flex: 1;
    color: white;
}

.countdown-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.countdown-label i {
    color: #ffd700;
    animation: fire 1.5s ease-in-out infinite alternate;
}

@keyframes fire {
    0% { transform: scale(1) rotate(-2deg); }
    100% { transform: scale(1.1) rotate(2deg); }
}

.countdown-date {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-time {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
}

.time-remaining {
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-arrow {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: arrowPulse 1.5s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(3px); opacity: 0.7; }
}

.countdown-arrow i {
    color: white;
    font-size: 1rem;
}

.league-start-info {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.info-icon i {
    color: #ffd700;
    font-size: 1rem;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.info-date {
    font-size: 1rem;
    color: white;
    font-weight: 700;
}

/* Visual Panel */
.hero-visual-panel {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
}

.visual-container {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.main-image-wrapper {
    position: relative;
    z-index: 3;
    max-width: 500px;
    width: 100%;
}

.main-hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.main-hero-image:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) scale(1.02);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.1), rgba(42, 82, 152, 0.2));
    border-radius: 20px;
}

.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 4;
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: cardFloat 4s ease-in-out infinite;
}

.card-1 {
    top: 15%;
    right: 0;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    left: 0;
    animation-delay: 1.5s;
}

.card-3 {
    top: 50%;
    right: 0;
    animation-delay: 3s;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.card-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.card-icon i {
    color: white;
    font-size: 0.9rem;
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e3c72;
    line-height: 1;
}

.card-subtitle {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.bg-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: circleFloat 8s ease-in-out infinite;
}

.circle-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 80px;
    height: 80px;
    bottom: 25%;
    right: 15%;
    animation-delay: 2s;
}

.circle-3 {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes circleFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

.hero-cta {
    margin-top: 30px;
}

.league-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.league-info i {
    margin-right: 10px;
    color: #ffd700;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.league-poster {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-10deg);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
}

.floating-card.trophy {
    top: 20%;
    right: -10%;
    animation-delay: 0s;
}

.floating-card.ball {
    bottom: 20%;
    left: -10%;
    animation-delay: 1.5s;
}

.floating-card i {
    font-size: 1.5rem;
    color: #667eea;
}

/* Features Section */
.features-section {
    background: #f8f9fa;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Registration Section */
.registration-section {
    background: white;
}

.section-header {
    margin-bottom: 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    margin-bottom: 20px;
}

.section-badge i {
    margin-right: 8px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-card .pricing-header {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
}

.player-card .pricing-header {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.pricing-header {
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.pricing-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-icon i {
    font-size: 1.5rem;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.pricing-cost {
    margin-bottom: 10px;
}

.price-free {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
}

.price-currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
}

.pricing-note {
    opacity: 0.8;
    font-size: 0.9rem;
}

.pricing-features {
    padding: 30px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    color: #666;
}

.pricing-features li i {
    color: #28a745;
    margin-right: 10px;
    width: 20px;
}

.pricing-footer {
    padding: 0 30px 30px;
}

.btn-block {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* ================================
   RESPONSIVE DESIGN - HOME PAGE
   ================================ */

@media (max-width: 992px) {
    .hero-content-panel {
        padding: 40px 0;
    }
    
    .hero-main-title {
        font-size: 3rem;
    }
    
    .title-highlight {
        font-size: 2.5rem;
    }
    
    .quick-stats {
        justify-content: center;
    }
    
    .hero-visual-panel {
        height: 60vh;
    }
    
    .visual-container {
        height: 60vh;
        padding: 40px 20px;
    }
    
    .float-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-new {
        min-height: auto;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .title-highlight {
        font-size: 2rem;
    }
    
    .hero-description {
        text-align: center;
        margin: 0 auto 30px;
    }
    
    .quick-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .league-start-info {
        margin: 0 auto;
    }
    
    .league-start-countdown {
        display: flex;
        justify-content: center;
    }
    
    .countdown-badge {
        max-width: 100%;
        padding: 18px 20px;
        gap: 15px;
    }
    
    .countdown-icon {
        width: 50px;
        height: 50px;
    }
    
    .countdown-icon i {
        font-size: 1.5rem;
    }
    
    .countdown-date {
        font-size: 1.5rem;
    }
    
    .hero-visual-panel {
        height: 50vh;
    }
    
    .main-hero-image {
        transform: none;
    }
    
    .shape {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .floating-card {
        display: none;
    }
    
    .league-poster {
        transform: none;
    }
}

@media (max-width: 576px) {
    .hero-main-title {
        font-size: 2rem;
    }
    
    .title-highlight {
        font-size: 1.75rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .pricing-card {
        margin-bottom: 30px;
    }
    
    .cta-container {
        padding: 30px 20px;
        text-align: center;
    }
}

/* ================================
   STANDINGS PAGE STYLES
   ================================ */

/* Professional Standings Styles */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --text-muted: #95a5a6;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e9ecef;
  --shadow-light: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-medium: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-heavy: 0 8px 30px rgba(0,0,0,0.15);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Hero Section */
.standings-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.standings-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="50" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="30" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  font-weight: 300;
}

.hero-breadcrumb {
  font-size: 1rem;
}

.breadcrumb-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.breadcrumb-link:hover {
  color: white;
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 1rem;
  opacity: 0.6;
}

.breadcrumb-current {
  color: white;
  font-weight: 500;
}

.selection-card {
  background: var(--bg-white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: all 0.3s ease;
  overflow: visible;
  position: relative;
  z-index: 50;
}

.selection-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.selection-title {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Standings Content */
.standings-content {
  padding: 60px 0;
  background: var(--bg-white);
}

.standings-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.standings-pool {
  background: var(--bg-white);
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: all 0.3s ease;
}

.standings-pool:hover {
  box-shadow: var(--shadow-medium);
}

/* Empty State */
.empty-state {
  padding: 80px 0;
  text-align: center;
}

.empty-state-content {
  max-width: 400px;
  margin: 0 auto;
}

.empty-state-icon {
  font-size: 4rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.empty-state-title {
  color: var(--text-primary);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.empty-state-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Table Enhancements */
.team_name_column {
  text-align: left !important;
}

.stat_data {
  font-weight: 600;
  color: var(--text-primary);
}

/* Legacy styles for match cards (preserved) */
.match-container {
	width:100%;
	text-align:center;
}

.scheduled_match .match-card {
	background-color: var(--bg-white);
	display: flex;
	flex-direction: column;
	min-width: 330px;
	max-width: 330px;
	border-radius: 10px;
	box-shadow: var(--shadow-light);
	float: none;
	margin: 20px auto;
}

.scheduled_match .match-header {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  padding: 5px;
}

.scheduled_match .match-tournament {
  display: flex;
  font-weight: 600;
  margin: auto;
}

.scheduled_match .match-tournament img {
  width: 30px;
  margin-right: 5px;
}

.scheduled_match .match-content {
  display: flex;
  position: relative;
}

.scheduled_match .column {
  padding: 18px 0px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100% / 3);
}

.scheduled_match .team {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scheduled_match .team-logo {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--bg-white);
  box-shadow: 0 4px 4px 0 rgba(48, 48, 48, 0.15), 0 0 0 15px var(--bg-light);
}

.scheduled_match .team-logo img {
  width: 40px;
}

.scheduled_match .team-name {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 600;
}

.scheduled_match .match-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.scheduled_match .match-date, .scheduled_match .match-location {
  font-size: 11px;
  width: 100%;
  color: var(--text-secondary);
}

.scheduled_match .match-date strong, .scheduled_match .match-location strong {
  color: var(--text-primary);
}

.scheduled_match .match-score {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.scheduled_match .match-score-number {
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}

.scheduled_match .match-score-number--leading {
  color: var(--secondary-color);
}

.scheduled_match .match-score-divider {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-muted);
  margin-left: 10px;
  margin-right: 10px;
}

.scheduled_match .match-referee {
  margin-top: 12px;
}

.scheduled_match .match-container {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collapseMatchesButton {
	color: var(--secondary-color);
	transition: all 0.3s ease;
}

.collapseMatchesButton:hover {
	font-weight: 700;
	color: var(--primary-color);
}

/* Responsive Design - Standings */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .selection-card {
    padding: 1.5rem;
  }
  
  .standings-content {
    padding: 40px 0;
  }
  
  .standings-wrapper {
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .standings-hero {
    padding: 60px 0 40px;
  }
  
  .selection-card {
    padding: 1rem;
  }
}

/* ================================
   TEAMS LIST PAGE STYLES
   ================================ */

/* Teams Hero Section */
.teams-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.teams-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="teamPattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="40" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23teamPattern)"/></svg>');
  pointer-events: none;
}

/* Teams Section */
.teams-section {
  padding: 60px 0;
  background: var(--bg-white);
}

/* Teams Stats Header */
.teams-stats-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--bg-light);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin: 0;
}

.teams-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.stat-item {
  text-align: center;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.2rem;
}

/* Teams Grid */
.teams-grid {
  margin-top: 2rem;
}

/* Team Cards */
.team-card {
  background: var(--bg-white);
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
  position: relative;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--secondary-color);
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* Team Card Header */
.team-card-header {
  padding: 0;
  text-align: center;
  position: relative;
}

.team-logo-wrapper {
  position: relative;
  display: inline-block;
}

.team-logo {
  width: 120px !important;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-light);
  transition: all 0.3s ease;
  background: var(--bg-white);
}

.team-card:hover .team-logo {
  border-color: var(--secondary-color);
  transform: scale(1.05);
}

/* Team Card Body */
.team-card-body {
  padding: 1rem 2rem;
  text-align: center;
}

.team-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  min-height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.team-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.team-stat i {
  color: var(--secondary-color);
}

/* Team Card Footer */
.team-card-footer {
  padding: 1rem 2rem 2rem;
}

.team-actions {
  text-align: center;
}

.team-btn {
  background: var(--gradient-primary);
  border: none;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.team-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

/* Empty State for Teams */
.empty-state {
  padding: 80px 0;
  text-align: center;
  background: var(--bg-light);
  border-radius: 20px;
  margin: 2rem 0;
}

.empty-state-content {
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem;
}

.empty-state-icon {
  font-size: 5rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.empty-state-title {
  color: var(--text-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.empty-state-text {
  color: var(--text-secondary);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.empty-state-action .btn {
  background: var(--gradient-primary);
  border: none;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-medium);
}

.empty-state-action .btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
  color: white;
  text-decoration: none;
}

/* Animation for team cards on load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-card {
  animation: fadeInUp 0.6s ease forwards;
}

.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }
.team-card:nth-child(5) { animation-delay: 0.5s; }
.team-card:nth-child(6) { animation-delay: 0.6s; }
.team-card:nth-child(7) { animation-delay: 0.7s; }
.team-card:nth-child(8) { animation-delay: 0.8s; }

/* Responsive Design - Teams */
@media (max-width: 768px) {
  .teams-stats {
    flex-direction: row;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .stat-item {
    padding: 0.8rem 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .team-card-header {
    padding: 1rem 0;
  }
  
  .team-card-body,
  .team-card-footer {
    padding-left: .5rem;
    padding-right: .5rem;
  }
  
  .team-logo {
    width: 100px !important;
    height: 100px;
  }
  
  .team-name {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .teams-hero {
    padding: 60px 0 40px;
  }
  
  .teams-section {
    padding: 40px 0;
  }
  
  .teams-stats-header {
    margin-bottom: 2rem;
  }
  
  .selection-card {
    padding: 1.5rem;
  }
  
  .team-stats {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  
  .team-status {
    justify-content: flex-start;
  }
  
  .empty-state {
    padding: 60px 0;
  }
  
  .empty-state-content {
    padding: 1rem;
  }
  
  .empty-state-title {
    font-size: 1.5rem;
  }
  
  .empty-state-text {
    font-size: 1rem;
  }
}

/* ================================
   STANDINGS TABLE ELEMENT STYLES
   ================================ */

/* Professional Standings Table Styles */
.professional-standings-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin: 2rem 0;
    border: 1px solid #e9ecef;
}

/* Pool Header */
.pool-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.pool-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.pool-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.pool-icon {
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.pool-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pool-stats {
    position: relative;
    z-index: 2;
}

.team-count {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
    font-variant-numeric: tabular-nums;
}

/* Table Styles */
.standings-table-wrapper {
    padding: 0;
}

.professional-standings-table {
    margin: 0;
    border: none;
}

.table-header th {
    background: #f8f9fa;
    border: none;
    border-bottom: 2px solid #e9ecef;
    padding: 1.2rem 1rem;
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    position: relative;
}

.table-header th[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 3;
}

.position-col {
    width: 80px;
    text-align: center;
}

.team-col {
    min-width: 200px;
}

.stat-col {
    width: 60px;
    text-align: center;
}

.points-col {
    width: 80px;
    text-align: center;
}

/* Table Body */
.table-body .team-row {
    border: none;
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.table-body .team-row:hover {
    background: #f8f9fa;
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.table-body .team-row:last-child {
    border-bottom: none;
}

/* Position Cell */
.position-cell {
    text-align: center;
    padding: 1.2rem 1rem;
    position: relative;
}

.position-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.position-number {
    font-weight: 700;
    font-size: 1.1rem;
    color: #2c3e50;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
    font-variant-numeric: tabular-nums;
}

.position-badge {
    font-size: 0.8rem;
}

.position-badge.position-1 {
    color: #f1c40f;
}

.position-badge.position-2 {
    color: #95a5a6;
}

.position-badge.position-3 {
    color: #e67e22;
}

/* Team Cell */
.team-cell {
    padding: 1.2rem 1rem;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.team-logo-wrapper {
    flex-shrink: 0;
}

.professional-standings-table .team-logo {
    width: 40px !important;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.team-row:hover .professional-standings-table .team-logo {
    border-color: #667eea;
    transform: scale(1.1);
}

.team-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.team-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.team-form {
    font-size: 0.75rem;
    font-weight: 500;
    color: #27ae60;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stat Cells */
.stat-cell {
    text-align: center;
    padding: 1.2rem 1rem;
    font-weight: 600;
    color: #2c3e50;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.025em;
}

.goal-diff-value {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.goal-diff-value.positive {
    color: #27ae60;
}

.goal-diff-value.negative {
    color: #e74c3c;
}

.goal-diff-value.neutral {
    color: #7f8c8d;
}

/* Points Cell */
.points-cell {
    text-align: center;
    padding: 1.2rem 1rem;
}

.points-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.points-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.025em;
}

.points-label {
    font-size: 0.7rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Top Position Highlighting */
.team-row.position-1 {
    background: linear-gradient(90deg, rgba(241,196,15,0.05) 0%, transparent 100%);
}

.team-row.position-2,
.team-row.position-3 {
    background: linear-gradient(90deg, rgba(149,165,166,0.05) 0%, transparent 100%);
}

/* Legend */
.standings-legend {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e9ecef;
}

.legend-items {
    display: flex;
    gap: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-color.position-1 {
    background: linear-gradient(135deg, #f1c40f, #f39c12);
}

.legend-color.position-2-3 {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}

.legend-text {
    font-size: 0.85rem;
    color: #7f8c8d;
}

.last-updated {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #7f8c8d;
}

/* Responsive Design - Standings Table */
@media (max-width: 768px) {
    .pool-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .pool-title {
        font-size: 1.5rem;
    }
    
    .table-header th {
        padding: 1rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .stat-cell,
    .position-cell,
    .points-cell {
        padding: 1rem 0.5rem;
    }
    
    .team-info {
        gap: 0.75rem;
    }
    
    .professional-standings-table .team-logo {
        width: 30px !important;
        height: 30px;
    }
    
    .team-name {
        font-size: 0.9rem;
    }
    
    .standings-legend {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .legend-items {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .professional-standings-container {
        margin: 1rem 0;
        border-radius: 15px;
    }
    
    .pool-header {
        padding: 1.5rem;
    }
    
    .team-info {
        flex-direction: row;
        text-align: center;
        gap: 0.5rem;
    }
    
    .position-wrapper {
        flex-direction: row;
        gap: 0.2rem;
    }
}

/* ================================
   TEAM MEMBERS PAGE STYLES
   ================================ */

/* Professional Squad Styles */
.professional-squad-section {
    padding: 1rem 0;
}

/* Squad Header */
.squad-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-light, #f8f9fa);
}

.squad-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary, #2c3e50);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.squad-title i {
    color: var(--secondary-color, #3498db);
}

.squad-subtitle {
    color: var(--text-secondary, #7f8c8d);
    font-size: 1rem;
    margin: 0;
}

.squad-filters .form-select {
    border-radius: 25px;
    border: 1px solid var(--border-color, #e9ecef);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background: var(--bg-white, #ffffff);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Players Grid */
.players-grid {
    margin-top: 1rem;
}

/* Player Cards */
.player-card {
    background: var(--bg-white, #ffffff);
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color, #e9ecef);
    position: relative;
}

.player-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-color: var(--secondary-color, #3498db);
}

.player-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Player Image Section */
.player-image-section {
    position: relative;
    padding: .5rem .5rem .5rem;
    text-align: center;
}

.player-image-wrapper {
    position: relative;
    display: inline-block;
    width: 150px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.player-card:hover .player-image-wrapper {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.player-image {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    border: none;
    transition: all 0.3s ease;
    background: var(--bg-white, #ffffff);
}

/* Country Flag */
.country-flag {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: var(--bg-white, #ffffff);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid var(--bg-light, #f8f9fa);
}

.country-flag .fi {
    font-size: 1rem;
    border-radius: 3px;
}

/* Player Info Section */
.player-info-section {
    padding: 1rem .5rem;
    text-align: center;
}

.player-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary, #2c3e50);
    margin-bottom: 0.8rem;
    line-height: 1.3;
    min-height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-position {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary, #7f8c8d);
    font-size: 0.9rem;
    font-weight: 500;
    background: var(--bg-light, #f8f9fa);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    margin: 0 auto;
    width: fit-content;
}

.player-position i {
    color: var(--secondary-color, #3498db);
    font-size: 0.8rem;
}

/* Player Social Section */
.player-social-section {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--bg-light, #f8f9fa);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link.facebook {
    background: #1877f2;
    color: white;
}

.social-link.twitter {
    background: #1da1f2;
    color: white;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
}

.social-link.tiktok {
    background: #000000;
    color: white;
}

.social-link.snapchat {
    background: #fffc00;
    color: #000000;
}

.social-link:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Stats Button */
.player-actions {
    text-align: center;
}

.stats-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.stats-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.stats-btn i {
    font-size: 0.8rem;
}

/* Empty Squad State */
.empty-squad-state {
    padding: 4rem 0;
    text-align: center;
    background: var(--bg-light, #f8f9fa);
    border-radius: 20px;
    margin: 2rem 0;
}

.empty-state-content {
    max-width: 400px;
    margin: 0 auto;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--text-muted, #95a5a6);
    margin-bottom: 1.5rem;
}

.empty-state-title {
    color: var(--text-primary, #2c3e50);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.empty-state-text {
    color: var(--text-secondary, #7f8c8d);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Design - Team Members */
@media (max-width: 768px) {
    .squad-header {
        text-align: center;
    }
    
    .squad-filters {
        margin-top: 1rem;
    }
    
    .squad-title {
        font-size: 1.5rem;
        justify-content: center;
    }
    
    .player-card {
        margin-bottom: 1.5rem;
    }
    
    .player-image-section {
        padding: 1.5rem .5rem 0.8rem;
    }
    
    .player-image-wrapper {
        width: 120px;
        height: 120px;
        border-radius: 10px;
    }
    
    .player-info-section,
    .player-social-section {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
}

@media (max-width: 576px) {
    .squad-title {
        font-size: 1.3rem;
    }
    
    .player-image-wrapper {
        width: 100px;
        height: 100px;
        border-radius: 10px;
    }
    
    .player-name {
        font-size: 1rem;
        min-height: 2.2rem;
    }
    
    .social-links {
        gap: 0.3rem;
    }
    
    .social-link {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .stats-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Animation for squad loading */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.player-card {
    animation: fadeInUp 0.6s ease forwards;
}

.player-card:nth-child(1) { animation-delay: 0.1s; }
.player-card:nth-child(2) { animation-delay: 0.2s; }
.player-card:nth-child(3) { animation-delay: 0.3s; }
.player-card:nth-child(4) { animation-delay: 0.4s; }
.player-card:nth-child(5) { animation-delay: 0.5s; }
.player-card:nth-child(6) { animation-delay: 0.6s; }
.player-card:nth-child(7) { animation-delay: 0.7s; }
.player-card:nth-child(8) { animation-delay: 0.8s; }


/* ===================================================
   Enhanced Sidebar Styles for BFA Soccer
   Added: November 2025
   ================================================== */

/* Sidebar Enhanced Base Styles */
.sidebar-enhanced {
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

/* Sidebar Brand Enhanced */
.sidebar-brand-enhanced {
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.sidebar-brand-enhanced:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.sidebar-brand-icon-enhanced {
    position: relative;
}

.sidebar-brand-icon-enhanced img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.sidebar-brand-enhanced:hover .sidebar-brand-icon-enhanced img {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.sidebar-brand-text-enhanced {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Sidebar Divider Enhanced */
.sidebar-divider-enhanced {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 0;
}

/* Sidebar Section Grouping */
.sidebar-section {
    margin-bottom: 0.5rem;
}

.sidebar-section-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.1);
    border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.sidebar-section-header i {
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

/* Nav Item Enhanced */
.nav-item-enhanced {
    margin-bottom: 0.25rem;
    transition: all 0.2s ease;
}

.nav-item-enhanced.active {
    background: linear-gradient(90deg, rgba(78, 115, 223, 0.15) 0%, transparent 100%);
    border-left: 4px solid #4e73df;
}

/* Nav Link Enhanced */
.nav-link-enhanced {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link-enhanced::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    transition: width 0.3s ease;
}

.nav-link-enhanced:hover::before {
    width: 100%;
}

.nav-link-enhanced:hover {
    color: #ffffff;
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link-enhanced i {
    margin-right: 0.75rem;
    width: 1.25rem;
    text-align: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nav-link-enhanced:hover i {
    transform: scale(1.1);
}

.nav-item-enhanced.active .nav-link-enhanced {
    color: #fff;
    font-weight: 600;
}

.nav-item-enhanced.active .nav-link-enhanced i {
    color: #4e73df;
}

/* Clicking Animation */
.nav-item-clicking .nav-link-enhanced {
    transform: scale(0.98);
    opacity: 0.8;
}

/* Collapse Arrow */
.collapse-arrow {
    font-size: 0.75rem;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.nav-link-enhanced:not(.collapsed) .collapse-arrow {
    transform: rotate(180deg);
}

/* Collapse Enhanced */
.collapse-enhanced {
    transition: all 0.3s ease-in-out;
}

.collapse-inner-enhanced {
    background: rgb(54, 53, 66) !important;
    border-left: 2px solid #4e73df;
    margin: 0 0.5rem 0.5rem 1rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Collapse Item Enhanced */
.collapse-item-enhanced {
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-radius: 4px;
    margin: 0.25rem 0.5rem;
    position: relative;
}

.collapse-item-enhanced i {
    margin-right: 0.75rem;
    width: 1rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

.collapse-item-enhanced:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #4e73df;
    transform: translateX(5px);
    padding-left: 1.25rem;
}

.collapse-item-enhanced:hover i {
    opacity: 1;
}

.collapse-item-enhanced.active {
    background: rgba(78, 115, 223, 0.3);
    color: #fff;
    font-weight: 600;
    border-left: 3px solid #6e90f6;
}

.collapse-item-enhanced.active:hover {
    color: #6e90f6;
}

.collapse-item-enhanced.active i {
    color: #6e90f6;
    opacity: 1;
}

/* Sidebar Footer */
.sidebar-footer {
    position: sticky;
    bottom: 0;
    padding: 1rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

/* Sidebar Toggle Button Enhanced */
.sidebar-toggle-btn {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.sidebar-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.sidebar-toggle-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.3);
}

.sidebar-toggle-btn i {
    transition: transform 0.3s ease;
}

/* Scrollbar Styling */
.sidebar-enhanced::-webkit-scrollbar {
    width: 6px;
}

.sidebar-enhanced::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.sidebar-enhanced::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.sidebar-enhanced::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    /* On mobile, when sidebar is toggled (collapsed), hide text and center icons */
    .sidebar.toggled .nav-link-enhanced span {
        display: none;
    }
    
    .sidebar.toggled .sidebar-brand-text-enhanced {
        display: none;
    }
    
    .sidebar.toggled .sidebar-section-header span {
        display: none;
    }
    
    .sidebar.toggled .collapse-item-enhanced {
        justify-content: center;
        text-align: center;
    }
    
    .sidebar.toggled .nav-link-enhanced {
        justify-content: center;
        text-align: center;
        padding: 0.75rem 0.5rem;
    }
    
    .sidebar.toggled .nav-link-enhanced i {
        margin-right: 0;
    }
    
    /* Standard sidebar on mobile (when expanded) */
    .sidebar-brand-text-enhanced {
        font-size: 0.95rem;
        word-wrap: break-word;
        line-height: 1.2;
    }
    
    .sidebar-brand-icon-enhanced img {
        width: 50px;
        height: 50px;
    }
    
    .sidebar-section-header {
        font-size: 0.7rem;
        padding: 0.6rem 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .nav-link-enhanced {
        padding: 0.75rem 0.85rem;
        font-size: 0.85rem;
    }
    
    .nav-link-enhanced span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
    }
    
    .collapse-item-enhanced {
        font-size: 0.85rem;
        padding: 0.55rem 0.85rem;
    }
}

/* Additional mobile fixes for very small screens */
@media (max-width: 576px) {
    /* Force sidebar to auto-collapse on very small screens */
    .sidebar-enhanced {
        width: 6.5rem !important;
    }
    
    .sidebar-enhanced .nav-link-enhanced span,
    .sidebar-enhanced .sidebar-brand-text-enhanced,
    .sidebar-enhanced .sidebar-section-header span {
        display: none;
    }
    
    .sidebar-enhanced .nav-link-enhanced {
        justify-content: center;
        padding: 0.75rem 0.5rem;
    }
    
    .sidebar-enhanced .nav-link-enhanced i {
        margin-right: 0;
        font-size: 1.1rem;
    }
    
    .sidebar-enhanced .collapse-arrow {
        display: none;
    }
    
    /* Show full sidebar when user explicitly expands it */
    .sidebar-enhanced:not(.toggled) {
        width: 14rem !important;
    }
    
    .sidebar-enhanced:not(.toggled) .nav-link-enhanced span,
    .sidebar-enhanced:not(.toggled) .sidebar-brand-text-enhanced,
    .sidebar-enhanced:not(.toggled) .sidebar-section-header span {
        display: inline;
    }
    
    .sidebar-enhanced:not(.toggled) .nav-link-enhanced {
        justify-content: space-between;
        padding: 0.75rem 0.85rem;
    }
    
    .sidebar-enhanced:not(.toggled) .nav-link-enhanced i {
        margin-right: 0.75rem;
    }
    
    .sidebar-enhanced:not(.toggled) .collapse-arrow {
        display: inline;
    }
}

/* Toggled Sidebar Adjustments */
.sidebar.toggled .sidebar-section-header {
    padding: 0.75rem 0.5rem;
    font-size: 0;
}

.sidebar.toggled .sidebar-section-header i {
    margin-right: 0;
}

.sidebar.toggled .collapse-arrow {
    display: none;
}

/* Animation Keyframes */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-item-enhanced {
    animation: slideIn 0.3s ease-out;
}

/* Improved Hover States */
.nav-link-enhanced:hover,
.collapse-item-enhanced:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Active State Glow */
.nav-item-enhanced.active .nav-link-enhanced {
    box-shadow: inset 0 0 10px rgba(78, 115, 223, 0.2);
}

/* Loading State (Optional) */
.sidebar-enhanced.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print Styles for Enhanced Sidebar */
@media print {
    .sidebar-enhanced,
    .sidebar-footer,
    .sidebar-toggle-btn {
        display: none !important;
    }
}

/* Match Timer Link Button */
.match-timer-link {
    margin-top: 8px;
    width: 100%;
}

.btn-view-timer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.btn-view-timer:hover {
    background: linear-gradient(135deg, #5568d3, #6a3f92);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

.btn-view-timer i {
    font-size: 1rem;
    animation: pulse-timer 2s ease-in-out infinite;
}

@keyframes pulse-timer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.btn-view-timer:active {
    transform: translateY(0);
}
