:root {
	--bg: #0b0f19;
	--surface: #111827;
	--surface-raised: #151e2e;
	--surface-soft: #182235;
	--text: #f1f5fb;
	--muted: #9ca9bc;
	--faint: #68758a;
	--line: rgba(197, 211, 233, .1);
	--primary: #3b82f6;
	--accent: #06b6d4;
	--radius: 18px;
	--content: 1520px;
	--type-scale: 1;
	color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: calc(15px * var(--type-scale)); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.is-rtl { direction: rtl; }
body, button, input, select { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 16px; transform: translateY(-160%); border-radius: 8px; background: white; color: #111; }
.skip-link:focus { transform: none; }
.content-wrap { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(11, 15, 25, .92); backdrop-filter: blur(20px); }
.site-header::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, #7c3aed, #3b82f6 55%, #06b6d4); content: ""; }
.header-inner { position: relative; width: calc(100% - 72px); min-height: 54px; margin: auto; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.site-brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.custom-logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }.custom-logo { width: auto; max-height: 36px; }
.brand-name { display: flex; flex-direction: column; font-size: 17px; font-weight: 760; line-height: 1.2; letter-spacing: -.04em; white-space: nowrap; }
.brand-name small { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .03em; }
.brand-mark { display: flex; align-items: end; gap: 3px; height: 24px; padding: 4px; border-radius: 7px; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.brand-mark span { width: 4px; border-radius: 3px; background: white; }
.brand-mark span:nth-child(1) { height: 9px; }.brand-mark span:nth-child(2) { height: 15px; }.brand-mark span:nth-child(3) { height: 12px; }
.primary-navigation { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 25px); margin-inline-start: auto; }
.nav-links, .footer-links { display: flex; align-items: center; gap: 30px; padding: 0; margin: 0; list-style: none; }
.nav-links a { color: var(--muted); font-size: 13px; font-weight: 560; transition: color .2s; }
.nav-links a:hover, .footer-links a:hover { color: var(--text); }
.nav-links { gap: clamp(12px, 1.5vw, 22px); }
.nav-links a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav-links a svg { width: 15px; height: 15px; flex: 0 0 auto; }
.nav-links a:hover svg { color: #8bb8ff; }
.nav-links .sub-menu { position: absolute; top: 100%; left: 0; z-index: 10; display: none; min-width: 190px; max-width: min(280px, 80vw); max-height: min(60vh, 420px); padding: 7px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; background: #101722; box-shadow: 0 16px 36px rgba(0,0,0,.42); list-style: none; }
.nav-links .menu-item-has-children { position: relative; }
.nav-links .menu-item-has-children:hover > .sub-menu, .nav-links .menu-item-has-children:focus-within > .sub-menu { display: grid; gap: 2px; }
.nav-links .sub-menu a { display: flex; width: 100%; padding: 9px 11px; border-radius: 7px; color: #c3cedf; font-size: 12px; }
.nav-links .sub-menu a:hover, .nav-links .sub-menu a:focus-visible { background: var(--surface-soft); color: white; }
.nav-category-item { position: relative; }
.nav-category-item > a { gap: 5px; }
.nav-category-item .nav-category-chevron { width: 12px; height: 12px; }
.nav-category-menu { position: absolute; top: 100%; left: -14px; z-index: 10; display: none; width: max-content; min-width: 190px; max-width: min(280px, 80vw); max-height: min(60vh, 420px); padding: 7px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; background: #101722; box-shadow: 0 16px 36px rgba(0,0,0,.42); list-style: none; }
.nav-category-item:hover .nav-category-menu, .nav-category-item:focus-within .nav-category-menu { display: grid; gap: 2px; }
.nav-category-menu a { display: flex; width: 100%; padding: 9px 11px; border-radius: 7px; color: #c3cedf; font-size: 12px; }
.nav-category-menu a:hover, .nav-category-menu a:focus-visible { background: var(--surface-soft); color: white; }
.search-form.header-search-form { min-width: 180px; max-width: 460px; flex: 1 1 300px; gap: 0; padding: 3px 5px 3px 10px; border-color: rgba(181, 201, 233, .12); border-radius: 10px; background: #11131a; box-shadow: none; }
.search-form.header-search-form input[type="search"] { min-width: 0; padding: 5px 10px; font-size: 13px; }
.search-form.header-search-form input[type="search"]::placeholder { color: #788398; }
.search-form.header-search-form .button { width: auto; min-width: 58px; min-height: 28px; padding: 0 9px; border-radius: 8px; background: transparent; color: #aeb8ca; box-shadow: none; }
.search-form.header-search-form .button:hover { background: var(--surface-soft); color: white; }
.language-switcher select { max-width: 120px; padding: 8px 26px 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--text); font-size: 12px; }
.primary-navigation > .language-switcher { flex: 0 0 auto; }
.menu-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; margin-inline-start: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.menu-toggle span:not(.screen-reader-text) { width: 16px; height: 2px; border-radius: 2px; background: white; }
.site-main { min-height: 65vh; }
.hero-section { position: relative; min-height: 555px; display: flex; align-items: center; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 68% 40%, rgba(36, 73, 127, .14), transparent 40%), linear-gradient(180deg, #0c1220 0%, #0b0f19 100%); }
.hero-content { position: relative; z-index: 2; padding-block: 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #98bffb; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 15px rgba(6, 182, 212, .8); }
.hero-content h1 { max-width: 630px; margin: 22px 0 18px; font-size: clamp(48px, 6.6vw, 80px); font-weight: 740; line-height: .99; letter-spacing: -.075em; }
.hero-content h1 span { background: linear-gradient(90deg, #66a2ff, #42c8dc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-content > p { max-width: 510px; margin: 0 0 28px; color: #a2aec1; font-size: 16px; line-height: 1.8; }
.search-form { display: flex; max-width: 555px; gap: 9px; padding: 7px; border: 1px solid rgba(181, 201, 233, .13); border-radius: 14px; background: rgba(18, 27, 43, .85); box-shadow: 0 18px 46px rgba(0,0,0,.18); }
.search-form input[type="search"] { min-width: 0; flex: 1; padding: 9px 12px; border: 0; background: transparent; color: var(--text); outline: none; }
.search-form input::placeholder { color: #738198; }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 17px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font-size: 12px; font-weight: 680; transition: transform .2s, background .2s, border-color .2s; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button-primary { background: var(--primary); color: white; box-shadow: 0 7px 20px rgba(59, 130, 246, .2); }
.button-primary:hover { background: #4c8df7; }
.button-secondary { border-color: var(--line); background: var(--surface); color: var(--text); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: #7fb0ff; font-size: 12px; font-weight: 650; }
.text-link span { font-size: 18px; transition: transform .2s; }.text-link:hover span { transform: translateX(4px); }
.hero-link { margin-top: 23px; }
.hero-art { position: absolute; z-index: 1; top: 50%; right: max(calc((100vw - var(--content)) / 2 - 15px), 5%); width: min(38vw, 420px); height: 420px; transform: translateY(-48%); }
.hero-art-card { position: absolute; overflow: hidden; border: 1px solid rgba(203, 219, 245, .24); border-radius: 24px; box-shadow: 0 35px 80px rgba(0,0,0,.48); }
.hero-art-card-back { top: 30px; right: 2px; width: 72%; height: 83%; transform: rotate(12deg); background: linear-gradient(155deg, #1d3557, #3d2772 55%, #101b37); }
.hero-art-card-front { top: 10px; left: 15px; width: 72%; height: 86%; transform: rotate(-8deg); background: linear-gradient(160deg, #062c55 0%, #1470a4 48%, #f19865 100%); }
.hero-art-sun { position: absolute; top: 19%; left: 26%; width: 33%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(150deg, #f7d99a, #f48a87); box-shadow: 0 0 55px rgba(248, 170, 132, .55); }
.hero-art-hill { position: absolute; right: -15%; bottom: -16%; left: -10%; height: 57%; border-radius: 50% 50% 0 0; transform: rotate(-18deg); }
.hero-art-hill-one { background: linear-gradient(130deg, #19467b, #203d7a); }
.hero-art-hill-two { right: -25%; bottom: -28%; left: 25%; height: 60%; transform: rotate(16deg); background: linear-gradient(150deg, #101c42, #11152c); }
.hero-art-glow { position: absolute; inset: 20%; z-index: -1; border-radius: 50%; background: rgba(59, 130, 246, .18); filter: blur(65px); }
.hero-orb { position: absolute; width: 250px; height: 250px; border-radius: 50%; filter: blur(80px); opacity: .18; pointer-events: none; }
.hero-orb-one { top: -120px; left: 15%; background: var(--primary); }.hero-orb-two { right: 20%; bottom: -150px; background: var(--accent); }
.home-section { padding-block: 62px 6px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.section-heading h2 { margin: 6px 0 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; letter-spacing: -.045em; }
.section-heading .eyebrow, .page-heading .eyebrow { font-size: 10px; }
.collection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.collection-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #111827, #0e1521); transition: transform .24s, border-color .24s, box-shadow .24s; }
.collection-card:hover { transform: translateY(-4px); border-color: rgba(94, 151, 244, .35); box-shadow: 0 18px 38px rgba(0,0,0,.24); }
.collection-card-media { position: relative; display: block; overflow: hidden; aspect-ratio: 1.35; background: #141d2d; }
.collection-card-preview-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 3px; background: #0b0f19; }
.collection-card-preview-grid .collection-card-image { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; transition: transform .5s; }
.collection-card:hover .collection-card-image { transform: scale(1.04); }
.card-image-count { position: absolute; right: 12px; bottom: 12px; padding: 5px 9px; border: 1px solid rgba(255,255,255,.13); border-radius: 7px; background: rgba(8, 12, 20, .7); color: white; font-size: 10px; font-weight: 650; backdrop-filter: blur(8px); }
.collection-card-content { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; padding: 15px; }
.collection-card-content h3 { overflow: hidden; margin: 0; font-size: 14px; font-weight: 680; letter-spacing: -.015em; text-overflow: ellipsis; white-space: nowrap; }
.collection-card-content p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.card-arrow { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: #95baff; }
.image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: radial-gradient(ellipse at 40% 25%, rgba(59,130,246,.3), transparent 50%), linear-gradient(140deg,#17243a,#101522); color: #74a8ff; font-size: 40px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.category-pill { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: #dbe7f8; font-size: 13px; font-weight: 590; transition: border-color .2s, background .2s; }
.category-pill:hover { border-color: rgba(59,130,246,.5); background: var(--surface-raised); }
.category-count { color: var(--muted); font-size: 11px; }
.category-directory { padding-block: 32px 90px; }
.category-directory .page-heading { margin-bottom: 30px; }
.category-directory .page-heading h1 { margin-bottom: 10px; }
.category-directory .page-heading p { max-width: 620px; margin: 0; color: var(--muted); }
.category-directory-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.category-directory-card { position: relative; min-height: 0; aspect-ratio: 1; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 16px; padding: clamp(18px, 2vw, 28px); overflow: hidden; border-color: rgba(197,211,233,.12); border-radius: var(--radius); background: radial-gradient(circle at 100% 0, rgba(59,130,246,.16), transparent 42%), linear-gradient(145deg, #141d2c, #0f1521 72%); text-align: start; }
.category-directory-card::after { position: absolute; right: -32px; bottom: -58px; width: 155px; height: 155px; border: 1px solid rgba(139,184,255,.09); border-radius: 36px; transform: rotate(28deg); content: ""; transition: transform .25s ease, border-color .25s ease; }
.category-directory-card:hover { transform: translateY(-3px); border-color: rgba(96,150,255,.48); background: radial-gradient(circle at 100% 0, rgba(59,130,246,.22), transparent 46%), linear-gradient(145deg, #182438, #101724 72%); }
.category-directory-card:hover::after { transform: rotate(38deg) scale(1.08); border-color: rgba(139,184,255,.18); }
.category-directory-icon { position: relative; z-index: 1; display: grid; width: 54px; height: 54px; flex: 0 0 54px; place-items: center; border: 1px solid rgba(96,150,255,.24); border-radius: 16px; background: linear-gradient(145deg, rgba(59,130,246,.2), rgba(6,182,212,.08)); color: #9bc2ff; box-shadow: inset 0 1px rgba(255,255,255,.05), 0 8px 24px rgba(0,0,0,.15); }
.category-directory-icon svg { width: 26px; height: 26px; }
.category-directory-copy { position: relative; z-index: 1; display: grid; min-width: 0; width: 100%; flex: 0 0 auto; gap: 7px; }
.category-directory-copy strong { overflow: hidden; color: var(--text); font-size: clamp(17px, 1.5vw, 21px); font-weight: 720; letter-spacing: -.03em; text-overflow: ellipsis; white-space: nowrap; }
.category-directory-copy > span { overflow: hidden; color: var(--muted); font-size: 12px; font-weight: 450; text-overflow: ellipsis; white-space: nowrap; }
.category-directory-arrow { position: absolute; z-index: 1; right: 22px; bottom: 23px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(197,211,233,.13); border-radius: 50%; background: rgba(255,255,255,.035); color: #9bc2ff; font-size: 17px; transition: transform .18s ease, background .18s ease; }
.category-directory-card:hover .category-directory-arrow { transform: translateX(3px); background: rgba(59,130,246,.15); }
.inline-empty { padding: 17px 20px; border: 1px dashed rgba(186,202,228,.16); border-radius: 13px; color: var(--muted); font-size: 13px; }
.archive-page { padding-top: 34px; padding-bottom: 80px; }
.wallpaper-library-page { padding-top: 30px; }
.library-hero { display: grid; min-height: 292px; place-items: center; padding: 34px 24px; border: 1px solid rgba(184, 207, 242, .13); border-radius: 22px; background: linear-gradient(135deg, #111a29, #121d30); }
.library-hero-content { width: min(100%, 680px); text-align: center; }
.library-hero h1 { margin: 0 0 11px; font-size: clamp(34px, 4.2vw, 50px); font-weight: 740; line-height: 1.1; letter-spacing: -.055em; }
.library-hero-content > p { margin: 0 auto 21px; color: #aab7ca; font-size: 14px; line-height: 1.65; }
.library-hero .library-hero-search { width: min(100%, 520px); margin: 0 auto; border-color: rgba(185, 207, 239, .15); background: rgba(7, 12, 22, .62); box-shadow: none; }
.library-hero-search input[type="search"] { padding: 10px 13px; font-size: 13px; }
.library-hero-search .button { min-height: 40px; }
.device-wallpaper-archive .library-hero { min-height: 270px; }
.library-collections { padding-top: 0; }
.library-collections-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.library-collections-heading h2 { margin: 7px 0 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; letter-spacing: -.045em; }
.library-collections-count { display: inline-flex; min-height: 32px; align-items: center; padding: 6px 12px; border: 1px solid rgba(139,184,255,.18); border-radius: 999px; background: rgba(59,130,246,.08); color: #b9d1f5; font-size: 11px; font-weight: 650; white-space: nowrap; }
.wallpaper-library-page .collection-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.archive-page .collection-grid { grid-template-columns: repeat(var(--archive-columns-desktop, 4), minmax(0, 1fr)); }
.wallpaper-library-page .collection-card { border-color: rgba(197, 211, 233, .12); border-radius: var(--radius); background: linear-gradient(155deg, rgba(22, 32, 49, .98), rgba(13, 20, 32, .98)); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.wallpaper-library-page .collection-card:hover { transform: translateY(-5px); border-color: rgba(116, 166, 255, .42); box-shadow: 0 22px 44px rgba(0,0,0,.28), 0 0 0 1px rgba(59, 130, 246, .08); }
.wallpaper-library-page .collection-card-media { aspect-ratio: 1.48; }
.wallpaper-library-page .collection-card-content { min-height: 72px; padding: 17px 18px; }
.wallpaper-library-page .collection-card-content h3 { font-size: 15px; }
.wallpaper-library-page .card-image-count { right: 14px; bottom: 14px; padding: 6px 10px; border-color: rgba(255,255,255,.2); border-radius: 999px; background: rgba(8, 12, 20, .76); font-size: 10px; letter-spacing: .015em; }
.wallpaper-library-page .card-arrow { border-radius: 50%; background: rgba(255,255,255,.025); transition: background .2s, transform .2s; }
.wallpaper-library-page .collection-card:hover .card-arrow { transform: translate(2px, -2px); background: rgba(59,130,246,.14); }
.breadcrumbs { margin-bottom: 28px; color: var(--faint); font-size: 11px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: 10px; color: #455166; }
.breadcrumbs a:hover { color: var(--text); }.breadcrumbs [aria-current="page"] { color: #c5d1e2; }
.page-heading { margin-bottom: 28px; }
.page-heading h1 { margin: 8px 0 8px; font-size: clamp(32px, 5vw, 48px); line-height: 1.12; letter-spacing: -.06em; }
.page-heading p { margin: 0; color: var(--muted); }
.page-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.page-heading-row .search-form { width: min(100%, 450px); }
.pagination { margin-top: 38px; }.nav-links { list-style: none; }
.page-numbers { display: inline-grid; min-width: 38px; height: 38px; place-items: center; margin-inline-end: 6px; padding-inline: 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); }
a.page-numbers:hover, .page-numbers.current { border-color: var(--primary); background: rgba(59,130,246,.16); color: white; }
.empty-state { display: grid; justify-items: start; padding: 54px 34px; border: 1px dashed rgba(178,198,229,.18); border-radius: 18px; background: radial-gradient(ellipse at 80% 0%, rgba(59,130,246,.08), transparent 55%), var(--surface); }
.empty-state h2, .empty-state h1 { margin: 8px 0; font-size: clamp(25px, 4vw, 38px); line-height: 1.2; letter-spacing: -.05em; }
.empty-state p { max-width: 560px; margin: 0 0 20px; color: var(--muted); }
.collection-detail { padding-top: 34px; padding-bottom: 85px; }
.collection-intro { padding-bottom: 52px; }
.collection-intro h1 { margin: 8px 0 15px; font-size: clamp(38px, 5.5vw, 64px); line-height: 1.02; letter-spacing: -.07em; }
.collection-description { max-width: 680px; color: #a5b2c6; font-size: 15px; line-height: 1.8; }.collection-description p { margin-block: 8px; }
.collection-facts { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 21px; color: var(--muted); font-size: 13px; }.collection-facts span { display: inline-flex; align-items: center; gap: 8px; }.collection-facts svg { width: 16px; height: 16px; flex: 0 0 auto; color: #b7d4ff; }
.collection-facts .collection-fact-categories { display: inline; }.collection-fact-categories a { text-decoration: underline; text-decoration-color: rgba(183,212,255,.45); text-underline-offset: 3px; }.collection-fact-categories a:hover { color: var(--text); text-decoration-color: currentColor; }
.collection-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }.collection-tags-label { margin-inline-end: 2px; color: var(--muted); font-size: 11px; font-weight: 700; }.collection-tag { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); color: #b9d1f5; font-size: 11px; line-height: 1.3; text-decoration: none; transition: border-color .18s ease, background .18s ease, color .18s ease; }.collection-tag:hover, .collection-tag:focus-visible { border-color: var(--accent); background: rgba(59,130,246,.12); color: #fff; }
.wallpaper-section { padding-top: 18px; }.wallpaper-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 20px; }
.wallpaper-grid.wallpaper-grid--masonry { grid-auto-rows: 1px; row-gap: 0; }.wallpaper-grid--masonry .wallpaper-card { align-self: start; }
.wallpaper-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.wallpaper-card-media { position: relative; overflow: hidden; background: #111827; }
.wallpaper-preview { position: relative; display: block; width: 100%; height: auto; padding: 0; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }
.wallpaper-image { display: block; width: 100%; height: auto; object-fit: contain; transition: transform .3s; }.wallpaper-preview:hover .wallpaper-image { transform: scale(1.015); }
.preview-indicator { position: absolute; right: 11px; bottom: 11px; padding: 5px 9px; border-radius: 7px; background: rgba(5,9,16,.72); color: white; font-size: 10px; }
.wallpaper-missing { width: 100%; min-height: 220px; display: grid; align-content: center; justify-items: center; gap: 8px; color: var(--muted); background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,.1), transparent 60%), #111827; font-size: 11px; }.wallpaper-missing span:first-child { color: var(--faint); font-size: 32px; }
.wallpaper-card-content { display: flex; align-items: stretch; flex-direction: column; gap: 12px; padding: 14px; }
.wallpaper-title-wrap { display: grid; min-width: 0; gap: 2px; }.wallpaper-title-wrap h3 { overflow: hidden; max-width: 100%; margin: 0 0 3px; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.wallpaper-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }.wallpaper-meta { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; white-space: nowrap; }.wallpaper-meta svg { width: 12px; height: 12px; flex: 0 0 auto; color: #8bb8ff; }.button-download { display: inline-flex; width: 100%; min-height: 42px; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto; padding: 0 14px; border: 1px solid rgba(96,165,250,.38); border-radius: 8px; background: rgba(59,130,246,.18); color: #b7d4ff; font-size: 12px; font-weight: 700; transition: background .18s ease, border-color .18s ease, color .18s ease; }.button-download svg { width: 16px; height: 16px; flex: 0 0 auto; }.button-download:hover:not(:disabled) { border-color: var(--primary); background: var(--primary); color: white; }.button-download:disabled { cursor: not-allowed; opacity: .48; }
.wallpaper-download-control { display: grid; width: 100%; justify-items: stretch; gap: 4px; }.wall-core-download-status { min-height: 1.2em; margin: 0; color: var(--muted); font-size: 10px; text-align: end; }.wall-core-download-cancel { padding: 0; border: 0; background: none; color: #9fc5ff; font: inherit; font-size: 10px; text-decoration: underline; cursor: pointer; }.wall-core-download-cancel[hidden] { display: none; }
.related-section { padding-top: 65px; }
.wallpaper-lightbox { position: fixed; width: min(94vw, 1180px); max-width: none; max-height: 92vh; padding: 46px 18px 18px; overflow: auto; border: 1px solid rgba(208,220,239,.18); border-radius: 18px; background: #080b12; color: white; box-shadow: 0 35px 100px rgba(0,0,0,.75); }
.wallpaper-lightbox::backdrop { background: rgba(3,6,12,.86); backdrop-filter: blur(7px); }.wallpaper-lightbox img { max-width: 100%; max-height: 76vh; margin: auto; object-fit: contain; }.lightbox-caption { margin: 10px 0 0; color: #d6deeb; text-align: center; font-size: 12px; }.lightbox-status { min-height: 1.5em; margin: 4px 0 0; color: var(--muted); text-align: center; font-size: 11px; }.lightbox-close { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: white; font-size: 24px; line-height: 1; cursor: pointer; }
.wall-core-download-dialog { position: fixed; inset: 50% auto auto 50%; width: min(94vw, 430px); max-width: none; max-height: min(92vh, 680px); padding: 24px; transform: translate(-50%, -50%); overflow: auto; border: 1px solid rgba(148,163,184,.2); border-radius: 20px; background: #0d1320; color: var(--text); box-shadow: 0 28px 90px rgba(0,0,0,.7); }
.wall-core-download-dialog::backdrop { background: rgba(2,5,12,.84); backdrop-filter: blur(6px); }
.wall-core-download-header { position: relative; padding-right: 42px; }.wall-core-download-heading { display: flex; align-items: center; gap: 9px; }.wall-core-download-heading svg { width: 20px; height: 20px; color: #8bb8ff; }.wall-core-download-title { margin: 0; color: var(--text); font-size: 21px; font-weight: 750; letter-spacing: -.04em; }.wall-core-download-wallpaper { margin: 5px 0 16px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.wall-core-download-close { position: absolute; top: 0; right: 0; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.04); color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }.wall-core-download-close:hover { color: var(--text); background: rgba(255,255,255,.09); }
.wall-core-download-progress { height: 4px; margin: 15px 0 10px; overflow: hidden; border-radius: 99px; background: #232c3c; }.wall-core-download-progress-bar { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3b82f6, #8b5cf6); transition: width .35s ease; }
.wall-core-download-countdown-row { display: flex; min-height: 52px; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }.wall-core-download-countdown { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border: 2px solid #8b5cf6; border-radius: 50%; color: #c4b5fd; font-size: 14px; font-weight: 700; }.wall-core-download-message { color: #c7d2e2; font-size: 12px; }
.wall-core-download-continue { width: 100%; min-height: 46px; margin-top: 12px; border: 1px solid transparent; border-radius: 12px; background: rgba(59,130,246,.16); color: #9fc5ff; font: inherit; font-size: 13px; font-weight: 700; }.wall-core-download-continue:disabled { cursor: wait; opacity: .9; }.wall-core-download-cancel-modal { width: 100%; min-height: 40px; margin-top: 10px; border: 1px solid var(--line); border-radius: 11px; background: transparent; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }.wall-core-download-cancel-modal:hover { background: rgba(255,255,255,.05); color: var(--text); }
.not-found-page { padding-block: 34px 100px; }.not-found-page .empty-state { min-height: 420px; align-content: center; }.not-found-page .search-form { width: min(100%, 540px); margin-bottom: 18px; }
.page-content { padding-block: 34px 80px; }.page-content > .breadcrumbs { max-width: 850px; margin-inline: auto; }.editorial-page { max-width: 850px; margin-inline: auto; }.editorial-content { color: #c2ccdc; font-size: 15px; line-height: 1.85; }.editorial-content h2, .editorial-content h3 { margin-top: 2em; color: var(--text); line-height: 1.3; }.editorial-content a { color: #80b2ff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer { margin-top: 65px; border-top: 1px solid var(--line); background: #090d16; }
.footer-inner { width: min(calc(100% - 48px), var(--content)); margin: auto; padding-block: 48px 20px; }
.footer-top { display: grid; grid-template-columns: minmax(230px, 1.45fr) repeat(4, minmax(120px, 1fr)); gap: clamp(24px, 4vw, 58px); padding-bottom: 40px; }
.footer-brand { min-width: 0; }
.footer-brand-link { display: inline-flex; min-height: 30px; align-items: center; gap: 10px; color: var(--text); }
.footer-logo { width: auto; max-width: 190px; max-height: 40px; object-fit: contain; }
.footer-brand-name { font-size: 19px; font-weight: 780; letter-spacing: -.045em; }
.footer-brand .brand-mark { flex: 0 0 auto; }
.footer-brand > p { max-width: 260px; margin: 15px 0 17px; color: #a5b1c4; font-size: 13px; line-height: 1.65; }
.footer-column h2 { margin: 3px 0 15px; color: #4d8fff; font-size: 12px; font-weight: 750; letter-spacing: .045em; line-height: 1.4; text-transform: uppercase; }
.footer-column ul { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.footer-column .footer-menu { display: grid; gap: 10px; }
.footer-column .footer-menu .sub-menu { display: grid; gap: 8px; padding: 8px 0 0 14px; list-style: none; }
.footer-column a, .footer-legal a { color: #b7c2d4; font-size: 13px; line-height: 1.5; transition: color .18s ease; }
.footer-column a:hover, .footer-legal a:hover { color: #fff; }
.footer-empty { color: var(--faint); font-size: 12px; line-height: 1.5; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-social-link { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid currentColor; border-radius: 10px; background: color-mix(in srgb, currentColor 10%, transparent); color: #38aef0; transition: transform .18s ease, background .18s ease; }
.footer-social-link:hover { transform: translateY(-2px); background: color-mix(in srgb, currentColor 18%, transparent); }
.footer-social-link svg { width: 17px; height: 17px; }
.footer-social-link-instagram { color: #db5ba6; }
.footer-social-link-youtube { color: #f04444; }
.footer-social-link-pinterest { color: #ed334b; font-size: 19px; font-weight: 800; }
.footer-social-link-tiktok { color: #51d6df; font-size: 21px; font-weight: 800; }
.footer-bottom { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 18px; padding-top: 17px; border-top: 1px solid var(--line); }
.copyright { margin: 0; color: var(--faint); font-size: 12px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-legal a { color: var(--faint); font-size: 12px; }
.is-rtl .breadcrumbs li + li::before { content: "\\"; }.is-rtl .text-link:hover span { transform: translateX(-4px); }
@media (min-width: 1440px) { .hero-section { min-height: 610px; } }
@media (max-width: 1024px) {
	.header-inner { gap: 14px; }
	.search-form.header-search-form { flex-basis: 220px; }
	.nav-links { gap: 12px; }
	.nav-links a { font-size: 12px; }
	.primary-navigation { gap: 12px; }
	.primary-navigation .language-switcher select { max-width: 94px; }
	.collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.archive-page .collection-grid { grid-template-columns: repeat(var(--archive-columns-tablet, 3), minmax(0, 1fr)); }
	.hero-art { right: 4%; width: 36vw; height: 360px; opacity: .84; }
	.hero-content { max-width: 740px; }
	.wallpaper-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.page-heading-row { align-items: start; flex-direction: column; }
	.page-heading-row .search-form { width: min(100%, 555px); }
}
@media (max-width: 760px) {
	.content-wrap, .header-inner, .footer-inner { width: min(calc(100% - 36px), var(--content)); }
	.header-inner { min-height: 64px; gap: 9px; flex-wrap: wrap; }
	.site-brand, .custom-logo-link { max-width: 145px; }
	.custom-logo { max-width: 145px; max-height: 38px; }
	.brand-name { overflow: hidden; font-size: 14px; text-overflow: ellipsis; }
	.brand-mark { flex: 0 0 auto; }
	.search-form.header-search-form { min-width: 0; max-width: none; flex: 1 1 120px; order: 2; padding-inline-start: 7px; }
	.search-form.header-search-form input[type="search"] { padding-inline: 6px; font-size: 12px; }
	.search-form.header-search-form input[type="search"]::placeholder { text-overflow: ellipsis; }
	.search-form.header-search-form .button { min-width: 52px; min-height: 32px; padding-inline: 7px; }
	.menu-toggle { display: flex; order: 3; flex: 0 0 38px; width: 38px; height: 38px; margin-inline-start: 0; }
	.primary-navigation { position: absolute; top: 100%; right: 0; left: 0; z-index: 5; display: none; align-items: stretch; flex-direction: column; gap: 14px; padding: 14px 18px 18px; border-bottom: 1px solid var(--line); background: #0d1320; box-shadow: 0 18px 28px rgba(0,0,0,.3); }
	.primary-navigation.is-open { display: flex; }
	.nav-links { align-items: stretch; flex-direction: column; gap: 0; }
	.nav-links a { display: inline-flex; padding: 12px 6px; }
	.nav-category-item .nav-category-menu { position: static; display: grid; width: 100%; max-width: none; max-height: 190px; margin: 0 0 7px; padding: 4px 4px 4px 22px; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
	.nav-category-menu a { display: flex; padding: 8px 10px; }
	.nav-links .sub-menu { position: static; display: grid; width: 100%; max-width: none; max-height: 190px; margin: 0 0 7px; padding: 4px 4px 4px 22px; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
	.nav-links .sub-menu a { padding: 8px 10px; }
	.primary-navigation .language-switcher select { max-width: 160px; }
	.hero-section { min-height: 540px; }
	.hero-content { padding-block: 72px; }
	.hero-content h1 { max-width: 540px; font-size: clamp(46px, 10vw, 68px); }
	.hero-content > p { max-width: 460px; font-size: 14px; }
	.hero-art { top: 52%; right: -5%; width: 49vw; height: 300px; opacity: .25; }
	.hero-art-card { border-radius: 17px; }
	.home-section { padding-top: 48px; }
	.collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
	.archive-page .collection-grid { grid-template-columns: repeat(var(--archive-columns-mobile, 2), minmax(0, 1fr)); }
	.wallpaper-library-page .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.library-hero { min-height: 270px; padding: 30px 22px; }
	.library-collections { padding-top: 45px; }
	.collection-card-content { padding: 12px; }
	.category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.collection-intro { padding-bottom: 36px; }
	.wallpaper-grid { gap: 13px; }
	.collection-detail { padding-top: 25px; }
	.footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
	.footer-brand { grid-column: 1 / -1; }
	.footer-brand > p { max-width: 430px; }
	.footer-bottom { align-items: flex-start; }
}
@media (max-width: 480px) {
	.wall-core-download-dialog { padding: 20px; border-radius: 17px; }
	.wall-core-download-title { font-size: 19px; }
	.content-wrap, .header-inner, .footer-inner { width: min(calc(100% - 28px), var(--content)); }
	.site-brand { gap: 7px; }
	.site-brand, .custom-logo-link { max-width: 154px; }
	.brand-name { font-size: 13px; }
	.brand-mark { height: 22px; }
	.hero-section { min-height: 520px; }
	.hero-content { padding-block: 65px; }
	.hero-content h1 { margin-top: 18px; font-size: clamp(43px, 13vw, 58px); }
	.hero-content > p { font-size: 13px; }
	.search-form { gap: 4px; padding: 5px; }
	.search-form input[type="search"] { padding-inline: 8px; font-size: 12px; }
	.search-form .button { min-height: 38px; padding-inline: 11px; font-size: 11px; }
	.hero-art { right: -18%; width: 64vw; opacity: .19; }
	.library-hero { min-height: 250px; padding: 27px 17px; border-radius: 18px; }
	.library-hero h1 { font-size: clamp(32px, 9vw, 40px); }
	.library-hero-content > p { margin-bottom: 17px; font-size: 13px; }
	.library-hero-search { gap: 3px; }
	.library-hero-search .button { padding-inline: 10px; }
	.library-collections { padding-top: 34px; }
	.library-collections-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
	.library-collections-heading h2 { font-size: 24px; }
	.section-heading { align-items: start; }
	.section-heading h2 { font-size: 23px; }
	.section-heading .text-link { margin-top: 16px; white-space: nowrap; }
	.collection-grid { grid-template-columns: 1fr; gap: 13px; }
	.wallpaper-library-page .collection-grid { grid-template-columns: 1fr; gap: 15px; }
	.archive-page .collection-grid, .wallpaper-library-page .collection-grid { grid-template-columns: repeat(var(--archive-columns-mobile, 2), minmax(0, 1fr)); }
	.collection-card-media { aspect-ratio: 1.65; }
	.wallpaper-library-page .collection-card-media { aspect-ratio: 1.5; }
	.collection-card-content { padding: 13px 14px; }
	.category-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
	.category-pill { min-height: 48px; padding: 10px; font-size: 11px; }
	.page-heading h1 { font-size: 34px; }
	.wallpaper-grid { grid-template-columns: 1fr; gap: 15px; }
	.wallpaper-card-content { padding: 13px; }
	.empty-state { padding: 36px 20px; }
	.footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; padding-bottom: 30px; }
	.footer-brand { grid-column: 1 / -1; }
	.footer-brand > p { font-size: 12px; }
	.footer-column h2 { margin-bottom: 12px; font-size: 11px; }
	.footer-column ul { gap: 9px; }
	.footer-column a { font-size: 12px; }
	.footer-bottom { flex-direction: column; gap: 10px; }
	.footer-legal { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.wallspik-ad-placement { width: min(calc(100% - 48px), var(--content)); margin: 24px auto; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: center; }
.wallspik-ad-label { display: block; margin-bottom: 7px; color: var(--faint); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.wallspik-cookie-preferences { padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: inherit; }
.wallspik-cookie-preferences:hover { color: var(--text); }
.wallspik-consent-banner { position: fixed; right: 20px; bottom: 20px; left: 20px; z-index: 1000; display: flex; max-width: 1080px; align-items: center; justify-content: space-between; gap: 24px; margin-inline: auto; padding: 20px 22px; border: 1px solid rgba(170, 192, 224, .25); border-radius: 16px; background: #121a29; box-shadow: 0 18px 60px rgba(0, 0, 0, .48); }
.wallspik-consent-banner[hidden] { display: none; }
.wallspik-consent-copy { max-width: 580px; }
.wallspik-consent-copy strong { display: block; font-size: 15px; }
.wallspik-consent-copy p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.wallspik-consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.wallspik-consent-button { min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); color: var(--text); cursor: pointer; font-size: 11px; font-weight: 650; }
.wallspik-consent-button:hover { border-color: rgba(132, 173, 238, .5); }
.wallspik-consent-button.is-primary { border-color: transparent; background: linear-gradient(120deg, var(--primary), #3178e4); }
@media (max-width: 700px) {
	.wallspik-ad-placement { width: min(calc(100% - 28px), var(--content)); }
	.wallspik-consent-banner { right: 10px; bottom: 10px; left: 10px; align-items: stretch; flex-direction: column; gap: 13px; padding: 16px; }
	.wallspik-consent-actions { justify-content: stretch; }
	.wallspik-consent-button { flex: 1 1 30%; padding-inline: 8px; font-size: 10px; }
}
