:root {
  --bg: #ffffff;
  --surface: #f7f9fc;
  --surface-blue: #f1f6ff;
  --ink: #172033;
  --muted: #687386;
  --line: #e6eaf0;
  --primary: #246bfd;
  --primary-dark: #1557d8;
  --primary-soft: #eaf1ff;
  --green: #18a66a;
  --purple: #7759e8;
  --orange: #f28a2e;
  --red: #e24f62;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(36, 52, 79, 0.06);
  --shadow: 0 16px 45px rgba(31, 52, 88, 0.12);
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "DM Sans", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
[hidden] { display: none !important; }
.shell { width: var(--shell); margin-inline: auto; }
.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; }
.skip-link { position: fixed; z-index: 200; left: 16px; top: -80px; padding: 11px 16px; color: white; background: var(--ink); border-radius: 10px; transition: top .2s ease; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.site-header { position: sticky; top: 0; z-index: 80; height: 84px; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(230,234,240,.85); backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; letter-spacing: -.6px; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; color: var(--primary); }
.brand-mark svg { width: 36px; height: 36px; }
.brand-mark-image { width: 43px; height: 43px; flex: 0 0 43px; }
.brand-mark-image img { width: 100%; height: 100%; display: block; object-fit: contain; filter: drop-shadow(0 4px 7px rgba(41,50,177,.22)); }
.brand-lockup { width: 220px; height: 80px; display: block; object-fit: cover; object-position: center; }
.site-header .brand-lockup { width: 220px; height: 80px; }
.footer-top .brand-lockup { width: 232px; height: 86px; }
.main-nav { display: flex; align-items: center; gap: 4px; height: 100%; }
.main-nav a { position: relative; display: grid; place-items: center; height: 100%; padding: 0 14px; color: #5b6678; font-size: 14px; font-weight: 600; transition: color .2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a.active::after { content: ""; position: absolute; bottom: -1px; left: 14px; right: 14px; height: 2px; background: var(--primary); border-radius: 2px 2px 0 0; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.language-switch { display: flex; padding: 3px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; }
.language-option { min-width: 36px; height: 30px; padding: 0 9px; border: 0; color: var(--muted); background: transparent; border-radius: 7px; font-size: 12px; font-weight: 700; cursor: pointer; }
.language-option.active { color: var(--ink); background: white; box-shadow: var(--shadow-sm); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--primary); box-shadow: 0 6px 15px rgba(36,107,253,.2); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 8px 20px rgba(36,107,253,.27); }
.btn-dark { color: #fff; background: var(--ink); }
.btn-dark:hover { background: #27334a; }
.btn-outline { border-color: #d7dce5; background: white; box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: #b8c2d1; }
.btn-white { color: var(--primary); background: white; box-shadow: 0 10px 24px rgba(5,35,108,.2); }
.btn-ghost { border-color: var(--line); background: white; }
.mobile-menu { display: none; width: 42px; height: 42px; padding: 0; place-items: center; border: 1px solid var(--line); background: white; border-radius: 11px; cursor: pointer; }

.hero { position: relative; overflow: hidden; padding: 74px 0 70px; background: linear-gradient(180deg, #fbfdff 0%, #fff 100%); }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -260px; background: radial-gradient(circle, rgba(36,107,253,.1), transparent 67%); }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 76px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; color: #3d5f9e; background: var(--primary-soft); border: 1px solid #dfe9ff; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .3px; }
.eyebrow-dot { width: 7px; height: 7px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 4px rgba(36,107,253,.1); }
.hero h1 { margin: 22px 0 20px; font-size: clamp(40px, 4.3vw, 62px); line-height: 1.14; letter-spacing: -2.7px; }
.hero h1 span { color: var(--primary); }
.hero-copy > p { max-width: 600px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.hero-search { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; max-width: 620px; height: 64px; margin-top: 30px; padding: 8px 8px 8px 18px; border: 1px solid #dce2ec; background: #fff; border-radius: 17px; box-shadow: 0 16px 40px rgba(41,61,97,.1); transition: border .2s ease, box-shadow .2s ease; }
.hero-search:focus-within { border-color: rgba(36,107,253,.45); box-shadow: 0 16px 44px rgba(36,107,253,.14); }
.hero-search .search-icon { width: 21px; height: 21px; fill: none; stroke: #8b95a7; stroke-width: 2; stroke-linecap: round; }
.hero-search input { min-width: 0; height: 42px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 15px; }
.hero-search input::placeholder { color: #9aa3b2; }
.hero-search .btn { height: 46px; min-width: 82px; }
.quick-search { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 14px; color: #8b95a5; font-size: 12px; }
.quick-search button { padding: 3px 7px; border: 0; color: #647086; background: transparent; font-size: 12px; cursor: pointer; border-radius: 5px; }
.quick-search button:hover { color: var(--primary); background: var(--primary-soft); }
.hero-proof { display: flex; align-items: center; gap: 13px; margin-top: 30px; }
.avatar-stack { display: flex; padding-left: 7px; }
.avatar { display: grid; place-items: center; width: 33px; height: 33px; margin-left: -7px; border: 2px solid white; color: white; border-radius: 50%; font-size: 10px; font-weight: 800; }
.avatar-a { background: #4d7be8; }.avatar-b { background: #f29b54; }.avatar-c { background: #7d62d8; }.avatar-d { background: #33aa82; }
.hero-proof p { margin: 0; color: var(--muted); font-size: 12px; }.hero-proof strong { color: var(--ink); }

.hero-visual { position: relative; height: 470px; display: grid; place-items: center; }
.hero-orbit { position: absolute; border: 1px solid rgba(36,107,253,.1); border-radius: 50%; }
.orbit-one { width: 450px; height: 450px; background: radial-gradient(circle at 50% 50%, rgba(234,241,255,.85), transparent 68%); }
.orbit-two { width: 360px; height: 360px; border-style: dashed; }
.hero-card { position: relative; z-index: 2; width: 350px; padding: 13px; border: 1px solid rgba(220,226,236,.85); background: rgba(255,255,255,.95); border-radius: 23px; box-shadow: 0 28px 65px rgba(35,60,106,.18); transform: rotate(1.5deg); }
.hero-card-top { display: flex; align-items: center; justify-content: space-between; padding: 1px 2px 10px; }
.mini-label { color: var(--muted); font-size: 11px; font-weight: 700; }
.verified-dot { display: grid; place-items: center; width: 22px; height: 22px; color: white; background: var(--green); border-radius: 50%; }.verified-dot svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.slot-art { position: relative; height: 270px; overflow: hidden; border-radius: 16px; background: radial-gradient(circle at 50% 35%, #7a58df 0, #3e2a8e 40%, #151044 100%); }
.slot-art::before, .slot-art::after { content: ""; position: absolute; width: 180px; height: 180px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }.slot-art::before { left: -90px; top: -80px; }.slot-art::after { right: -100px; bottom: -85px; }
.slot-crown { position: absolute; left: 50%; top: 25px; width: 80px; height: 45px; transform: translateX(-50%); clip-path: polygon(0 28%, 25% 55%, 50% 0, 75% 55%, 100% 28%, 87% 100%, 13% 100%); background: linear-gradient(180deg,#ffe47b,#f3a629); filter: drop-shadow(0 6px 8px rgba(0,0,0,.22)); }
.slot-crown::before, .slot-crown::after, .slot-crown span { content: ""; position: absolute; top: 23px; width: 8px; height: 8px; background: #e74778; border: 2px solid #fff3a9; border-radius: 50%; }.slot-crown::before { left: 17px; }.slot-crown::after { right: 17px; }.slot-crown span { left: 36px; top: 16px; background: #6bd1ed; }
.slot-title { position: absolute; z-index: 2; top: 80px; width: 100%; color: #fff0b0; text-align: center; font-size: 16px; font-weight: 800; line-height: .95; letter-spacing: 2px; text-shadow: 0 3px 0 #8b3b7f, 0 5px 14px #190c4e; }.slot-title b { font-size: 27px; letter-spacing: .8px; }
.slot-reels { position: absolute; z-index: 2; left: 37px; right: 37px; bottom: 28px; display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; padding: 8px; background: linear-gradient(180deg,#f8d36f,#c78327); border-radius: 12px; box-shadow: 0 10px 20px rgba(16,7,57,.42); }
.reel { display: grid; place-items: center; aspect-ratio: .84; color: #7041b5; background: linear-gradient(180deg,#fff,#f5eaff); border: 2px solid #fff; border-radius: 8px; font-size: 32px; font-weight: 800; box-shadow: inset 0 0 0 1px #d5b8ef; }
.slot-spark { position: absolute; z-index: 1; width: 8px; height: 8px; background: #fff; transform: rotate(45deg); box-shadow: 0 0 13px #fff; }.spark-a { left: 42px; top: 55px; }.spark-b { right: 49px; top: 90px; width: 5px; height: 5px; }.spark-c { left: 57px; bottom: 27px; width: 4px; height: 4px; }
.hero-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 3px 3px; }.hero-card-meta > div:first-child { display: flex; flex-direction: column; gap: 4px; }.hero-card-meta strong { font-size: 12px; }.hero-card-meta small, .hero-card-meta span { color: var(--muted); font-size: 9px; }
.file-stack { display: flex; }.file-stack span { display: grid; place-items: center; min-width: 32px; height: 28px; margin-left: -5px; padding: 0 4px; color: #4269a8; background: #eaf1ff; border: 2px solid white; border-radius: 8px; font-size: 6px; font-weight: 800; }
.format-chip { position: absolute; z-index: 4; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: white; border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 12px 28px rgba(32,55,95,.13); }.format-chip b { font-size: 10px; letter-spacing: .7px; }.format-chip span { color: var(--muted); font-size: 8px; }.format-png { left: 0; top: 92px; transform: rotate(-7deg); }.format-png b { color: var(--green); }.format-spine { right: -3px; bottom: 82px; transform: rotate(7deg); }.format-spine b { color: var(--purple); }
.floating-file { position: absolute; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; width: 78px; height: 88px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 15px 30px rgba(38,58,96,.14); }.floating-file b { font-size: 11px; }.floating-file small { margin-top: 3px; color: var(--muted); font-size: 8px; }.file-one { left: 22px; bottom: 41px; transform: rotate(-8deg); }.file-two { right: 22px; top: 49px; transform: rotate(8deg); }.file-fold { position: absolute; top: 12px; left: 12px; width: 26px; height: 31px; background: var(--primary-soft); border-radius: 4px; clip-path: polygon(0 0,70% 0,100% 28%,100% 100%,0 100%); }.file-fold::after { content: ""; position: absolute; right: 0; top: 0; border-left: 8px solid #b9ceff; border-top: 8px solid white; }

.stats-band { border-block: 1px solid var(--line); background: white; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); padding: 26px 0; }
.stats-grid > div { display: flex; flex-direction: column; align-items: center; gap: 4px; border-right: 1px solid var(--line); }.stats-grid > div:last-child { border: 0; }.stats-grid strong { font-size: 22px; letter-spacing: -.5px; }.stats-grid span { color: var(--muted); font-size: 12px; }

.section { padding: 90px 0; }
.section-heading { margin-bottom: 34px; }
.heading-row, .resource-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.section-kicker { display: block; margin-bottom: 10px; color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.section-heading h2, .creator-banner h2 { margin: 0; font-size: clamp(28px,3.2vw,40px); line-height: 1.25; letter-spacing: -1.4px; }
.section-heading p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 6px; color: var(--primary); font-size: 13px; font-weight: 700; }.text-link .icon { width: 18px; transition: transform .2s ease; }.text-link:hover .icon { transform: translateX(3px); }
.categories-section { background: #fff; }
.category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.category-card { position: relative; display: grid; grid-template-columns: 62px 1fr 28px; align-items: center; gap: 13px; min-height: 118px; padding: 20px; text-align: left; border: 1px solid var(--line); background: white; border-radius: var(--radius); cursor: pointer; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }.category-card::after { content: ""; position: absolute; width: 90px; height: 90px; top: -55px; right: -50px; border-radius: 50%; opacity: .14; background: currentColor; }.category-card:hover { transform: translateY(-3px); border-color: #d5dce8; box-shadow: 0 14px 32px rgba(34,54,91,.1); }
.category-icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 16px; }.category-icon svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.category-slot { color: #6b51d8; }.category-slot .category-icon { background: #f0ecff; }.category-poker { color: #e05263; }.category-poker .category-icon { background: #ffedf0; }.category-fishing { color: #168fc1; }.category-fishing .category-icon { background: #e9f7fc; }.category-other { color: #26896b; }.category-other .category-icon { background: #eaf7f2; }
.category-copy { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: var(--ink); }.category-copy strong { font-size: 15px; }.category-copy small { color: var(--muted); font-size: 11px; }.category-arrow { display: grid; place-items: center; width: 28px; height: 28px; color: #8d96a5; background: var(--surface); border-radius: 50%; }.category-arrow .icon { width: 15px; }

.resources-section { background: var(--surface); }
.resource-type-switch { display: flex; padding: 4px; border: 1px solid var(--line); background: white; border-radius: 12px; box-shadow: var(--shadow-sm); }.resource-type-switch button { height: 38px; padding: 0 16px; border: 0; color: var(--muted); background: transparent; border-radius: 9px; font-size: 12px; font-weight: 700; cursor: pointer; }.resource-type-switch button.active { color: white; background: var(--ink); }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: -4px 0 24px; }
.filter-categories { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill { height: 36px; padding: 0 15px; color: #687386; border: 1px solid #dde2e9; background: rgba(255,255,255,.8); border-radius: 999px; font-size: 12px; font-weight: 600; cursor: pointer; transition: .2s ease; }.filter-pill:hover { border-color: #bfc9d7; color: var(--ink); }.filter-pill.active { color: var(--primary); border-color: #aac4ff; background: var(--primary-soft); }
.sort-select { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border: 1px solid #dde2e9; background: white; border-radius: 10px; }.sort-select .icon { width: 17px; color: #7c8797; }.sort-select select { border: 0; outline: 0; color: var(--muted); background: transparent; font-size: 12px; font-weight: 600; cursor: pointer; }
.active-search { display: flex; align-items: center; justify-content: space-between; margin: -8px 0 20px; padding: 11px 14px; color: var(--muted); background: #eef3fb; border-radius: 10px; font-size: 12px; }.active-search strong { color: var(--ink); }.active-search button { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border: 0; color: #5d6b80; background: white; border-radius: 7px; font-size: 11px; cursor: pointer; }.active-search .icon { width: 13px; }
.resource-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.resource-card { position: relative; overflow: hidden; border: 1px solid #e2e7ee; background: white; border-radius: 18px; box-shadow: 0 4px 12px rgba(38,51,74,.05); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }.resource-card:hover { transform: translateY(-5px); border-color: #d5dce7; box-shadow: 0 18px 34px rgba(41,59,90,.12); }.resource-card:hover .resource-preview-art { transform: scale(1.03); }.resource-card:hover .preview-open { opacity: 1; transform: translateY(0); }
.resource-preview { position: relative; height: 225px; overflow: hidden; background: #e9edf4; cursor: pointer; }
.resource-preview-art { position: absolute; inset: 0; transition: transform .4s ease; }
.resource-preview::after { content: ""; position: absolute; inset: auto 0 0; height: 70px; background: linear-gradient(transparent,rgba(0,0,0,.15)); pointer-events: none; }
.resource-badges { position: absolute; z-index: 3; left: 12px; top: 12px; display: flex; gap: 6px; }.resource-badge { padding: 6px 9px; color: white; background: rgba(21,29,45,.76); border: 1px solid rgba(255,255,255,.3); border-radius: 8px; font-size: 9px; font-weight: 800; letter-spacing: .35px; backdrop-filter: blur(8px); }.resource-badge.new { color: #126a49; background: rgba(235,255,247,.9); border-color: rgba(255,255,255,.8); }
.favorite-btn { position: absolute; z-index: 4; right: 12px; top: 12px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; color: white; border: 1px solid rgba(255,255,255,.45); background: rgba(21,29,45,.35); border-radius: 10px; cursor: pointer; backdrop-filter: blur(8px); }.favorite-btn .icon { width: 18px; fill: transparent; stroke-width: 2; }.favorite-btn.active { color: #e9566b; background: white; }.favorite-btn.active .icon { fill: currentColor; }
.preview-open { position: absolute; z-index: 4; left: 50%; bottom: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 8px 11px; color: white; background: rgba(21,29,45,.78); border-radius: 9px; font-size: 10px; font-weight: 700; opacity: 0; transform: translate(-50%,5px); transition: .2s ease; backdrop-filter: blur(8px); }.preview-open .icon { width: 14px; }
.resource-body { padding: 17px 17px 15px; }
.resource-category { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }.resource-category span:first-child { color: var(--primary); font-size: 10px; font-weight: 800; letter-spacing: .55px; text-transform: uppercase; }.resource-category span:last-child { color: #9aa3b2; font-size: 10px; }
.resource-title { margin: 0 0 8px; font-size: 16px; line-height: 1.45; letter-spacing: -.2px; cursor: pointer; }.resource-title:hover { color: var(--primary); }
.resource-description { display: -webkit-box; min-height: 38px; margin: 0; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.65; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.format-list { display: flex; flex-wrap: wrap; gap: 5px; margin: 14px 0; }.format-tag { padding: 4px 7px; color: #5d6d86; background: #f2f5f9; border: 1px solid #e6eaf0; border-radius: 6px; font-size: 8px; font-weight: 800; }
.resource-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; border-top: 1px solid #edf0f4; }.author { display: flex; align-items: center; gap: 8px; }.author-avatar { display: grid; place-items: center; width: 26px; height: 26px; color: white; background: var(--author-color,#596fc7); border-radius: 50%; font-size: 9px; font-weight: 800; }.author-copy { display: flex; flex-direction: column; gap: 2px; }.author-copy strong { font-size: 9px; }.author-copy small { color: #929ba9; font-size: 8px; }
.card-metrics { display: flex; gap: 10px; color: #8c96a5; }.card-metrics span { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; }.card-metrics .icon { width: 13px; height: 13px; }
.card-price { display: inline-flex; align-items: baseline; gap: 4px; color: #f07818; font-size: 19px; font-weight: 900; line-height: 1; letter-spacing: -.3px; }.card-price small { color: #e86f0b; font-size: 11px; font-weight: 900; }
.empty-state { padding: 65px 20px; text-align: center; border: 1px dashed #d6dde7; background: white; border-radius: 18px; }.empty-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; color: #8793a5; background: #f0f3f7; border-radius: 50%; }.empty-icon svg { width: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }.empty-state h3 { margin: 0 0 7px; }.empty-state p { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 32px; }.load-more-wrap[hidden] { display: none; }.load-more-wrap .btn { min-width: 176px; }

/* Original code-native preview art */
.art-slot { background: radial-gradient(circle at 52% 30%, #ed7d78, #913264 48%, #31194e); }.art-slot::before { content: "LUCKY\A LANTERN"; white-space: pre; position: absolute; z-index: 2; top: 38px; width: 100%; color: #ffe99a; text-align: center; font-size: 26px; font-weight: 800; line-height: .9; letter-spacing: 1px; text-shadow: 0 3px 0 #8c2440; }.art-slot::after { content: "7   ◆   ♛"; position: absolute; left: 12%; right: 12%; bottom: 32px; padding: 17px 8px; color: #a53952; text-align: center; background: linear-gradient(#fff5d1,#f6d48b); border: 7px solid #f1b142; border-radius: 12px; box-shadow: 0 8px 15px rgba(43,5,31,.35); font-size: 30px; font-weight: 800; }
.art-ocean { background: radial-gradient(circle at 60% 32%, #40d3df, #1372b2 55%, #07366f); }.art-ocean::before { content: ""; position: absolute; width: 170px; height: 76px; left: 42px; top: 65px; background: #8fe3ec; border-radius: 55% 45% 48% 52%; transform: rotate(-6deg); box-shadow: inset -25px -11px 0 rgba(10,102,157,.26), 122px 38px 0 -51px #ffc549; clip-path: polygon(0 35%,16% 5%,22% 29%,76% 20%,100% 3%,94% 48%,100% 84%,76% 66%,18% 78%); }.art-ocean::after { content: "OCEAN TREASURE"; position: absolute; bottom: 31px; width: 100%; color: white; text-align: center; font-size: 23px; font-weight: 800; letter-spacing: 1px; text-shadow: 0 3px 8px #064477; }
.art-poker { background: radial-gradient(circle at 50% 30%, #5bc493, #12694d 58%, #084032); }.art-poker::before { content: "A♠"; position: absolute; left: 82px; top: 31px; width: 105px; height: 145px; padding: 10px; color: #222938; background: white; border-radius: 12px; box-shadow: 38px 14px 0 -1px #fff7e7, 40px 16px 0 0 rgba(0,0,0,.1), 76px 36px 0 -1px #fff, 78px 38px 0 0 rgba(0,0,0,.12); font-family: Georgia,serif; font-size: 27px; font-weight: 700; transform: rotate(-10deg); }.art-poker::after { content: "♣"; position: absolute; z-index: 2; right: 68px; bottom: 26px; color: #d2424e; font-family: Georgia,serif; font-size: 76px; transform: rotate(14deg); }
.art-dragon { background: radial-gradient(circle at 50% 28%, #f6c564, #e65d35 55%, #71252c); }.art-dragon::before { content: ""; position: absolute; width: 180px; height: 140px; left: calc(50% - 90px); top: 25px; border: 19px solid #ffe28a; border-right-color: transparent; border-radius: 50%; transform: rotate(-23deg); filter: drop-shadow(0 5px 2px rgba(107,26,30,.4)); }.art-dragon::after { content: "DRAGON BONUS"; position: absolute; bottom: 27px; width: 100%; color: #fff4bc; text-align: center; font-size: 25px; font-weight: 800; letter-spacing: .8px; text-shadow: 0 3px 0 #a43128; }
.art-ui { background: linear-gradient(145deg,#384b72,#17233f); }.art-ui::before { content: ""; position: absolute; inset: 27px 34px; border: 2px solid rgba(255,255,255,.15); border-radius: 12px; background: linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.02)); box-shadow: 0 0 0 7px rgba(9,18,38,.3), inset 0 42px 0 rgba(0,0,0,.18); }.art-ui::after { content: "PLAY\A\A   +      −    ⚙"; white-space: pre; position: absolute; z-index: 2; inset: 47px 63px; padding-top: 16px; color: white; text-align: center; background: radial-gradient(circle at 50% 32%,#5486f5 0 21px,transparent 22px), linear-gradient(90deg,transparent 5%,#31b47c 5% 31%,transparent 31% 37%,#f2a243 37% 63%,transparent 63% 69%,#7b62d9 69% 95%,transparent 95%) 50% 84%/100% 32px no-repeat; border-radius: 8px; font-size: 14px; font-weight: 800; line-height: 1.1; }
.art-effects { background: radial-gradient(circle at 50% 50%, #785ee9, #31226f 55%,#16133c); }.art-effects::before, .art-effects::after { content: ""; position: absolute; left: 50%; top: 50%; width: 118px; height: 118px; border: 3px solid #ffd876; border-radius: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 25px #fca75b,inset 0 0 30px #bf62ea; }.art-effects::after { width: 32px; height: 160px; border: 0; border-radius: 50%; background: linear-gradient(180deg,transparent,#fff5b7 48%,transparent 53%),linear-gradient(90deg,transparent,#fff5b7 48%,transparent 53%); box-shadow: 0 0 24px #fff; transform: translate(-50%,-50%) rotate(45deg); }
.art-buttons { background: linear-gradient(145deg,#f5f7fb,#dae2ef); }.art-buttons::before { content: "PLAY\A\A START     BONUS\A\A     OK"; white-space: pre; position: absolute; inset: 31px 45px; padding: 12px; color: white; text-align: center; background: linear-gradient(#386ff0,#2556c6) 50% 0/150px 42px no-repeat,linear-gradient(#29b77a,#168254) 0 63%/120px 38px no-repeat,linear-gradient(#f0933e,#d86b24) 100% 63%/120px 38px no-repeat,linear-gradient(#7659df,#5339b9) 50% 100%/105px 36px no-repeat; border-radius: 20px; font-size: 13px; font-weight: 800; line-height: 1; text-shadow: 0 1px 2px rgba(0,0,0,.2); }.art-buttons::after { content: "UI BUTTON SET"; position: absolute; bottom: 18px; width: 100%; color: #708098; text-align: center; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.art-character { background: radial-gradient(circle at 50% 25%,#72ddaa,#247f6c 55%,#123e45); }.art-character::before { content: ""; position: absolute; left: calc(50% - 60px); top: 31px; width: 120px; height: 150px; background: radial-gradient(circle at 50% 27%,#f8c79e 0 20%,transparent 21%),linear-gradient(115deg,transparent 33%,#ece9e0 34% 48%,#3e4459 49% 72%,transparent 73%); clip-path: polygon(27% 5%,73% 5%,91% 37%,76% 48%,88% 100%,12% 100%,24% 48%,9% 37%); filter: drop-shadow(0 8px 10px rgba(4,40,36,.3)); }.art-character::after { content: "ADVENTURER"; position: absolute; bottom: 24px; width: 100%; color: white; text-align: center; font-size: 19px; font-weight: 800; letter-spacing: 1.8px; text-shadow: 0 3px 5px #16483e; }

.creator-banner-section { padding-top: 95px; padding-bottom: 54px; background: white; }
.creator-banner { position: relative; min-height: 376px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; overflow: hidden; color: white; background: linear-gradient(125deg,#1e58d4 0%,#246bfd 48%,#4c86ff 100%); border-radius: 26px; box-shadow: 0 25px 55px rgba(36,107,253,.22); }.creator-banner::before { content: ""; position: absolute; width: 520px; height: 520px; right: -90px; top: -260px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.03),0 0 0 140px rgba(255,255,255,.025); }
.creator-banner-art { position: relative; height: 100%; min-height: 376px; }.art-board { position: absolute; width: 180px; height: 220px; overflow: hidden; background: white; border: 5px solid white; border-radius: 15px; box-shadow: 0 18px 35px rgba(3,30,92,.25); }.board-one { left: 70px; top: 87px; transform: rotate(-9deg); background: linear-gradient(160deg,#6951c7,#2e205e); }.board-two { left: 215px; top: 30px; z-index: 2; transform: rotate(4deg); background: linear-gradient(160deg,#35bfd2,#0c648e); }.board-three { left: 350px; top: 115px; transform: rotate(11deg); background: linear-gradient(160deg,#ffbd4f,#e75d3f); }.art-board i { position: absolute; height: 8px; left: 18px; right: 40px; bottom: 33px; background: rgba(255,255,255,.4); border-radius: 5px; }.art-board i + i { right: 63px; bottom: 19px; }.art-board i + i + i { right: 90px; bottom: 5px; }
.banner-character { position: absolute; left: 25px; top: 28px; display: grid; place-items: center; width: 120px; height: 125px; color: #ffe585; border: 9px solid rgba(255,255,255,.25); border-radius: 50% 50% 42% 42%; font-size: 65px; }.art-fish { position: absolute; left: 25px; top: 55px; width: 114px; height: 63px; background: #8be7ed; border-radius: 55% 43% 47% 53%; box-shadow: inset -18px -9px 0 rgba(11,102,145,.25); }.art-fish::after { content: ""; position: absolute; right: -34px; top: 7px; border: 25px solid transparent; border-right: 0; border-left: 38px solid #f7c659; }.art-fish b { position: absolute; left: 24px; top: 18px; width: 7px; height: 7px; background: #214f6f; border: 2px solid white; border-radius: 50%; }.art-coin { position: absolute; left: 38px; top: 34px; display: grid; place-items: center; width: 96px; height: 96px; color: #c06c15; background: #ffe26e; border: 11px solid #f5a72c; border-radius: 50%; font-size: 45px; font-weight: 800; box-shadow: 10px 11px 0 rgba(153,59,30,.4); }
.creator-banner-copy { position: relative; z-index: 3; padding: 55px 66px 55px 36px; }.section-kicker.light { color: #d9e6ff; }.creator-banner h2 { font-size: clamp(30px,3vw,42px); }.creator-banner p { max-width: 480px; margin: 18px 0 26px; color: #dbe7ff; font-size: 14px; line-height: 1.8; }.creator-banner .btn { height: 48px; padding-inline: 20px; }

.process-section { padding-top: 72px; background: white; }
.centered { text-align: center; }
.process-grid { display: grid; grid-template-columns: 1fr 80px 1fr 80px 1fr; align-items: center; gap: 12px; }.process-card { position: relative; min-height: 230px; padding: 28px; text-align: center; border: 1px solid var(--line); background: white; border-radius: 18px; }.step-number { position: absolute; left: 18px; top: 15px; color: #dfe5ef; font-size: 22px; font-weight: 800; }.process-icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 19px; color: var(--primary); background: var(--primary-soft); border-radius: 19px; }.process-icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }.process-card h3 { margin: 0 0 9px; font-size: 16px; }.process-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }.process-line { height: 1px; border-top: 2px dashed #d8e0eb; }.process-line span { display: block; width: 7px; height: 7px; margin: -4px auto 0; background: #b5c2d5; border-radius: 50%; }

.site-footer { background: #f7f9fc; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 65px; padding: 58px 0 50px; }.footer-brand p { max-width: 320px; margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }.footer-links strong { margin-bottom: 4px; font-size: 13px; }.footer-links a, .footer-links button { padding: 0; color: var(--muted); border: 0; background: transparent; font-size: 11px; cursor: pointer; }.footer-links a:hover, .footer-links button:hover { color: var(--primary); }.footer-bottom { display: flex; align-items: center; justify-content: space-between; min-height: 65px; color: #8b95a5; border-top: 1px solid var(--line); font-size: 10px; }.footer-bottom div { display: flex; gap: 25px; }.footer-bottom a:hover { color: var(--primary); }

.modal { width: min(940px,calc(100% - 30px)); max-height: min(90vh,900px); padding: 0; overflow: auto; color: var(--ink); border: 0; background: white; border-radius: 22px; box-shadow: 0 30px 90px rgba(13,26,52,.28); }.modal::backdrop { background: rgba(18,27,44,.55); backdrop-filter: blur(4px); }.modal[open] { animation: modal-in .22s ease both; }@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.modal-shell { position: relative; }.modal-close { position: absolute; z-index: 10; right: 16px; top: 16px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; color: #536075; border: 1px solid rgba(225,230,238,.9); background: rgba(255,255,255,.9); border-radius: 11px; cursor: pointer; backdrop-filter: blur(8px); }.modal-close:hover { color: var(--ink); background: white; }.modal-close.static { position: static; flex: 0 0 auto; }
.detail-grid { display: grid; grid-template-columns: 1.02fr .98fr; min-height: 560px; }.detail-preview { position: relative; min-height: 560px; overflow: hidden; background: #e8edf4; }.detail-preview .resource-preview-art { transform: none!important; }.detail-preview .resource-badges { top: 18px; left: 18px; }.detail-info { padding: 48px 42px 38px; }.detail-kicker { color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }.detail-info h2 { margin: 10px 0 10px; font-size: 28px; line-height: 1.3; letter-spacing: -.8px; }.detail-info > p { margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.8; }.detail-author { display: flex; align-items: center; gap: 10px; padding: 14px 0 20px; border-bottom: 1px solid var(--line); }.detail-author .author-avatar { width: 34px; height: 34px; }.detail-author div { display: flex; flex-direction: column; gap: 3px; }.detail-author strong { font-size: 11px; }.detail-author span { color: var(--muted); font-size: 9px; }.verified { color: var(--green); font-weight: 700; }.detail-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0; }.detail-spec { padding: 12px; background: var(--surface); border-radius: 10px; }.detail-spec span { display: block; margin-bottom: 4px; color: #8993a2; font-size: 9px; }.detail-spec strong { font-size: 11px; }.detail-files { margin-bottom: 20px; }.detail-files > span { display: block; margin-bottom: 9px; font-size: 11px; font-weight: 700; }.detail-files .format-list { margin: 0; }.detail-actions { display: grid; grid-template-columns: 1fr 46px; gap: 10px; }.detail-actions .btn { height: 48px; }.detail-actions .favorite-btn { position: static; width: 46px; height: 48px; color: #6c7789; border-color: var(--line); background: white; backdrop-filter: none; }.detail-actions .favorite-btn.active { color: var(--red); }

.upload-modal { width: min(760px,calc(100% - 30px)); }.upload-shell { padding: 32px; }.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }.modal-kicker { color: var(--primary); font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }.modal-header h2 { margin: 7px 0 6px; font-size: 24px; letter-spacing: -.5px; }.modal-header p { margin: 0; color: var(--muted); font-size: 11px; }.upload-form { padding-top: 22px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.form-field { display: flex; flex-direction: column; gap: 7px; }.form-wide { grid-column: 1/-1; }.form-field > span { font-size: 11px; font-weight: 700; }.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 11px 12px; color: var(--ink); border: 1px solid #dce2ea; outline: 0; background: white; border-radius: 10px; font-size: 12px; transition: .2s ease; }.form-field input, .form-field select { height: 42px; }.form-field textarea { resize: vertical; line-height: 1.6; }.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: rgba(36,107,253,.7); box-shadow: 0 0 0 3px rgba(36,107,253,.1); }.form-field input::placeholder, .form-field textarea::placeholder { color: #9ca5b3; }
.file-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 145px; margin-top: 18px; text-align: center; border: 1.5px dashed #bdc7d6; background: #f9fbfd; border-radius: 14px; cursor: pointer; transition: .2s ease; }.file-drop:hover, .file-drop.dragging, .file-drop:focus { border-color: var(--primary); background: var(--primary-soft); outline: 0; }.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }.drop-icon { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 9px; color: var(--primary); background: white; border: 1px solid #dce6fb; border-radius: 12px; box-shadow: var(--shadow-sm); }.drop-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }.file-drop strong { font-size: 12px; }.file-drop > span:last-child { margin-top: 5px; color: var(--muted); font-size: 9px; }
.terms-check { display: block; margin: 17px 0; color: var(--muted); font-size: 10px; cursor: pointer; }.terms-check > input { position: absolute; opacity: 0; }.terms-check > span { display: flex; align-items: flex-start; gap: 8px; }.terms-check i { display: grid; flex: 0 0 auto; place-items: center; width: 16px; height: 16px; color: transparent; border: 1px solid #cbd3df; background: white; border-radius: 4px; }.terms-check i svg { width: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }.terms-check input:checked + span i { color: white; border-color: var(--primary); background: var(--primary); }.form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.toast { position: fixed; z-index: 150; left: 50%; bottom: 28px; display: flex; align-items: center; gap: 10px; min-width: 280px; max-width: calc(100% - 30px); padding: 13px 17px; color: white; background: #1e293b; border-radius: 12px; box-shadow: 0 16px 40px rgba(15,23,42,.25); font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%,16px); transition: .25s ease; }.toast.visible { opacity: 1; transform: translate(-50%,0); }.toast-icon { display: grid; place-items: center; width: 22px; height: 22px; color: white; background: var(--green); border-radius: 50%; }.toast-icon svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1050px) {
  .main-nav { display: none; position: absolute; left: 20px; right: 20px; top: 68px; height: auto; padding: 10px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); background: white; border-radius: 14px; box-shadow: var(--shadow); }.main-nav.open { display: flex; }.main-nav a { height: 44px; justify-content: start; }.main-nav a.active::after { display: none; }.mobile-menu { display: grid; }
  .hero-grid { gap: 35px; }.hero-visual { transform: scale(.88); margin-inline: -25px; }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .resource-grid { grid-template-columns: repeat(2,1fr); }
  .creator-banner { grid-template-columns: .92fr 1.08fr; }.board-one { left: 28px; }.board-two { left: 148px; }.board-three { left: 250px; }
  .footer-top { gap: 30px; }
}

@media (max-width: 780px) {
  :root { --shell: min(100% - 30px, 680px); }
  .site-header { height: 72px; }.header-inner { gap: 10px; }.brand { font-size: 19px; }.brand-mark,.brand-mark svg { width: 32px; height: 32px; }.brand-mark-image { width: 38px; height: 38px; flex-basis: 38px; }.site-header .brand-lockup { width: 180px; height: 68px; }.header-upload { width: 42px; padding: 0; }.header-upload span { display: none; }.language-switch { margin-left: auto; }
  .hero { padding: 55px 0 48px; }.hero-grid { grid-template-columns: 1fr; }.hero-copy { text-align: center; }.hero h1 { letter-spacing: -1.9px; }.hero-copy > p { margin-inline: auto; }.eyebrow { margin-inline: auto; }.hero-search { margin-inline: auto; }.quick-search,.hero-proof { justify-content: center; }.hero-visual { height: 420px; max-width: 490px; width: 100%; margin: 5px auto -15px; transform: scale(.9); }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 0; padding: 0; }.stats-grid > div { padding: 20px 5px; border-bottom: 1px solid var(--line); }.stats-grid > div:nth-child(2) { border-right: 0; }.stats-grid > div:nth-child(3),.stats-grid > div:nth-child(4) { border-bottom: 0; }
  .section { padding: 68px 0; }.heading-row,.resource-heading { align-items: flex-start; flex-direction: column; }.text-link { align-self: flex-start; }
  .filter-bar { align-items: flex-start; flex-direction: column; }.sort-select { align-self: flex-end; }
  .creator-banner { grid-template-columns: 1fr; }.creator-banner-art { min-height: 270px; order: 2; }.creator-banner-copy { padding: 42px 36px 12px; text-align: center; }.creator-banner p { margin-inline: auto; }.board-one { left: calc(50% - 220px); top: 60px; }.board-two { left: calc(50% - 85px); top: 20px; }.board-three { left: calc(50% + 55px); top: 70px; }
  .process-grid { grid-template-columns: 1fr; gap: 14px; }.process-line { width: 1px; height: 30px; margin: auto; border-top: 0; border-left: 2px dashed #d8e0eb; }.process-line span { margin: 11px 0 0 -4px; }.process-card { min-height: auto; }
  .footer-top { grid-template-columns: 2fr 1fr 1fr; }.footer-brand { grid-column: 1/-1; }.footer-bottom { gap: 15px; }
  .detail-grid { grid-template-columns: 1fr; }.detail-preview { min-height: 330px; }.detail-info { padding: 28px; }
}

@media (max-width: 560px) {
  .header-upload { display: none; }
  .hero { padding-top: 42px; }.hero h1 { margin-top: 18px; font-size: 39px; }.hero-copy > p { font-size: 15px; }.hero-search { grid-template-columns: 20px 1fr; height: auto; padding: 12px 13px; border-radius: 15px; }.hero-search .btn { grid-column: 1/-1; width: 100%; }.hero-visual { margin-top: -12px; transform: scale(.72); margin-bottom: -60px; }
  .hero-grid,.hero-copy,.hero-search { min-width: 0; width: 100%; }.hero-proof { flex-wrap: wrap; }
  .category-grid,.resource-grid { grid-template-columns: 1fr; }.category-card { min-height: 105px; }.resource-preview { height: 218px; }
  .section-heading h2,.creator-banner h2 { font-size: 29px; }.resource-type-switch { width: 100%; }.resource-type-switch button { flex: 1; padding: 0 7px; }.filter-categories { width: 100%; }.filter-pill { flex: 1; min-width: 29%; padding-inline: 9px; }
  .creator-banner-copy { padding-inline: 24px; }.creator-banner-art { min-height: 225px; transform: scale(.8); margin-inline: -35px; margin-top: -10px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px 22px; }.footer-brand { grid-column: 1/-1; }.footer-bottom { padding: 18px 0; align-items: flex-start; flex-direction: column; }.footer-bottom div { gap: 16px; }
  .upload-shell { padding: 22px 18px; }.modal-header h2 { font-size: 20px; }.form-grid { grid-template-columns: 1fr; }.form-wide { grid-column: auto; }.form-actions .btn { flex: 1; padding-inline: 8px; }.detail-preview { min-height: 270px; }.detail-info { padding: 25px 20px; }.detail-info h2 { font-size: 24px; }.detail-specs { grid-template-columns: 1fr; }
}

/* Account and points entry shared by marketplace pages */
[data-account-widget] { display: flex; align-items: center; }
.account-widget { display: flex; align-items: center; gap: 8px; }
.points-widget,.login-widget,.user-widget,.logout-widget { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 11px; border: 1px solid var(--line); background: #fff; border-radius: 10px; font-size: 10px; font-weight: 700; transition: .2s ease; }.logout-widget{color:#7b8798;cursor:pointer}.logout-widget:hover{color:#d8495b;border-color:#f0c8ce}
.points-widget { color: #78520a; background: #fff9e8; border-color: #f1dfaa; }.points-widget .coin-dot { display: grid; place-items: center; width: 18px; height: 18px; color: #8a5c00; background: #ffd35b; border-radius: 50%; font-size: 9px; }
.login-widget:hover,.user-widget:hover,.points-widget:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.user-widget { padding: 0 8px 0 5px; }.user-widget-avatar { display: grid; place-items: center; width: 26px; height: 26px; color: #fff; background: var(--primary); border-radius: 8px; font-size: 9px; }
@media (max-width: 860px) { .account-widget .widget-label { display: none; }.points-widget,.login-widget { width: 36px; padding: 0; justify-content: center; }.user-widget,.logout-widget { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; }
}

/* Shared section spacing. Home and asset-library ordering is defined below. */
main { display: flex; flex-direction: column; }
.hero { order: 1; padding: 32px 0 28px; }
.resources-section { order: 2; padding: 44px 0 60px; }
.service-banner-section { order: 3; }
.categories-section { order: 4; padding: 62px 0; }
.stats-band { order: 5; }
.creator-banner-section { order: 6; }
.process-section { order: 6; }
.creator-banner-section,.process-section { display: none; }

.hero-grid { grid-template-columns: minmax(0,1fr) 340px; gap: 48px; }
.hero h1 { margin: 13px 0 10px; font-size: clamp(36px,3.4vw,48px); line-height: 1.12; letter-spacing: -2px; }
.hero-copy > p { max-width: 680px; font-size: 14px; line-height: 1.65; }
.hero-search { width: 100%; max-width: 650px; height: 56px; margin-top: 18px; }
.hero-search .btn { height: 42px; }
.quick-search { margin-top: 9px; }
.hero-proof { display: none; }
.hero-visual { height: 250px; }
.orbit-one { width: 292px; height: 292px; }
.orbit-two { width: 224px; height: 224px; }
.hero-card { width: 292px; padding: 9px; border-radius: 18px; transform: rotate(1deg); }
.hero-card-top { padding-bottom: 7px; }
.slot-art { height: 168px; border-radius: 12px; }
.slot-crown { top: 12px; width: 62px; height: 35px; }
.slot-title { top: 50px; font-size: 12px; }
.slot-title b { font-size: 21px; }
.slot-reels { left: 30px; right: 30px; bottom: 14px; gap: 4px; padding: 5px; border-radius: 9px; }
.reel { font-size: 22px; border-radius: 6px; }
.hero-card-meta { padding: 8px 2px 1px; }
.format-chip,.floating-file { display: none; }

.resource-heading { align-items: center; margin-bottom: 18px; }
.resource-heading .section-kicker { margin-bottom: 6px; }
.resource-heading h2 { font-size: clamp(26px,2.6vw,34px); }
.resource-heading p { margin-top: 6px; font-size: 13px; }
.filter-bar { margin: 0 0 18px; }
.resource-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.resource-preview { height: 176px; }
.resource-body { padding: 14px 14px 13px; }
.resource-title { margin-bottom: 6px; font-size: 14px; }
.resource-description { min-height: 34px; font-size: 10px; }
.format-list { margin: 11px 0; }
.resource-footer { padding-top: 11px; }

.service-banner-section { padding: 0 0 58px; background: var(--surface); }
.service-banner-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.service-banner { position: relative; height: 210px; overflow: hidden; color: #fff; border-radius: 20px; box-shadow: 0 14px 34px rgba(22,30,82,.16); isolation: isolate; }
.service-banner::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(7,15,59,.96) 0%,rgba(9,18,70,.83) 43%,rgba(9,18,70,.18) 78%,rgba(9,18,70,.04) 100%); }
.service-banner > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.service-banner-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 59%; height: 100%; padding: 22px 0 22px 24px; }
.service-banner-copy > span { margin-bottom: 8px; color: #9bc8ff; font-size: 10px; font-weight: 800; letter-spacing: .8px; }
.service-banner-copy h2 { margin: 0; font-size: 23px; line-height: 1.2; letter-spacing: -.5px; }
.service-banner-copy p { display: -webkit-box; margin: 9px 0 14px; overflow: hidden; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.65; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.service-banner-action { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; color: #182238; background: #fff; border-radius: 10px; font-size: 11px; box-shadow: 0 8px 18px rgba(3,8,35,.18); transition: transform .2s ease,box-shadow .2s ease; }
.service-banner-action:hover { transform: translateY(-2px); box-shadow: 0 11px 23px rgba(3,8,35,.26); }
.service-banner-action .icon { width: 15px; height: 15px; }
.service-development::after { background: linear-gradient(90deg,rgba(27,10,68,.96) 0%,rgba(38,14,86,.83) 43%,rgba(38,14,86,.16) 78%,rgba(38,14,86,.03) 100%); }
.service-development .service-banner-copy > span { color: #e1b8ff; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: minmax(0,1fr) 280px; gap: 28px; }
  .hero-visual { height: 230px; margin: 0; transform: none; }
  .hero-card { width: 255px; }
  .slot-art { height: 148px; }
  .resource-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 780px) {
  .hero { padding: 28px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .hero h1 { font-size: 36px; letter-spacing: -1.4px; }
  .hero-copy > p,.eyebrow,.hero-search { margin-inline: 0; }
  .quick-search { justify-content: flex-start; }
  .hero-visual { display: none; }
  .resources-section { padding: 34px 0 52px; }
  .resource-heading { margin-bottom: 15px; }
  .service-banner-grid { grid-template-columns: 1fr; }
  .service-banner { height: 195px; }
}

@media (max-width: 560px) {
  .hero h1 { margin-top: 13px; font-size: 32px; }
  .hero-copy > p { font-size: 13px; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-preview { height: 210px; }
  .service-banner-section { padding-bottom: 42px; }
  .service-banner { height: 185px; border-radius: 17px; }
  .service-banner-copy { width: 68%; padding-left: 18px; }
  .service-banner-copy h2 { font-size: 20px; }
  .service-banner-copy p { font-size: 10px; }
}

/* Generated key art and product imagery */
.hero { padding: 20px 0 24px; background: #fff; }
.hero::before { display: none; }
.hero-grid {
  position: relative;
  display: block;
  min-height: 318px;
  padding: 40px 44px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg,rgba(9,15,70,.95) 0%,rgba(20,20,92,.86) 35%,rgba(30,19,103,.25) 59%,rgba(30,19,103,.03) 76%),
    url('assets/images/hero-casino-banner.webp') center / cover no-repeat;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(42,31,125,.18);
}
.hero-copy { position: relative; z-index: 2; max-width: 660px; }
.hero .eyebrow { color: #fff; background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.23); backdrop-filter: blur(8px); }
.hero .eyebrow-dot { background: #ffd353; box-shadow: 0 0 0 4px rgba(255,211,83,.15); }
.hero h1 { color: #fff; text-shadow: 0 3px 16px rgba(7,9,44,.2); }
.hero-copy > p { color: rgba(255,255,255,.82); }
.hero-copy > .hero-source-promise { margin-top: 12px; color: #ffe293; font-size: 15px; font-weight: 700; line-height: 1.6; }
.hero-search { background: rgba(255,255,255,.97); border-color: rgba(255,255,255,.7); box-shadow: 0 14px 34px rgba(6,8,48,.22); }
.quick-search,.quick-search button { color: rgba(255,255,255,.72); }
.quick-search button:hover { color: #fff; background: rgba(255,255,255,.12); }
.hero-visual { display: none !important; }
.resources-section { padding-top: 34px; }
.resource-cover { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .4s ease; }
.resource-card:hover .resource-cover { transform: scale(1.035); }

@media (max-width: 780px) {
  .hero { padding-top: 14px; }
  .hero-grid { min-height: 300px; padding: 28px; background-position: 60% center; }
  .hero-copy { max-width: 100%; }
}

@media (max-width: 560px) {
  .hero-grid { min-height: 330px; padding: 24px 20px; border-radius: 18px; background-position: 63% center; }
  .hero-grid { background-image: linear-gradient(90deg,rgba(8,13,64,.97),rgba(20,20,92,.86) 58%,rgba(30,19,103,.5)),url('assets/images/hero-casino-banner.webp'); }
}

/* Separate the home overview from the searchable art-asset library. */
.main-nav a { white-space: nowrap; }
.header-inner { gap: 24px; }
.home-directory { order: 8; padding: 32px 0 46px; background: var(--surface); }
.home-directory-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.home-directory-card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.home-directory-card:hover { border-color: var(--primary); }
.home-directory-card:focus-visible, .asset-library-body .category-card:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.home-entry-tag { color: var(--muted); font-size: .875rem; font-weight: 700; }
.home-directory-card h3 { margin: 16px 0 10px; font-size: 1.5rem; }
.home-directory-card p { flex: 1; margin: 0 0 22px; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.home-directory-card .text-link { font-size: .875rem; }
.home-page-body .stats-band { order: 4; }
.home-feed { padding: 36px 0 46px; }
.home-source-feed { order: 3; }
.home-asset-feed { order: 4; background: #fff; }
.home-news-feed { order: 5; }
.home-page-body .service-banner-section { order: 6; padding-top: 20px; }
.home-page-body .stats-band { order: 7; }
.home-product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.home-product-card, .home-news-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow-sm); }
.home-product-card:hover, .home-news-card:hover { border-color: var(--primary); }
.home-product-card > a, .home-news-card > a { display: flex; flex-direction: column; height: 100%; }
.home-product-card > a:focus-visible, .home-news-card > a:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; }
.home-card-cover { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--primary-soft); }
.home-card-cover img, .home-news-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.home-cover-label { display: grid; place-items: center; height: 100%; color: var(--primary); font-size: 1.25rem; font-weight: 700; }
.home-card-kind { position: absolute; left: 12px; bottom: 12px; padding: 5px 9px; color: var(--ink); background: rgba(255,255,255,.95); border-radius: 6px; font-size: .875rem; }
.home-card-copy { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.home-card-copy h3 { margin: 0 0 10px; font-size: 1.0625rem; line-height: 1.5; }
.home-card-copy p { display: -webkit-box; flex: 1; margin: 0 0 12px; overflow: hidden; color: var(--muted); font-size: .875rem; line-height: 1.7; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.home-card-copy .format-list { margin: 0 0 14px; }
.home-card-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .875rem; }
.home-card-bottom strong, .home-card-bottom span { color: var(--primary); }
.home-feed-status { margin: 18px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.7; }
.home-news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.home-news-cover { display: grid; place-items: center; aspect-ratio: 4/3; overflow: hidden; color: #fff; background: #244bbb; font-size: 1.125rem; font-weight: 700; }
.home-news-card:nth-child(2) .home-news-cover { background: #5741a6; }
.home-news-card:nth-child(3) .home-news-cover { background: #166971; }
.home-news-date { margin-bottom: 10px; color: var(--muted); font-size: .875rem; }
.asset-library-intro { order: 0; padding: 24px 0 20px; background: #fff; }
.library-breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--muted); font-size: .875rem; }
.library-breadcrumb a:hover { color: var(--primary); }
.library-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,480px); align-items: center; gap: 28px; }
.library-heading h1 { margin: 8px 0; font-size: clamp(30px,3vw,40px); }
.library-heading p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.library-search { margin: 0; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.asset-library-body .categories-section { order: 1; padding: 22px 0 28px; }
.asset-library-body .categories-section .section-heading { margin-bottom: 18px; }
.asset-library-body .category-card[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-soft); }
.asset-library-body .resources-section { order: 2; }
@media (max-width: 1200px) {
  .home-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .main-nav { display: none; position: absolute; left: 20px; right: 20px; top: 100%; height: auto; padding: 10px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); background: white; border-radius: 14px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { min-height: 44px; height: auto; padding: 12px 14px; justify-content: start; }
  .main-nav a.active::after { display: none; }
  .mobile-menu { display: grid; }
}
@media (max-width: 780px) {
  .header-inner { gap: 10px; }
  .home-directory-grid, .library-heading { grid-template-columns: 1fr; }
  .home-directory-card { padding: 24px; }
  .library-heading { gap: 20px; }
  .library-search { max-width: none; }
  .home-news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .home-product-grid { grid-template-columns: 1fr; }
}
