
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #ffffff;
  min-height: 100vh;
}

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

.header {
  background: linear-gradient(90deg, #0d1b2a 0%, #1b263b 100%);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 45px;
  height: 45px;
}

.logo h1 {
  font-size: 24px;
  background: linear-gradient(90deg, #4ade80, #22c55e, #16a34a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: #e2e8f0;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav a:hover {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.nav a.active {
  background: linear-gradient(90deg, #4ade80, #22c55e);
  color: #1a1a2e;
}

.hero {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
  padding: 60px 0;
  text-align: center;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #4ade80, #22c55e, #16a34a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: #94a3b8;
  margin-bottom: 30px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-number {
  font-size: 48px;
  font-weight: bold;
  color: #4ade80;
}

.countdown-label {
  font-size: 14px;
  color: #94a3b8;
  margin-top: 5px;
}

.section {
  padding: 40px 0;
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  width: 5px;
  height: 28px;
  background: linear-gradient(180deg, #4ade80, #22c55e);
  border-radius: 5px;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(74, 222, 128, 0.3);
}

.card-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: #f1f5f9;
}

.card-content {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
}

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

.match-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.match-status {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
}

.status-upcoming {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.status-live {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  animation: pulse 1s infinite;
}

.status-finished {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

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

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

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.team-flag {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.team-name {
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
}

.match-score {
  font-size: 32px;
  font-weight: bold;
  color: #4ade80;
  min-width: 80px;
  text-align: center;
}

.match-info {
  text-align: center;
  margin-top: 15px;
  color: #94a3b8;
  font-size: 13px;
}

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

.news-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

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

.news-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-content {
  padding: 15px;
}

.news-title {
  font-size: 16px;
  margin-bottom: 10px;
  color: #f1f5f9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-summary {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-date {
  font-size: 12px;
  color: #64748b;
  margin-top: 10px;
}

.footer {
  background: #0d1b2a;
  padding: 40px 0;
  margin-top: 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #f1f5f9;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #4ade80;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #64748b;
  font-size: 14px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(90deg, #4ade80, #22c55e);
  color: #1a1a2e;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(74, 222, 128, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #4ade80;
  border: 2px solid #4ade80;
}

.btn-secondary:hover {
  background: rgba(74, 222, 128, 0.1);
}

.btn-group {
  display: flex;
  gap: 10px;
}

.tab-container {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tab {
  padding: 10px 20px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.tab:hover {
  background: rgba(74, 222, 128, 0.1);
}

.tab.active {
  background: linear-gradient(90deg, #4ade80, #22c55e);
  color: #1a1a2e;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #f1f5f9;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #4ade80;
}

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

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  display: none;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 20px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 22px;
  color: #f1f5f9;
}

.modal-close {
  font-size: 24px;
  cursor: pointer;
  color: #94a3b8;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #ef4444;
}

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

.team-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(74, 222, 128, 0.3);
}

.team-card-flag {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.team-card-name {
  font-size: 16px;
  font-weight: 600;
  color: #f1f5f9;
}

.team-card-group {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 5px;
}

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

.group-title {
  font-size: 20px;
  margin-bottom: 15px;
  color: #f1f5f9;
}

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

.group-table th,
.group-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.group-table th {
  color: #94a3b8;
  font-weight: 500;
  font-size: 13px;
}

.group-table tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

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

.group-team img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

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

.progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 5px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4ade80, #22c55e);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 48px;
  font-weight: bold;
  background: linear-gradient(90deg, #4ade80, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: #94a3b8;
  margin-top: 8px;
}

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

.discussion-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.discussion-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.discussion-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.discussion-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #1a1a2e;
}

.discussion-author {
  font-weight: 600;
  color: #f1f5f9;
}

.discussion-time {
  font-size: 12px;
  color: #64748b;
}

.discussion-title {
  font-size: 16px;
  color: #f1f5f9;
  margin-bottom: 8px;
}

.discussion-content {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.5;
}

.discussion-footer {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  color: #64748b;
  font-size: 13px;
}

.prediction-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.prediction-match {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
}

.prediction-score {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prediction-input {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #f1f5f9;
}

.prediction-input:focus {
  outline: none;
  border-color: #4ade80;
}

.stadium-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stadium-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.stadium-info {
  padding: 20px;
}

.stadium-name {
  font-size: 18px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 8px;
}

.stadium-location {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.stadium-details {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #64748b;
}

.ticket-card {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
  border-radius: 15px;
  padding: 25px;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.ticket-type {
  font-size: 16px;
  font-weight: 600;
  color: #4ade80;
}

.ticket-price {
  font-size: 28px;
  font-weight: bold;
  color: #f1f5f9;
}

.ticket-benefits {
  list-style: none;
  margin-bottom: 20px;
}

.ticket-benefits li {
  padding: 8px 0;
  color: #94a3b8;
  font-size: 14px;
}

.country-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.country-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.country-flag {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
}

.country-name {
  font-size: 20px;
  font-weight: 600;
  color: #f1f5f9;
}

.country-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.city-badge {
  background: rgba(74, 222, 128, 0.1);
  padding: 5px 15px;
  border-radius: 20px;
  color: #4ade80;
  font-size: 13px;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero h2 {
    font-size: 32px;
  }
  
  .countdown {
    gap: 15px;
  }
  
  .countdown-item {
    padding: 15px 20px;
  }
  
  .countdown-number {
    font-size: 32px;
  }
  
  .matches-grid {
    grid-template-columns: 1fr;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .teams-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .teams-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .match-teams {
    flex-direction: column;
    gap: 15px;
  }
  
  .match-score {
    order: -1;
  }