/* =========================================================================
   SECOND DATE RADIO — Stylesheet
   Bạn KHÔNG cần sửa file này. Muốn đổi màu chủ đạo, sửa 2 dòng --pink / --purple.
   ========================================================================= */

:root {
  --bg:        #09090f;
  --bg-2:      #0f0f1a;
  --surface:   #16162492;
  --surface-solid: #171726;
  --surface-2: #20203400;
  --card:      #14141f;
  --card-hover:#1a1a2b;
  --text:      #f5f3fa;
  --muted:     #a19dba;
  --muted-2:   #8f8cab;   /* nâng độ sáng để chữ phụ đạt chuẩn tương phản (WCAG AA) */
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);

  --pink:   #ff2d6f;   /* MÀU CHÍNH — đổi ở đây */
  --pink-2: #ff6a99;
  --purple: #7b2ff7;   /* MÀU PHỤ — đổi ở đây */
  --grad:   linear-gradient(120deg, #ff2d6f 0%, #c0369f 48%, #7b2ff7 100%);
  --grad-soft: linear-gradient(120deg, rgba(255,45,111,.18), rgba(123,47,247,.18));

  --radius:   18px;
  --radius-sm:12px;
  --radius-lg:26px;
  --shadow:   0 20px 50px -20px rgba(0,0,0,.7);
  --shadow-pink: 0 22px 60px -18px rgba(255,45,111,.55);

  --maxw: 1200px;
  --topbar-h: 68px;
  --player-h: 84px;
  --ease: cubic-bezier(.4,.1,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 12px); }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.player-open { padding-bottom: var(--player-h); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--pink); color: #fff; }

/* Ép phần tử có thuộc tính [hidden] ẩn thật (icon svg trong nút grid bị blockify) */
[hidden] { display: none !important; }

/* --- Trợ năng (accessibility) --- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--pink-2); outline-offset: 2px; border-radius: 5px; }
.subscribe input:focus-visible { outline: 2px solid var(--pink-2); outline-offset: 1px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .95rem;
  padding: .8rem 1.4rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn--sm { padding: .55rem 1.05rem; font-size: .85rem; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -12px rgba(255,45,111,.7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255,45,111,.85); }
.btn--ghost { background: rgba(255,255,255,.04); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,.09); transform: translateY(-2px); }

.eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .72rem;
  font-weight: 700; color: var(--pink-2); margin-bottom: .5rem;
}

/* ================= TOPBAR ================= */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--topbar-h);
  display: flex; align-items: center;
  background: transparent; transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: rgba(9,9,15,.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line);
}
.topbar__inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px,4vw,28px);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.brand__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .6rem; font-weight: 800; letter-spacing: .18em; color: var(--pink-2);
}
.brand__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--pink);
  box-shadow: 0 0 0 0 rgba(255,45,111,.6); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,45,111,.6); }
  70% { box-shadow: 0 0 0 7px rgba(255,45,111,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,45,111,0); }
}
.brand__name {
  font-family: 'Anton', sans-serif; font-size: 1.35rem; letter-spacing: .02em;
  display: inline-flex; gap: .35em; align-items: baseline;
}
.brand__accent {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a {
  font-weight: 600; font-size: .95rem; color: var(--muted); position: relative; padding: .3rem 0;
  transition: color .2s;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--grad); transition: width .25s var(--ease); border-radius: 2px;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }
.topbar__actions { display: flex; align-items: center; gap: .6rem; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px;
}
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= HERO ================= */
.hero { position: relative; padding: calc(var(--topbar-h) + 4vw) 0 4vw; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 60% at 78% 12%, rgba(123,47,247,.35), transparent 70%),
    radial-gradient(55% 55% at 8% 90%, rgba(255,45,111,.32), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero__grid {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px,4vw,28px);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px,4vw,56px); align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.1rem;
  background: rgba(255,45,111,.12); border: 1px solid rgba(255,45,111,.35);
  color: var(--pink-2); font-weight: 700; font-size: .74rem; letter-spacing: .14em;
  text-transform: uppercase; padding: .4rem .9rem; border-radius: 999px;
}
.hero__badge .brand__dot { animation: pulse 1.8s infinite; }
.hero__title {
  font-family: 'Anton', sans-serif; font-weight: 400;
  font-size: clamp(2.1rem, 5.2vw, 4rem); line-height: 1.02; letter-spacing: .005em;
  margin-bottom: 1rem; text-wrap: balance;
}
.hero__desc { color: var(--muted); font-size: 1.08rem; max-width: 46ch; margin-bottom: 1.6rem; }
.hero__meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.7rem; color: var(--muted); font-size: .9rem; font-weight: 500; }
.hero__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }
.hero__tag { color: var(--pink-2); font-weight: 700; }
.hero__cta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero__play {
  display: inline-flex; align-items: center; gap: .8rem; padding: .8rem .8rem .8rem .85rem;
  background: var(--grad); color: #fff; border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 800; font-size: 1rem; box-shadow: var(--shadow-pink);
  transition: transform .18s var(--ease), box-shadow .25s;
}
.hero__play:hover { transform: translateY(-2px) scale(1.02); }
.hero__play svg { width: 26px; height: 26px; }
.hero__play .lbl { padding-right: .6rem; }

.hero__art { position: relative; }
.hero__cover {
  aspect-ratio: 1/1; border-radius: var(--radius-lg); position: relative; overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px var(--line); transform: rotate(-2deg);
  transition: transform .4s var(--ease);
}
.hero__art:hover .hero__cover { transform: rotate(0deg) scale(1.01); }
.hero__cover::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.5));
}
.hero__cover-glow {
  position: absolute; inset: -12%; z-index: -1; filter: blur(46px); opacity: .55; border-radius: 50%;
  background: var(--grad);
}

/* ================= SECTIONS ================= */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px,7vw,90px) clamp(16px,4vw,28px); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.section__title { font-family: 'Anton', sans-serif; font-weight: 400; font-size: clamp(1.7rem,3.6vw,2.6rem); letter-spacing: .01em; line-height: 1.05; }

/* search */
.search { display: flex; align-items: center; gap: .6rem; background: var(--surface-solid); border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; min-width: 250px; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: rgba(255,45,111,.5); box-shadow: 0 0 0 3px rgba(255,45,111,.12); }
.search__icon { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { background: none; border: 0; outline: 0; color: var(--text); font-size: .95rem; width: 100%; font-family: inherit; }
.search input::placeholder { color: var(--muted-2); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.8rem; }
.chip {
  font-family: inherit; font-weight: 600; font-size: .85rem; color: var(--muted);
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem 1.05rem; cursor: pointer; transition: all .2s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 22px -10px rgba(255,45,111,.7); }

/* ================= EPISODE GRID ================= */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: clamp(16px,2vw,24px); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; position: relative;
  transition: transform .25s var(--ease), border-color .25s, background .25s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); background: var(--card-hover); border-color: var(--line-2); box-shadow: 0 18px 40px -20px rgba(255,45,111,.4), 0 12px 28px -18px rgba(0,0,0,.8); }
.card.playing { border-color: rgba(255,45,111,.55); box-shadow: 0 0 0 1px rgba(255,45,111,.4), var(--shadow-pink); }

.cover { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.cover__img, .cover__gen { transition: transform .45s var(--ease); }
.card:hover .cover__img, .card:hover .cover__gen { transform: scale(1.05); }
.cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover__gen {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px; color: #fff;
}
.cover__gen::after {
  content: ''; position: absolute; right: -30px; bottom: -30px; width: 150px; height: 150px;
  border-radius: 50%; background: rgba(255,255,255,.10);
}
.cover__num { font-family: 'Anton', sans-serif; font-size: 3.2rem; line-height: 1; opacity: .92; text-shadow: 0 4px 20px rgba(0,0,0,.3); }
.cover__cat { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: rgba(0,0,0,.42); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: .32rem .6rem; border-radius: 999px; align-self: flex-start; position: relative; z-index: 1; }
.cover__wm { position: absolute; right: 14px; bottom: 12px; width: 30px; height: 30px; opacity: .85; z-index: 1; }

.card__play {
  position: absolute; right: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad); border: 0; color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(255,45,111,.8); transform: translateY(8px); opacity: 0;
  transition: opacity .25s, transform .25s var(--ease); z-index: 2;
}
.card:hover .card__play, .card:focus-within .card__play, .card.playing .card__play { opacity: 1; transform: translateY(0); }
.card__play svg { width: 22px; height: 22px; }

.card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card__title { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.card__titlebtn { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: color .2s; }
.card:hover .card__titlebtn { color: #fff; }
.card__desc { color: var(--muted); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.card__meta { display: flex; align-items: center; gap: .5rem; color: var(--muted-2); font-size: .8rem; font-weight: 500; margin-top: .2rem; }
.card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.card__eq { margin-left: auto; display: none; align-items: flex-end; gap: 2px; height: 14px; }
.card.playing .card__eq { display: flex; }
.card__eq span { width: 3px; background: var(--pink); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.card__eq span:nth-child(1){ animation-delay: -.4s; } .card__eq span:nth-child(2){ animation-delay: -.15s; } .card__eq span:nth-child(3){ animation-delay: -.6s; }
@keyframes eq { 0%,100%{ height: 4px; } 50%{ height: 14px; } }

.empty { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--muted); padding: 3.5rem 1rem; gap: .3rem; }
.empty svg { width: 46px; height: 46px; color: var(--muted-2); margin-bottom: .6rem; }
.empty h3 { font-size: 1.15rem; color: var(--text); }
.empty p { font-size: .95rem; }

/* ================= PLATFORMS ================= */
.platforms { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px,4vw,28px) clamp(20px,3vw,40px); text-align: center; }
.platforms__label { text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; font-weight: 700; color: var(--muted-2); margin-bottom: 1rem; }
.platforms__row { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.platform { border: 1px solid var(--line); background: var(--surface-solid); border-radius: 999px; padding: .6rem 1.3rem; font-weight: 700; color: var(--muted); transition: all .2s; font-size: .9rem; }
.platform:hover { color: var(--text); border-color: rgba(255,45,111,.5); transform: translateY(-2px); }
.platform--spotify:hover { color: #1DB954; border-color: #1DB954; }
.platform--apple:hover   { color: #ff5e8a; border-color: #ff5e8a; }
.platform--youtube:hover { color: #ff3d3d; border-color: #ff3d3d; }
.platform--google:hover  { color: #4285F4; border-color: #4285F4; }

/* ================= ABOUT ================= */
.about { border-top: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px,5vw,64px); align-items: center; }
.about__art { aspect-ratio: 1/1; border-radius: var(--radius-lg); background: var(--grad-soft); border: 1px solid var(--line); display: grid; place-items: center; position: relative; overflow: hidden; }
.about__art::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(255,45,111,.25), transparent 60%); }
.about__wave { display: flex; align-items: center; gap: 5px; height: 45%; position: relative; z-index: 1; }
.about__wave span { width: 7px; border-radius: 6px; background: var(--grad); height: 30%; animation: wave 1.4s ease-in-out infinite; }
.about__wave span:nth-child(odd){ animation-delay: -.7s; }
.about__wave span:nth-child(3n){ animation-delay: -.35s; }
.about__wave span:nth-child(4n){ animation-delay: -1s; }
@keyframes wave { 0%,100%{ height: 22%; } 50%{ height: 100%; } }
.about__text { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.1rem; }
.about__text em { color: var(--pink-2); font-style: normal; font-weight: 600; }

/* ================= FOOTER ================= */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: clamp(40px,5vw,64px) 0 0; }
.footer__grid { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px,4vw,28px); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 2rem; }
.footer__logo { font-size: 1.4rem; }
.footer__tag { color: var(--muted); margin-top: .6rem; font-size: .95rem; }
.footer__col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-2); margin-bottom: .9rem; }
.footer__col a { display: block; color: var(--muted); padding: .3rem 0; font-size: .95rem; transition: color .2s; }
.footer__col a:hover { color: var(--pink-2); }
.subscribe { display: flex; gap: .5rem; margin-bottom: .6rem; }
.subscribe input { flex: 1; min-width: 0; background: var(--surface-solid); border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1rem; color: var(--text); font-family: inherit; font-size: .9rem; outline: none; }
.subscribe input:focus { border-color: rgba(255,45,111,.5); }
.footer__note { color: var(--muted-2); font-size: .82rem; }
.footer__bottom { max-width: var(--maxw); margin: 2.5rem auto 0; padding: 1.4rem clamp(16px,4vw,28px); border-top: 1px solid var(--line); color: var(--muted-2); font-size: .82rem; text-align: center; }

/* ================= PLAYER ================= */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; height: var(--player-h);
  background: rgba(15,15,26,.92); -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
  border-top: 1px solid var(--line); transform: translateY(120%); transition: transform .4s var(--ease);
}
.player.is-active { transform: translateY(0); }
.player__progress { position: absolute; top: -3px; left: 0; right: 0; height: 6px; cursor: pointer; z-index: 2; }
.player__progress::before { content: ''; position: absolute; left: 0; right: 0; top: 3px; height: 3px; background: rgba(255,255,255,.12); }
.player__buffered { position: absolute; left: 0; top: 3px; height: 3px; width: 0; background: rgba(255,255,255,.18); }
.player__played { position: absolute; left: 0; top: 3px; height: 3px; width: 0; background: var(--grad); }
.player__handle { position: absolute; top: 50%; left: 0; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.5); transform: translate(-50%,-50%) scale(0); transition: transform .15s; }
.player__progress:hover .player__handle, .player__progress:focus-visible .player__handle { transform: translate(-50%,-50%) scale(1); }

.player__inner { max-width: var(--maxw); margin: 0 auto; height: 100%; padding: 0 clamp(12px,3vw,24px); display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 1rem; }
.player__right { display: flex; align-items: center; gap: clamp(.5rem,1.5vw,1rem); justify-self: end; }

.player__now { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.player__cover { width: 52px; height: 52px; border-radius: 10px; flex: none; position: relative; overflow: hidden; background: var(--grad); }
.player__cover img { width: 100%; height: 100%; object-fit: cover; }
.player__meta { min-width: 0; }
.player__title { font-weight: 700; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__cat { color: var(--pink-2); font-size: .76rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.player__controls { display: flex; align-items: center; gap: .5rem; }
.pbtn { background: none; border: 0; color: var(--muted); cursor: pointer; display: grid; place-items: center; border-radius: 50%; width: 40px; height: 40px; transition: color .2s, background .2s, transform .15s; }
.pbtn:hover { color: var(--text); background: rgba(255,255,255,.07); }
.pbtn:active { transform: scale(.92); }
.pbtn svg { width: 24px; height: 24px; }
.pbtn--main { width: 48px; height: 48px; background: var(--text); color: #10101c; }
.pbtn--main:hover { background: #fff; color: #10101c; transform: scale(1.05); }
.pbtn--main svg { width: 26px; height: 26px; }
.pbtn--txt { font-family: inherit; font-weight: 700; font-size: .82rem; width: auto; padding: 0 .5rem; min-width: 40px; }

.player__time { justify-self: end; display: flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; font-weight: 500; }
.player__slash { color: var(--muted-2); }
.player__extra { display: flex; align-items: center; gap: .4rem; justify-self: end; }
.player__vol { display: flex; align-items: center; gap: .4rem; }
.player__vol input[type=range] { width: 84px; accent-color: var(--pink); cursor: pointer; }


/* ================= TOOLBAR: SEARCH + SORT ================= */
.toolbar { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.sortbox { position: relative; }
.sortbox select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background: var(--surface-solid); border: 1px solid var(--line); color: var(--text);
  font-family: inherit; font-size: .9rem; font-weight: 600; border-radius: 999px;
  padding: .62rem 2.4rem .62rem 1.1rem; cursor: pointer; outline: none;
}
.sortbox::after {
  content: ''; position: absolute; right: 15px; top: 50%; width: 7px; height: 7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.sortbox select:hover { border-color: var(--line-2); }
.sortbox select:focus-visible { border-color: rgba(255,45,111,.5); box-shadow: 0 0 0 3px rgba(255,45,111,.12); }

/* ================= LOAD MORE ================= */
.loadmore-wrap { display: flex; justify-content: center; margin-top: 2.2rem; }
.loadmore { min-width: 210px; justify-content: center; }
.loadmore__all { color: var(--muted-2); font-size: .9rem; text-align: center; }

/* ================= SUBMIT YOUR STORY ================= */
.submit__card {
  background: var(--grad-soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px,4vw,48px); display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(22px,4vw,48px); align-items: center; position: relative; overflow: hidden;
}
.submit__card::before {
  content: ''; position: absolute; right: -10%; top: -40%; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,45,111,.25), transparent 70%); pointer-events: none;
}
.submit__text { color: var(--muted); font-size: 1.05rem; margin-top: .4rem; }
.submit__form { display: flex; flex-direction: column; gap: .7rem; position: relative; z-index: 1; }
.submit__form input, .submit__form textarea {
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .8rem 1rem; color: var(--text); font-family: inherit; font-size: .95rem; outline: none; resize: vertical;
}
.submit__form input::placeholder, .submit__form textarea::placeholder { color: var(--muted-2); }
.submit__form input:focus-visible, .submit__form textarea:focus-visible { border-color: rgba(255,45,111,.5); box-shadow: 0 0 0 3px rgba(255,45,111,.12); }
.submit__form .btn { align-self: flex-start; }
.submit__note { color: #5be0a0; font-size: .88rem; min-height: 1.1em; font-weight: 600; }

/* ================= FOOTER CONTACT ================= */
.footer__contact { font-style: normal; color: var(--muted); font-size: .92rem; line-height: 1.95; margin-top: 1.1rem; }
.footer__contact strong { color: var(--text); }
.footer__contact a { color: var(--muted); }
.footer__contact a:hover { color: var(--pink-2); }

/* ================= TOAST ================= */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--player-h) + 20px);
  transform: translateX(-50%) translateY(20px);
  background: var(--surface-solid); border: 1px solid var(--line-2); color: var(--text);
  padding: .7rem 1.25rem; border-radius: 999px; font-size: .9rem; font-weight: 600;
  box-shadow: var(--shadow); z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 360px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__art { max-width: 320px; }
  .submit__card { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__sub { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: var(--topbar-h) 0 auto 0; flex-direction: column; gap: 0; background: rgba(9,9,15,.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding: .5rem 0; transform: translateY(-120%); transition: transform .3s var(--ease); margin-left: 0; }
  .nav.open { transform: translateY(0); }
  .nav a { padding: .9rem clamp(16px,4vw,28px); width: 100%; }
  .nav a::after { display: none; }
  .hamburger { display: flex; }
  .topbar__actions .btn { display: none; }
  .section__head { flex-direction: column; align-items: stretch; }
  .search { min-width: 0; }

  /* Player rút gọn trên điện thoại */
  .player__right { display: none; }
  .player__inner { grid-template-columns: 1fr auto; }
  .player__controls { gap: .2rem; }
  .pbtn { width: 38px; height: 38px; }
}
@media (max-width: 420px) {
  .brand__name { font-size: 1.15rem; }
  .cover__num { font-size: 2.6rem; }
}

/* Giảm hiệu ứng cho người bật "reduce motion" */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto; }
}
