/* WorldV category layout fix: equal image frames and aligned card content. */
#categories .visual-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
#categories .visual-categories .visual-card{display:flex;flex-direction:column;position:relative;min-width:0;min-height:0;height:100%;padding:0;overflow:hidden;border:1px solid #343747;border-radius:15px;background:#1a1e28;isolation:isolate;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s}
#categories .visual-card .category-media{position:relative;inset:auto;display:block;width:100%;aspect-ratio:1/1;overflow:hidden;background:#100d1c;flex:none;border-bottom:1px solid #343747}
#categories .visual-card .category-media img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;transform:none;transition:transform .3s ease}
#categories .visual-card .category-shade{display:none}
#categories .visual-card .category-body{position:relative;display:flex;flex-direction:column;justify-content:flex-start;flex:1;min-height:0;padding:16px 18px 18px;color:#f1f3f8}
#categories .visual-card .category-num{display:block;align-self:flex-start;padding:0;border:0;background:transparent;backdrop-filter:none;margin:0 0 8px;color:#b5a0ff;font-size:10px;font-weight:700;letter-spacing:1px}
#categories .visual-card h3{font-size:22px;line-height:1.2;margin:0 0 7px;text-shadow:none}
#categories .visual-card p{font-size:13px;line-height:1.5;color:#adb6c9;margin:0 0 16px;max-width:100%}
#categories .visual-card .category-go{margin-top:auto;padding-top:12px;border-top:1px solid #343747;display:flex;align-items:center;justify-content:space-between;color:#d5c7ff;font-size:13px;font-weight:750}
#categories .visual-card:hover{color:#f1f3f8;transform:translateY(-3px);border-color:#a58af4;box-shadow:0 8px 24px #8a64f01c}
#categories .visual-card:hover .category-media img{transform:scale(1.025);filter:none}
@media(max-width:900px){#categories .visual-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(max-width:520px){#categories .visual-categories{gap:10px}#categories .visual-card .category-body{padding:12px}#categories .visual-card h3{font-size:18px}#categories .visual-card p{font-size:12px}#categories .visual-card .category-go{font-size:12px}}
@media(max-width:330px){#categories .visual-categories{grid-template-columns:1fr}}

/* Home hero: make the transparent WorldV emblem the focal point. */
.has-custom-logo .hero-art{height:350px;min-width:0;grid-template-columns:minmax(0,1fr);background:radial-gradient(ellipse at center,#40305d 0%,#242438 38%,transparent 73%)}
.has-custom-logo .hero-art img{width:min(340px,88%);height:auto;max-width:88%;max-height:310px;object-fit:contain;transform:translateY(-12px);filter:drop-shadow(0 0 24px #8f53f14d)}
.has-custom-logo .hero-art span{bottom:12px;white-space:nowrap}
.has-custom-logo .hero-art .r1{width:250px;height:250px}
.has-custom-logo .hero-art .r2{width:320px;height:320px}
.has-custom-logo .hero-art .r3{width:390px;height:390px}
@media(max-width:980px){.has-custom-logo .hero-art{height:300px}.has-custom-logo .hero-art img{width:min(280px,88%);max-height:260px}}
@media(max-width:640px){.has-custom-logo .hero-art{height:260px}.has-custom-logo .hero-art img{width:min(245px,88%);max-height:225px;transform:translateY(-9px)}.has-custom-logo .hero-art span{bottom:8px;font-size:9px}.has-custom-logo .hero-art .r1{width:180px;height:180px}.has-custom-logo .hero-art .r2{width:240px;height:240px}.has-custom-logo .hero-art .r3{width:300px;height:300px}}
