:root{
  --bg-top:#44B1CF; --bg-mid:#33A0C2; --bg-bottom:#2486AB;
  --ink:#0A3041; --paper:#FFFFFF;
  --brand-yellow:#FEC84C; --accent-orange:#FFB23F; --live-red:#E7323E;
  --card:rgba(255,255,255,.08); --card-stroke:rgba(10,48,65,.18);
  --shadow:0 10px 30px rgba(0,0,0,.12);
}
*{box-sizing:border-box}
html,body{height:100%}
.bungee{font-family:"Bungee",cursive}
.container{width:min(1100px,92vw); margin-inline:auto}
.pad-block{padding-block:48px}

/* Header */
.site-header{position:sticky; top:0; z-index:20; backdrop-filter:saturate(180%) blur(8px); background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.05)); border-bottom:1px solid rgba(255,255,255,.1)}
.header-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--paper)}
.brand-logo{height:40px; width:auto; filter:drop-shadow(0 2px 8px rgba(0,0,0,.25))}
.brand-title{font-family:"Bungee",cursive; letter-spacing:.5px; font-size:22px}
.nav{display:flex; gap:14px}
.nav-link{padding:10px 14px; border-radius:12px; text-decoration:none; color:var(--paper); font-weight:600; opacity:.9}
.nav-link:hover{background:rgba(255,255,255,.08)}
.nav-link.active{background:rgba(255,255,255,.14)}
.nav-link.highlight{background:var(--brand-yellow); color:#09232F}

/* Hero */
.hero{padding:56px 0}
.hero-grid{display:grid; grid-template-columns:1.2fr 1fr; gap:32px; align-items:center}
.title{font-family:"Bungee",cursive; font-size:48px; line-height:1.05; margin:0 0 12px}
.lead{font-size:18px; opacity:.95; margin:0 0 18px}
.hero-media img{width:100%; height:auto; border-radius:20px; border:2px solid var(--card-stroke); box-shadow:var(--shadow)}

.btn{display:inline-flex; align-items:center; gap:10px; padding:12px 18px; border-radius:14px; border:0; font-weight:800; text-decoration:none; cursor:pointer}
.btn-primary{background:var(--brand-yellow); color:#062636; box-shadow:0 4px 0 rgba(0,0,0,.15)}
.btn-primary:active{transform:translateY(2px)}

.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:16px}
.section-title{font-family:"Bungee"; font-size:32px; margin:0}
.section-sub{font-family:"Bungee"; font-size:24px; margin:0 0 12px}

/* Cards années */
.card-grid{display:grid; grid-template-columns:repeat(6,1fr); gap:14px}
.card{background:var(--card); border:1px solid var(--card-stroke); border-radius:16px; padding:16px; box-shadow:var(--shadow)}
.card.year{position:relative; overflow:hidden}
.card.year .year-label{font-family:"Bungee"; font-size:20px; opacity:.95}
.card.year .amount{font-weight:800; font-size:28px; margin-top:4px}
.card.year.soon{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.02)); border-style:dashed}
.card.year .tag{position:absolute; top:10px; right:-8px; background:var(--brand-yellow); color:#09232F; font-weight:900; padding:4px 10px; border-radius:10px}

/* Partenaires */
.partners{padding:40px 0 64px}
.partners-strip{display:grid; grid-template-columns:repeat(6,1fr); gap:20px; align-items:center}
.partners-strip img{max-width:100%; height:52px; object-fit:contain; filter:drop-shadow(0 2px 10px rgba(0,0,0,.25)); background:rgba(255,255,255,.08); border:1px solid var(--card-stroke); border-radius:14px; padding:10px}

/* Inputs */
.input{width:100%; padding:12px 14px; border-radius:12px; border:1px solid rgba(255,255,255,.25); background:rgba(0,0,0,.15); color:#fff}
.filters-row{display:flex; gap:10px}
.form-field{display:flex; flex-direction:column; gap:6px}
.panel{background:rgba(0,0,0,.18); border:1px solid var(--card-stroke); padding:16px; border-radius:16px; box-shadow:var(--shadow); margin-bottom:16px}
.grid-2{display:grid; grid-template-columns:repeat(2,1fr); gap:12px}
.badge{margin-left:8px; padding:6px 10px; border-radius:10px; background:rgba(255,255,255,.18)}

/* Footer */
.site-footer{padding:24px 0; border-top:1px solid rgba(255,255,255,.1)}
.footer-inner{display:flex; align-items:center; justify-content:space-between}
.small{font-size:12px}
.muted{opacity:.8}

/* Responsive */
@media (max-width:1000px){
  .hero-grid{grid-template-columns:1fr}
  .card-grid{grid-template-columns:repeat(3,1fr)}
  .partners-strip{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:640px){
  .card-grid{grid-template-columns:repeat(2,1fr)}
  .partners-strip{grid-template-columns:repeat(2,1fr)}
}
.years-list{ list-style:none; padding:0; margin:0 }
.years-list li{
  padding:10px 12px;
  margin:0 0 8px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:10px;
  background:rgba(255,255,255,.06);
  font-weight:800;
}
/* ====== Années : cadres jaunes stylés ====== */
.years-list{ list-style:none; padding:0; margin:0; display:grid; gap:12px }
.years-list--gold li{
  display:flex; align-items:center; gap:10px;
  padding:14px 18px;
  border-radius:18px;
  border:2px solid var(--brand-yellow);
  background:
    linear-gradient(180deg, rgba(254,200,76,.14), rgba(254,200,76,.06));
  box-shadow: 0 8px 24px rgba(254,200,76,.18), inset 0 1px 0 rgba(255,255,255,.25);
  color:#fff; font-weight:800;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.years-list--gold li:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(254,200,76,.25), inset 0 1px 0 rgba(255,255,255,.35);
  border-color: #FFD56A; /* plus lumineux au hover */
}
.years-list--gold li .y{ font-size:20px; letter-spacing:.3px }
.years-list--gold li .sep{ opacity:.7; font-weight:900 }
.years-list--gold li .amt{ font-size:18px }
.years-list--gold li.soon{
  border-style:dashed;
  background:
    linear-gradient(180deg, rgba(254,200,76,.10), rgba(254,200,76,.04));
  opacity:.95;
}
/* état erreur (au cas où) */
.years-list--gold li.error{
  border-color:#E7323E; background:rgba(231,50,62,.12);
}

/* Responsive */
@media (max-width:640px){
  .years-list--gold li{ padding:12px 14px }
  .years-list--gold li .y{ font-size:18px }
  .years-list--gold li .amt{ font-size:16px }
}

/* ===== Bloc des années avec cadre jaune stylé ===== */
.years-row {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.year-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 160px;
  padding: 22px 24px;
  border-radius: 20px;

  /* Cadre jaune lumineux */
  background: linear-gradient(180deg, rgba(255,226,120,0.25), rgba(254,200,76,0.1));
  border: 2px solid #FFD56A;
  box-shadow:
    0 0 12px rgba(254,200,76,.4),
    0 6px 20px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.25);
  color: #fff;
  text-align: center;
  transition: all .2s ease;
}

.year-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 20px rgba(254,200,76,.6),
    0 12px 30px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.4);
  border-color: #FFE78A;
}

.year-card .year {
  font-family: "Bungee";
  font-size: 28px;
  color: #FFF9D0;
  letter-spacing: .5px;
  text-shadow: 0 2px 4px rgba(0,0,0,.4);
}

.year-card .amount {
  margin-top: 6px;
  font-weight: 900;
  font-size: 22px;
  color: #FFF;
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

.year-card.soon {
  border-style: dashed;
  opacity: 0.85;
  background: linear-gradient(180deg, rgba(254,200,76,.12), rgba(254,200,76,.05));
}

.year-card.error {
  border-color: #E7323E;
  background: rgba(231,50,62,.12);
}

/* Responsive */
@media (max-width:800px){
  .year-card{width:140px;padding:18px 20px}
}
@media (max-width:640px){
  .year-card{width:120px;padding:14px 16px}
  .year-card .year{font-size:22px}
  .year-card .amount{font-size:16px}
}

/* Fond : image fixe + voile bleu (une seule règle background) */
/* Fond : image pleine, sans voile ni dégradé */
body{
  margin:0;
  color: var(--paper);
  background: url("/assets/img/background.png?v=5") center center / cover no-repeat fixed !important;
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Apple Color Emoji","Segoe UI Emoji";
}

/* ===== Partenaires : cartes uniformes ===== */
.partners-grid{
  display:grid; grid-template-columns:repeat(6,1fr); gap:18px; align-items:stretch
}
.partner-card{
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(180deg, rgba(255,226,120,.18), rgba(254,200,76,.08));
  border: 2px solid #FFD56A;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(254,200,76,.18), inset 0 1px 0 rgba(255,255,255,.25);
  padding: 12px;
  aspect-ratio: 16 / 9;                 /* ← même ratio pour tous */
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.partner-card:hover{
  transform: translateY(-2px);
  border-color:#FFE78A;
  box-shadow: 0 14px 36px rgba(254,200,76,.25), inset 0 1px 0 rgba(255,255,255,.35);
}
.partner-card img{
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;                  /* ← garde les proportions */
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.15));
}
@media (max-width:1000px){ .partners-grid{grid-template-columns:repeat(3,1fr)} }
@media (max-width:640px){ .partners-grid{grid-template-columns:repeat(2,1fr)} }

/* Admin tabs */
.tabs{display:flex; gap:8px; margin:10px 0 16px}
.tab{padding:8px 12px; border-radius:10px; border:1px solid rgba(255,255,255,.25); background:rgba(0,0,0,.18); color:#fff; cursor:pointer; font-weight:700}
.tab.active{background:var(--brand-yellow); color:#062636; border-color:transparent}
.tabpanel{display:none}
.tabpanel.active{display:block}
.admin-actions{display:flex; gap:8px; margin-top:8px}
.iconbtn{background:rgba(0,0,0,.2); border:1px solid var(--card-stroke); border-radius:10px; padding:6px 8px; cursor:pointer}

/* ===== Admin · cartes streamers ===== */
/* Grille de cartes dans l'admin */
.streamers-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* Carte verticale, centrée */
.streamer-card{
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:10px;
  padding:16px; border-radius:18px;
  background:rgba(255,255,255,.08);
  border:1px solid var(--card-stroke);
  box-shadow: var(--shadow);
  min-height: 184px;
}

.streamer-card .avatar{
  width:72px; height:72px; border-radius:50%; object-fit:cover;
  border:2px solid rgba(255,255,255,.4); background:#0b2f3f;
}

.streamer-card .name{ font-family:"Bungee"; font-size:18px; line-height:1 }
.streamer-card .meta{ font-size:13px; opacity:.9 }

.live-pill{
  display:inline-flex; align-items:center; gap:6px; margin-top:4px;
  background:rgba(231,50,62,.18); color:#fff; border:1px solid #E7323E;
  padding:4px 8px; border-radius:999px; font-weight:800; font-size:12px;
}
.live-dot{ width:8px; height:8px; border-radius:50%; background:#E7323E; box-shadow:0 0 8px #E7323E; }

/* zone boutons */
.streamer-actions{ margin-top:auto; display:flex; gap:8px }
.iconbtn{
  padding:8px 10px; border-radius:10px; border:1px solid var(--card-stroke);
  background:rgba(0,0,0,.25); cursor:pointer; font-weight:800; color:#fff; text-decoration:none;
}
.iconbtn:hover{ filter:brightness(1.08) }
.iconbtn.danger{ background:rgba(231,50,62,.18); border-color:#E7323E }

/* Ajoute ceci à la fin de assets/css/style.css */
.partners-grid{
  display:grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr));
  gap:16px; align-items:center;
}
.partner-card{
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.08); border:1px solid var(--card-stroke);
  border-radius:14px; padding:12px;
}
.partner-card img{ max-width:100%; max-height:46px; object-fit:contain; display:block; }

/* Admin: suppression partenaire (bouton en survol) */
.partner-item{ position:relative }
.partner-del{
  position:absolute; top:6px; right:6px;
  padding:6px 8px; border-radius:10px;
  border:1px solid #E7323E; background:rgba(231,50,62,.18);
  color:#fff; font-weight:800; cursor:pointer;
  opacity:.0; transition:opacity .15s ease;
}
.partner-item:hover .partner-del{ opacity:1 }

