/* Styles spécifiques pour les pages de matchs */

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

.match-card {
  background: var(--c-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.match-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.35);
}

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

.match-competition {
  font-size: 0.9rem;
  color: var(--c-text-dim);
}

.match-date {
  font-size: 0.9rem;
  color: var(--c-text-dim);
}

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

.match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40%;
}

.team-logo {
  width: 50px;
  height: 50px;
  margin-bottom: 8px;
}

.team-name {
  font-weight: 600;
  text-align: center;
  font-size: 0.95rem;
  margin-top: 8px;
}

.match-vs {
  font-weight: 700;
  color: var(--c-text-dim);
}

.match-odds {
  display: flex;
  justify-content: space-around;
  margin-bottom: 36px;
}

.odds-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 80px;
  cursor: pointer;
  transition: background 0.2s ease;
  gap: 12px;
}

.odds-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.odds-label {
  font-size: 0.8rem;
  color: var(--c-text-dim);
  margin-bottom: 4px;
}

.odds-value {
  font-weight: 800;
  color: var(--c-accent);
  font-size: 1.1rem;
}

.match-action {
  text-align: center;
}

.bet-match-btn {
  padding: 10px 20px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
  color: #051416;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease;
  margin-bottom: 2%;
}

.bet-match-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Drawer styles for match betting */
.drawer-match {
  font-weight: 800;
  font-size: 1.2rem;
  margin-top: 12px;
}

#drawer-match-teams{
  font-size: 1.7rem; 
  margin: 5% auto 7%
}

.outcome-selection {
  display: flex;
  gap: 10px;
  margin: 10px auto 0 auto;
  justify-content: space-between;
}

.outcome-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.outcome-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.outcome-btn.selected {
  background: rgba(0, 231, 214, 0.15);
  border-color: var(--c-accent);
}

.outcome-team {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--c-text);
}

.outcome-odds {
  font-weight: 800;
  color: var(--c-accent);
  font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .matches-grid {
    grid-template-columns: 1fr;
  }
  
  .outcome-selection {
    flex-direction: column;
  }
  
  .outcome-btn {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ------------------------------
   FOOTER
-------------------------------*/
footer{
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
  padding:18px 20px; text-align:center; color:var(--c-text-dim)
}
.social-media{
  display:flex; gap:16px; justify-content:center; margin: 1.5% 0 1% 0;
}
.social-media a{
  display:inline-block; width:24px; height:24px; color:var(--c-text-dim); transition:color .2s ease
}
.social-media a:hover{ color:var(--c-accent) }
.social-media svg{ width:100%; height:100%; fill:currentColor }

/* ------------------------------
   RESPONSIVE
-------------------------------*/
@media (max-width:960px){
  .hero-inner{grid-template-columns:1fr}
  .appbar-inner{gap:10px}
  .two-columns {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .country-content {
    padding-right: 0;
    order: 2;
  }
  .country-image {
    order: 1;
  }
}
@media (max-width:600px){
  .lang-trigger span{display:flex;color:white;}
  .brand a{display:none}
  .hero .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero .btn {
    width: 100%;
    max-width: 280px;
  }
}
