:root{
  --bg: #F6F7FB;
  --panel: #FFFFFF;
  --text: #0F172A;
  --muted: #475569;
  --border: rgba(15, 23, 42, 0.10);
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.10);
  --shadow2: 0 6px 16px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --max: 1100px;
  --c1: #7C3AED;
  --c2: #06B6D4;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(124,58,237,0.10), transparent 60%),
    radial-gradient(900px 420px at 90% 0%, rgba(6,182,212,0.10), transparent 55%),
    var(--bg);
  line-height: 1.55;
}
a{color:inherit; text-decoration:none}
a:hover{opacity:0.92}

.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.section{padding:64px 0}
.grid{display:grid; gap:16px}

header{
  position: sticky; top:0; z-index: 30;
  background: rgba(246,247,251,0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
  gap: 12px;
}
.brand{display:flex; align-items:center; gap:12px}
.brand img{width:40px; height:40px; border-radius: 12px; box-shadow: var(--shadow2)}
.brand .t{font-size:16px; color: var(--text); letter-spacing:0.2px}
.brand .s{font-size:13px; color: var(--muted); margin-top:2px}
.brand-lines{display:flex; flex-direction:column; line-height:1.05}

.nav-links{display:flex; align-items:center; gap:10px}
.nav-links a{padding:10px 12px; border-radius: 12px; color: var(--muted)}
.nav-links a:hover{background: rgba(255,255,255,0.8); border:1px solid var(--border); box-shadow: var(--shadow2); color: var(--text)}
.mobile-toggle{display:none}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  box-shadow: var(--shadow2);
  color: var(--text);
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0px)}
.btn.primary{
  border-color: transparent;
  background: linear-gradient(135deg, rgba(124,58,237,0.95), rgba(6,182,212,0.95));
  color: #FFFFFF;
}
.btn.small{padding:10px 12px; border-radius:12px; font-size:14px}

.hero{
  padding: 44px 0 26px;
}
.hero-card{
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 10px);
  background: rgba(255,255,255,0.80);
  box-shadow: var(--shadow);
  padding: 26px;
}
.hero h1{
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0.2px;
}
.hero p{margin:0; color: var(--muted); max-width: 70ch}

.tiles{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:16px;
  margin-top: 18px;
}
.tile{
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow2);
  overflow:hidden;
  transition: transform 160ms ease;
  display:flex; flex-direction:column;
}
.tile:hover{transform: translateY(-2px)}
.tile .imgwrap{
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.tile img{
  width:100%;
  height: 180px;
  object-fit: cover;
  display:block;
}
.tile .body{padding:16px}
.tile .name{font-size:18px; margin:0 0 6px}
.tile .style{font-size:14px; color: var(--muted); margin:0}
.tile .arrow{margin-top:14px; color: var(--muted); font-size:14px}

.page-top{
  padding: 28px 0 0;
}
.page-hero{
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 10px);
  background: rgba(255,255,255,0.84);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.page-hero img{
  width:100%;
  height: 260px;
  object-fit: cover;
  display:block;
  border-bottom: 1px solid var(--border);
}
.page-hero .inner{padding: 22px}
.kicker{color: var(--muted); font-size: 14px; margin:0 0 8px}
.page-hero h1{margin:0 0 8px; font-size: clamp(26px, 3.2vw, 40px)}
.page-hero .subtitle{margin:0; color: var(--muted)}
.actions{display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px}

.content{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  margin-top: 16px;
}
.card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow2);
  padding: 18px;
}
.card h2{margin:0 0 10px; font-size:18px}
.card p{margin:0 0 10px; color: var(--muted)}
.card p:last-child{margin-bottom:0}
.card ul{margin:0; padding-left:18px; color: var(--muted)}
.card li{margin: 6px 0}

footer{
  padding: 34px 0;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.55);
  margin-top: 60px;
}
.footer-inner{
  display:flex; justify-content:space-between; align-items:flex-start; gap:16px;
  flex-wrap:wrap;
}
.footer-inner .small{color: var(--muted); font-size:13px}
.footer-links{display:flex; gap:12px; flex-wrap:wrap}
.footer-links a{color: var(--muted)}
.footer-links a:hover{color: var(--text)}

@media (max-width: 920px){
  .content{grid-template-columns: 1fr}
}
@media (max-width: 760px){
  .tiles{grid-template-columns: 1fr}
}


/* === CLEAN v5: Equal-height tiles + typography alignment === */
.tiles{
  align-items: stretch;
}
.tile{
  min-height: 360px;
}
.tile .body{
  display:flex;
  flex-direction:column;
  height:100%;
}
.tile .name{
  font-weight:600;
}
.tile .style{
  margin-top:4px;
}
.tile .mood{
  margin-top:6px;
  font-size:13px;
  color: var(--muted);
  letter-spacing:0.4px;
  text-transform:uppercase;
}
.tile .arrow{
  margin-top:auto;
  padding-top:14px;
}


/* v5: equal-height tiles + typographic alignment */
.tiles{align-items:stretch}
.tile{height:100%}
.tile .body{display:flex; flex-direction:column; height:100%}
.tile img{height: 190px}
.tile .name{min-height: 26px}
.tile .style{min-height: 44px}
.tile .mood{margin-top:6px; font-size:14px; color: var(--muted)}
.tile .arrow{margin-top:auto}
/* v5: clean top tracks */
.toptracks{display:flex; flex-direction:column; gap:10px}
.track{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.85);
  box-shadow: var(--shadow2);
}
.track .t{color: var(--text); font-size:14px}
.track .a{color: var(--muted); font-size:13px}


/* v8: smaller tiles, 2 columns */
.tiles{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tile img{
  height: 140px;
}
.tile .body{
  padding: 12px;
}
.tile .name{
  font-size: 16px;
}
.tile .style,
.tile .mood{
  font-size: 13px;
}
