:root {
  --bg: #0d0d0d;
  --bg2: #141414;
  --pink: #ffb7e3;
  --pink-dim: rgba(255,183,227,0.15);
  --orange: #fd4a27;
  --orange-dim: rgba(253,74,39,0.15);
  --green: #071c00;
  --white: #f4f4f4;
  --grey: #2a2a2a;
  --grey2: #1a1a1a;
  --font-display: 'Bebas Neue', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-jp);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: default;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 2px; }

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.35;
}

/* ── HEADER ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,183,227,0.2);
  padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 4px;
  color: var(--white);
  position: relative;
}
.logo span { color: var(--pink); }
.logo::after {
  content: 'J-ムード';
  position: absolute; left: 0; top: 110%;
  font-size: 0.55rem;
  font-family: var(--font-mono);
  color: var(--pink);
  letter-spacing: 2px;
  white-space: nowrap;
}

nav { display: flex; gap: 0.25rem; align-items: center; }

.tab-btn {
  background: none; border: none;
  color: rgba(244,244,244,0.5);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  border-radius: 4px;
}
.tab-btn::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px; background: var(--pink);
  transition: all 0.3s;
}
.tab-btn:hover { color: var(--white); }
.tab-btn:hover::after { left: 10%; right: 10%; }
.tab-btn.active { color: var(--pink); }
.tab-btn.active::after { left: 10%; right: 10%; }

.header-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1px;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 3px 8px;
  border-radius: 3px;
  margin-left: 1rem;
  text-transform: uppercase;
  animation: blink 2s step-end infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }

/* ── TABS ── */
.tab-content { display: none; animation: fadeUp 0.4s ease; }
.tab-content.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────
   ACCUEIL
───────────────────────────────────────── */
#accueil { position: relative; }

.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 3rem 5rem 4rem;
  position: relative; z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block; width: 32px; height: 1px;
  background: var(--orange);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.hero-title .line1 { color: var(--white); }
.hero-title .line2 {
  color: var(--pink);
  -webkit-text-stroke: 1px var(--pink);
}
.hero-title .line3 {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244,244,244,0.3);
}

.hero-kanji {
  font-size: clamp(1rem, 3vw, 2.5rem);
  color: rgba(255,183,227,0.3);
  letter-spacing: 8px;
  margin: 1rem 0 1.5rem;
  font-weight: 300;
}

.hero-sub {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(244,244,244,0.6);
  max-width: 400px;
  margin-bottom: 2.5rem;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  cursor: pointer;
  transition: all 0.2s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-primary:hover {
  background: var(--pink);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,183,227,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(244,244,244,0.3);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.stat-item { }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--pink);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(244,244,244,0.4);
  margin-top: 4px;
}

/* Hero Right - Vinyl Art */
.hero-right {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,183,227,0.08) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.1); opacity: 1; } }

.vinyl-wrap {
  position: relative; z-index: 2;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-15px) rotate(2deg); } }

.vinyl {
  width: 320px; height: 320px;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 50% 50%, #1a0a0a 0%, #0d0505 40%, #1a0505 55%, #0a0505 60%, #2a0505 65%, #0a0a0a 70%, #050505 100%);
  box-shadow: 
    0 0 0 2px rgba(255,183,227,0.3),
    0 30px 80px rgba(0,0,0,0.8),
    inset 0 0 40px rgba(255,183,227,0.05);
  position: relative;
  animation: spin 12s linear infinite paused;
}
.vinyl.playing { animation-play-state: running; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.vinyl::before {
  content: '';
  position: absolute; inset: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, #ffb7e3 0%, #ff8cc5 40%, #cc6699 100%);
  box-shadow: 0 0 20px rgba(255,183,227,0.4);
}
.vinyl::after {
  content: '';
  position: absolute; inset: 47%;
  border-radius: 50%;
  background: #0d0d0d;
}

/* Vinyl grooves */
.vinyl-grooves {
  position: absolute; inset: 0; border-radius: 50%;
  background: repeating-radial-gradient(
    circle at 50% 50%,
    transparent 0px, transparent 6px,
    rgba(255,183,227,0.04) 6px, rgba(255,183,227,0.04) 7px
  );
}

.vinyl-label {
  position: absolute; inset: 32%; border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 2;
  font-size: 0.45rem;
  font-family: var(--font-mono);
  letter-spacing: 1px;
  color: #000;
  text-align: center;
  gap: 2px;
}
.vinyl-label strong { font-size: 0.6rem; }

.hero-corner-text {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 14rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,183,227,0.07);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.corner-top { top: -2rem; right: -2rem; }
.corner-bottom { bottom: -2rem; left: -2rem; }

/* ── MOODS SECTION ── */
.section-moods {
  padding: 5rem 4rem;
  background: var(--bg2);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.section-header {
  display: flex; align-items: baseline; gap: 1.5rem;
  margin-bottom: 3rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 2px;
}
.section-title span { color: var(--pink); }
.section-count {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

.moods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
}

.mood-card {
  background: var(--bg);
  padding: 2rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.mood-card::before {
  content: '';
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.3s;
}
.mood-card:nth-child(1)::before { background: linear-gradient(135deg, rgba(255,183,227,0.1), transparent); }
.mood-card:nth-child(2)::before { background: linear-gradient(135deg, rgba(253,74,39,0.1), transparent); }
.mood-card:nth-child(3)::before { background: linear-gradient(135deg, rgba(7,28,0,0.5), transparent); }
.mood-card:nth-child(4)::before { background: linear-gradient(135deg, rgba(100,100,255,0.1), transparent); }

.mood-card:hover::before { opacity: 1; }
.mood-card:hover { transform: translateY(-4px); }
.mood-card:hover .mood-arrow { transform: translateX(4px); opacity: 1; }

.mood-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.mood-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.mood-jp {
  font-size: 0.75rem; color: rgba(255,255,255,0.3);
  font-weight: 300; margin-bottom: 1rem;
  letter-spacing: 3px;
}
.mood-desc { font-size: 0.78rem; line-height: 1.6; color: rgba(255,255,255,0.5); }
.mood-count {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: var(--pink);
  display: flex; align-items: center; justify-content: space-between;
}
.mood-arrow { opacity: 0; transition: all 0.3s; }

/* ── FEATURED TRACK SECTION ── */
.section-featured {
  padding: 5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.featured-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 8px;
}
.featured-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--orange);
}

.featured-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.95;
  margin-bottom: 0.75rem;
}

.featured-kanji {
  font-size: 1.4rem;
  color: rgba(255,183,227,0.5);
  letter-spacing: 6px;
  font-weight: 300;
  margin-bottom: 0.5rem;
}
.featured-romaji {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}
.featured-translation {
  font-size: 0.85rem;
  color: var(--pink);
  font-style: italic;
  margin-bottom: 2rem;
}

.translation-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  color: rgba(255,255,255,0.5);
}
.tag.pink { border-color: var(--pink); color: var(--pink); }
.tag.orange { border-color: var(--orange); color: var(--orange); }

/* Mini Player */
.mini-player {
  background: var(--grey2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative; overflow: hidden;
}
.mini-player::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--orange));
}

.player-info { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
.player-art {
  width: 52px; height: 52px; border-radius: 6px;
  background: linear-gradient(135deg, #2a0a1a, #ffb7e3);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.player-meta { flex: 1; }
.player-track { font-weight: 700; font-size: 0.9rem; margin-bottom: 2px; }
.player-artist { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

.player-progress {
  margin-bottom: 1rem;
}
.progress-bar {
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px; overflow: hidden; cursor: pointer;
  position: relative; margin-bottom: 6px;
}
.progress-fill {
  height: 100%; width: 38%;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  border-radius: 2px;
  position: relative;
}
.progress-fill::after {
  content: '';
  position: absolute; right: -4px; top: -2.5px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 8px var(--pink);
}
.progress-times {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255,255,255,0.3);
}

.player-controls {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
}
.ctrl-btn {
  background: none; border: none; color: rgba(255,255,255,0.5);
  cursor: pointer; font-size: 1rem; transition: all 0.2s;
  padding: 4px;
}
.ctrl-btn:hover { color: var(--white); }
.play-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--pink); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem;
  color: #000; transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(255,183,227,0.4);
  flex-shrink: 0;
}
.play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(255,183,227,0.6);
}

.stream-links {
  display: flex; gap: 0.75rem; margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.stream-btn {
  flex: 1; padding: 0.6rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: none;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer; border-radius: 4px;
  transition: all 0.2s;
}
.stream-btn:hover { border-color: var(--pink); color: var(--pink); }

/* ─────────────────────────────────────────
   MUSIQUE TAB
───────────────────────────────────────── */
#musique { padding: 3rem 4rem; }

.music-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 3rem;
}

.filter-tabs {
  display: flex; gap: 0.5rem;
}
.filter-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  cursor: pointer; border-radius: 3px;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--pink-dim);
  border-color: var(--pink);
  color: var(--pink);
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.music-card {
  background: var(--grey2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}
.music-card:hover {
  border-color: rgba(255,183,227,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.music-card-art {
  height: 180px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}
.music-card-art-bg {
  position: absolute; inset: 0;
}
.music-card-art-label {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--font-mono);
  font-size: 0.55rem; letter-spacing: 2px; text-transform: uppercase;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  padding: 3px 8px; border-radius: 3px;
}
.music-card-art-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5); opacity: 0; transition: opacity 0.3s;
  font-size: 3rem;
}
.music-card:hover .music-card-art-play { opacity: 1; }

.music-card-body { padding: 1.25rem; }
.music-card-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.music-card-jp {
  font-size: 1rem;
  color: rgba(255,183,227,0.6);
  letter-spacing: 3px;
  font-weight: 300;
  margin-bottom: 4px;
}
.music-card-romaji {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.music-card-artist {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.music-card-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.music-card-genre {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
}
.music-card-links {
  display: flex; gap: 0.5rem;
}
.link-dot {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  transition: all 0.2s; cursor: pointer;
}
.link-dot:hover { background: var(--pink); color: #000; }

/* Translation Panel */
.translation-panel {
  background: var(--grey2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 2rem;
  margin-top: 2rem;
}
.translation-panel h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  color: var(--pink);
}
.trans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trans-item { }
.trans-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.trans-value { font-size: 0.9rem; line-height: 1.6; }
.trans-value.jp { font-size: 1.2rem; letter-spacing: 4px; font-weight: 300; color: var(--pink); }
.trans-value.romaji { font-family: var(--font-mono); font-size: 0.82rem; color: rgba(255,255,255,0.7); }

/* ─────────────────────────────────────────
   COMMUNAUTE TAB
───────────────────────────────────────── */
#communaute { padding: 3rem 4rem; display: grid; grid-template-columns: 1fr 320px; gap: 2rem; }

.chat-main {
  background: var(--grey2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  display: flex; flex-direction: column;
  overflow: hidden;
  height: calc(100vh - 180px);
}

.chat-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; gap: 1rem;
}
.chat-header-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4cff8c;
  box-shadow: 0 0 8px #4cff8c;
  animation: blink2 2s ease-in-out infinite;
}
@keyframes blink2 { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.chat-header h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; letter-spacing: 2px;
}
.chat-online {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.3);
}

.chat-messages {
  flex: 1; overflow-y: auto; padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}

.msg { display: flex; gap: 12px; }
.msg-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}
.msg-content { }
.msg-name {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.msg-text {
  background: var(--grey);
  padding: 0.75rem 1rem;
  border-radius: 0 10px 10px 10px;
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 500px;
}
.msg-time {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: rgba(255,255,255,0.2);
  margin-top: 4px;
}

.msg.self { flex-direction: row-reverse; }
.msg.self .msg-text {
  background: var(--pink-dim);
  border: 1px solid rgba(255,183,227,0.2);
  border-radius: 10px 0 10px 10px;
  color: var(--white);
}
.msg.self .msg-name { text-align: right; color: var(--pink); }
.msg.self .msg-time { text-align: right; }

.chat-input-area {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; gap: 1rem; align-items: center;
}
.chat-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-jp);
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--pink); }
.chat-input::placeholder { color: rgba(255,255,255,0.3); }
.chat-send {
  background: var(--orange);
  border: none; border-radius: 8px;
  padding: 0.75rem 1.25rem;
  color: var(--white); cursor: pointer;
  font-size: 1rem; transition: all 0.2s;
}
.chat-send:hover { background: var(--pink); color: #000; }

/* Sidebar */
.community-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.sidebar-widget {
  background: var(--grey2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
}
.sidebar-widget-head {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.sidebar-widget-head span { color: var(--pink); }

.member-list { padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.member-item { display: flex; align-items: center; gap: 0.75rem; }
.member-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-family: var(--font-mono);
  flex-shrink: 0;
}
.member-name { font-size: 0.82rem; }
.member-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.3);
}

.event-list { padding: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.event-item {
  display: flex; gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.event-item:last-child { border: none; padding: 0; }
.event-date {
  width: 40px; flex-shrink: 0; text-align: center;
}
.event-day {
  font-family: var(--font-display);
  font-size: 1.5rem; line-height: 1;
  color: var(--pink);
}
.event-month {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.event-info {}
.event-name { font-size: 0.82rem; font-weight: 700; margin-bottom: 2px; }
.event-loc {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
}

/* ─────────────────────────────────────────
   MASCOTTE WIDGET
───────────────────────────────────────── */
.mascot-wrap {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 200;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}

.mascot-toggle {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(255,183,227,0.4);
  transition: all 0.3s;
  flex-shrink: 0;
}
.mascot-toggle:hover {
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 12px 32px rgba(255,183,227,0.6);
}

.mascot-panel {
  width: 320px;
  background: rgba(13,13,13,0.95);
  border: 1px solid rgba(255,183,227,0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  display: none;
  flex-direction: column;
  backdrop-filter: blur(20px);
}
.mascot-panel.open { display: flex; animation: popIn 0.3s cubic-bezier(0.34,1.56,0.64,1); }

@keyframes popIn {
  from { opacity: 0; transform: scale(0.8) translateY(20px); transform-origin: bottom right; }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.mascot-top {
  background: linear-gradient(135deg, rgba(255,183,227,0.15), rgba(253,74,39,0.05));
  border-bottom: 1px solid rgba(255,183,227,0.15);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
}

.mascot-char {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a0a1a, var(--pink));
  border: 2px solid rgba(255,183,227,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(255,183,227,0.3);
  animation: mascot-idle 3s ease-in-out infinite;
}
@keyframes mascot-idle {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.05) translateY(-2px); }
}

.mascot-identity {}
.mascot-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--pink);
}
.mascot-role {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

.mascot-msgs {
  height: 200px;
  overflow-y: auto;
  padding: 1rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}

.mascot-bubble {
  background: rgba(255,255,255,0.06);
  border-radius: 4px 12px 12px 12px;
  padding: 0.75rem;
  font-size: 0.82rem;
  line-height: 1.6;
  border-left: 2px solid rgba(255,183,227,0.4);
}
.mascot-bubble.user-msg {
  background: var(--orange-dim);
  border-left: 2px solid var(--orange);
  text-align: right;
  border-radius: 12px 4px 12px 12px;
}

.mascot-input-row {
  padding: 1rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; gap: 0.75rem;
}
.mascot-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-jp);
  font-size: 0.8rem;
  padding: 0.6rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.mascot-input:focus { border-color: var(--pink); }
.mascot-input::placeholder { color: rgba(255,255,255,0.3); font-size: 0.75rem; }
.mascot-send {
  background: var(--pink);
  border: none; border-radius: 8px;
  width: 36px; height: 36px;
  cursor: pointer; color: #000;
  font-size: 0.9rem; transition: all 0.2s;
  flex-shrink: 0;
}
.mascot-send:hover { background: var(--orange); color: var(--white); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 2rem 4rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem; letter-spacing: 3px;
}
.footer-logo span { color: var(--pink); }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.2);
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-link {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--pink); }

/* ── SCROLLING TICKER ── */
.ticker-wrap {
  background: var(--orange);
  padding: 0.6rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker {
  display: inline-flex; gap: 3rem;
  animation: ticker 25s linear infinite;
}
.ticker-item {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #000;
  font-weight: 700;
}
.ticker-sep { color: rgba(0,0,0,0.4); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 300px; }
  .hero-left { padding: 3rem 1.5rem; }
  .moods-grid { grid-template-columns: repeat(2, 1fr); }
  .music-grid { grid-template-columns: repeat(2, 1fr); }
  .trans-grid { grid-template-columns: repeat(2, 1fr); }
  .section-featured { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
  .section-moods { padding: 3rem 1.5rem; }
  #musique { padding: 3rem 1.5rem; }
  #communaute { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
  footer { flex-direction: column; gap: 1rem; padding: 2rem 1.5rem; text-align: center; }
}