@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #131215;
  --surface: #1c1a1e;
  --surface-2: #252226;
  --ink: #f2eee6;
  --ink-dim: #9a938d;
  --ink-faint: #6b6560;
  --accent-red: #c8102e;
  --accent-green: #3d6b4a;
  --accent-gold: #d4a017;
  --border: rgba(255,255,255,0.08);
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', ui-sans-serif, system-ui;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }

/* --- Hero : epure, plus de degrade charge --- */
.hero {
  position: relative;
  padding: 30px 22px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(212,160,23,0.14) 0%, rgba(212,160,23,0) 70%);
  pointer-events: none;
}

.brand {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.02em;
  position: relative;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 25px;
  line-height: 1.25;
  margin: 16px 0 8px;
  position: relative;
  letter-spacing: -0.01em;
}

.hero p.sub {
  color: var(--ink-dim);
  font-size: 13.5px;
  margin: 0;
  position: relative;
}

.search {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  position: relative;
}

.search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink);
  font-size: 13.5px;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.section-label {
  padding: 24px 22px 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  font-weight: 600;
}

.artist-chips {
  padding: 4px 22px 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.chip {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.15s ease;
}
.chip:hover { border-color: var(--accent-gold); }

.song-list { padding: 4px 12px 22px; }

.song-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.song-row:hover { background: var(--surface); }

.song-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(0,0,0,0.75);
  font-weight: 700;
}

.song-title { font-size: 14px; font-weight: 600; letter-spacing: -0.005em; }
.song-sub { font-size: 12.5px; color: var(--ink-dim); margin-top: 1px; }
.song-sub a:hover { text-decoration: underline; }
.song-duration { font-size: 11.5px; color: var(--ink-faint); margin-left: auto; font-variant-numeric: tabular-nums; }
.chevron { color: var(--ink-faint); margin-left: 6px; }

.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-dim);
  font-weight: 500;
}
.topbar a { color: var(--ink-dim); font-size: 15px; }
.topbar a:hover { color: var(--ink); }

.artist-hero {
  position: relative;
  height: 140px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.artist-hero h2 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 24px; margin: 0 0 3px; color: var(--ink); position: relative; }
.artist-hero span { font-size: 12.5px; color: var(--ink-dim); position: relative; }

.bio { padding: 20px 22px 0; font-size: 13.5px; color: var(--ink-dim); line-height: 1.6; }

.song-cover {
  position: relative;
  height: 190px;
  margin: 20px 22px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  overflow: hidden;
}

.content { padding: 20px 22px 32px; }

h2.title { font-family: 'Fraunces', serif; font-weight: 500; font-size: 23px; margin: 0 0 5px; letter-spacing: -0.01em; }

.youtube-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  margin: 18px 0 24px;
  transition: border-color 0.15s ease;
}
.youtube-btn:hover { border-color: var(--ink-dim); }

.amount-label {
  font-size: 11px;
  color: var(--ink-faint);
  margin-bottom: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.amount-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.amount-chip {
  padding: 9px 15px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.15s ease;
}

.amount-chip.selected {
  border-color: var(--accent-gold);
  background: rgba(212,160,23,0.1);
  color: var(--accent-gold);
}

input[type="text"], input[type="number"], input[type="password"], select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--ink);
  font-size: 13.5px;
  font-family: 'Inter', sans-serif;
  outline: none;
  margin-bottom: 14px;
  transition: border-color 0.15s ease;
}
input:focus, select:focus { border-color: var(--accent-gold); }
input::placeholder { color: var(--ink-faint); }

.btn {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: filter 0.15s ease, transform 0.1s ease;
  margin-bottom: 10px;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(0.99); }

.btn-red { background: var(--accent-red); }
.btn-green { background: var(--accent-green); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--ink-dim); filter: none; }

.fine-print { text-align: center; font-size: 11px; color: var(--ink-faint); margin-top: 6px; }

.wallet-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
  margin: 22px 0;
}

.wallet-card .label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}

.wallet-balance { font-family: 'Fraunces', serif; font-weight: 500; font-size: 26px; margin-bottom: 4px; letter-spacing: -0.01em; }

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px auto 22px;
  font-size: 26px;
  color: #fff;
}

.center { text-align: center; padding: 40px 24px; }

.legal-page h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 16px; margin: 24px 0 8px; color: var(--ink); }
.legal-page h3:first-child { margin-top: 0; }
.legal-page p { font-size: 13px; line-height: 1.65; color: var(--ink-dim); margin: 0 0 4px; }

/* --- Footer moderne, centre, dans le theme du site --- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 48px 22px 28px;
  margin-top: 20px;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -80%;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 300px;
  background: radial-gradient(circle, rgba(212,160,23,0.10) 0%, rgba(212,160,23,0) 70%);
  pointer-events: none;
}

.site-footer-inner {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-mark { display: block; }

.site-footer-tagline {
  font-size: 12.5px;
  color: var(--ink-faint);
  line-height: 1.6;
  margin: 0 0 24px;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
}

.site-footer-links a {
  font-size: 12.5px;
  color: var(--ink-dim);
  padding: 4px 2px;
  transition: color 0.15s ease;
}
.site-footer-links a:hover { color: var(--accent-gold); }

.footer-dot { color: var(--ink-faint); font-size: 12px; }

.site-footer-bottom {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--ink-faint);
}

/* --- Responsive general --- */
@media (min-width: 700px) {
  .wrap { max-width: 100%; padding: 0 24px; }
  .hero { max-width: 1400px; margin: 0 auto; border-radius: 0 0 var(--radius) var(--radius); }
  .artist-chips, .section-label, .song-list { max-width: 1400px; margin-left: auto; margin-right: auto; width: 100%; }
  .content { max-width: 620px; margin: 0 auto; }
  .hero h1 { font-size: 33px; }
  .song-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 4px 16px;
    padding-bottom: 26px;
  }
  .song-row { padding: 12px; }
}
