:root {
  --brand: #cc6778;
  --brand-dark: #b64861;
  --brand-light: #f9eaeb;
  --ok: #3b6c6e;
  --nok: #ad6659;
  --bg: #fcf7f3;
  --side: #fdf8f9;
  --side-line: #f0e2ea;
  --plum: #2e1f46;
  --ok-pop: #38948a;
  --nok-pop: #d87486;
  --sun: #d4bb66;
  --ink: #272031;
  --ink-strong: #1a1522;
  --muted: #6b7280;
  --soft: #9ca3af;
  --white: #ffffff;
  --radius: 24px;
  --shadow-sm: 0 1px 3px rgba(21, 26, 36, .08);
  --shadow-md: 0 6px 16px rgba(21, 26, 36, .10);
  --shadow-lg: 0 14px 30px rgba(21, 26, 36, .14);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --sidebar-w: 256px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 0%, rgba(216, 116, 134, .10), transparent 32rem),
    radial-gradient(circle at 100% 40%, rgba(134, 98, 197, .09), transparent 36rem),
    radial-gradient(circle at 30% 100%, rgba(56, 148, 138, .10), transparent 34rem),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: Poppins, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.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; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #cdd5df; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.hide-scroll { scrollbar-width: none; -ms-overflow-style: none; }
.hide-scroll::-webkit-scrollbar { display: none; }

.logo { font-weight: 800; letter-spacing: -.05em; color: var(--brand); line-height: 1; }
.brandmark { display: inline-flex; align-items: center; gap: .16em; font-weight: 900; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1; color: var(--ink); white-space: nowrap; }
.bm-pill { position: relative; display: inline-block; padding: .2em .36em .17em; border-radius: .38em; color: var(--white); font-size: .8em; box-shadow: 0 .13em 0 rgba(0,0,0,.18); transition: transform .35s var(--ease); }
.bm-ok { background: linear-gradient(135deg, #47a39b, #2b7370); transform: rotate(-7deg); }
.bm-nok { background: linear-gradient(135deg, #df8b98, #bf6774); transform: rotate(6deg); }
.bm-nok::after { content: "\2665"; position: absolute; top: -.62em; right: -.42em; font-size: .62em; color: #d87498; transform: rotate(18deg); transition: transform .35s var(--ease); }
.bm-mu { font-size: .68em; color: #4a3c5c; }
.brandmark:hover .bm-ok { transform: rotate(-13deg) translateY(-2px); }
.brandmark:hover .bm-nok { transform: rotate(12deg) translateY(-2px); }
.brandmark:hover .bm-nok::after { transform: rotate(18deg) scale(1.5); }
.bm-sub { display: block; margin-top: 10px; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #a08bb8; }
.logo .ok { color: var(--ok); }
.logo .nok { color: var(--nok); }

/* ---------- Layout ---------- */
.shell { display: flex; min-height: 100vh; }

.topbar {
  display: none;
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: 64px; padding: 0 16px;
  align-items: center; justify-content: space-between;
  background: var(--side); border-bottom: 1px solid var(--side-line); box-shadow: var(--shadow-sm);
}
.topbar .brandmark { font-size: 1.35rem; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: #4b5563; font-size: 1.2rem;
  transition: background .2s;
}
.icon-btn:hover { background: var(--side-line); }

.sidebar {
  width: var(--sidebar-w); flex: 0 0 var(--sidebar-w);
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #fdf8f9 0%, #f7f3fc 100%); border-right: 1px solid var(--side-line); box-shadow: var(--shadow-sm);
  z-index: 40;
}
.sidebar-head { padding: 24px; }
.sidebar-head { padding: 28px 24px 18px; }

.nav { flex: 1; overflow-y: auto; padding: 8px 16px 24px; display: flex; flex-direction: column; gap: 10px; }
.nav-link {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 16px; border-radius: 16px; border: 2px solid transparent;
  font-weight: 700; color: #374151; width: 100%; text-align: left;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s, border-color .3s;
}
.nav-link:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-2px) scale(1.03); }
.nav-link[aria-current="true"] { background: var(--white); color: #b64879; box-shadow: var(--shadow-sm); }
.nav-link[aria-current="true"]:hover { border-color: #f1d9e7; }
.nav-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 1.05rem; flex: 0 0 auto; }
.c-pink { background: #f8ebf3; color: #c86c99; }
.c-red { background: #f8e8e8; color: #c96a6a; }
.c-purple { background: #f3edfa; color: #a778d4; }
.c-yellow { background: #e5dda3; color: #9e7b30; }
.c-green { background: #daf1e5; color: #359474; }
.c-orange { background: #f6ecde; color: #c77c48; }

.btn-grad {
  margin-top: 20px; width: 100%; padding: 14px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(90deg, var(--brand), #c86c99); color: var(--white); font-weight: 700;
  box-shadow: var(--shadow-md); transition: transform .3s var(--ease), box-shadow .3s;
}
.btn-grad:hover { transform: translateY(-2px) scale(1.03); box-shadow: var(--shadow-lg); }
.btn-grad i { background: rgba(255,255,255,.2); padding: 6px; border-radius: 50%; }

.side-app {
  margin: 0 16px 20px; padding: 16px; border-radius: 20px;
  background: var(--white); box-shadow: var(--shadow-sm); text-align: center;
}
.side-app p { margin: 0 0 10px; font-size: .8rem; color: var(--muted); font-weight: 600; }
.side-app .logo { font-size: 1.1rem; display: block; margin-bottom: 6px; }
.side-app a { display: block; padding: 10px; border-radius: 12px; background: var(--sun); color: var(--plum); font-size: .82rem; font-weight: 800; box-shadow: 0 4px 0 #9e8431; transition: transform .15s, box-shadow .15s; }
.side-app a:hover { transform: translateY(-1px); }
.side-app a:active { transform: translateY(3px); box-shadow: 0 1px 0 #9e8431; }
.side-app { background: linear-gradient(135deg, #2e1f46, #764fb2); color: var(--white); }
.side-app p { color: rgba(255,255,255,.75) !important; }
.side-app .brandmark { font-size: 1.05rem; margin-bottom: 6px; }
.side-app .bm-mu { color: var(--white); }

.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 30; opacity: 0; pointer-events: none; transition: opacity .3s; }

.main { flex: 1; min-width: 0; padding-bottom: 24px; }
.container { max-width: 1720px; margin: 0 auto; padding: 32px clamp(24px, 3vw, 56px); display: flex; flex-direction: column; gap: 32px; }

/* ---------- Header ---------- */
.header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px; border-radius: var(--radius);
  background: rgba(255,255,255,.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.5); box-shadow: var(--shadow-sm);
}
.search { position: relative; width: 50%; max-width: 440px; }
.search input {
  width: 100%; padding: 12px 16px 12px 48px; border-radius: 999px;
  background: var(--white); border: 1px solid #f3f4f6; box-shadow: var(--shadow-sm); font-size: .9rem;
  transition: box-shadow .2s;
}
.search input:focus { outline: none; box-shadow: 0 0 0 4px #f1d9e7; }
.search i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--soft); pointer-events: none; }
.account { display: flex; align-items: center; gap: 14px; text-align: right; }
.account strong { display: block; font-size: .9rem; color: var(--ink-strong); }
.account small { font-size: .75rem; color: var(--muted); }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; color: var(--white); font-weight: 800;
  border: 4px solid var(--white); box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease);
}
.account:hover .avatar { transform: rotate(12deg); }

/* ---------- Section titles ---------- */
.sec-title { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.sec-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; box-shadow: var(--shadow-sm); font-size: 1.05rem; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }

/* ---------- Test cards ---------- */
.row { display: flex; gap: 20px; overflow-x: auto; padding: 4px 4px 16px; margin: -4px; scroll-snap-type: x mandatory; }
.row .card { width: 256px; flex: 0 0 256px; scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }

.card {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #212935, #161a22); color: var(--white); box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease), box-shadow .3s;
  display: block; text-align: left; width: 100%;
}
.card:hover, .card:focus-within { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-lg); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: transform .7s var(--ease), opacity .3s; }
.card:hover img { transform: scale(1.1); opacity: .9; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.4) 50%, transparent 100%); pointer-events: none; }
.card-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.card-tag {
  position: absolute; top: 16px; left: 16px; z-index: 3; pointer-events: none;
  padding: 6px 12px; border-radius: 12px; font-size: .7rem; font-weight: 700;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.bookmark {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--white);
  background: rgba(255,255,255,.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .3s, background .2s;
}
.card:hover .bookmark, .bookmark:focus-visible, .bookmark[aria-pressed="true"] { opacity: 1; }
.bookmark:hover, .bookmark[aria-pressed="true"] { background: var(--brand); }
.card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 20px; pointer-events: none; }
.card-body h3 { margin: 0 0 12px; font-size: 1.05rem; font-weight: 800; line-height: 1.25; text-shadow: 0 2px 8px rgba(0,0,0,.5); transition: transform .3s var(--ease); }
.card:hover .card-body h3 { transform: translateY(-4px); }
.stats { display: flex; gap: 10px; font-size: .72rem; font-weight: 700; }
.stats span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 8px; background: rgba(0,0,0,.3); }
.stats .fa-eye { color: #d1d5db; }
.stats .fa-heart { color: var(--brand-light); transition: color .3s; }
.card:hover .stats .fa-heart { color: var(--brand); }

.empty { grid-column: 1 / -1; padding: 40px 16px; text-align: center; color: var(--muted); font-weight: 600; background: var(--white); border-radius: var(--radius); }

/* ---------- Banners ---------- */
.banner {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 32px; color: var(--white);
  box-shadow: var(--shadow-lg); transition: transform .3s var(--ease), box-shadow .3s;
}
.banner.lift:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(21, 26, 36, .18); }
.banner > * { position: relative; z-index: 1; }
.banner .deco { position: absolute; z-index: 0; color: rgba(255,255,255,.2); pointer-events: none; transition: transform .7s var(--ease); }
.banner h2, .banner h3 { margin: 0 0 8px; font-weight: 900; line-height: 1.15; text-shadow: 0 2px 6px rgba(0,0,0,.12); }
.banner p { margin: 0; color: rgba(255,255,255,.92); font-weight: 500; }
.pill { display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.22); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.split { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.b-contest { background: linear-gradient(90deg, #c09ee2, #d395dd, #c8ad47); }
.b-contest h2 { font-size: 2.25rem; }
.b-contest p { font-size: 1.1rem; max-width: 36rem; }
.b-contest .deco { right: -40px; top: -40px; font-size: 15rem; }
.b-contest:hover .deco { transform: scale(1.2); }
.btn-white {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 16px 32px; border-radius: 999px; background: var(--white); color: #915bc2;
  font-size: 1.1rem; font-weight: 800; box-shadow: var(--shadow-lg);
  transition: transform .3s var(--ease), background .3s;
  animation: pulse 2s ease-in-out infinite;
}
.btn-white:hover { transform: scale(1.08); background: #f9f8ed; animation-play-state: paused; }
.btn-white i { font-size: 1.5rem; }
@keyframes pulse { 50% { opacity: .75; } }

.b-rescue { background: linear-gradient(90deg, #d88fb5, #dc909b); }
.b-rescue h3 { font-size: 1.5rem; }
.rescue-left { display: flex; align-items: center; gap: 24px; }
.ring { width: 64px; height: 64px; flex: 0 0 auto; border-radius: 50%; background: var(--white); display: grid; place-items: center; color: #cc6778; font-size: 1.9rem; box-shadow: inset 0 2px 6px rgba(0,0,0,.08); transition: transform .7s var(--ease); }
.b-rescue:hover .ring { transform: rotate(180deg); }
.btn-outline { padding: 10px 24px; border-radius: 999px; border: 2px solid var(--white); background: rgba(255,255,255,.2); color: var(--white); font-weight: 700; white-space: nowrap; transition: background .3s, color .3s; }
.btn-outline:hover { background: var(--white); color: #cc6778; }

.b-know { background: linear-gradient(90deg, #dfba93, #d19666); text-align: center; }
.b-know h3 { font-size: 1.9rem; margin-bottom: 12px; }
.b-know .deco { left: 0; bottom: 0; font-size: 10rem; transform: translate(-25%, 25%); }
.know-form { display: flex; gap: 12px; max-width: 36rem; margin: 24px auto 0; }
.know-form input {
  flex: 1; min-width: 0; padding: 16px 24px; border-radius: 999px; border: 0;
  color: var(--ink); font-weight: 700; font-size: 1.05rem; box-shadow: inset 0 2px 4px rgba(0,0,0,.06);
}
.know-form input:focus { outline: none; box-shadow: 0 0 0 4px rgba(255,255,255,.5); }
.btn-dark { padding: 16px 28px; border-radius: 999px; background: var(--ink-strong); color: var(--white); font-weight: 700; white-space: nowrap; box-shadow: var(--shadow-md); transition: transform .3s var(--ease), background .3s; }
.btn-dark:hover { background: #212935; transform: scale(1.04); }
.know-result { margin-top: 16px; min-height: 1.5em; font-weight: 700; color: var(--white); word-break: break-all; }
.know-result a { text-decoration: underline; text-underline-offset: 3px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tile { min-height: 224px; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; }
.tile:hover { transform: translateY(-6px) scale(1.02); }
.tile h3 { font-size: 1.9rem; margin-top: 12px; }
.tile .deco { right: -16px; bottom: -16px; font-size: 8rem; }
.tile:hover .deco { transform: rotate(12deg); }
.tile.t-speed:hover .deco { transform: rotate(-12deg); }
.tile .tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.3); font-size: .72rem; font-weight: 700; }
.tile .go { align-self: flex-end; width: 40px; height: 40px; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: var(--shadow-md); transition: transform .3s var(--ease); }
.tile:hover .go { transform: scale(1.25); }
.t-party { background: linear-gradient(135deg, #b8c1e9, #c09ee2); }
.t-party .go { color: #a778d4; }
.t-speed { background: linear-gradient(135deg, #7dcbbf, #57b090); }
.t-speed .go { color: #359474; }

.b-friends {
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.12) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(90deg, #8284d2, #915bc2);
  padding: 40px;
}
.b-friends h2 { font-size: 2.25rem; margin-bottom: 16px; }
.b-friends p { color: #e7ebf8; font-size: 1.1rem; }
.b-friends .txt { max-width: 50%; }
.btn-pair { display: flex; gap: 16px; }
.btn-fun {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; border-radius: 999px; color: var(--white); font-size: 1.1rem; font-weight: 800; white-space: nowrap;
  box-shadow: var(--shadow-lg); transition: transform .3s var(--ease);
}
.btn-fun:hover { transform: translateY(-4px) scale(1.08); }
.f-pink { background: linear-gradient(90deg, #c86c99, #d19666); }
.f-teal { background: linear-gradient(90deg, #52afa3, #359474); }

/* ---------- Leaderboard ---------- */
.panel { background: rgba(255,255,255,.85); border: 1px solid var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.kicker { font-size: .8rem; font-weight: 700; color: var(--soft); letter-spacing: .08em; text-transform: uppercase; }
.ranks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.rank {
  display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 16px;
  background: #f9fafb; border: 1px solid #f3f4f6; transition: transform .3s var(--ease), background .3s, box-shadow .3s;
}
.rank:hover { transform: scale(1.015); background: var(--white); box-shadow: var(--shadow-sm); }
.rank.first { background: linear-gradient(90deg, #f9f8ed, var(--white)); border-color: #f1efd0; box-shadow: var(--shadow-sm); }
.rank-no { width: 32px; text-align: center; font-weight: 900; font-size: 1.25rem; color: var(--soft); }
.rank.first .rank-no { color: #c8ad47; font-size: 1.5rem; }
.rank.third .rank-no { color: #d19666; }
.rank .avatar { width: 48px; height: 48px; border-width: 2px; box-shadow: none; }
.rank-info { flex: 1; min-width: 0; }
.rank-info h4 { margin: 0; font-weight: 700; color: var(--ink); }
.bar { height: 6px; margin-top: 6px; border-radius: 999px; background: #e5e7eb; overflow: hidden; }
.rank.first .bar { height: 8px; }
.bar span { display: block; height: 100%; border-radius: inherit; width: 0; transition: width 1.2s var(--ease); }
.rank-pct { font-weight: 700; color: #4b5563; }
.rank.first .rank-pct { font-weight: 900; font-size: 1.25rem; color: #b89a3a; }

/* ---------- Filters ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px; }
.chip { padding: 8px 20px; border-radius: 999px; background: var(--white); color: #4b5563; font-size: .85rem; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow-sm); transition: transform .2s, background .2s, color .2s; }
.chip:hover { transform: scale(1.05); background: #faf5f8; color: #b34f7b; }
.chip[aria-pressed="true"] { background: #212935; color: var(--white); }
.more-wrap { margin-top: 40px; display: flex; justify-content: center; }
.btn-more {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 40px; border-radius: 999px;
  background: var(--white); border: 2px solid #e3ebf6; color: #5173bf; font-weight: 800;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.btn-more:hover { transform: translateY(-3px) scale(1.04); box-shadow: var(--shadow-md); }
.btn-more[hidden] { display: none; }

/* ---------- App download ---------- */
.app {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center;
  padding: 48px; border-radius: 32px; background: linear-gradient(135deg, #201530 0%, #624296 60%, #993d63 100%); color: var(--white); box-shadow: 0 24px 60px rgba(98, 66, 150, .3);
  position: relative; overflow: hidden;
}
.app::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -120px; top: -140px; background: rgba(87, 189, 171, .18); }
.app::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; left: -100px; bottom: -160px; background: rgba(212, 187, 102, .16); }
.app > * { position: relative; z-index: 1; }
.app .eyebrow { margin: 0 0 12px; color: #7dcbbf; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.app h2 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 900; line-height: 1.05; letter-spacing: -.035em; }
.app p { margin: 16px 0 0; color: rgba(255,255,255,.82); line-height: 1.65; max-width: 34rem; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.store {
  min-width: 180px; min-height: 58px; padding: 10px 18px; display: inline-flex; align-items: center; gap: 12px;
  border: 2px solid var(--white); border-radius: 15px; background: var(--white); color: var(--ink);
  box-shadow: 0 8px 0 rgba(0,0,0,.18); transition: transform .18s, box-shadow .18s;
}
.store:hover { transform: translateY(-3px); box-shadow: 0 11px 0 rgba(0,0,0,.18); }
.store.alt { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.store svg { width: 28px; height: 28px; fill: currentColor; flex: 0 0 auto; }
.store small { display: block; font-size: .66rem; opacity: .72; }
.store strong { display: block; font-size: 1rem; }
.phone {
  justify-self: center; width: 230px; aspect-ratio: 9 / 17; border-radius: 36px; padding: 14px;
  background: #15101e; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(4deg);
}
.screen { height: 100%; border-radius: 26px; background: #fcf9f3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px; text-align: center; }
.screen .q { font-size: .85rem; font-weight: 700; color: #192127; }
.screen .answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.screen .answers span { padding: 14px 0; border-radius: 14px; color: var(--white); font-weight: 900; }
.screen .answers .a-ok { background: var(--ok-pop); }
.screen .answers .a-nok { background: var(--nok-pop); }
.screen .match { font-size: .75rem; font-weight: 700; color: #5f6668; }
.screen .match b { color: var(--ok); font-size: 1.4rem; display: block; }

/* ---------- Category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cat {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 18px 10px; border-radius: 22px; color: var(--white); font-weight: 800; font-size: .95rem;
  box-shadow: 0 6px 0 rgba(0,0,0,.12), var(--shadow-md); transition: transform .2s var(--ease), box-shadow .2s;
}
.cat span { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; background: rgba(255,255,255,.25); transition: transform .3s var(--ease); }
.cat:hover { transform: translateY(-4px); }
.cat:hover span { transform: rotate(-10deg) scale(1.1); }
.cat:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(0,0,0,.12); }
.k-love { background: linear-gradient(135deg, #df8b9e, #b64879); }
.k-me { background: linear-gradient(135deg, #b3a4e1, #8662c5); }
.k-mind { background: linear-gradient(135deg, #52afa3, #2b766f); }
.k-star { background: linear-gradient(135deg, #9ba2de, #5f58aa); }
.k-film { background: linear-gradient(135deg, #ccaa53, #c77c48); }
.k-hot { background: linear-gradient(135deg, #dc909b, #c77c48); }
@media (max-width: 1100px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .cats { display: flex; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 10px; scroll-padding-inline: 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 108px; padding: 14px 8px; font-size: .85rem; scroll-snap-align: start; }
  .cat span { width: 44px; height: 44px; font-size: 1.45rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center;
  padding: clamp(28px, 4vw, 60px); border-radius: 32px; color: var(--white);
  background:
    radial-gradient(circle at 88% 12%, rgba(212, 187, 102, .38), transparent 30%),
    radial-gradient(circle at 8% 95%, rgba(87, 189, 171, .35), transparent 36%),
    linear-gradient(135deg, #2e1f46 0%, #764fb2 52%, #b34f7b 100%);
  box-shadow: 0 24px 60px rgba(118, 79, 178, .32);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(rgba(255,255,255,.16) 1.5px, transparent 1.7px) 0 0 / 26px 26px;
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 70%); mask-image: linear-gradient(120deg, #000, transparent 70%);
}
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-size: .8rem; font-weight: 700; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #57bdab; animation: ping 1.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(87, 189, 171, .7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(87, 189, 171, 0); } }
.hero .hero-h { margin: 20px 0 0; font-size: clamp(2.6rem, 5.4vw, 4.8rem); font-weight: 900; line-height: 1.04; letter-spacing: -.035em; }
.hl { display: inline-block; padding: 0 .18em; border-radius: .18em; color: var(--white); }
.hl-ok { background: var(--ok-pop); transform: rotate(-3deg); box-shadow: 0 .08em 0 #25605b; }
.hl-nok { background: var(--nok-pop); transform: rotate(2.5deg); box-shadow: 0 .08em 0 #98384f; }
.hero-copy > p { margin: 20px 0 0; max-width: 34rem; font-size: 1.1rem; line-height: 1.6; color: rgba(255,255,255,.88); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-main {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px;
  background: var(--sun); color: var(--plum); font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 7px 0 #9e8431, 0 16px 30px rgba(0,0,0,.25); transition: transform .15s, box-shadow .15s;
}
.cta-main:hover { transform: translateY(-2px); box-shadow: 0 9px 0 #9e8431, 0 20px 34px rgba(0,0,0,.28); }
.cta-main:active { transform: translateY(5px); box-shadow: 0 2px 0 #9e8431; }
.cta-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; border: 2px solid rgba(255,255,255,.55); color: var(--white); font-weight: 700; transition: background .2s, border-color .2s; }
.cta-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.hero-perks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .88rem; font-weight: 600; color: rgba(255,255,255,.85); }
.hero-perks li::before { content: "\2713"; margin-right: 6px; color: #57bdab; font-weight: 900; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 440px; }
.hphone {
  width: 250px; aspect-ratio: 9 / 18.5; border-radius: 40px; padding: 12px; background: #15101e;
  box-shadow: 0 30px 60px rgba(0,0,0,.4), inset 0 0 0 2px rgba(255,255,255,.08);
  rotate: -4deg; animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 50% { translate: 0 -10px; } }
.hscreen { height: 100%; border-radius: 30px; background: linear-gradient(180deg, #fbf7f1, #f9eaf0); padding: 20px 14px 16px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); overflow: hidden; }
.hs-top { display: flex; justify-content: space-between; align-items: center; font-size: .68rem; font-weight: 800; color: #7c6a92; }
.hs-top .live { display: inline-flex; align-items: center; gap: 5px; color: #b64861; }
.hs-top .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: ping 1.6s infinite; }
.hs-card { flex: 1; border-radius: 22px; background: var(--white); box-shadow: 0 10px 24px rgba(134, 98, 197, .15); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px 12px; text-align: center; transition: transform .45s var(--ease), opacity .45s; }
.hs-card.out { transform: translateX(-120%) rotate(-14deg); opacity: 0; }
.hs-card.in { animation: cardIn .45s var(--ease); }
@keyframes cardIn { from { transform: translateY(24px) scale(.9); opacity: 0; } }
.hs-emoji { font-size: 2.3rem; line-height: 1; }
.hs-q { font-weight: 800; font-size: .98rem; line-height: 1.3; min-height: 2.6em; }
.hs-votes { display: flex; flex-direction: column; gap: 6px; align-items: center; min-height: 52px; }
.hs-vote { font-size: .68rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; color: var(--white); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s var(--ease); }
.hs-vote.show { opacity: 1; transform: none; }
.v-ok { background: var(--ok-pop); } .v-nok { background: var(--nok-pop); }
.hs-result { font-size: .82rem; font-weight: 900; color: #8662c5; min-height: 1.2em; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease); }
.hs-result.show { opacity: 1; transform: none; }
.hs-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hs-btns span { padding: 12px 0; border-radius: 16px; text-align: center; color: var(--white); font-weight: 900; transition: transform .15s, box-shadow .15s; }
.hs-btns .hb-ok { background: var(--ok-pop); box-shadow: 0 4px 0 #25605b; }
.hs-btns .hb-nok { background: var(--nok-pop); box-shadow: 0 4px 0 #98384f; }
.hs-btns .press { transform: translateY(4px); box-shadow: none; }

.chipf { position: absolute; z-index: 2; padding: 10px 14px; border-radius: 16px; background: var(--white); color: var(--ink); font-weight: 800; font-size: .84rem; white-space: nowrap; box-shadow: 0 14px 30px rgba(0,0,0,.22); animation: bob 5s ease-in-out infinite; }
.chipf small { display: block; font-size: .66rem; font-weight: 600; color: #8a7aa0; }
.cf1 { top: 8%; left: -6%; rotate: -6deg; }
.cf2 { top: 60%; right: -6%; rotate: 5deg; animation-delay: -2s; }
.cf3 { top: 38%; left: -9%; rotate: -3deg; animation-delay: -3.5s; }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; border-radius: 18px; background: var(--ink); color: var(--white); padding: 14px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ticker-track { display: flex; gap: 40px; width: max-content; animation: marquee 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.t-item { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 700; white-space: nowrap; }
.t-tag { font-size: .64rem; font-weight: 900; padding: 3px 7px; border-radius: 6px; }
.t-ok { background: var(--ok-pop); } .t-nok { background: var(--nok-pop); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Daily question ---------- */
.daily {
  display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: center; padding: 32px; border-radius: var(--radius);
  border: 3px solid transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box, linear-gradient(135deg, #38948a, #a778d4, #d87486) border-box;
  box-shadow: var(--shadow-md);
}
.daily-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #a778d4; }
.daily h2 { margin: 10px 0 0; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 900; line-height: 1.2; color: var(--ink); }
.daily-btns { display: flex; gap: 12px; }
.vote { min-width: 132px; padding: 18px 26px; border-radius: 20px; font-size: 1.4rem; font-weight: 900; color: var(--white); transition: transform .15s, box-shadow .15s; }
.vote-ok { background: var(--ok-pop); box-shadow: 0 6px 0 #25605b; }
.vote-nok { background: var(--nok-pop); box-shadow: 0 6px 0 #98384f; }
.vote:hover { transform: translateY(-2px); }
.vote:active { transform: translateY(5px); box-shadow: 0 1px 0 rgba(0,0,0,.2); }
.daily-result { grid-column: 1 / -1; }
.split-bar { display: flex; height: 46px; border-radius: 14px; overflow: hidden; font-weight: 900; color: var(--white); }
.split-bar div { display: flex; align-items: center; padding: 0 16px; width: 50%; white-space: nowrap; transition: width 1s var(--ease); }
.sb-ok { background: var(--ok-pop); }
.sb-nok { background: var(--nok-pop); justify-content: flex-end; }
.daily-cta { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; font-weight: 600; color: var(--muted); }
.daily-cta a { color: #8662c5; font-weight: 800; }

/* ---------- Floating app bar ---------- */
.app-bar {
  position: fixed; z-index: 45; bottom: 16px; left: calc(50% + var(--sidebar-w) / 2); translate: -50% 160%;
  width: min(560px, calc(100% - var(--sidebar-w) - 32px));
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 20px;
  background: var(--ink); color: var(--white); box-shadow: 0 16px 40px rgba(39, 32, 49, .35);
  transition: translate .45s var(--ease);
}
.app-bar.show { translate: -50% 0; }
.app-bar .brandmark { font-size: 1rem; }
.app-bar .bm-mu { color: var(--white); }
.app-bar p { margin: 0; flex: 1; font-size: .8rem; font-weight: 600; line-height: 1.3; color: rgba(255,255,255,.8); }
.app-bar .get { padding: 10px 18px; border-radius: 14px; background: var(--sun); color: var(--plum); font-weight: 800; white-space: nowrap; }
.app-bar .x { width: 32px; height: 32px; border-radius: 50%; color: rgba(255,255,255,.6); }
.app-bar .x:hover { color: var(--white); background: rgba(255,255,255,.1); }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; }
}
@media (max-width: 767px) {
  .hero { text-align: center; border-radius: 26px; }
  .hero-copy > p { margin-inline: auto; }
  .hero-ctas, .hero-perks { justify-content: center; }
  .cta-main, .cta-ghost { width: 100%; justify-content: center; }
  .hero-visual { min-height: 400px; }
  .hphone { width: 214px; }
  .cf2, .cf3 { display: none; }
  .cf1 { top: 2%; left: 0; }
  .daily { grid-template-columns: 1fr; text-align: center; padding: 24px; }
  .daily-btns { justify-content: center; }
  .vote { flex: 1; min-width: 0; }
  .daily-cta { justify-content: center; text-align: center; }
  .app-bar { left: 50%; width: calc(100% - 24px); bottom: 12px; }
}
@media (max-width: 440px) {
  .app-bar .brandmark { display: none; }
  .chipf { font-size: .74rem; padding: 8px 11px; }
}

/* ---------- App content (packs, app tests) ---------- */
.card-app { background: linear-gradient(160deg, #764fb2, #2e1f46); }
.card-app.ca-1 { background: linear-gradient(160deg, #b34f7b, #52377b); }
.card-app.ca-2 { background: linear-gradient(160deg, #25605b, #272541); }
.card-app.ca-3 { background: linear-gradient(160deg, #b9673d, #6c3048); }
.card-emoji { position: absolute; left: 50%; top: 38%; translate: -50% -50%; font-size: 4.2rem; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); transition: transform .4s var(--ease); }
.card-app:hover .card-emoji { transform: scale(1.12) rotate(-6deg); }
.card-app::after { background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 60%); }
.stats { flex-wrap: wrap; }
.kicker-link { padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 800; font-size: .85rem; white-space: nowrap; }
.kicker-link:hover { background: #3c2e51; }
.pack-group + .pack-group { margin-top: 22px; }
.pack-group h3 { margin: 0 0 12px; font-size: 1rem; font-weight: 800; color: #4a3c5c; }
.pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.pack {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; border-radius: 20px; text-align: left;
  background: var(--white); border: 2px solid #f0e9f2; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.pack:hover { transform: translateY(-3px); border-color: var(--pc, #b64879); box-shadow: var(--shadow-md); }
.pack-emoji { font-size: 1.7rem; }
.pack b { font-size: .98rem; font-weight: 800; color: var(--ink); line-height: 1.25; }
.pack-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.pack-meta i { font-style: normal; font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #f6f3f8; color: #6b5a80; }
.th-iliski { --pc: #b64879; } .th-arkadas { --pc: #25605b; } .th-yasam { --pc: #b9673d; }
.th-premium { background: linear-gradient(135deg, #1a1522, #3c2c50); border-color: #3c2c50; --pc: var(--sun); }
.th-premium b { color: var(--white); }
.th-premium .pack-meta i { background: rgba(255,255,255,.12); color: #ece4f8; }
.lock-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 16px; }
.lock-stats span { padding: 6px 12px; border-radius: 999px; background: #f4f1fb; font-size: .8rem; font-weight: 700; color: #4a3c5c; }
.gcard.statement { background: linear-gradient(135deg, #2e1f46, #764fb2); font-size: 1.2rem; }

/* ---------- Section subtitle ---------- */
.sec-sub { margin: 6px 0 0 52px; color: var(--muted); font-size: .92rem; font-weight: 500; }

/* ---------- Game tiles ---------- */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.game {
  position: relative; overflow: hidden; min-height: 200px; padding: 22px; border-radius: 24px; color: var(--white);
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left;
  box-shadow: 0 6px 0 rgba(0,0,0,.12), var(--shadow-md); transition: transform .25s var(--ease), box-shadow .25s;
}
.game::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; right: -60px; top: -60px; background: rgba(255,255,255,.14); transition: transform .5s var(--ease); }
.game:hover { transform: translateY(-5px) rotate(-.6deg); }
.game:hover::after { transform: scale(1.3); }
.game:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0,0,0,.12); }
.g-emoji { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.9rem; background: rgba(255,255,255,.22); margin-bottom: 8px; transition: transform .3s var(--ease); }
.game:hover .g-emoji { transform: rotate(-10deg) scale(1.08); }
.game b { font-size: 1.15rem; font-weight: 800; line-height: 1.2; }
.game > span:not(.g-emoji):not(.g-meta) { font-size: .88rem; opacity: .92; line-height: 1.4; }
.g-meta { margin-top: auto; padding-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.g-meta i { font-style: normal; font-size: .7rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.18); }
.g-new { position: absolute; top: 18px; right: 18px; z-index: 1; font-style: normal; font-size: .62rem; font-weight: 900; letter-spacing: .06em; padding: 4px 8px; border-radius: 8px; background: var(--sun); color: var(--plum); }
.g1 { background: linear-gradient(135deg, #d88fb5, #b34f7b); }
.g2 { background: linear-gradient(135deg, #52afa3, #25605b); }
.g3 { background: linear-gradient(135deg, #dc909b, #b64861); }
.g4 { background: linear-gradient(135deg, #b3a4e1, #764fb2); }
.g5 { background: linear-gradient(135deg, #dfba93, #b9673d); }
.g6 { background: linear-gradient(135deg, #e6a8b7, #d87486); }
.g7 { background: linear-gradient(135deg, #9ba2de, #4d498a); }
.g8 { background: linear-gradient(135deg, #e3bdea, #883c8f); }

/* ---------- Card tags ---------- */
.stats .play-tag, .stats .app-tag { margin-left: auto; background: var(--sun); color: var(--plum); }
.stats .app-tag { background: rgba(255,255,255,.2); color: var(--white); }

/* ---------- Tournaments ---------- */
.tourneys { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.tcard { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 24px; background: var(--ink); color: var(--white); text-align: left; box-shadow: var(--shadow-md); transition: transform .3s var(--ease), box-shadow .3s; }
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tcard-imgs { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.tcard-imgs img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tcard:hover .tcard-imgs img { transform: scale(1.06); }
.tcard .vs, .duel .vs {
  position: absolute; left: 50%; top: 38%; translate: -50% -50%; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); color: var(--plum); font-weight: 900; font-size: .85rem; box-shadow: 0 6px 16px rgba(0,0,0,.3);
}
.tcard-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 40px 18px 16px; background: linear-gradient(to top, rgba(0,0,0,.85), transparent); display: flex; flex-direction: column; gap: 2px; }
.tcard-body b { font-size: 1.1rem; font-weight: 800; }
.tcard-body small { font-size: .78rem; opacity: .85; }

/* ---------- Songs ---------- */
.songs { display: flex; gap: 18px; overflow-x: auto; padding: 4px 4px 14px; margin: -4px; scroll-snap-type: x mandatory; }
.song { flex: 0 0 170px; display: flex; flex-direction: column; gap: 3px; scroll-snap-align: start; text-align: left; }
.song-cover { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #eae4f0; box-shadow: var(--shadow-md); margin-bottom: 8px; }
.song-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.song:hover .song-cover img { transform: scale(1.06); }
.song b { font-size: .92rem; font-weight: 800; color: var(--ink); line-height: 1.25; }
.song small { font-size: .78rem; color: var(--muted); font-weight: 600; }
.song a { font-size: .72rem; font-weight: 700; color: #b34f7b; }
.song-play {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); color: #b34f7b; box-shadow: 0 6px 16px rgba(0,0,0,.25);
  transition: transform .2s var(--ease);
}
.song-play:hover { transform: scale(1.1); }
.song.playing .song-play { background: #b34f7b; color: var(--white); }
.song.playing .song-play i::before { content: "\f04c"; }
.eq { position: absolute; left: 12px; bottom: 14px; z-index: 2; display: none; gap: 3px; align-items: flex-end; height: 22px; }
.eq i { width: 4px; border-radius: 2px; background: var(--white); animation: eq .8s ease-in-out infinite; box-shadow: 0 0 6px rgba(0,0,0,.4); }
.eq i:nth-child(2) { animation-delay: -.2s; } .eq i:nth-child(3) { animation-delay: -.45s; } .eq i:nth-child(4) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 22px; } }
.song.playing .eq { display: flex; }
.song.sk .song-cover { background: linear-gradient(90deg, #efeaf3 25%, #f8f4f9 50%, #efeaf3 75%) 0 0 / 200% 100%; animation: shimmer 1.2s linear infinite; }
.song.sk b, .song.sk small { background: #efeaf3; border-radius: 6px; width: 80%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.song-cta { justify-content: center; align-items: center; text-align: center; aspect-ratio: 1; border-radius: 20px; padding: 16px; background: linear-gradient(135deg, #d88fb5, #8662c5); box-shadow: var(--shadow-md); transition: transform .25s var(--ease); }
.song-cta:hover { transform: translateY(-4px); }
.song-cta span { font-size: 2.2rem; }
.song-cta b, .song-cta small { color: var(--white); }

/* ---------- Game dialog ---------- */
body.modal-open { overflow: hidden; }
.play {
  --accent: #8662c5;
  width: min(620px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px;
  background: var(--white); color: var(--ink); box-shadow: 0 30px 80px rgba(39, 32, 49, .45); overflow: hidden;
}
.play[open] { display: flex; flex-direction: column; animation: popIn .3s var(--ease); }
.play::backdrop { background: rgba(26, 21, 34, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(.96); } }
.play-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 20px; background: var(--accent); color: var(--white); }
.play-emoji { font-size: 1.5rem; }
.play-head h2 { margin: 0; flex: 1; font-size: 1.1rem; font-weight: 800; }
.play-close { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.2); color: var(--white); transition: background .2s; }
.play-close:hover { background: rgba(255,255,255,.35); }
.play-body { padding: 24px; overflow-y: auto; }
.pbar { height: 8px; border-radius: 999px; background: #f1eef5; overflow: hidden; margin-bottom: 14px; }
.pbar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width .4s var(--ease); }
.pbar.big { height: 14px; margin: 10px 0 16px; }
.pbar.big span { background: linear-gradient(90deg, #e6a8b7, #d87486); transition: none; }
.pbar.timer span { background: linear-gradient(90deg, #45a267, #c8ad47, #c96a6a); transition: width .1s linear; }
.q-meta { margin: 0 0 6px; font-size: .78rem; font-weight: 700; color: #8a7aa0; text-transform: uppercase; letter-spacing: .06em; }
.q-text { margin: 0 0 18px; font-size: 1.35rem; font-weight: 800; line-height: 1.3; }
.center { text-align: center; }
.opts { display: grid; gap: 10px; }
.opt {
  padding: 14px 18px; border-radius: 16px; border: 2px solid #eee9f2; background: var(--white); text-align: left;
  font-weight: 600; line-height: 1.35; display: flex; flex-direction: column; gap: 2px; transition: border-color .15s, background .15s, transform .15s;
}
.opt small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.opt:hover:not(:disabled) { border-color: var(--accent); background: #faf8fd; transform: translateX(3px); }
.opt.picked { border-color: var(--accent); background: var(--accent); color: var(--white); }
.opt.right { border-color: #358453; background: #e3f5ea; }
.opt.wrong { border-color: #b44e4e; background: #f8e8e8; }
.opt:disabled { cursor: default; }
.res { text-align: center; }
.res-emoji { font-size: 4rem; line-height: 1; margin-bottom: 10px; }
.res-emoji.spin { animation: bob 1s ease-in-out infinite; }
.res-title { margin: 0 0 8px; font-size: 1.7rem; font-weight: 900; color: var(--ink); }
.res-text { margin: 0 0 16px; color: #4a3c5c; line-height: 1.6; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 8px 0 16px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 800; font-size: .92rem; transition: transform .15s, filter .15s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-soft { background: #f4f1fb; color: var(--ink); }
.btn.wide { width: 100%; justify-content: center; }
.link-btn { color: #8662c5; font-weight: 700; font-size: .9rem; }
.app-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 14px 14px 14px 18px; border-radius: 18px;
  background: linear-gradient(135deg, #2e1f46, #764fb2); color: var(--white); text-align: left; font-size: .88rem; font-weight: 600;
}
.app-cta b { flex: 0 0 auto; padding: 8px 16px; border-radius: 12px; background: var(--sun); color: var(--plum); font-weight: 800; }
.gcard {
  min-height: 200px; margin-bottom: 16px; padding: 28px 24px; border-radius: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; font-size: 1.3rem; font-weight: 800; line-height: 1.35; color: var(--white); background: linear-gradient(135deg, #3c2e51, #272031);
  box-shadow: 0 10px 24px rgba(39, 32, 49, .2);
}
.gcard.is-teal { background: linear-gradient(135deg, #52afa3, #25605b); }
.gcard.is-coral { background: linear-gradient(135deg, #dc909b, #b64861); }
.gcard.is-purple { background: linear-gradient(135deg, #b3a4e1, #764fb2); }
.gcard.is-orange { background: linear-gradient(135deg, #dfba93, #b9673d); }
.gcard-label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.2); }
.gcard.flip { animation: flipIn .45s var(--ease); }
@keyframes flipIn { from { transform: perspective(800px) rotateY(80deg); opacity: 0; } }
.duo-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.duo-btns.three { grid-template-columns: 1fr 1fr 1fr; }
.big-btn { padding: 16px 10px; border-radius: 18px; color: var(--white); font-weight: 900; font-size: 1.05rem; transition: transform .15s, box-shadow .15s; }
.big-btn:active { transform: translateY(4px); box-shadow: none !important; }
.b-teal { background: var(--ok-pop); box-shadow: 0 5px 0 #25605b; }
.b-coral { background: var(--nok-pop); box-shadow: 0 5px 0 #98384f; }
.b-soft { background: #987ed4; box-shadow: 0 5px 0 #764fb2; }
.chips-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.mini-chip { padding: 8px 16px; border-radius: 999px; background: #f4f1fb; font-weight: 700; font-size: .85rem; }
.mini-chip[aria-pressed="true"] { background: var(--accent); color: var(--white); }
.name-form { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; margin-bottom: 18px; }
.name-form .wide { grid-column: 1 / -1; }
.name-form input, .name-form select { width: 100%; padding: 14px 16px; border-radius: 14px; border: 2px solid #eee9f2; font-weight: 700; font-size: 1rem; background: var(--white); }
.name-form input:focus, .name-form select:focus { outline: none; border-color: var(--accent); }
.name-form .sel span { display: block; font-size: .75rem; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.heart-sep { font-size: 1.5rem; padding-bottom: 10px; }
.big-pct { font-size: 4rem; font-weight: 900; line-height: 1; color: var(--accent); }
.zodiac-pair { display: flex; justify-content: center; align-items: center; gap: 14px; font-size: 3rem; margin-bottom: 6px; }
.zodiac-pair b { font-size: 1.5rem; color: var(--muted); }
.duel { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.duel .vs { top: 50%; }
.pickc { position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 20px; background: #eee; box-shadow: var(--shadow-md); transition: transform .2s var(--ease), box-shadow .2s, opacity .2s; }
.pickc img { width: 100%; height: 100%; object-fit: cover; }
.pickc span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 12px; background: linear-gradient(to top, rgba(0,0,0,.8), transparent); color: var(--white); font-weight: 800; font-size: 1.05rem; }
.pickc:hover { transform: scale(1.03); box-shadow: 0 0 0 4px var(--accent), var(--shadow-lg); }
.pickc.win { transform: scale(1.05); box-shadow: 0 0 0 5px var(--sun), var(--shadow-lg); }
.credit { margin: 12px 0 0; text-align: center; font-size: .7rem; color: var(--soft); }
.champ { position: relative; width: min(240px, 70%); margin: 0 auto 14px; aspect-ratio: 1; border-radius: 28px; overflow: hidden; box-shadow: 0 0 0 6px var(--sun), var(--shadow-lg); }
.champ img { width: 100%; height: 100%; object-fit: cover; }
.champ span { position: absolute; top: 8px; right: 10px; font-size: 2.2rem; }
.t-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.t-pick-item { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 18px; box-shadow: var(--shadow-md); transition: transform .2s; }
.t-pick-item img { width: 100%; height: 100%; object-fit: cover; }
.t-pick-item span { position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; background: linear-gradient(to top, var(--c), transparent); color: var(--white); font-weight: 800; text-align: left; }
.t-pick-item:hover { transform: scale(1.03); }
.cover { position: relative; width: min(220px, 60%); aspect-ratio: 1; margin: 0 auto 16px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: #2e1f46; }
.cover img { width: 100%; height: 100%; object-fit: cover; filter: blur(22px) saturate(1.3); transform: scale(1.2); transition: filter .5s, transform .5s; }
.cover.reveal img { filter: none; transform: none; }
.cover .eq { display: flex; left: 50%; bottom: 50%; translate: -50% 50%; height: 40px; gap: 5px; }
.cover .eq i { width: 7px; }
.cover.reveal .eq { display: none; }

@media (max-width: 767px) {
  .sec-sub { margin-left: 0; }
  .pack-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pack { padding: 14px; }
  .kicker-link { display: none; }
  .games { grid-template-columns: 1fr 1fr; gap: 12px; }
  .game { min-height: 180px; padding: 16px; border-radius: 20px; }
  .game b { font-size: 1rem; }
  .game > span:not(.g-emoji):not(.g-meta) { font-size: .78rem; }
  .g-emoji { width: 46px; height: 46px; font-size: 1.5rem; }
  .g-new { top: 12px; right: 12px; }
  .song { flex-basis: 140px; }
  .tourneys { display: flex; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 12px; scroll-padding-inline: 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .tourneys::-webkit-scrollbar { display: none; }
  .tcard { flex: 0 0 78%; scroll-snap-align: start; }
  .play { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
  .play-body { padding: 18px; }
  .q-text { font-size: 1.15rem; }
  .gcard { font-size: 1.12rem; min-height: 180px; }
  .name-form { grid-template-columns: 1fr; }
  .heart-sep { text-align: center; padding: 0; }
}

/* ---------- Large screens ---------- */
@media (min-width: 1600px) {
  :root { --sidebar-w: 288px; }
  .row .card { width: 290px; flex-basis: 290px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
  .sec-title { font-size: 1.75rem; }
  .b-contest h2, .b-friends h2 { font-size: 2.6rem; }
}

/* ---------- Footer ---------- */
.footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0 0; border-top: 1px solid rgba(21, 26, 36, .1); color: var(--muted); font-size: .85rem; }
.footer a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(107,114,128,.4); }

.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 60; transform: translate(-50%, 20px);
  padding: 12px 20px; border-radius: 999px; background: var(--ink-strong); color: var(--white);
  font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease); max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .b-friends .txt { max-width: none; }
  .b-friends.split { flex-direction: column; text-align: center; }
}

@media (max-width: 767px) {
  .topbar { display: flex; }
  .sidebar {
    position: fixed; top: 0; left: 0; padding-top: 64px;
    transform: translateX(-100%); transition: transform .3s ease-in-out;
  }
  .sidebar-head { display: none; }
  body.menu-open .sidebar { transform: none; }
  body.menu-open .overlay { opacity: 1; pointer-events: auto; }
  .main { padding-top: 64px; }
  .container { padding: 16px; gap: 24px; }
  .header { display: none; }
  .mobile-search { display: block !important; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .row .card { width: 220px; flex-basis: 220px; }
  .banner { padding: 24px; }
  .split { flex-direction: column; text-align: center; }
  .b-contest h2, .b-friends h2 { font-size: 1.8rem; }
  .b-rescue.split { flex-direction: row; text-align: left; }
  .b-rescue .btn-outline { display: none; }
  .rescue-left { gap: 16px; }
  .know-form { flex-direction: column; }
  .know-form input { text-align: center; }
  .duo { grid-template-columns: 1fr; }
  .btn-pair { flex-direction: column; width: 100%; }
  .panel { padding: 20px; }
  .app { grid-template-columns: 1fr; padding: 28px 20px; text-align: center; }
  .app p { margin-inline: auto; }
  .stores { justify-content: center; }
  .phone { display: none; }
  .footer { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .card-body { padding: 14px; }
  .card-body h3 { font-size: .92rem; }
  .stats { gap: 6px; font-size: .66rem; }
  .card-tag { top: 10px; left: 10px; }
  .rank { gap: 10px; padding: 12px; }
  .rank .avatar { width: 40px; height: 40px; }
  .store { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ======================================================================
 * v5 – intro, rows, next tests, dates, footer links, sub-pages
 * ====================================================================== */
.intro h1 { margin: 0; font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-weight: 900; line-height: 1.2; color: var(--ink); letter-spacing: -.02em; }
.intro p { margin: 6px 0 0; color: var(--muted); font-weight: 500; }
.kicker-link.soft { background: #f4f1fb; color: var(--ink); }
.kicker-link.soft:hover { background: #ece4f8; }
.g9 { background: linear-gradient(135deg, #d6be73, #c2913e); }
.card.is-done .card-tag { background: rgba(53, 132, 83, .85); }

.next-tests { margin: 6px 0 14px; text-align: left; }
.next-test { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-top: 8px; border-radius: 16px; border: 2px solid #eee9f2; font-weight: 700; transition: border-color .15s, transform .15s; }
.next-test:hover { border-color: var(--accent, #8662c5); transform: translateX(3px); }
.next-test span { font-size: 1.4rem; }
.next-test b { flex: 1; font-size: .92rem; line-height: 1.3; }
.next-test i { color: var(--soft); }
.date-emoji { font-size: 2.6rem; line-height: 1; }
.date-text { font-size: .9rem; font-weight: 500; opacity: .92; max-width: 32rem; }
a.link-btn { display: inline-block; margin-top: 4px; }

.footer { flex-direction: column; align-items: stretch; }
.seo-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px 28px; padding: 8px 0 22px; }
.seo-links h3 { margin: 0 0 8px; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.seo-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.seo-links a { text-decoration: none; color: var(--muted); font-size: .86rem; }
.seo-links a:hover { color: #b34f7b; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid rgba(21, 26, 36, .08); }

/* ---------- Sub-pages (test pages, lists) ---------- */
body.sub { background-attachment: fixed; }
.subbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 18px; padding: 12px clamp(16px, 4vw, 40px); background: rgba(253, 248, 249, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--side-line); }
.subbar .brandmark { font-size: 1.3rem; }
.subnav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.subnav a { padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: #4a3c5c; }
.subnav a:hover { background: #f8ebf3; }
.subnav .get { background: var(--sun); color: var(--plum); box-shadow: 0 3px 0 #9e8431; }
.sub-main { max-width: 900px; margin: 0 auto; padding: 24px 16px 40px; display: flex; flex-direction: column; gap: 28px; }
.sub-main.wide { max-width: 1180px; }
.crumbs { font-size: .8rem; font-weight: 600; color: var(--muted); }
.crumbs a { color: #8662c5; }
.test-hero { display: flex; gap: 18px; align-items: center; }
.test-hero .big-emoji { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; font-size: 2.8rem; background: linear-gradient(135deg, #f3edfa, #f9eaf0); box-shadow: var(--shadow-sm); }
.test-hero h1 { margin: 0; font-size: clamp(1.5rem, 3.4vw, 2.3rem); font-weight: 900; line-height: 1.15; color: var(--ink); letter-spacing: -.02em; }
.test-hero p { margin: 8px 0 0; color: #4a3c5c; line-height: 1.55; }
.meta-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.meta-chips span { padding: 4px 10px; border-radius: 999px; background: var(--white); border: 1px solid #f0e9f2; font-size: .76rem; font-weight: 700; color: #4a3c5c; }
.test-mount { --accent: #8662c5; background: var(--white); border-radius: 28px; padding: 24px; box-shadow: var(--shadow-md); scroll-margin-top: 80px; min-height: 280px; }
.sub-sec h2 { margin: 0 0 12px; font-size: 1.25rem; font-weight: 900; color: var(--ink); }
.sub-sec p { color: #4a3c5c; line-height: 1.65; }
.result-list { display: grid; gap: 10px; }
.result-item { display: flex; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--white); border: 1px solid #f0e9f2; }
.result-item span { font-size: 1.6rem; }
.result-item b { display: block; color: var(--ink); }
.result-item p { margin: 2px 0 0; font-size: .9rem; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.link-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--white); border: 2px solid #f0e9f2; font-weight: 700; color: var(--ink); transition: transform .15s, border-color .15s; }
.link-card:hover { transform: translateY(-2px); border-color: #d395dd; }
.link-card span { font-size: 1.5rem; }
.link-card small { display: block; font-weight: 600; color: var(--muted); font-size: .75rem; }
.link-card.locked { background: linear-gradient(135deg, #faf8fd, #fff); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: 24px; background: linear-gradient(135deg, #2e1f46, #764fb2 60%, #b34f7b); color: var(--white); }
.cta-band b { font-size: 1.15rem; }
.cta-band p { margin: 4px 0 0; color: rgba(255,255,255,.85) !important; font-size: .92rem; }
.cta-band a { flex: 0 0 auto; padding: 12px 20px; border-radius: 14px; background: var(--sun); color: var(--plum); font-weight: 800; }
.qlist { counter-reset: q; list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qlist li { counter-increment: q; display: flex; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--white); border: 1px solid #f0e9f2; line-height: 1.45; color: var(--ink); font-weight: 500; }
.qlist li::before { content: counter(q); flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #f3edfa; color: #8662c5; font-weight: 800; font-size: .8rem; }
.list-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sub-footer { max-width: 1180px; margin: 0 auto; padding: 0 16px 32px; }
@media (max-width: 767px) {
  .subnav a:not(.get) { display: none; }
  .test-hero { align-items: flex-start; }
  .test-hero .big-emoji { width: 64px; height: 64px; font-size: 2.1rem; border-radius: 20px; }
  .test-mount { padding: 18px; border-radius: 22px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

/* ======================================================================
 * Açık Artırma (auction)
 * ====================================================================== */
.g10 { background: linear-gradient(135deg, #57b090, #1d5f4c); }
.g11 { background: linear-gradient(135deg, #7c5cc4, #37275c); }
.g12 { background: linear-gradient(135deg, #c46f96, #5b7fc4); }
.play.wide { width: min(820px, calc(100% - 24px)); }
.btn.big { padding: 15px 28px; font-size: 1.02rem; }
.auc-h { margin: 18px 0 10px; font-size: 1rem; font-weight: 800; color: var(--ink); }
.auc-h small { font-weight: 600; color: var(--muted); font-size: .78rem; }
.auc-modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.auc-mode { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 14px; border-radius: 18px; border: 2px solid #eee9f2; background: var(--white); text-align: left; transition: border-color .15s, transform .15s; }
.auc-mode span { font-size: 1.8rem; }
.auc-mode b { font-size: .95rem; color: var(--ink); }
.auc-mode small { font-size: .76rem; color: var(--muted); line-height: 1.35; }
.auc-mode:hover { transform: translateY(-2px); }
.auc-mode[aria-pressed="true"] { border-color: var(--accent); background: #f0f9f5; box-shadow: 0 0 0 3px rgba(37, 96, 91, .15); }
.auc-names { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 6px; }
.auc-name { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border-radius: 14px; border: 2px solid #eee9f2; background: var(--white); }
.auc-name input { flex: 1; min-width: 0; border: 0; padding: 8px 0; font-weight: 700; background: transparent; }
.auc-name input:focus { outline: none; }
.auc-dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; }
.auc-x { width: 28px; height: 28px; border-radius: 50%; color: var(--muted); font-size: 1.2rem; }
.auc-x:hover { background: #f8e8e8; color: #b44e4e; }

.auc { display: flex; flex-direction: column; gap: 16px; }
.auc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.auc-round { font-weight: 900; color: var(--ink); }
.auc-dots { display: flex; gap: 5px; }
.auc-dots i { width: 22px; height: 6px; border-radius: 999px; background: #e9e5ef; }
.auc-dots i.done { background: #25605b; }
.auc-dots i.now { background: var(--sun); }
.auc-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: stretch; }
.auc-item { position: relative; overflow: hidden; border-radius: 24px; min-height: 220px; background: linear-gradient(135deg, #2e1f46, #764fb2); color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; box-shadow: var(--shadow-md); }
.auc-item .auc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auc-item .auc-img.is-emoji { display: grid; place-items: center; font-size: 5rem; padding-bottom: 40px; }
.auc-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), transparent 55%); }
.auc-item b, .auc-label { position: relative; z-index: 1; }
.auc-item b { font-size: 1.35rem; font-weight: 900; }
.auc-label { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.22); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.auc-pot {
  position: relative; border-radius: 24px; padding: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 220px;
  background: radial-gradient(circle at 50% 30%, #f3efd8, #e4d7a3 60%, #c2913e); color: var(--plum); box-shadow: inset 0 -8px 0 rgba(0,0,0,.08), var(--shadow-md); overflow: hidden;
}
.auc-coins { position: relative; width: 120px; height: 76px; margin-bottom: 6px; flex: 0 0 auto; }
.auc-coins i {
  position: absolute;
  width: 52px; height: 18px; border-radius: 50%; background: linear-gradient(#d5c46f, #b89a3a); border: 2px solid #7f5c29; box-shadow: 0 3px 0 #7f5c29;
  animation: coinDrop .35s var(--ease) both; animation-delay: calc(var(--i) * 20ms);
}
@keyframes coinDrop { from { transform: translateY(-80px); opacity: 0; } }
.auc-amount { position: relative; font-size: 3rem; font-weight: 900; line-height: 1; }
.auc-pot small { position: relative; font-weight: 800; font-size: .85rem; }
.auc-pot.bump .auc-amount { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.25); } }
.auc-players { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.auc-p { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 8px; border-radius: 16px; border: 2px solid #eee9f2; background: var(--white); text-align: center; transition: transform .2s, box-shadow .2s, opacity .2s; }
.auc-p b { font-size: .85rem; color: var(--ink); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auc-p small { font-size: .68rem; font-weight: 700; color: var(--muted); }
.auc-money { font-weight: 900; color: #25605b; }
.auc-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--pc); color: var(--white); font-weight: 900; }
.auc-p.turn { border-color: var(--pc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pc) 25%, transparent); transform: translateY(-3px); }
.auc-p.leader { background: #fbf8ef; border-color: #c2913e; }
.auc-p.passed { opacity: .45; }
.auc-actions { padding: 14px; border-radius: 20px; background: color-mix(in srgb, var(--pc) 10%, white); border: 2px solid color-mix(in srgb, var(--pc) 35%, white); }
.auc-turn { margin: 0 0 10px; text-align: center; font-weight: 600; color: var(--ink); }
.auc-turn b { color: var(--pc); }
.auc-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.auc-bid, .auc-pass { padding: 16px 6px; border-radius: 16px; font-weight: 900; font-size: 1.1rem; transition: transform .12s, box-shadow .12s, opacity .2s; }
.auc-bid { background: var(--sun); color: var(--plum); box-shadow: 0 5px 0 #9e8431; }
.auc-pass { background: #e9e5ef; color: #4a3c5c; box-shadow: 0 5px 0 #ccc2dd; }
.auc-bid:active, .auc-pass:active { transform: translateY(4px); box-shadow: none; }
.auc-bid:disabled, .auc-pass:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }
.auc-sold { text-align: center; }
.auc-hammer { font-size: 3.4rem; display: inline-block; transform-origin: 80% 80%; animation: hammer .6s var(--ease); }
@keyframes hammer { 0% { transform: rotate(-50deg); } 60% { transform: rotate(15deg); } 100% { transform: rotate(0); } }
.auc-sold-item { position: relative; width: min(220px, 60%); aspect-ratio: 1; margin: 6px auto 12px; border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 5px var(--sun), var(--shadow-lg); background: linear-gradient(135deg, #2e1f46, #764fb2); }
.auc-sold-item .auc-img { width: 100%; height: 100%; object-fit: cover; }
.auc-sold-item .auc-img.is-emoji { display: grid; place-items: center; font-size: 5rem; }
.auc-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 12px 0; }
.auc-cols.one { grid-template-columns: minmax(0, 420px); justify-content: center; }
.auc-col { border-radius: 20px; background: var(--white); border: 2px solid color-mix(in srgb, var(--pc) 40%, white); overflow: hidden; text-align: left; }
.auc-col-head { display: flex; align-items: center; gap: 10px; padding: 12px; background: color-mix(in srgb, var(--pc) 12%, white); flex-wrap: wrap; }
.auc-col-head b { color: var(--ink); }
.auc-col-head small { width: 100%; font-size: .72rem; font-weight: 700; color: var(--muted); }
.auc-col ul { list-style: none; margin: 0; padding: 8px 12px 12px; display: grid; gap: 6px; }
.auc-col li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .88rem; color: var(--ink); }
.auc-col li span { flex: 1; }
.auc-col li em { font-style: normal; font-weight: 800; color: #25605b; font-size: .8rem; }
.auc-thumb { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.auc-thumb.is-emoji { display: grid; place-items: center; background: #f4f1fb; font-size: 1.2rem; }
.auc-empty { padding: 10px 12px 14px; margin: 0; color: var(--muted); font-size: .85rem; }
.auc-pick { padding: 0; border-radius: 20px; text-align: left; transition: transform .15s; }
.auc-pick:hover { transform: translateY(-3px); }
.auc-pick:hover .auc-col { box-shadow: 0 0 0 4px var(--sun); }
@media (max-width: 767px) {
  .auc-modes, .auc-names { grid-template-columns: 1fr; }
  .auc-stage { grid-template-columns: 1fr 1fr; gap: 10px; }
  .auc-item, .auc-pot { min-height: 170px; border-radius: 20px; }
  .auc-item .auc-img.is-emoji { font-size: 3.6rem; }
  .auc-amount { font-size: 2.3rem; }
  .auc-coins { transform: scale(.8); margin-bottom: 0; }
  .play.wide { width: 100%; max-width: 100%; }
  .auc-players { grid-template-columns: repeat(3, 1fr); }
  .auc-bid, .auc-pass { padding: 14px 4px; font-size: 1rem; }
}

/* ======================================================================
 * Dizi testleri – illustrated character cards
 * ====================================================================== */
.char-card {
  position: relative; overflow: hidden; margin: 0 auto 14px; max-width: 460px; padding: 26px 22px 22px; border-radius: 28px;
  background: radial-gradient(circle at 80% 0%, rgba(255,255,255,.18), transparent 45%), linear-gradient(150deg, var(--c1), var(--c2));
  color: var(--white); text-align: center; box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.char-card::before { content: ""; position: absolute; inset: 10px; border: 1.5px solid rgba(255,255,255,.28); border-radius: 22px; pointer-events: none; }
.char-series { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(0,0,0,.28); font-size: .74rem; font-weight: 800; letter-spacing: .04em; }
.char-medal { display: grid; place-items: center; width: 108px; height: 108px; margin: 16px auto 8px; border-radius: 50%; font-size: 3.4rem;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.45), rgba(255,255,255,.12)); box-shadow: 0 0 0 6px rgba(255,255,255,.18), 0 10px 26px rgba(0,0,0,.3); }
.char-kicker { margin: 0; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.char-card h3 { margin: 2px 0 8px; font-size: 1.9rem; font-weight: 900; line-height: 1.1; text-shadow: 0 3px 12px rgba(0,0,0,.3); }
.char-text { margin: 0 0 14px; font-size: .95rem; line-height: 1.55; opacity: .95; }
.trait-bars { display: grid; gap: 6px; text-align: left; background: rgba(0,0,0,.2); border-radius: 16px; padding: 12px; }
.trait { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; }
.trait i { height: 8px; border-radius: 999px; background: rgba(255,255,255,.2); overflow: hidden; }
.trait b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #e4d7a3, #fff); animation: grow .9s var(--ease) both; }
@keyframes grow { from { width: 0 !important; } }
.near { margin: 0 0 14px; font-size: .88rem; color: #4a3c5c; }
.near b { white-space: nowrap; }
.result-item small { font-weight: 600; color: var(--muted); }

/* ======================================================================
 * v8 – simplified top + grouped compact sidebar
 * ====================================================================== */
.top { position: relative; z-index: 20; padding: 28px 28px 22px; border-radius: 28px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow-sm); }
.top h1 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.top > p { margin: 6px 0 18px; color: var(--muted); font-weight: 500; }
.top-search { position: relative; max-width: 620px; }
.search.big { width: 100%; max-width: none; }
.search.big input { padding: 16px 18px 16px 52px; font-size: 1rem; border: 2px solid #f0e9f2; box-shadow: none; }
.search.big input:focus { border-color: #e7bad2; box-shadow: 0 0 0 4px #f8ebf3; }
.search-pop { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; padding: 6px; border-radius: 18px; background: var(--white); box-shadow: 0 18px 40px rgba(39, 32, 49, .18); border: 1px solid #f0e9f2; }
.search-pop a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-weight: 700; font-size: .92rem; color: var(--ink); }
.search-pop a:hover, .search-pop a:focus-visible { background: #faf5f8; }
.search-pop a span { font-size: 1.2rem; }
.search-pop a small { margin-left: auto; font-size: .72rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.search-pop .none { margin: 0; padding: 12px; color: var(--muted); font-weight: 600; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.quick a { padding: 8px 14px; border-radius: 999px; background: #f6f3f8; color: #4a3c5c; font-weight: 700; font-size: .88rem; transition: background .15s, transform .15s; }
.quick a:hover { background: #f8ebf3; transform: translateY(-1px); }
.quick a.q-app { background: var(--sun); color: var(--plum); }

/* sidebar: grouped, compact */
.nav { gap: 2px; padding-top: 4px; min-height: 0; }
.nav-h { margin: 14px 12px 4px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #a08bb8; }
.nav-link { gap: 12px; padding: 9px 12px; border-radius: 12px; font-size: .92rem; border-width: 0; }
.nav-link i { width: 18px; text-align: center; color: #b4a1c4; transition: color .2s; }
.nav-link:hover { transform: none; box-shadow: none; background: rgba(255,255,255,.8); }
.nav-link:hover i, .nav-link[aria-current="true"] i { color: #b64879; }
.nav-link[aria-current="true"] { box-shadow: var(--shadow-sm); }
.btn-grad { margin-top: 14px; padding: 12px; }

@media (max-width: 767px) {
  .top { padding: 20px 16px 16px; border-radius: 22px; }
  .top > p { margin-bottom: 14px; font-size: .92rem; }
  .quick { flex-wrap: nowrap; overflow-x: auto; margin: 14px -16px 0; padding: 0 16px 2px; scrollbar-width: none; }
  .quick::-webkit-scrollbar { display: none; }
  .quick a { white-space: nowrap; }
}

/* ======================================================================
 * v16 – content-first home: Trend Testler at the very top
 * ====================================================================== */
.sec-head-search { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.sec-head-search .top-search { width: min(340px, 100%); flex: 0 1 340px; }
.sec-head-search .search { width: 100%; max-width: none; }
.sec-head-search .search input {
  padding: 11px 14px 11px 44px; border: 2px solid #efe7f1; border-radius: 999px;
  background: var(--white); box-shadow: var(--shadow-sm);
}
.sec-head-search .search input:focus { border-color: #e2b7cf; box-shadow: 0 0 0 4px #f9edf4; }
.btn-grad-test { background: linear-gradient(135deg, #7c5cc4, #4a3580); margin-bottom: 8px; }
@media (max-width: 767px) {
  .sec-head-search { gap: 10px; margin-bottom: 12px; }
  .sec-head-search .top-search { flex: 1 1 100%; }
}

/* ---------- Film gecesi ---------- */
.film-slot { margin: 6px 0 14px; }
.film-card {
  display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: start;
  padding: 16px; border-radius: 20px;
  background: linear-gradient(150deg, #3b2a55, #241a38);
  color: #fff; box-shadow: var(--shadow-md);
}
.film-poster { width: 100%; border-radius: 12px; box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.film-info h3 { margin: 2px 0 6px; font-size: 1.25rem; line-height: 1.25; }
.film-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; font-size: .82rem; font-weight: 700; }
.film-meta span { padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.14); }
.film-orig { margin: 0 0 8px; font-size: .8rem; opacity: .7; font-style: italic; }
.film-plot { margin: 0 0 10px; font-size: .92rem; line-height: 1.5; opacity: .92; }
.film-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; font-size: .76rem; font-weight: 700; }
.film-tags span { padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.1); }
.film-credit { margin: 4px 0 12px; text-align: center; font-size: .75rem; color: var(--muted); }
.film-credit a { text-decoration: underline; }
.film-slot.flip .film-card { animation: flipIn .45s var(--ease); }
@media (max-width: 560px) {
  .film-card { grid-template-columns: 110px 1fr; gap: 12px; padding: 12px; }
  .film-info h3 { font-size: 1.05rem; }
  .film-plot { font-size: .86rem; }
}
.film-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.film-item { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-sm); }
.film-item img { width: 90px; height: auto; border-radius: 10px; }
.film-item b { display: block; font-size: .98rem; margin-bottom: 4px; }
.film-item-meta { display: block; font-size: .78rem; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.film-item p { margin: 0; font-size: .84rem; line-height: 1.45; color: var(--muted); }

/* ---------- 10/10 ama… ---------- */
.ten-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 16px; }
.ten-opt {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 22px 14px; border-radius: 20px; color: var(--white); font-weight: 800;
  background: linear-gradient(150deg, var(--c), rgba(0,0,0,.35)); box-shadow: var(--shadow-md);
  transition: transform .2s var(--ease);
}
.ten-opt:hover { transform: translateY(-3px); }
.ten-opt-emoji { font-size: 2.6rem; line-height: 1; }
.ten-opt small { font-weight: 600; opacity: .85; font-size: .78rem; }
.ten-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 26px 20px; border-radius: 22px; color: var(--white);
  background: linear-gradient(150deg, #3b2a55, #241a38); box-shadow: var(--shadow-md); margin-bottom: 16px;
}
.ten-card.flip { animation: flipIn .4s var(--ease); }
.ten-head { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.ten-emoji { font-size: 3.2rem; line-height: 1; }
.ten-text { margin: 0; font-size: 1.22rem; font-weight: 800; line-height: 1.35; }
.ok-nok-row { display: flex; gap: 12px; justify-content: center; margin-bottom: 10px; }
.ten-hint { margin: 0 0 14px; text-align: center; font-size: .82rem; color: var(--muted); }
.ten-list { margin: 0 0 14px; }
.ten-list h4 { margin: 0 0 8px; font-size: .92rem; }
.ten-row { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 14px; background: #f8f3f6; margin-bottom: 6px; }
.ten-row.is-ok { background: #eef7f2; }
.ten-row p { margin: 0; font-size: .88rem; line-height: 1.4; }
@media (max-width: 560px) {
  .ten-text { font-size: 1.08rem; }
  .ten-pick { gap: 8px; }
}
