:root {
    --page: #f7f9ff;
    --paper: #ffffff;
    --paper-2: #eef4ff;
    --ink: #142033;
    --muted: #68758b;
    --soft: #dfe8f7;
    --line: rgba(48, 78, 128, .13);
    --blue: #3d7cff;
    --blue-dark: #195cd8;
    --sky: #8ecbff;
    --violet: #7c5cff;
    --mint: #6de0c2;
    --shadow: 0 24px 70px rgba(38, 73, 133, .14);
    --shadow-soft: 0 14px 42px rgba(40, 70, 130, .1);
    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius: 18px;
    --wrap: min(1240px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% -5%, rgba(61, 124, 255, .16), transparent 34%),
        radial-gradient(circle at 88% 0%, rgba(124, 92, 255, .12), transparent 29%),
        linear-gradient(180deg, #fbfdff 0%, var(--page) 45%, #f2f6ff 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(61, 124, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61, 124, 255, .045) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 68%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.wl-wrap { width: var(--wrap); margin: 0 auto; }
.site-main { position: relative; z-index: 1; }

.wl-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,.62);
    background: rgba(247, 249, 255, .82);
    backdrop-filter: blur(22px);
}
.wl-header__inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: minmax(210px, .8fr) auto minmax(150px, .42fr);
    align-items: center;
    gap: 24px;
}
.wl-logo { display: inline-flex; align-items: center; gap: 13px; min-width: 0; }
.wl-logo__mark {
    width: 48px; height: 48px; flex: 0 0 auto;
    border-radius: 17px;
    background: linear-gradient(145deg, var(--blue), var(--sky));
    box-shadow: 0 16px 34px rgba(61, 124, 255, .24);
    position: relative;
    overflow: hidden;
}
.wl-logo__mark::before {
    content: "";
    position: absolute;
    inset: 10px 9px 9px;
    border-radius: 11px;
    background: rgba(255,255,255,.9);
}
.wl-logo__mark span {
    position: absolute;
    left: 12px; right: 12px; bottom: 13px; height: 12px;
    border-radius: 999px 999px 6px 6px;
    background: linear-gradient(90deg, #55cfaa, #2a82ff);
    z-index: 1;
}
.wl-logo__image { width: 48px; height: 48px; object-fit: contain; border-radius: 14px; }
.wl-logo__text { display: grid; line-height: 1; min-width: 0; }
.wl-logo__text b { font-size: 21px; letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-logo__text small { margin-top: 6px; color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-logo--footer .wl-logo__text small { color: #91a1ba; }

.wl-nav { display: flex; align-items: center; justify-content: center; gap: 8px; }
.wl-nav__link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 14px;
    color: #43536d;
    font-size: 14px;
    font-weight: 800;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.wl-nav__link:hover, .wl-nav__link.is-active { color: var(--blue-dark); background: rgba(61,124,255,.09); }
.wl-header__button, .wl-btn, .wl-search button, .wl-filterbar button, .wl-form button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.wl-header__button { justify-self: end; color: #fff; background: var(--ink); box-shadow: 0 14px 28px rgba(20,32,51,.13); }
.wl-header__button:hover, .wl-btn:hover, .wl-search button:hover, .wl-filterbar button:hover, .wl-form button:hover { transform: translateY(-1px); }
.wl-burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 15px; background: #fff; padding: 11px; cursor: pointer; }
.wl-burger span { display: block; height: 2px; margin: 5px 0; border-radius: 4px; background: var(--ink); }

.wl-hero { padding: 74px 0 52px; }
.wl-hero__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, .72fr); gap: 34px; align-items: center; }
.wl-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 15px; color: var(--blue); font-size: 12px; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
.wl-eyebrow::before { content: ""; width: 30px; height: 2px; border-radius: 3px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
.wl-hero h1, .wl-page-hero h1 { margin-bottom: 20px; font-size: clamp(44px, 6.8vw, 86px); line-height: .92; letter-spacing: -.075em; }
.wl-hero__subtitle, .wl-page-hero p { max-width: 680px; color: var(--muted); font-size: clamp(18px, 1.7vw, 22px); }
.wl-hero__note { max-width: 620px; margin: 16px 0 0; color: #52627a; }
.wl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.wl-btn--primary, .wl-search button, .wl-filterbar button, .wl-form button { color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 18px 36px rgba(61,124,255,.22); }
.wl-btn--ghost { color: var(--blue-dark); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.wl-hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 620px; margin-top: 34px; }
.wl-hero__stats a { border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.72); padding: 16px; box-shadow: 0 12px 35px rgba(50,80,130,.06); }
.wl-hero__stats b { display: block; font-size: 24px; letter-spacing: -.04em; }
.wl-hero__stats span { color: var(--muted); font-size: 13px; font-weight: 750; }
.wl-hero-card { position: relative; min-height: 560px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); background: #dbe7fa; }
.wl-hero-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 42%, rgba(9,18,32,.72)); }
.wl-hero-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transform: scale(1.01); transition: transform .5s ease; }
.wl-hero-card:hover img { transform: scale(1.045); }
.wl-hero-card__glass { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; display: grid; gap: 6px; border: 1px solid rgba(255,255,255,.28); border-radius: 24px; background: rgba(255,255,255,.18); color: #fff; padding: 18px; backdrop-filter: blur(18px); }
.wl-hero-card__glass b { font-size: 22px; line-height: 1.08; letter-spacing: -.035em; }
.wl-hero-card__glass small { color: rgba(255,255,255,.82); font-weight: 850; }

.wl-section { padding: 70px 0; }
.wl-section--soft { background: linear-gradient(180deg, rgba(255,255,255,.48), rgba(236,243,255,.62)); border-block: 1px solid rgba(255,255,255,.78); }
.wl-section--compact { padding-top: 34px; }
.wl-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.wl-section-head h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); line-height: 1; letter-spacing: -.06em; }
.wl-link { color: var(--blue-dark); font-weight: 900; }

.wl-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.wl-category-card { min-height: 230px; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #dce8fb; box-shadow: var(--shadow-soft); }
.wl-category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,18,32,.08), rgba(9,18,32,.72)); }
.wl-category-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .42s ease; }
.wl-category-card:hover img { transform: scale(1.05); }
.wl-category-card span { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; color: #fff; display: grid; gap: 6px; }
.wl-category-card b { font-size: 24px; line-height: 1.05; letter-spacing: -.04em; }
.wl-category-card small { color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.35; }

.wl-wallpaper-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wl-wallpaper-grid--catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wl-wallpaper-card { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: rgba(255,255,255,.84); box-shadow: var(--shadow-soft); transition: transform .18s ease, box-shadow .18s ease; }
.wl-wallpaper-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.wl-wallpaper-card__image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #dce8fb; }
.wl-wallpaper-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .42s ease; }
.wl-wallpaper-card:hover .wl-wallpaper-card__image img { transform: scale(1.045); }
.wl-wallpaper-card__image span { position: absolute; top: 12px; left: 12px; border-radius: 999px; background: rgba(255,255,255,.86); color: var(--blue-dark); padding: 6px 10px; font-size: 12px; font-weight: 950; backdrop-filter: blur(12px); }
.wl-wallpaper-card__body { padding: 16px; }
.wl-wallpaper-card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.12; letter-spacing: -.035em; }
.wl-wallpaper-card p { min-height: 22px; margin: 0; color: var(--muted); font-size: 13px; }
.wl-wallpaper-card__meta { display: flex; align-items: center; gap: 10px; margin-top: 13px; color: #7b8ca4; font-size: 12px; font-weight: 850; }

.wl-collection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.wl-collection-card { display: grid; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-soft); transition: transform .18s ease, box-shadow .18s ease; }
.wl-collection-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.wl-collection-card img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; background: #dce8fb; }
.wl-collection-card__body { display: grid; gap: 6px; padding: 18px; }
.wl-collection-card small { color: var(--blue); font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.wl-collection-card b { font-size: 22px; line-height: 1.08; letter-spacing: -.04em; }
.wl-collection-card em { color: var(--muted); font-style: normal; font-size: 14px; }

.wl-live-strip { padding: 0 0 80px; }
.wl-live-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; border-radius: var(--radius-xl); background: linear-gradient(135deg, #17243a, #214b8f 58%, #7c5cff); color: #fff; padding: 34px; box-shadow: var(--shadow); overflow: hidden; position: relative; }
.wl-live-strip__inner::after { content: ""; position: absolute; right: -80px; top: -120px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.13); }
.wl-live-strip .wl-eyebrow { color: #9ed7ff; }
.wl-live-strip h2 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 52px); line-height: 1; letter-spacing: -.06em; }
.wl-live-strip p { max-width: 650px; margin: 0; color: rgba(255,255,255,.78); }

.wl-page-hero { padding: 74px 0 34px; }
.wl-page-hero__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(320px, .55fr); gap: 28px; align-items: center; }
.wl-page-hero--catalog { padding-bottom: 18px; }
.wl-page-hero--image .wl-page-hero__cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.wl-search { display: grid; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.82); padding: 18px; box-shadow: var(--shadow-soft); }
.wl-search label, .wl-filterbar label { display: grid; gap: 7px; color: #42536d; font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.wl-search input, .wl-filterbar select, .wl-filterbar input, .wl-form input, .wl-form textarea, .wl-form select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    color: var(--ink);
    padding: 0 14px;
    outline: none;
}
.wl-form textarea { min-height: 120px; padding-top: 12px; resize: vertical; }
.wl-search input:focus, .wl-filterbar select:focus, .wl-filterbar input:focus, .wl-form input:focus, .wl-form textarea:focus { border-color: rgba(61,124,255,.48); box-shadow: 0 0 0 4px rgba(61,124,255,.09); }
.wl-filterbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto auto; gap: 12px; align-items: end; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.82); padding: 14px; box-shadow: var(--shadow-soft); margin-bottom: 22px; }
.wl-filterbar a { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 900; }
.wl-catalog-count { margin: 0 0 16px; color: var(--muted); font-weight: 850; }
.wl-empty { border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.8); padding: 44px; text-align: center; box-shadow: var(--shadow-soft); }
.wl-empty h1, .wl-empty h2 { margin-bottom: 12px; font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -.06em; }
.wl-empty p { color: var(--muted); }
.wl-empty .wl-btn { margin-top: 22px; }
.wl-empty--page { width: min(760px, 100%); }

.wl-detail { padding: 52px 0 70px; }
.wl-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 26px; align-items: start; }
.wl-detail__image { margin: 0; position: sticky; top: 104px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); background: #dce8fb; }
.wl-detail__image img { width: 100%; min-height: 520px; max-height: calc(100vh - 130px); object-fit: cover; }
.wl-detail__side { border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.86); padding: 26px; box-shadow: var(--shadow-soft); }
.wl-detail__side h1 { margin: 0 0 16px; font-size: clamp(34px, 4vw, 58px); line-height: .98; letter-spacing: -.065em; }
.wl-detail__desc { color: var(--muted); font-size: 17px; }
.wl-detail__side blockquote { margin: 20px 0; border-left: 4px solid var(--blue); border-radius: 16px; background: #f3f7ff; color: #3b4e6b; padding: 16px; }
.wl-detail__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.wl-detail__meta span { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 14px; }
.wl-detail__meta b { display: block; line-height: 1.1; }
.wl-detail__meta small { color: var(--muted); font-size: 12px; font-weight: 850; }
.wl-actions--detail { display: grid; grid-template-columns: 1fr 1fr; }
.wl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.wl-tags a { border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #53647e; padding: 8px 11px; font-size: 13px; font-weight: 850; }

.wl-about-panel { display: grid; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.82); padding: 22px; box-shadow: var(--shadow-soft); }
.wl-about-panel b { font-size: 24px; letter-spacing: -.04em; }
.wl-about-panel span { border-radius: 15px; background: #eef4ff; padding: 12px 14px; color: #43536d; font-weight: 850; }
.wl-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.wl-info-grid article { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 24px; box-shadow: var(--shadow-soft); }
.wl-info-grid span { color: var(--blue); font-weight: 950; }
.wl-info-grid h2 { margin: 10px 0 10px; font-size: 26px; line-height: 1; letter-spacing: -.045em; }
.wl-info-grid p { color: var(--muted); margin: 0; }
.wl-live-meter { aspect-ratio: 1; min-height: 260px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 8px; color: #fff; background: radial-gradient(circle, var(--blue), #16243a 65%); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.wl-live-meter span { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 0 0 18px rgba(255,255,255,.12), 0 0 0 38px rgba(255,255,255,.07); }
.wl-live-meter b { font-size: 38px; letter-spacing: -.05em; }
.wl-live-meter small { color: rgba(255,255,255,.75); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.wl-live-list { display: grid; gap: 12px; }
.wl-live-item { display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.82); padding: 12px; box-shadow: var(--shadow-soft); }
.wl-live-item img { width: 160px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; }
.wl-live-item span { display: grid; gap: 4px; }
.wl-live-item small { color: var(--blue); font-weight: 950; }
.wl-live-item b { font-size: 22px; line-height: 1.1; letter-spacing: -.04em; }
.wl-live-item em { color: var(--muted); font-style: normal; }
.wl-builder { display: grid; grid-template-columns: .72fr 1fr; gap: 24px; align-items: start; }
.wl-builder > div, .wl-form { border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.86); padding: 24px; box-shadow: var(--shadow-soft); }
.wl-builder h2 { font-size: 36px; line-height: 1; letter-spacing: -.055em; margin-bottom: 12px; }
.wl-builder p { color: var(--muted); }
.wl-form { display: grid; gap: 14px; }
.wl-form label { display: grid; gap: 7px; color: #42536d; font-weight: 850; }
.form-alert, .notice { border-radius: 16px; padding: 13px 15px; background: #edf8f2; color: #126642; font-weight: 850; }
.form-alert--error, .notice--warning { background: #fff1f1; color: #9b1c1c; }

.wl-footer { position: relative; z-index: 1; padding: 54px 0 24px; background: #111c2e; color: #d9e5f7; }
.wl-footer__grid { display: grid; grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, .55fr)); gap: 28px; }
.wl-footer__brand p { max-width: 420px; color: #91a1ba; }
.wl-footer h3 { margin: 0 0 14px; color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .12em; }
.wl-footer__links { display: grid; gap: 9px; color: #aab8cc; font-weight: 750; }
.wl-footer__links a:hover { color: #fff; }
.wl-footer__bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #91a1ba; font-size: 13px; }

@media (max-width: 1120px) {
    .wl-header__inner { grid-template-columns: 1fr auto auto; }
    .wl-nav { position: fixed; left: 20px; right: 20px; top: 92px; display: none; grid-template-columns: 1fr; justify-content: stretch; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); padding: 14px; }
    .wl-nav.is-open { display: grid; }
    .wl-nav__link { justify-content: center; }
    .wl-burger { display: block; order: 3; }
    .wl-header__button { display: none; }
    .wl-hero__grid, .wl-page-hero__grid, .wl-detail__grid, .wl-builder { grid-template-columns: 1fr; }
    .wl-hero-card { min-height: 440px; }
    .wl-detail__image { position: relative; top: auto; }
    .wl-wallpaper-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wl-filterbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    :root { --wrap: min(100% - 24px, 680px); }
    .wl-header__inner { min-height: 74px; gap: 12px; }
    .wl-logo__text b { font-size: 18px; }
    .wl-logo__text small { max-width: 170px; }
    .wl-hero, .wl-page-hero { padding-top: 44px; }
    .wl-hero h1, .wl-page-hero h1 { font-size: clamp(42px, 13vw, 64px); }
    .wl-hero__grid { gap: 24px; }
    .wl-hero-card { min-height: 360px; border-radius: 26px; }
    .wl-hero__stats, .wl-category-grid, .wl-wallpaper-grid, .wl-wallpaper-grid--catalog, .wl-collection-grid, .wl-info-grid, .wl-footer__grid { grid-template-columns: 1fr; }
    .wl-section { padding: 48px 0; }
    .wl-section-head { align-items: flex-start; flex-direction: column; }
    .wl-filterbar { grid-template-columns: 1fr; }
    .wl-detail__image img { min-height: 340px; max-height: none; }
    .wl-detail__meta, .wl-actions--detail { grid-template-columns: 1fr; }
    .wl-live-strip__inner { align-items: flex-start; flex-direction: column; }
    .wl-live-item { grid-template-columns: 112px 1fr; }
    .wl-live-item img { width: 112px; }
    .wl-footer__bottom { flex-direction: column; }
}
@media (max-width: 520px) {
    .wl-logo__mark { width: 42px; height: 42px; border-radius: 15px; }
    .wl-logo__text small { display: none; }
    .wl-actions { display: grid; }
    .wl-btn { width: 100%; }
    .wl-hero__stats { gap: 8px; }
    .wl-category-card { min-height: 200px; }
    .wl-detail__side, .wl-empty, .wl-builder > div, .wl-form { padding: 20px; border-radius: 24px; }
}
