@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;800&display=swap");
/* Mosaic — STRUCTURAL theme: ticker band, two-tier header with game tabs, the whole home page is one dense mosaic grid. Cool grey + cobalt + pink. */
:root {
    color-scheme: light;
    --bg: #eef1f6; --bg-2: #e3e8f0; --surface: #ffffff; --surface-2: #ffffff; --surface-3: rgba(14,22,48,.03);
    --field: #ffffff; --overlay: #ffffff;
    --text: #0e1630; --text-2: #2c3654; --muted: #69728d; --muted-2: #9aa2b8;
    --line: rgba(14,22,48,.09); --line-2: rgba(14,22,48,.18);
    --primary: #2348ff; --primary-2: #1a38d6; --on-primary: #fff;
    --accent: #ff4f8b; --accent-2: #e63b77; --on-accent: #fff;
    --gold: #f0a500; --on-gold: #1a1405; --success: #13a36b; --danger: #e02d4b; --info: #2348ff; --warn: #f0a500;
    --font: Manrope, system-ui, sans-serif; --fw-display: 800; --display-tracking: -.04em;
    --r: calc(22px * var(--rs)); --r-sm: calc(14px * var(--rs)); --r-lg: calc(28px * var(--rs));
    --shadow: 0 24px 50px -30px rgba(14,22,48,.35); --shadow-sm: 0 8px 20px -12px rgba(14,22,48,.25); --glow: transparent;
    --header-bg: rgba(238,241,246,.9); --topbar-bg: #0e1630; --topbar-text: #fff;
    --grad-text: linear-gradient(90deg, var(--primary), var(--accent));
    --card-bg: var(--surface);
    --max: 1280px;
}
body { background: var(--bg); }
.t-teal { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ticker */
.mz-ticker { background: var(--text); color: #fff; overflow: hidden; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.mz-ticker__track { display: inline-flex; gap: 22px; padding: 9px 0; animation: mzTick 40s linear infinite; }
.mz-ticker i { font-style: normal; color: var(--accent); }
@keyframes mzTick { to { transform: translateX(-50%); } }
[data-motion="0"] .mz-ticker__track { animation: none; }

/* two-tier header */
.mz-head { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.mz-head__row { display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 3vw, 32px); max-width: var(--max); margin: 0 auto; }
.mz-head__site { display: flex; gap: 2px; margin-left: 12px; }
.mz-link { padding: 8px 14px; border-radius: 99px; color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.mz-link:hover, .mz-link.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.mz-head__right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.mz-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 0 clamp(16px, 3vw, 32px) 12px; max-width: var(--max); margin: 0 auto; scrollbar-width: none; }
.mz-tab { flex: none; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 13px; font-weight: 600; transition: transform .2s, border-color .2s; }
.mz-tab i { width: 8px; height: 8px; border-radius: 3px; background: var(--gc); }
.mz-tab:hover { transform: translateY(-2px); border-color: var(--gc); }
.mz-tab.is-active { background: var(--gc); color: #fff; border-color: var(--gc); }
.mz-tab.is-active i { background: #fff; }
.mz-svc { display: flex; gap: 0; overflow-x: auto; border-top: 1px solid var(--line); padding: 0 clamp(16px, 3vw, 32px); max-width: var(--max); margin: 0 auto; scrollbar-width: none; }
.mz-svc__link { flex: none; padding: 11px 16px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.mz-svc__link.is-active, .mz-svc__link:hover { color: var(--primary); border-color: var(--primary); }

/* mosaic home */
.mz-wrap { max-width: var(--max); margin: 0 auto; padding: 22px clamp(12px, 3vw, 32px) 10px; }
.mz-wrap .section, .mz-wrap .container--narrow { max-width: none; padding-inline: 0; }
.mz-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 170px; grid-auto-flow: dense; gap: 12px; }
#oyunlar { scroll-margin-top: 140px; }
.mz-t { position: relative; border-radius: var(--r); background: var(--surface); padding: 22px; overflow: hidden; box-shadow: var(--shadow-sm); }
.mz-t--hero { grid-column: span 4; grid-row: span 3; display: flex; flex-direction: column; justify-content: flex-end; background: radial-gradient(600px 400px at 100% 0, rgba(35,72,255,.14), transparent 60%), radial-gradient(500px 300px at 0 100%, rgba(255,79,139,.12), transparent 60%), var(--surface); }
.mz-t--hero h1 { font-size: clamp(38px, 5.4vw, 80px); line-height: .95; letter-spacing: -.05em; margin: 16px 0 14px; }
.mz-t--hero > p { color: var(--text-2); font-size: 17px; margin: 0 0 22px; max-width: 40ch; }
.mz-chip { align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border-radius: 99px; background: var(--bg); font-size: 13px; font-weight: 600; margin: 0; }
.mz-t--game { display: block; padding: 0; color: #fff; text-decoration: none; background: var(--gc); isolation: isolate; grid-column: span 2; }
.mz-t--game img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.mz-t--game::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(200deg, transparent 40%, rgba(6,10,26,.82)); }
.mz-t--game:hover img { transform: scale(1.06); }
.mz-t__label { position: absolute; left: 18px; bottom: 16px; display: grid; }
.mz-t__label b { font-size: 19px; letter-spacing: -.02em; }
.mz-t__label small { opacity: .8; }
.mz-t__go { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--text); transform: scale(.8) rotate(-45deg); opacity: 0; transition: .35s var(--ease); }
.mz-t--game:hover .mz-t__go { opacity: 1; transform: none; }
.mz-g0 { grid-row: span 3; }
.mz-g3, .mz-g4 { grid-row: span 2; }
.mz-t--stat { grid-column: span 1; display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.mz-t--stat b { font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -.04em; line-height: 1; }
.mz-t--stat b small { font-size: .45em; margin-left: 3px; }
.mz-t--stat span { font-size: 12.5px; font-weight: 600; opacity: .9; }
.mz-t--blue { background: var(--primary); }
.mz-t--pink { background: var(--accent); }
.mz-t--steps { grid-column: span 2; grid-row: span 2; background: var(--text); color: #fff; }
.mz-t--steps h2 { margin: 0 0 12px; font-size: 22px; }
.mz-t--steps ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: #cfd5ea; }
.mz-t--steps li::marker { color: var(--accent); font-weight: 800; }
.mz-t--feat { grid-column: span 2; }
.mz-t--feat h3 { margin: 12px 0 4px; font-size: 16px; }
.mz-t--feat p { margin: 0; font-size: 13px; color: var(--muted); }
.mz-t--quote { grid-column: span 6; margin: 0; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(120deg, var(--primary), var(--accent)); color: #fff; }
.mz-t--quote blockquote { margin: 0 0 10px; font-size: clamp(18px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.02em; max-width: 60ch; }
.mz-t--quote .t-teal { -webkit-text-fill-color: #fff; background: none; text-decoration: underline; }

/* footer: mosaic boxes */
.mz-foot { max-width: var(--max); margin: 40px auto 0; padding: 0 clamp(12px, 3vw, 32px) 26px; }
.mz-foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 12px; }
.mz-box { background: var(--surface); border-radius: var(--r); padding: 24px; display: grid; align-content: start; gap: 6px; box-shadow: var(--shadow-sm); }
.mz-box h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.mz-box a { color: var(--text); text-decoration: none; font-size: 14px; }
.mz-box a:hover { color: var(--primary); }
.mz-box--brand p { color: var(--muted); margin: 8px 0; }
.mz-box--accent { background: var(--text); }
.mz-box--accent h4 { color: #9aa2b8; }
.mz-box--accent a { color: #fff; }
.mz-foot .lang__menu { bottom: calc(100% + 6px); top: auto; }
.mz-foot__legal { font-size: 11px; color: var(--muted); margin: 16px 4px 0; }

@media (max-width: 1000px) {
    .mz-head__site { position: fixed; left: 0; right: 0; top: var(--nav-top, 70px); flex-direction: column; padding: 8px 16px 20px; max-height: calc(100dvh - var(--nav-top, 70px)); overflow-y: auto; background: var(--surface); box-shadow: var(--shadow); border-top: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .35s var(--ease), visibility .35s; z-index: 60; margin: 0; }
    .mz-head__site.is-open { opacity: 1; transform: none; visibility: visible; }
    .mz-head__site .mz-link { min-height: 48px; display: flex; align-items: center; border-radius: 10px; font-size: 16px; }
    body.nav-open .mz-head { backdrop-filter: none; }
    /* keep the sticky header slim while scrolling: the game tabs / service row scroll away */
    .mz-head.is-scrolled .mz-tabs, .mz-head.is-scrolled .mz-svc { display: none; }
    .mz-head__row { padding-block: 10px; }
    .mz-head__right .btn-admin span, .mz-head__right .btn-member span { display: none; }
    .mz-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .mz-t--hero { grid-column: span 2; grid-row: span 3; }
    .mz-t--game, .mz-t--steps, .mz-t--feat { grid-column: span 1; }
    .mz-g0, .mz-t--steps, .mz-t--feat, .mz-t--quote { grid-column: span 2; }
    .mz-g0 { grid-row: span 2; }
    .mz-t--feat { grid-row: span 1; }
    .mz-foot__grid { grid-template-columns: 1fr 1fr; }
    .mz-box--brand { grid-column: span 2; }
}
