* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --success: #2ecc71;
    --warning: #f39c12;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

body {
    padding-top: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--secondary);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
}

.logo-text span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

nav a:hover, nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.admin-btn {
    background-color: var(--accent);
    padding: 8px 15px;
    border-radius: 5px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Banner Styles */
.main-banner {
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('../images/banners/main-banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin: 20px 0;
}

.banner-content {
    max-width: 80%;
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Slider Banner */
.slider-section {
    margin: 30px 0;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-size: 24px;
    font-weight: 700;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Section Styles */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--primary);
}

.bg-light {
    background-color: var(--light);
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.tab {
    padding: 12px 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab.active {
    color: var(--secondary);
    border-bottom: 3px solid var(--secondary);
}

/* Match Schedule */
.match-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.match-item:hover {
    transform: translateY(-3px);
}

.match-teams {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.team {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 40%;
}

.team-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--dark);
    font-weight: bold;
}

.team-name {
    font-weight: 600;
    font-size: 18px;
}

.vs {
    font-weight: 700;
    color: var(--accent);
    font-size: 20px;
}

.match-time {
    color: #777;
    font-size: 16px;
}

.match-score {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

/* Predictions */
.prediction-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.score-input {
    width: 60px;
    text-align: center;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-weight: 600;
    font-size: 18px;
}

/* Standings Table */
.standings-table {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.standings-table th {
    background-color: var(--primary);
    color: white;
    padding: 15px;
    text-align: left;
}

.standings-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.standings-table tr:hover {
    background-color: #f8f9fa;
}

/* Teams Grid */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.team-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    font-weight: bold;
    color: var(--dark);
}

.team-card-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-card-city {
    color: #777;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .banner-content h1 {
        font-size: 32px;
    }
    
    .match-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .match-teams {
        flex-direction: column;
        gap: 10px;
    }
    
    .team {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    body {
        padding-top: 120px;
    }
}



/* Slider Styles */
.slider-container {
    position: relative;
    margin: 20px 0;
}

.slider {
    display: flex;
    overflow: hidden;
    border-radius: 10px;
    height: 200px;
}

.slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.5s ease;
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide.active {
    opacity: 1;
    position: relative;
}

.slide-content {
    padding: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: #3498db;
}

/* Team Logo Styles */
.team-logo-small {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    background: #3498db;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slider {
        height: 150px;
    }
    
    .slide {
        font-size: 18px;
    }
}


/* Styles untuk banner leaderboard 728x90 */
#banner-leaderboard {
  background: white;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}

.banner-leaderboard-content h3 {
  color: #1e3c72;
  margin-bottom: 1rem;
  text-align: center;
}

.banner-placeholder {
  width: 728px;
  height: 90px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.banner-placeholder img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Styles untuk banner slider 720x300 */
#banner-slider {
  background: white;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.banner-slider-content h3 {
  color: #1e3c72;
  margin-bottom: 1rem;
  text-align: center;
}

.slider-container {
  width: 720px;
  height: 300px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 2px dashed #dee2e6;
  border-radius: 12px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.slider-item {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.slider-item.active {
  opacity: 1;
}

.slider-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.slider-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 80%;
}

.slider-content h4 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slider-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slider-nav {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 3;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-dot.active {
  background: white;
}

.banner-loading, .slider-loading {
  color: #6c757d;
  font-style: italic;
}

/* Responsive styles */
@media (max-width: 768px) {
  .banner-placeholder,
  .slider-container {
    width: 100%;
    max-width: 100%;
  }
  
  .banner-placeholder {
    height: 70px;
  }
  
  .slider-container {
    height: 200px;
  }
  
  .slider-content h4 {
    font-size: 1.4rem;
  }
  
  .slider-content p {
    font-size: 1rem;
  }
}