/* MP3CHANGER — premium categorized landing page, additive (original premium-home.css preserved). */
:root{--cat-border:rgba(161,215,222,.2)}
html{scroll-padding-top:105px}
.sitebar{z-index:30}
.site-actions{gap:9px}.site-actions .catalog-link{border:1px solid rgba(120,226,204,.45);background:#123c48;color:#c8fff1}
.hero--catalog{min-height:385px;grid-template-columns:1.05fr .95fr}
.hero--catalog .hero-copy{padding:clamp(28px,4.3vw,62px)}
.hero--catalog h1{max-width:620px}
.hero--catalog .hero-visual:after{background:linear-gradient(90deg,#112c3f 0%,transparent 44%),linear-gradient(0deg,#071523bb,transparent)}
.category-hub{margin-top:32px;padding:26px;border:1px solid var(--cat-border);border-radius:25px;background:linear-gradient(120deg,#102e41,#0d2233);box-shadow:0 22px 55px #0002}
.category-hub-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.category-hub-heading h2{font:800 clamp(23px,3vw,31px)/1.15 Manrope,Arial,sans-serif;margin:0 0 7px;letter-spacing:-.6px}
.category-hub-heading p{color:var(--muted);margin:0;font-size:14px;line-height:1.6}
.category-search-wrap{position:relative;flex:0 1 390px;min-width:240px}
.category-search-wrap input{border:1px solid #517c8a;color:#f3fffd;background:#091e2e;width:100%;min-height:51px;border-radius:13px;padding:13px 44px 13px 45px;font-size:15px}
.category-search-wrap input::placeholder{color:#a2bcca}.category-search-wrap::before{content:'⌕';position:absolute;left:15px;top:4px;color:#7dddcf;font-size:30px}
#clear-search{position:absolute;right:10px;top:9px;background:#1b4855;color:#e8fff9;border:1px solid #477883;border-radius:8px;min-height:32px;min-width:32px;cursor:pointer}
#clear-search[hidden]{display:none}
.category-navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:23px}
.category-tile{position:relative;display:flex;align-items:center;gap:13px;padding:18px;border:1px solid #40667a;background:linear-gradient(135deg,#193e53,#0b2638);border-radius:17px;min-width:0;transition:transform .2s ease,background .2s ease,border-color .2s ease}
.category-tile:hover{transform:translateY(-3px);border-color:var(--accent);background:#1e4857}
.category-tile-icon{flex:0 0 48px;width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:rgba(99,235,214,.12);color:#98fff1;font-size:26px}
.category-tile-title{display:block;font-size:17px;font-weight:900;line-height:1.15}
.category-tile-count{display:block;color:#b7cbd6;font-size:12px;margin-top:3px}
.category-tile-arrow{margin-left:auto;color:#8af4e3;font-size:18px}
.category-section{margin-top:42px;scroll-margin-top:115px}
.category-section-heading{display:flex;align-items:center;justify-content:space-between;gap:17px;margin:0 0 17px;padding:20px 23px;background:linear-gradient(100deg,#173a4a,#0a2334);border:1px solid var(--cat-border);border-radius:18px;position:relative;overflow:hidden}
.category-section-heading::before{content:'';position:absolute;inset:0 auto 0 0;width:4px;background:var(--accent)}
.category-section-heading-copy{display:flex;align-items:center;gap:15px}
.category-section-heading-icon{flex:none;width:52px;height:52px;display:grid;place-items:center;border-radius:15px;font-size:25px;background:#1f4e57;color:#b6ffee}
.category-section-heading h2{font:800 clamp(23px,2.4vw,30px)/1.15 Manrope,Arial,sans-serif;margin:0 0 6px}
.category-section-heading p{font-size:13px;color:#c1d6df;line-height:1.5;margin:0}
.category-section-heading .section-count{font-size:12px;font-weight:800;color:#c8fdf1;background:#1b4851;border:1px solid #527982;padding:8px 12px;border-radius:999px;white-space:nowrap}
.category-section .tool-grid{gap:15px}
.category-section .tool-card{min-height:258px;border-radius:18px;box-shadow:0 12px 34px #00000026}
.category-section .tool-art{height:108px}
.category-section .tool-icon{width:42px;height:42px;font-size:22px;bottom:10px;left:13px;border-radius:12px}
.category-section .tool-body{padding:18px;gap:8px}
.category-section .tool-body h3{font-size:18px;line-height:1.34;letter-spacing:-.4px}
.category-section .tool-body p{font-size:14px;line-height:1.55}
.category-section .tool-go{margin-top:4px;font-size:14px}
.category-section .tool-card[hidden]{display:none}
.category-section[hidden]{display:none}
.category-section .tool-card:hover{border-color:#53cbbb;box-shadow:0 18px 42px #04141d88}
.category-section--video .category-section-heading::before{background:#60c5f2}
.category-section--video .category-section-heading-icon{color:#a8dfff;background:#1b415b}
.category-section--image .category-section-heading::before{background:#76ebba}
.category-section--pdf .category-section-heading::before{background:#f0c791}
.category-section--pdf .category-section-heading-icon{color:#ffe0b1;background:#4a382e}
.category-section--audio .category-section-heading::before{background:#bb9ff8}
.category-section--audio .category-section-heading-icon{color:#dec5ff;background:#3c3555}
.category-section .tool-art--image{background:linear-gradient(125deg,#183b40,#245b52)}
.category-section .tool-art--pdf{background:linear-gradient(135deg,#443a37,#233e4d)}
.category-section .tool-art--audio{background:linear-gradient(135deg,#353857,#224553)}
#category-no-results{margin-top:22px;text-align:center;padding:30px 20px;border:1px dashed #5b8390;border-radius:18px;background:#0c2837;color:#d1eaf0}
#category-no-results[hidden]{display:none}
.category-special-link{display:inline-flex;align-items:center;gap:7px;border:1px solid #56707f;color:#b6faf0;padding:9px 13px;border-radius:10px;font-size:13px;font-weight:700;transition:border-color .2s ease}
.category-special-link:hover{border-color:var(--accent)}
.catalog-endnote{margin:30px 0 4px;text-align:center;color:#9cbbc9;font-size:13px;line-height:1.6}
@media(max-width:1030px){.category-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}.category-hub{padding:20px}}
@media(max-width:680px){html{scroll-padding-top:90px}.hero--catalog{min-height:0}.category-hub{padding:17px;margin-top:22px}.category-hub-heading{display:block}.category-search-wrap{margin-top:16px;min-width:0}.category-navigation{gap:9px}.category-tile{padding:12px;gap:8px}.category-tile-icon{flex-basis:36px;width:36px;height:36px;border-radius:10px;font-size:20px}.category-tile-title{font-size:14px}.category-tile-count{font-size:11px}.category-tile-arrow{display:none}.category-section{margin-top:28px}.category-section-heading{padding:14px;gap:8px}.category-section-heading-icon{width:40px;height:40px;font-size:21px}.category-section-heading h2{font-size:22px}.category-section-heading p{font-size:12px}.category-section-heading .section-count{font-size:11px;padding:6px 8px}.category-section .tool-card{min-height:0}.category-section .tool-art{height:110px}.category-section .tool-body{padding:17px}.category-section .tool-body h3{font-size:19px}.category-section .tool-body p{font-size:14px}}
@media(max-width:380px){.category-tile{padding:9px 7px}.category-tile-icon{display:none}.category-section-heading-icon{display:none}.category-section-heading h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.category-tile{transition:none}.category-tile:hover{transform:none}}

/* FINAL RESPONSIVE ROOT-CAUSE FIX: original .hero @max900 rule lost to .hero--catalog specificity. */
@media(max-width:900px){.hero.hero--catalog{grid-template-columns:minmax(0,1fr)}.hero.hero--catalog .hero-copy{padding:clamp(22px,5vw,36px)}.hero.hero--catalog .hero-visual{min-height:220px;height:220px}.hero.hero--catalog .hero-copy h1{max-width:100%}}
@media(max-width:620px){.hero.hero--catalog{display:flex;flex-direction:column;min-height:0}.hero.hero--catalog .hero-copy{padding:26px 23px}.hero.hero--catalog .hero-copy .eyebrow{font-size:11px;letter-spacing:1.6px;margin-bottom:13px;line-height:1.5}.hero.hero--catalog .hero-copy h1{font-size:clamp(30px,8vw,38px);line-height:1.13;letter-spacing:-1.2px;margin-bottom:18px}.hero.hero--catalog .hero-copy p:not(.eyebrow){font-size:15px;line-height:1.6;margin-bottom:21px}.hero.hero--catalog .hero-copy .btn-main{font-size:14px;min-height:48px;padding:12px 18px}.hero.hero--catalog .hero-visual{width:100%;min-height:148px;height:148px;flex:none}.hero.hero--catalog .hero-visual img{object-position:center 45%}.category-hub{margin-top:20px}}

/* TikTok category: five distinct tiles across a balanced premium navigation. */
@media(min-width:1031px){.category-navigation{grid-template-columns:repeat(3,minmax(0,1fr))}}
.category-section--tiktok .category-section-heading::before{background:#fe6d9b}.category-section--tiktok .category-section-heading-icon{color:#ffc7db;background:#4b2843}


/* Distinct original TikTok utility card artwork; no repeated unrelated stock photo. */
.tool-card[href^="tiktok-"]:not([href="tiktok-video-maker.html"]) .tool-art{
 background:radial-gradient(circle at 78% 38%,#5debd230 0 21%,transparent 22%),linear-gradient(123deg,#193b59,#0a1f36);
}
.tool-card[href="tiktok-hook-cover.html"] .tool-art{background:radial-gradient(circle at 80% 38%,#ff8f9c4d 0 22%,transparent 23%),linear-gradient(128deg,#49354f,#10243c)}
.tool-card[href="tiktok-caption-formatter.html"] .tool-art{background:radial-gradient(circle at 80% 38%,#c49bff44 0 22%,transparent 23%),linear-gradient(128deg,#353654,#10243c)}
.tool-card[href="tiktok-profile-grid.html"] .tool-art{background:radial-gradient(circle at 80% 38%,#7abdff40 0 22%,transparent 23%),linear-gradient(128deg,#253c63,#10243c)}
.tool-card[href^="tiktok-"]:not([href="tiktok-video-maker.html"]) .tool-art img{display:none}
.tool-card[href^="tiktok-"]:not([href="tiktok-video-maker.html"]) .tool-art:before{
 content:"";position:absolute;left:43%;top:18%;width:34%;height:64%;border:2px solid #b3e6ff66;border-radius:12px;transform:rotate(-9deg);box-shadow:inset 0 0 30px #5ae5db0d
}


/* Licensed distinct photographs — override old TikTok placeholder art rules. */
.tool-card[href^="tiktok-"] .tool-art img{display:block!important;object-fit:cover}
.tool-card[href^="tiktok-"] .tool-art:before{display:none!important}
.tool-card .tool-art img{object-fit:cover;object-position:center;aspect-ratio:800/420}
