
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800;900&family=Noto+Sans+Malayalam:wght@400;700&display=swap');

:root{
  --bg:#f6f4ef;
  --title:#0e0e10;
  --accent:#d2ad7d;
  --datebar:#fdecd6;
  --card:#ffffff;
  --shadow:0 12px 40px rgba(0,0,0,.08);
  --c1:#069a94; /* teal */
  --c2:#0d46bf; /* blue */
  --c3:#d9d9d9; /* grey */
  --c4:#cf1414; /* red */
  --c5:#7b5cff; /* purple */
}

*{box-sizing:border-box}
html,body{
  margin:0;
  height:100%;
  background:var(--bg);
  font-family:'Poppins', system-ui, -apple-system, Segoe UI, Roboto, 'Noto Sans Malayalam', sans-serif;
  color:var(--title);
}

.wrapper{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
}

.poster{
  width:min(92vw, 420px);
  aspect-ratio: 9 / 16;
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
}

.header{
  background:var(--accent);
  padding:22px 16px 12px;
  text-align:center;
}
.header .title{
  font-weight:900;
  letter-spacing:.5px;
  line-height:1.05;
  font-size: clamp(24px, 4.6vw, 36px);
  text-transform:uppercase;
}

.datebar{
  background:var(--datebar);
  text-align:center;
  padding:12px 10px;
  font-weight:600;
  letter-spacing:.3px;
}

.body{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.card{
  width:85%;
  background:var(--card);
  border-radius:16px;
  box-shadow:var(--shadow);
  padding:14px 14px 18px;
  text-align:center;
}

.card .assoc{
  font-size: clamp(18px, 3.6vw, 22px);
  font-weight:700;
  letter-spacing:1px;
  margin-bottom:10px;
}

.pill{
  border-radius:12px;
  padding:14px 10px;
  color:#fff;
  margin:8px 0;
  font-weight:900;
  font-size: clamp(22px, 5.8vw, 34px);
}

.pill.c1{ background:var(--c1); }
.pill.c2{ background:var(--c2); }
.pill.c3{
  background:var(--c3);
  color:#7a7a7a;
}
.pill.c4{ background:var(--c4); }

.pill.c5{
  background:var(--c5);
  font-weight:700;
  font-size: clamp(14px, 3.8vw, 16px);
}

.controls{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}
button, .btn{
  border:none;
  padding:12px 16px;
  border-radius:12px;
  font-weight:700;
  cursor:pointer;
  background:#0f172a;
  color:#fff;
  box-shadow:var(--shadow);
}
.select{
  padding:10px 12px;
  border-radius:10px;
  border:1px solid #e5e7eb;
}

footer.note{
  text-align:center;
  font-size:12px;
  color:#7a7a7a;
  margin-top:6px;
}

@media (max-width:380px){
  .poster{ width:95vw; }
}
