/* ============================================================
   MyGadgetReviewer — Self-hosted utility CSS
   Replaces Tailwind CDN. Hand-curated. ~12KB gzipped.
   ============================================================ */

/* ---------- RESET ---------- */
*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e4e4e7}
html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:'Inter',system-ui,sans-serif}
body{margin:0;background:#050508;color:#e4e4e7;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,h5,h6,p{margin:0}
img,svg{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;background:transparent;border:0;color:inherit}
table{border-collapse:collapse;width:100%}
details>summary{list-style:none;cursor:pointer}
details>summary::-webkit-details-marker{display:none}

/* ---------- LAYOUT ---------- */
.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.container{width:100%;margin-left:auto;margin-right:auto}
.mx-auto{margin-left:auto;margin-right:auto}
.mx-0{margin-left:0;margin-right:0}
.px-4{padding-left:1rem;padding-right:1rem}
.p-2{padding:.5rem}
.p-3{padding:.75rem}
.p-4{padding:1rem}
.p-6{padding:1.5rem}
.py-1{padding-top:.25rem;padding-bottom:.25rem}
.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}
.py-2{padding-top:.5rem;padding-bottom:.5rem}
.py-3{padding-top:.75rem;padding-bottom:.75rem}
.py-4{padding-top:1rem;padding-bottom:1rem}
.px-2{padding-left:.5rem;padding-right:.5rem}
.px-3{padding-left:.75rem;padding-right:.75rem}
.px-8{padding-left:2rem;padding-right:2rem}
.pt-6{padding-top:1.5rem}
.pt-16{padding-top:4rem}
.pt-20{padding-top:5rem}
.pb-4{padding-bottom:1rem}
.pb-16{padding-bottom:4rem}
.-mt-40{margin-top:-10rem}
.mt-1{margin-top:.25rem}
.mt-2{margin-top:.5rem}
.mt-3{margin-top:.75rem}
.mt-4{margin-top:1rem}
.mt-6{margin-top:1.5rem}
.mb-2{margin-bottom:.5rem}
.mb-3{margin-bottom:.75rem}
.mb-4{margin-bottom:1rem}
.mb-8{margin-bottom:2rem}
.ml-0{margin-left:0}
.mr-0{margin-right:0}

/* ---------- FLEX / GRID ---------- */
.flex{display:flex}
.inline-flex{display:inline-flex}
.flex-1{flex:1 1 0%}
.flex-col{flex-direction:column}
.flex-wrap{flex-wrap:wrap}
.items-center{align-items:center}
.items-start{align-items:flex-start}
.justify-center{justify-content:center}
.justify-between{justify-content:space-between}
.justify-start{justify-content:flex-start}
.gap-2{gap:.5rem}
.gap-3{gap:.75rem}
.gap-6{gap:1.5rem}
.gap-8{gap:2rem}
.grid{display:grid}
.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}
.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.space-y-2>*+*{margin-top:.5rem}
.space-y-3>*+*{margin-top:.75rem}
.space-y-4>*+*{margin-top:1rem}
.space-y-6>*+*{margin-top:1.5rem}
.space-y-8>*+*{margin-top:2rem}
.hidden{display:none}
.fixed{position:fixed}
.absolute{position:absolute}
.relative{position:relative}
.inset-0{top:0;right:0;bottom:0;left:0}
.top-6{top:1.5rem}
.right-6{right:1.5rem}
.z-10{z-index:10}
.z-\[100\]{z-index:100}

/* ---------- SIZING ---------- */
.w-full{width:100%}
.w-5{width:1.25rem}
.w-12{width:3rem}
.w-14{width:3.5rem}
.w-16{width:4rem}
.w-48{width:12rem}
.w-56{width:14rem}
.h-5{height:1.25rem}
.h-14{height:3.5rem}
.h-16{height:4rem}
.h-full{height:100%}
.h-\[50vh\]{height:50vh}
.min-h-\[400px\]{min-height:400px}
.min-h-screen{min-height:100vh}
.max-w-2xl{max-width:42rem}
.max-w-7xl{max-width:80rem}
.max-w-full{max-width:100%}
.max-h-\[90vh\]{max-height:90vh}
.max-w-\[100\%\]{max-width:100%}

/* ---------- COLORS ---------- */
.bg-primary{background-color:#f59e0b}
.bg-black\/95{background-color:rgba(0,0,0,.95)}
.bg-white\/5{background-color:rgba(255,255,255,.05)}
.bg-amber-500{background-color:#f59e0b}
.bg-amber-500\/20{background-color:rgba(245,158,11,.2)}
.bg-emerald-500\/10{background-color:rgba(16,185,129,.1)}
.bg-zinc-800{background-color:#27272a}
.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops,transparent,transparent))}
.from-zinc-900{--tw-gradient-from:#18181b;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,transparent)}
.via-zinc-950{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-from),#09090b,var(--tw-gradient-to,transparent)}
.to-black{--tw-gradient-to:#000}
.text-black{color:#000}
.text-white{color:#fff}
.text-red-500{color:#ef4444}
.text-zinc-300{color:#d4d4d8}
.text-zinc-400{color:#a1a1aa}
.text-zinc-500{color:#71717a}
.text-amber-400{color:#fbbf24}
.text-emerald-400{color:#34d399}
.border{border-width:1px}
.border-2{border-width:2px}
.border-b{border-bottom-width:1px}
.border-t{border-top-width:1px}
.border-white\/5{border-color:rgba(255,255,255,.05)}
.border-white\/10{border-color:rgba(255,255,255,.1)}
.border-amber-500\/40{border-color:rgba(245,158,11,.4)}
.border-emerald-500\/20{border-color:rgba(16,185,129,.2)}

/* ---------- TYPOGRAPHY ---------- */
.text-xs{font-size:.75rem;line-height:1rem}
.text-sm{font-size:.875rem;line-height:1.25rem}
.text-lg{font-size:1.125rem;line-height:1.75rem}
.text-xl{font-size:1.25rem;line-height:1.75rem}
.text-3xl{font-size:1.875rem;line-height:2.25rem}
.text-4xl{font-size:2.25rem;line-height:2.5rem}
.text-6xl{font-size:3.75rem;line-height:1}
.text-7xl{font-size:4.5rem;line-height:1}
.font-medium{font-weight:500}
.font-semibold{font-weight:600}
.font-bold{font-weight:700}
.font-extrabold{font-weight:800}
.text-left{text-align:left}
.text-center{text-align:center}
.text-right{text-align:right}
.uppercase{text-transform:uppercase}
.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.leading-relaxed{line-height:1.625}

/* ---------- BORDERS / RADIUS ---------- */
.rounded-lg{border-radius:.5rem}
.rounded-xl{border-radius:.75rem}
.rounded-2xl{border-radius:1rem}
.rounded-full{border-radius:9999px}
.shadow-2xl{box-shadow:0 25px 50px -12px rgba(0,0,0,.25)}

/* ---------- EFFECTS ---------- */
.opacity-0{opacity:0}
.transition{transition:color .15s,background-color .15s,border-color .15s,transform .15s,box-shadow .15s}
.transition-all{transition:all .3s}

/* ---------- OVERFLOW ---------- */
.overflow-hidden{overflow:hidden}
.overflow-x-auto{overflow-x:auto}
.object-cover{object-fit:cover}

/* ---------- CUSTOM (kept from original) ---------- */
.glass{background:rgba(24,24,27,.8);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.08)}
.text-gradient{background:linear-gradient(135deg,#fbbf24,#f59e0b,#d97706);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.hero-overlay{background:linear-gradient(to top,#050508,rgba(5,5,8,.7) 40%,rgba(5,5,8,.3))}
.ad-slot{background:rgba(255,255,255,.02);border:2px dashed rgba(255,255,255,.1);border-radius:1rem;min-height:250px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.section-title{font-size:1.25rem;font-weight:800;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}
.small-banner-card{width:100%;border-radius:.75rem;overflow:hidden;border:1px solid rgba(255,255,255,.1);transition:all .3s;background:#0a0a0f}
.small-banner-card:hover{border-color:rgba(245,158,11,.5);transform:translateY(-2px)}
.small-banner-card img{width:100%;height:auto;display:block;object-fit:contain}
.aspect-video{aspect-ratio:16/9;width:100%}
.aspect-video iframe{width:100%;height:100%;border:0}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar{width:6px}
::-webkit-scrollbar-track{background:#050508}
::-webkit-scrollbar-thumb{background:#3f3f46;border-radius:3px}

/* ---------- RESPONSIVE: md (768px) ---------- */
@media (min-width:768px){
  .md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .md\:flex-row{flex-direction:row}
  .md\:text-left{text-align:left}
  .md\:mx-0{margin-left:0;margin-right:0}
  .md\:pt-16{padding-top:4rem}
  .md\:text-6xl{font-size:3.75rem;line-height:1}
  .md\:w-56{width:14rem}
  .md\:justify-start{justify-content:flex-start}
}

/* ---------- RESPONSIVE: lg (1024px) ---------- */
@media (min-width:1024px){
  .lg\:grid-cols-\[1fr_340px\]{grid-template-columns:1fr 340px}
}

/* ---------- HOVER STATES ---------- */
.hover\:bg-white\/5:hover{background-color:rgba(255,255,255,.05)}
.hover\:bg-amber-500:hover{background-color:#f59e0b}
.hover\:text-black:hover{color:#000}


/* Additions for genre.php */
.aspect-\[3\/4\]{aspect-ratio:3/4}
.line-clamp-1{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.sm\:grid-cols-2{}
.xl\:grid-cols-4{}
@media (min-width:640px){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1280px){.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}
.bg-primary\/10{background-color:rgba(251,191,36,.1)}
.text-primary{color:#fbbf24}
.border-primary\/30{border-color:rgba(251,191,36,.3)}