/* ===========================================
   CUSTOM VUE COMPONENTS STYLES
   =========================================== */

/* Import Modern Navbar styles */
@import url('./modern-navbar.css');

/* Import Home Navbar styles */
@import url('./home-navbar.css');

/* Import Frontend MatchDetail styles */
@import url('./frontMatchDetail.css');

/* Import Tournament Dropdown styles */
@import url('./TournamentDropdown.css');

/* Import Frontend Tournament Detail styles */
@import url('./frontTournamentDetail.css');

/* Import Modal styles */
@import url('./modal.css');

/* Import Frontend Matches styles */
@import url('./frontMatches.css');

/* Import CronoMatches styles */
@import url('./crono-matches.css');

/* Import CronoMatchDetail styles */
@import url('./crono-match-detail.css');

/* Import Match Winner Indicators styles */
@import url('./match-winner-indicators.css');

/* ===========================================
   HOME COMPONENT STYLES
   =========================================== */

/* Hero Section */
.home-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  overflow: hidden;
}

.home-hero-background {
  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="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.home-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.home-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.home-hero-title {
  font-size: 4rem;
  font-weight: 200;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.home-text-gradient {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.home-hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}

.home-stat-item {
  text-align: center;
}

.home-stat-number {
  font-size: 2.5rem;
  font-weight: 200;
  color: #ffd700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.home-stat-label {
  font-size: 0.9rem;
  opacity: 0.95;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Navigation */
.home-navbar {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.home-navbar .navbar-brand {
  font-weight: 200;
  font-size: 1.5rem;
  color: #1e0202;
}

.home-navbar .navbar-brand i {
  color: #ffd700;
  margin-right: 0.5rem;
}

.home-navbar .nav-link {
  font-weight: 500;
  transition: all 0.3s ease;
  color: #0b0b0b !important;
}

.home-navbar .nav-link:hover {
  color: #ffd700 !important;
}

.home-navbar .nav-link i {
  margin-right: 0.5rem;
}

/* Main Content */
.home-main-content {
  background: #f8f9fa;
}

/* Section Styles */
.home-matches-section {
  padding: 4rem 0;
}

.home-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.home-section-title {
  font-size: 2.5rem;
  font-weight: 200;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.home-section-title i {
  margin-right: 0.5rem;
}

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

/* Matches Grid */
.home-matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Loading */
.home-loading-container {
  text-align: center;
  padding: 3rem;
}

/* No Matches */
.home-no-matches {
  text-align: center;
  padding: 3rem;
}

.home-no-matches-content i {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.home-no-matches-content h4 {
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.home-no-matches-content p {
  color: #adb5bd;
}

/* Tournaments Section */
.home-tournaments-section {
  padding: 4rem 0;
}

.home-tournaments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.home-tournament-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.home-tournament-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.home-tournament-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2c3e50;
  font-size: 1.5rem;
}

.home-tournament-title {
  font-size: 1.5rem;
  font-weight: 200;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.home-tournament-description {
  color: #6c757d;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.home-tournament-meta {
  margin-bottom: 1.5rem;
}

.home-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #6c757d;
  font-size: 0.9rem;
}

.home-meta-item i {
  color: #667eea;
  width: 16px;
}

.home-tournament-footer {
  text-align: center;
}

/* About Section */
.home-about-section {
  padding: 4rem 0;
  background: white;
}

.home-about-title {
  font-size: 2.5rem;
  font-weight: 200;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.home-about-description {
  font-size: 1.1rem;
  color: #6c757d;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.home-features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  color: #2c3e50;
}

.home-feature-item i {
  font-size: 1.2rem;
}

.home-about-image {
  text-align: center;
}

.home-image-placeholder {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  font-size: 5rem;
}

/* Footer */
.home-footer {
  background: #2c3e50;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.home-footer h5 {
  color: #ffd700;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.home-footer p {
  color: #ffffff;
  opacity: 0.9;
}

/* ===========================================
   TOURNAMENT DETAIL COMPONENT STYLES
   =========================================== */

.tournament-detail-view {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.info-banner {
    margin-bottom: 30px;
}

.tournament-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.tournament-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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.tournament-title {
    font-size: 2.5rem;
    font-weight: 200;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.tournament-info {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: #ffffff;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.tournament-detail-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.tournament-detail-icon {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.9);
}

.tournament-status .badge {
    font-size: 1.2rem;
    padding: 10px 20px;
    border-radius: 25px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Categories Section */
.categories-section {
    margin-bottom: 30px;
}

.section-title {
    color: #333;
    margin-bottom: 20px;
    font-weight: 200;
    font-size: 1.5rem;
}

.nav-tabs {
    border-bottom: 2px solid #e9ecef;
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    font-weight: 500;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: #007bff;
    border-bottom-color: #007bff;
}

.nav-tabs .nav-link.active {
    color: #007bff;
    border-bottom-color: #007bff;
    background: transparent;
}

/* Groups Section */
.groups-section {
    margin-bottom: 30px;
}

.subsection-header {
    margin-bottom: 20px;
}

.subsection-title {
    color: #333;
    margin-bottom: 15px;
    font-weight: 200;
    font-size: 1.2rem;
}

.groups-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.group-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.group-title {
    color: #007bff;
    margin: 0;
    font-weight: 200;
    font-size: 1.1rem;
}

.group-count {
    background: #e9ecef;
    color: #6c757d;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.group-teams {
    space-y: 8px;
}

.team-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: background-color 0.2s ease;
}

.team-item:hover {
    background: #e9ecef;
}

.team-avatar {
    width: 35px;
    height: 35px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-logo {
    width: 50%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-avatar i {
    font-size: 1.2rem;
    color: #6c757d;
}

.team-name {
    font-weight: 500;
    color: #333;
}

/* Matches Section */
.matches-section {
    margin-bottom: 30px;
}

.matches-container {
    space-y: 20px;
}

.phase-section {
    margin-bottom: 30px;
}

.phase-title {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.phase-title .badge {
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 20px;
}

.phase-count {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.match-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.match-date {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.9rem;
}

.match-status-group {
    display: flex;
    gap: 8px;
}

.match-status {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 200;
    text-transform: uppercase;
}

.status-pending {
    background: #e9ecef;
    color: #6c757d;
}

.status-progress {
    background: #fff3cd;
    color: #856404;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.team {
    flex: 1;
    text-align: center;
}

.team-home {
    margin-right: 15px;
}

.team-visitor {
    margin-left: 15px;
}

.team-logo-container {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    overflow: hidden;
}

.team-logo-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-logo-container i {
    font-size: 1.5rem;
    color: #6c757d;
}

.team-name {
    font-weight: 200;
    color: #333;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.team-score {
    font-size: 1.5rem;
    font-weight: 200;
    color: #007bff;
}

.match-vs {
    padding: 0 15px;
}

.vs-text {
    color: #6c757d;
    font-weight: 200;
    font-size: 1.1rem;
}

.match-footer {
    text-align: center;
    margin-bottom: 15px;
}

.match-detail-link {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.match-detail-link:hover {
    color: #0056b3 !important;
}

.match-detail-link small {
    transition: all 0.2s ease;
}

.match-detail-link:hover small {
    transform: scale(1.05);
}

/* Statistics Section */
.statistics-section {
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 200;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Tournament Teams Section */
.tournament-teams-section {
    margin-bottom: 30px;
}

/* No Content States */
.no-public-content,
.no-category-selected {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-public-content i,
.no-category-selected i {
    margin-bottom: 20px;
}

/* ===========================================
   MATCH DETAIL COMPONENT STYLES
   =========================================== */

.match-detail-view {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fa;
    min-height: 100vh;
}

.match-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.match-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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.match-title {
    font-size: 2.8rem;
    font-weight: 200;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.match-info {
    font-size: 1.2rem;
    margin-bottom: 0;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.match-info i {
    margin-right: 8px;
    color: #ffd700;
}

.match-score-display {
    text-align: center;
    position: relative;
    z-index: 2;
}

.score-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.team-score {
    text-align: center;
    padding: 0 25px;
    transition: transform 0.3s ease;
}

.team-score:hover {
    transform: scale(1.05);
}

.score-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #ffd700;
    margin-bottom: 5px;
}

.team-name {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.score-separator {
    padding: 0 20px;
}

.vs-text {
    font-size: 1.4rem;
    font-weight: 200;
    opacity: 0.8;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.match-status {
    margin-top: 15px;
}

.match-status .badge {
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Match Details */
.match-details {
    margin-bottom: 30px;
}

.detail-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    height: 100%;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.detail-title {
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 200;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.detail-title i {
    color: #667eea;
    font-size: 1.2rem;
}

.detail-content {
    space-y: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.detail-item:hover {
    background: #f8f9fa;
    margin: 0 -15px;
    padding: 15px;
    border-radius: 8px;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 200;
    color: #495057;
    font-size: 1rem;
}

.detail-value {
    color: #2c3e50;
    font-weight: 500;
    text-align: right;
    max-width: 60%;
    font-size: 1rem;
}

/* Result Display */
.result-display {
    text-align: center;
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.team-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.team-result:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 3px solid #667eea;
    transition: all 0.3s ease;
}

.team-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-logo i {
    font-size: 1.8rem;
    color: #667eea;
}

.team-info {
    flex: 1;
    text-align: center;
}

.team-info .team-name {
    font-weight: 200;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.team-info .team-score {
    font-size: 1.8rem;
    font-weight: 200;
    color: #667eea;
}

.result-separator {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.result-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #dee2e6 50%, transparent 100%);
}

.winner-display {
    text-align: center;
    margin-top: 25px;
}

.winner-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #2c3e50;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 200;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Lineups Section */
.lineups-section {
    margin-bottom: 30px;
}

.section-title {
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 200;
    font-size: 1.6rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.lineup-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    height: 100%;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
}

.lineup-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.lineup-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lineup-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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.lineup-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.team-logo-tiny {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.lineup-content {
    padding: 25px;
}

.lineup-group {
    margin-bottom: 30px;
}

.lineup-group-title {
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 200;
    font-size: 1.1rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.players-list {
    space-y: 10px;
}

.player-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.player-item:hover {
    background: #e9ecef;
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.player-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 200;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.player-name {
    flex: 1;
    font-weight: 500;
    color: #2c3e50;
    font-size: 1rem;
}

.player-stats {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.stat-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 200;
    color: white;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.goal-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.assist-badge {
    background: linear-gradient(135deg, #17a2b8, #6f42c1);
}

.yellow-card-badge {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: #2c3e50;
    text-shadow: none;
}

.red-card-badge {
    background: linear-gradient(135deg, #dc3545, #e83e8c);
}

.no-lineup {
    text-align: center;
    padding: 50px 20px;
    color: #6c757d;
}

.no-lineup i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Incidents Section */
.incidents-section {
    margin-bottom: 30px;
}

.incidents-timeline {
    position: relative;
    padding-left: 40px;
}

.incidents-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.incident-item {
    position: relative;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.incident-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.incident-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 25px;
    width: 15px;
    height: 15px;
    background: #667eea;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px #e9ecef;
}

.incident-item.incident-home-team {
    border-left-color: #28a745;
    background: linear-gradient(90deg, rgba(40, 167, 73, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.incident-item.incident-home-team::before {
    background: #28a745;
}

.incident-item.incident-visit-team {
    border-left-color: #dc3545;
    background: linear-gradient(90deg, rgba(220, 53, 69, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.incident-item.incident-visit-team::before {
    background: #dc3545;
}

.incident-time {
    position: absolute;
    left: -80px;
    top: 20px;
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 200;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid #e9ecef;
    font-size: 0.9rem;
    min-width: 60px;
    text-align: center;
}

.incident-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.incident-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.incident-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.incident-icon i {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
}

.incident-details {
    flex: 1;
}

.incident-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 15px;
    flex-wrap: wrap;
}

.incident-type .badge {
    font-size: 0.9rem;
    padding: 8px 15px;
    border-radius: 20px;
    color: white;
    flex-shrink: 0;
    min-width: 90px;
    text-align: center;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.incident-player {
    font-weight: 200;
    color: #2c3e50;
    text-align: center;
    flex: 1;
    margin: 0 15px;
    font-size: 1rem;
}

.incident-player .player-position {
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
    margin-left: 10px;
    opacity: 0.8;
}

.incident-team .team-badge {
    font-size: 0.85rem;
    color: #495057;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 110px;
    justify-content: center;
    border: 1px solid #dee2e6;
    font-weight: 500;
}

.incident-description {
    font-size: 0.95rem;
    color: #495057;
    font-style: italic;
    line-height: 1.5;
}

.incident-debug {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 8px;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    font-family: 'Courier New', monospace;
}

.no-incidents {
    text-align: center;
    padding: 50px 20px;
    color: #6c757d;
}

.no-incidents i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Scorecard Summary */
.scorecard-summary {
    margin-bottom: 30px;
}

.summary-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    height: 100%;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.summary-title {
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 200;
    font-size: 1.3rem;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.summary-content {
    space-y: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.summary-item:hover {
    background: #f8f9fa;
    margin: 0 -15px;
    padding: 15px;
    border-radius: 8px;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 200;
    color: #495057;
    font-size: 1rem;
}

.summary-value {
    color: #2c3e50;
    font-weight: 500;
    text-align: right;
    max-width: 60%;
    font-size: 1rem;
}

.no-scorecard {
    text-align: center;
    padding: 50px 20px;
    color: #6c757d;
}

.no-scorecard i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* ===========================================
   STATS CARD COMPONENT STYLES
   =========================================== */

.card-stats {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card-stats:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.icon-big {
    font-size: 3rem;
    line-height: 1;
}

.numbers {
    text-align: right;
}

.card-category {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 200;
    margin: 0;
    color: #2c3e50;
}

.card-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
    margin-top: 1rem;
}

.stats {
    font-size: 0.875rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stats i {
    font-size: 1rem;
}

/* Icon colors */
.text-primary { color: #007bff !important; }
.text-success { color: #28a745 !important; }
.text-warning { color: #ffc107 !important; }
.text-danger { color: #dc3545 !important; }
.text-info { color: #17a2b8 !important; }
.text-secondary { color: #6c757d !important; }

/* ===========================================
   PAGINATION COMPONENT STYLES
   =========================================== */

.btn-group {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 0.375rem;
    overflow: hidden;
}

.btn-group .btn {
    border: none;
    border-radius: 0;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
    min-width: 40px;
}

.btn-group .btn:first-child {
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.btn-group .btn:last-child {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.btn-group .btn:not(:last-child) {
    border-right: 1px solid rgba(0,0,0,0.1);
}

.btn-group .btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-group .btn:active:not(:disabled) {
    transform: translateY(0);
}

.btn-group .btn-primary {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.btn-group .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-group .btn-outline-primary {
    background-color: white;
    color: #007bff;
    border-color: #007bff;
}

.btn-group .btn-outline-primary:hover:not(:disabled) {
    background-color: #007bff;
    color: white;
}

.btn-group .btn-outline-secondary {
    background-color: #f8f9fa;
    color: #6c757d;
    border-color: #dee2e6;
}

.btn-group .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.pagination-info, .page-selector {
    font-size: 0.875rem;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

/* Home Component Responsive */
@media (max-width: 768px) {
  .home-hero-title {
    font-size: 2.5rem;
  }
  
  .home-hero-subtitle {
    font-size: 1.2rem;
  }
  
  .home-hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .home-matches-grid {
    grid-template-columns: 1fr;
  }
  
  .home-tournaments-grid {
    grid-template-columns: 1fr;
  }
  
  .home-section-title {
    font-size: 2rem;
  }
  
  .home-about-title {
    font-size: 2rem;
  }
  
  .home-image-placeholder {
    width: 200px;
    height: 200px;
    font-size: 3rem;
  }
}

/* Tournament Detail Responsive */
@media (max-width: 768px) {
    .tournament-detail-view {
        padding: 15px;
    }
    
    .tournament-header {
        padding: 20px;
    }
    
    .tournament-title {
        font-size: 2rem;
    }
    
    .tournament-detail-logo,
    .tournament-detail-icon {
        width: 80px;
        height: 80px;
    }
    
    .tournament-detail-icon {
        font-size: 2.5rem;
    }
    
    .matches-grid {
        grid-template-columns: 1fr;
    }
    
    .groups-container {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .tournament-title {
        font-size: 1.5rem;
    }
    
    .match-teams {
        flex-direction: column;
        gap: 15px;
    }
    
    .team-home,
    .team-visitor {
        margin: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Match Detail Responsive */
@media (max-width: 768px) {
    .match-detail-view {
        padding: 15px;
    }
    
    .match-header {
        padding: 20px;
    }
    
    .match-title {
        font-size: 2rem;
    }
    
    .score-number {
        font-size: 2.5rem;
    }
    
    .incidents-timeline {
        padding-left: 20px;
    }
    
    .incident-time {
        left: -35px;
        font-size: 0.8rem;
        padding: 3px 8px;
    }
    
    .incident-item::before {
        left: -17px;
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .match-title {
        font-size: 1.5rem;
    }
    
    .score-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .team-score {
        padding: 0;
    }
    
    .incidents-timeline {
        padding-left: 15px;
    }
    
    .incident-time {
        left: -30px;
        font-size: 0.7rem;
        padding: 2px 6px;
    }
    
    .incident-item::before {
        left: -12px;
        width: 8px;
        height: 8px;
    }
}

/* Pagination Responsive */
@media (max-width: 768px) {
    .pagination-info, .page-selector {
        display: none;
    }
    
    .btn-group {
        justify-content: center;
        flex: 1;
    }
    
    .btn-group .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
        min-width: 35px;
    }
}

@media (max-width: 576px) {
    .btn-group .btn {
        padding: 0.25rem 0.4rem;
        font-size: 0.75rem;
        min-width: 30px;
    }
}

/* ===========================================
   UTILITY CLASSES
   =========================================== */

.home-bg-light {
  background-color: #f8f9fa !important;
}

.mt-6, .my-6 {
  margin-top: 4rem !important;
}

.mt-7, .my-7 {
  margin-top: 5rem !important;
}

/* ===========================================
   SCORECARD STYLES
   =========================================== */

/* list Scorecard */
.scorecards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.scorecard-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scorecard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.scorecard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.scorecard-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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.unique-code .code {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.status-badge .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.scorecard-content {
    padding: 20px;
}

.match-info {
    margin-bottom: 15px;
}

.tournament-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.teams {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.team {
    font-weight: 200;
    color: #555;
}

.vs {
    color: #999;
    font-weight: bold;
}

.match-details {
    margin-top: 8px;
}

.scorecard-details {
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
}

.detail-item {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.scorecard-footer {
    background: #f8f9fa;
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.created-info {
    font-size: 0.8rem;
}

.actions {
    display: flex;
    gap: 5px;
}

.actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

.pagination-container {
    margin-top: 30px;
}

/* Scorecard Form */
.scorecard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.scorecard-form {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.scorecard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.scorecard-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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.scorecard-logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    position: relative;
    z-index: 2;
}

.scorecard-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.scorecard-unique-code h2 {
    margin: 0;
    font-weight: bold;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.scorecard-match-details-section {
    padding: 30px;
    border-bottom: 2px solid #e9ecef;
}

.scorecard-section-title {
    background: #333;
    color: white;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.scorecard-section-title h3 {
    margin: 0;
    font-weight: bold;
    color: #ffffff;
}

.scorecard-form-group {
    margin-bottom: 15px;
}

.scorecard-form-group label {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.scorecard-teams-section {
    padding: 30px;
    border-bottom: 2px solid #e9ecef;
}

.scorecard-team-section {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.scorecard-team-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.scorecard-players-table {
    padding: 20px;
}

.scorecard-players-table table {
    margin-bottom: 0;
}

.scorecard-players-table th {
    background: #e9ecef;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    color: #333;
}

.scorecard-players-table td {
    vertical-align: middle;
    padding: 8px;
    color: #333;
}

.scorecard-footer-section {
    padding: 30px;
    background: #f8f9fa;
}

.scorecard-action-buttons {
    padding: 30px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.scorecard-btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* ===========================================
   TOURNAMENT LOGO STYLES
   =========================================== */

.tournament-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: white;
}

.fallback-icon {
    display: none;
    font-size: 1.5rem;
    color: #2c3e50;
}

.home-tournament-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: white;
}

/* Tournament Detail Logo Styles */
.tournament-detail-logo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    background: white;
    border: 3px solid #667eea;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tournament-detail-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    border: 3px solid #667eea;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Tournament Logo Styles */
@media (max-width: 768px) {
    .tournament-detail-logo {
        width: 60px;
        height: 60px;
    }
    
    .tournament-detail-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .home-tournament-icon {
        width: 50px;
        height: 50px;
    }
    
    .home-tournament-icon img {
        width: 100%;
        height: 100%;
    }
    
    .fallback-icon {
        font-size: 1.2rem;
    }
}

/* Logo hover effects */
.tournament-detail-logo:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

.home-tournament-icon img:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* Logo loading states */
.tournament-logo {
    transition: opacity 0.3s ease;
}

.tournament-logo[src*="loading"] {
    opacity: 0.7;
}

/* ===========================================
   TEAM LOGO STYLES
   =========================================== */

.team-logo {
    width: 30%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: white;
    border: 2px solid #e9ecef;
}

.team-logo-small {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
    background: white;
    border: 2px solid #667eea;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.team-avatar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: white;
    border: 2px solid #e9ecef;
}

.team-avatar i {
    font-size: 1.2rem;
    color: #667eea;
    width: 30px;
    text-align: center;
}

/* Team logo hover effects */
.team-logo:hover,
.team-logo-small:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Responsive team logo styles */
@media (max-width: 768px) {
    .team-logo-small {
        width: 25px;
        height: 25px;
    }
    
    .team-avatar i {
        font-size: 1rem;
        width: 25px;
    }
}

/* Team logo loading states */
.team-logo,
.team-logo-small {
    transition: opacity 0.3s ease;
}

.team-logo[src*="loading"],
.team-logo-small[src*="loading"] {
    opacity: 0.7;
}

/* Fallback icon styles */
.team-avatar .fa-shield {
    display: none;
    font-size: 1.2rem;
    color: #667eea;
    width: 30px;
    text-align: center;
}

.team-logo-container .fa-shield {
    display: none;
    font-size: 1.2rem;
    color: #667eea;
    width: 30px;
    text-align: center;
}

/* Match teams layout adjustments */
.match-teams .team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.match-teams .team .team-logo-container {
    margin-bottom: 0.3rem;
}

/* Group teams layout adjustments */
.group-teams .team-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.group-teams .team-item:hover {
    background: #e9ecef;
}

.group-teams .team-avatar {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.group-teams .team-name {
    font-weight: 500;
    color: #333;
    flex: 1;
}

/* Additional Team Logo Integration Styles */
.team-avatar img.team-logo {
    transition: all 0.3s ease;
}

.team-avatar img.team-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Match card team logo improvements */
.match-card .team-logo-container {
    position: relative;
    margin-bottom: 0.5rem;
}

.match-card .team-logo-small {
    transition: all 0.3s ease;
}

.match-card .team-logo-small:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Group card team logo improvements */
.group-card .team-avatar {
    position: relative;
    overflow: hidden;
}

.group-card .team-logo {
    transition: all 0.3s ease;
}

.group-card .team-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Fallback icon positioning */
.team-avatar .fa-shield,
.team-logo-container .fa-shield {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

/* Loading animation for team logos */
.team-logo.loading,
.team-logo-small.loading {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Team logo error state */
.team-logo.error,
.team-logo-small.error {
    opacity: 0.3;
}

/* Responsive adjustments for team logos */
@media (max-width: 576px) {
    .team-logo-small {
        width: 20px;
        height: 20px;
    }
    
    .team-avatar i {
        font-size: 0.9rem;
        width: 20px;
    }
    
    .match-teams .team {
        gap: 0.3rem;
    }
    
    .match-teams .team .team-logo-container {
        margin-bottom: 0.2rem;
    }
}

/* Team logo accessibility */
.team-logo,
.team-logo-small {
    cursor: pointer;
}

.team-logo:focus,
.team-logo-small:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Team logo tooltip support */
.team-avatar,
.team-logo-container {
    position: relative;
}

.team-avatar:hover::after,
.team-logo-container:hover::after {
    content: attr(data-team-name);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
}

/* ===========================================
   RESPONSIVE SCORECARD STYLES
   =========================================== */

@media (max-width: 768px) {
    .scorecards-grid {
        grid-template-columns: 1fr;
    }
    
    .scorecard-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .scorecard-container {
        padding: 10px;
    }
    
    .scorecard-match-details-section,
    .scorecard-teams-section,
    .scorecard-footer-section,
    .scorecard-action-buttons {
        padding: 20px;
    }
    
    .scorecard-logo {
        font-size: 1rem;
    }
    
    .scorecard-unique-code h2 {
        font-size: 1.5rem;
    }
}

/* ===========================================
   TOURNAMENTS COMPONENT STYLES
   =========================================== */

.tournaments-view {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.tournaments-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
}

.tournaments-title {
    font-size: 2.5rem;
    font-weight: 200;
    color: #2c3e50;
    margin-bottom: 15px;
}

.tournaments-title i {
    color: #ffd700;
    margin-right: 15px;
}

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

.tournaments-list {
    space-y: 40px;
}

.tournament-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid #e9ecef;
}

.tournament-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.tournament-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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.tournament-info {
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.tournament-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.tournament-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.tournament-logo i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.tournament-details {
    flex: 1;
}

.tournament-name {
    font-size: 1.8rem;
    font-weight: 200;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.tournament-description {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 15px;
    line-height: 1.5;
}

.tournament-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.tournament-sport,
.tournament-editions-count,
.tournament-slug {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.tournament-sport i,
.tournament-editions-count i,
.tournament-slug i {
    color: #ffd700;
}

.editions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 30px;
}

.edition-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.edition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.edition-header {
    background: #f8f9fa;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

.edition-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e9ecef;
}

.edition-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.edition-logo i {
    font-size: 1.2rem;
    color: #667eea;
}

.edition-status .badge {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 500;
}

.edition-content {
    padding: 20px;
}

.edition-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.edition-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.edition-dates {
    margin-bottom: 15px;
}

.date-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #495057;
}

.date-item i {
    color: #667eea;
    width: 16px;
}

.edition-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #6c757d;
}

.meta-item i {
    color: #667eea;
    width: 14px;
}

.edition-actions {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.edition-actions .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.no-editions,
.no-tournaments {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-editions-content,
.no-tournaments-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-editions-content i,
.no-tournaments-content i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-editions-content h4,
.no-tournaments-content h4 {
    color: #495057;
    margin-bottom: 10px;
    font-weight: 200;
}

.no-editions-content p,
.no-tournaments-content p {
    color: #adb5bd;
    font-style: italic;
}

.loading-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.loading-container .spinner-border {
    width: 3rem;
    height: 3rem;
    color: #667eea;
}

.loading-container p {
    margin-top: 15px;
    color: #6c757d;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tournaments-view {
        padding: 15px;
    }
    
    .tournaments-title {
        font-size: 2rem;
    }
    
    .tournament-header {
        padding: 20px;
    }
    
    .tournament-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .tournament-logo {
        width: 60px;
        height: 60px;
    }
    
    .tournament-name {
        font-size: 1.5rem;
    }
    
    .tournament-meta {
        justify-content: center;
    }
    
    .editions-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 15px;
    }
    
    .edition-header {
        padding: 15px;
    }
    
    .edition-content {
        padding: 15px;
    }
    
    .edition-actions {
        padding: 12px 15px;
    }
}

@media (max-width: 576px) {
    .tournaments-title {
        font-size: 1.8rem;
    }
    
    .tournament-header {
        padding: 15px;
    }
    
    .tournament-logo {
        width: 50px;
        height: 50px;
    }
    
    .tournament-name {
        font-size: 1.3rem;
    }
    
    .editions-grid {
        padding: 15px;
    }
    
    .edition-meta {
        flex-direction: column;
        gap: 8px;
    }
}