/* ===== id_eeat Template — Indonesian Gaming Company E-E-A-T ===== */
/* Design: Dark navy + gold accent, professional, trustworthy */

/* Reset */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:'Inter',system-ui,-apple-system,sans-serif;background:#0a0e1a;color:#e8eaed;line-height:1.6;font-size:16px;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none;transition:color .2s}
a:hover{color:#f0b90b}
ul,ol{list-style:none}
button{cursor:pointer;font-family:inherit;border:none;background:none}
input,textarea{font-family:inherit;font-size:inherit}

/* Container */
.container{max-width:1200px;margin:0 auto;padding:0 16px}

/* Typography */
h1,h2,h3,h4,h5{font-family:'Plus Jakarta Sans',system-ui,sans-serif;font-weight:700;line-height:1.3;color:#fff}
h1{font-size:2rem;margin-bottom:.5em}
h2{font-size:1.5rem;margin-bottom:.6em}
h3{font-size:1.2rem;margin-bottom:.5em}
p{margin-bottom:1em}
.text-muted{color:#8b9bb4}
.text-gold{color:#f0b90b}
.text-center{text-align:center}

/* Header */
.header{position:sticky;top:0;z-index:100;background:rgba(10,14,26,.92);backdrop-filter:blur(12px);border-bottom:1px solid #1e2a3a}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.header-logo{display:flex;align-items:center;gap:8px}
.header-logo img{height:36px;width:auto}
.header-nav{display:flex;align-items:center;gap:24px}
.header-nav a{font-size:.9rem;color:#b0bccc;font-weight:500;position:relative;padding:4px 0}
.header-nav a:hover,.header-nav a.active{color:#f0b90b}
.header-nav a.active::after{content:'';position:absolute;bottom:-4px;left:0;right:0;height:2px;background:#f0b90b;border-radius:2px}
.header-cta{display:flex;align-items:center;gap:12px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 20px;border-radius:8px;font-size:.875rem;font-weight:600;transition:all .2s;white-space:nowrap}
.btn-primary{background:#f0b90b;color:#0a0e1a}
.btn-primary:hover{background:#fcd535;color:#0a0e1a}
.btn-outline{border:1px solid #2a3a4e;color:#e8eaed}
.btn-outline:hover{border-color:#f0b90b;color:#f0b90b}
.btn-lg{padding:12px 32px;font-size:1rem}

/* Mobile menu toggle */
.menu-toggle{display:none;font-size:1.5rem;color:#e8eaed;padding:4px 8px}

/* Hero */
.hero{padding:48px 0 32px;text-align:center;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:-50%;left:50%;transform:translateX(-50%);width:800px;height:400px;background:radial-gradient(ellipse,rgba(240,185,11,.08) 0%,transparent 70%);pointer-events:none}
.hero h1{font-size:2.2rem;max-width:800px;margin:0 auto .3em}
.hero p{font-size:1.05rem;color:#8b9bb4;max-width:600px;margin:0 auto 1.5em}
.hero-badges{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:16px}
.badge{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:20px;font-size:.8rem;font-weight:600}
.badge-gold{background:rgba(240,185,11,.12);color:#f0b90b;border:1px solid rgba(240,185,11,.25)}
.badge-green{background:rgba(0,212,170,.12);color:#00d4aa;border:1px solid rgba(0,212,170,.25)}
.badge-blue{background:rgba(88,147,255,.12);color:#5893ff;border:1px solid rgba(88,147,255,.25)}

/* Section */
.section{padding:48px 0}
.section-header{text-align:center;margin-bottom:32px}
.section-header h2{font-size:1.6rem}
.section-header p{color:#8b9bb4;font-size:.95rem}
.section-header .badge{margin-bottom:12px}

/* Card Grid */
.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}
.card-grid.cols-4{grid-template-columns:repeat(4,1fr)}
.card-grid.cols-5{grid-template-columns:repeat(5,1fr)}

/* App/Game Card */
.app-card{background:#141b2d;border:1px solid #1e2a3a;border-radius:12px;padding:16px;text-align:center;transition:all .2s;display:block}
.app-card:hover{background:#1a2640;border-color:#2a3a4e;transform:translateY(-2px)}
.app-card-img{width:64px;height:64px;border-radius:14px;margin:0 auto 10px;object-fit:cover;background:#1e2a3a}
.app-card-name{font-size:.85rem;font-weight:600;color:#e8eaed;margin-bottom:2px}
.app-card-cat{font-size:.75rem;color:#8b9bb4}
.app-card-rating{font-size:.7rem;color:#f0b90b;margin-top:4px}
.app-card-meta{display:flex;justify-content:center;gap:8px;margin-top:6px;font-size:.7rem;color:#8b9bb4}

/* Compact logo list (archive items) */
.compact-logo-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}
.compact-logo-item{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 8px;background:#141b2d;border:1px solid #1e2a3a;border-radius:10px;transition:all .2s}
.compact-logo-item:hover{background:#1a2640;border-color:#f0b90b}
.compact-logo-img{width:48px;height:48px;border-radius:10px;object-fit:cover;background:#1e2a3a}
.compact-logo-name{font-size:.8rem;font-weight:600;color:#e8eaed}

/* Trust Section (E-E-A-T) */
.trust-section{background:#0d1320;border-top:1px solid #1e2a3a;border-bottom:1px solid #1e2a3a;padding:40px 0}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.trust-item{text-align:center}
.trust-icon{width:48px;height:48px;margin:0 auto 10px;display:flex;align-items:center;justify-content:center;font-size:1.4rem;background:rgba(240,185,11,.1);border-radius:12px}
.trust-title{font-size:.9rem;font-weight:700;color:#fff;margin-bottom:4px}
.trust-desc{font-size:.8rem;color:#8b9bb4;line-height:1.4}

/* License badges */
.license-badges{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin:24px 0}
.license-badge{display:flex;align-items:center;gap:8px;padding:8px 16px;border:1px solid #1e2a3a;border-radius:8px;font-size:.8rem;color:#8b9bb4}
.license-badge svg{width:16px;height:16px;flex-shrink:0}

/* Breadcrumb */
.breadcrumb{display:flex;align-items:center;gap:8px;font-size:.85rem;color:#8b9bb4;padding:16px 0}
.breadcrumb a{color:#8b9bb4}
.breadcrumb a:hover{color:#f0b90b}
.breadcrumb span{color:#5a6a7e}
.breadcrumb .current{color:#e8eaed}

/* Page Header */
.page-header{padding:32px 0 16px;border-bottom:1px solid #1e2a3a}
.page-header h1{font-size:1.8rem;margin-bottom:.3em}
.page-header p{color:#8b9bb4;font-size:.95rem;max-width:700px}

/* FAQ Accordion */
.faq-list{max-width:800px;margin:0 auto}
.faq-item{border:1px solid #1e2a3a;border-radius:10px;margin-bottom:12px;overflow:hidden;background:#141b2d}
.faq-q{width:100%;text-align:left;padding:16px 20px;font-size:.95rem;font-weight:600;color:#e8eaed;display:flex;justify-content:space-between;align-items:center;gap:12px}
.faq-q::after{content:'+';font-size:1.2rem;color:#f0b90b;flex-shrink:0;transition:transform .2s}
.faq-item.open .faq-q::after{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease;padding:0 20px}
.faq-item.open .faq-a{max-height:500px;padding-bottom:16px}
.faq-a p{color:#8b9bb4;font-size:.9rem;line-height:1.6}

/* Content prose */
.prose{max-width:800px;margin:0 auto;line-height:1.7}
.prose h2{font-size:1.4rem;margin:1.5em 0 .6em;color:#fff}
.prose h3{font-size:1.15rem;margin:1.2em 0 .5em;color:#f0b90b}
.prose p{color:#b0bccc;margin-bottom:1em}
.prose ul,.prose ol{margin-bottom:1em;padding-left:1.5em}
.prose li{margin-bottom:.5em;color:#b0bccc}
.prose ul li{list-style:disc}
.prose ol li{list-style:decimal}
.prose strong{color:#fff}
.prose a{color:#f0b90b;text-decoration:underline}
.prose img{border-radius:10px;margin:1em auto;border:1px solid #1e2a3a}
.prose blockquote{border-left:3px solid #f0b90b;padding:8px 16px;margin:1em 0;background:#141b2d;border-radius:0 8px 8px 0}
.prose blockquote p{margin-bottom:0;color:#e8eaed}
.prose code{background:#141b2d;padding:2px 6px;border-radius:4px;font-size:.85em;color:#f0b90b}
.prose table{width:100%;border-collapse:collapse;margin:1em 0}
.prose th,.prose td{border:1px solid #1e2a3a;padding:8px 12px;text-align:left;font-size:.9rem}
.prose th{background:#141b2d;color:#fff}
.prose td{color:#b0bccc}

/* Steps (installation guide) */
.steps{counter-reset:step;max-width:800px;margin:0 auto}
.step{display:flex;gap:16px;margin-bottom:24px;position:relative}
.step-num{counter-increment:step;flex-shrink:0;width:40px;height:40px;border-radius:50%;background:rgba(240,185,11,.1);border:2px solid #f0b90b;display:flex;align-items:center;justify-content:center;font-weight:700;color:#f0b90b;font-size:1.1rem}
.step-num::before{content:counter(step)}
.step-body{flex:1}
.step-body h3{font-size:1.1rem;margin-bottom:.3em;color:#fff}
.step-body p{color:#8b9bb4;font-size:.9rem}

/* Footer */
.footer{background:#060911;border-top:1px solid #1e2a3a;padding:40px 0 20px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;margin-bottom:32px}
.footer-brand p{color:#8b9bb4;font-size:.85rem;margin-top:8px;max-width:300px}
.footer-col h4{font-size:.85rem;font-weight:700;color:#fff;margin-bottom:12px;text-transform:uppercase;letter-spacing:.05em}
.footer-col a{display:block;font-size:.85rem;color:#8b9bb4;padding:4px 0}
.footer-col a:hover{color:#f0b90b}
.footer-col .footer-text{display:block;font-size:.85rem;color:#8b9bb4;padding:4px 0}
.footer-bottom{border-top:1px solid #1e2a3a;padding-top:20px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
.about-map{margin:24px 0;border-radius:12px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.3)}
.footer-bottom p{font-size:.8rem;color:#5a6a7e;margin:0}

.footer-warning{background:rgba(246,70,93,.08);border:1px solid rgba(246,70,93,.2);border-radius:8px;padding:12px 16px;margin:16px 0;font-size:.8rem;color:#f6465d;line-height:1.5}
.footer-warning strong{color:#f6465d}

/* Detail page — App/Game */
.detail-hero{display:flex;gap:24px;align-items:flex-start;padding:32px 0;border-bottom:1px solid #1e2a3a}
.detail-icon{width:96px;height:96px;border-radius:20px;flex-shrink:0;object-fit:cover;background:#1e2a3a}
.detail-info{flex:1}
.detail-info h1{font-size:1.6rem;margin-bottom:.2em}
.detail-meta{display:flex;flex-wrap:wrap;gap:12px;font-size:.85rem;color:#8b9bb4;margin-bottom:12px}
.detail-meta span{display:inline-flex;align-items:center;gap:4px}
.detail-actions{display:flex;gap:12px;flex-wrap:wrap}

.detail-body{display:grid;grid-template-columns:1fr 320px;gap:32px;padding:32px 0}
.detail-heading{font-size:1.05rem;font-weight:700;color:#fff;margin:20px 0 12px}
.detail-heading:first-child{margin-top:0}
.detail-main{min-width:0}
.detail-sidebar{display:flex;flex-direction:column;gap:16px}
.info-box{background:#141b2d;border:1px solid #1e2a3a;border-radius:12px;padding:20px}
.info-box h3{font-size:.95rem;margin-bottom:12px;color:#fff}
.info-row{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #1e2a3a;font-size:.85rem}
.info-row:last-child{border-bottom:none}
.info-row .label{color:#8b9bb4}
.info-row .val{color:#e8eaed;font-weight:500}

/* Screenshots */
.screenshots{display:flex;gap:12px;overflow-x:auto;padding:8px 0;scroll-snap-type:x mandatory}
.screenshots img{width:200px;height:auto;border-radius:8px;flex-shrink:0;scroll-snap-align:start;border:1px solid #1e2a3a}

/* Related items */
.related{padding:32px 0;border-top:1px solid #1e2a3a}
.related h2{font-size:1.3rem;margin-bottom:20px}

/* Search box */
.search-box{position:relative;max-width:400px;margin:0 auto}
.search-box input{width:100%;padding:10px 16px 10px 40px;border-radius:10px;border:1px solid #2a3a4e;background:#141b2d;color:#e8eaed;font-size:.9rem}
.search-box input::placeholder{color:#5a6a7e}
.search-box input:focus{outline:none;border-color:#f0b90b}
.search-box::before{content:'⌕';position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#5a6a7e;font-size:1.1rem}

/* Tabs */
.tabs{display:flex;gap:4px;border-bottom:2px solid #1e2a3a;margin-bottom:20px}
.tab{padding:8px 16px;font-size:.9rem;font-weight:600;color:#8b9bb4;border-bottom:2px solid transparent;margin-bottom:-2px;transition:all .2s}
.tab.active{color:#f0b90b;border-bottom-color:#f0b90b}

/* Responsive */
@media(max-width:1024px){
  .card-grid.cols-5{grid-template-columns:repeat(4,1fr)}
  .trust-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr;gap:20px}
  .detail-body{grid-template-columns:1fr}
  .detail-sidebar{order:-1}
}
@media(max-width:768px){
  .header-nav{display:none;position:fixed;top:64px;left:0;right:0;bottom:0;background:#0a0e1a;flex-direction:column;align-items:flex-start;padding:24px;gap:16px;z-index:99}
  .header-nav.open{display:flex}
  .header-nav a{font-size:1.1rem;width:100%;padding:8px 0;border-bottom:1px solid #1e2a3a}
  .menu-toggle{display:block}
  .header-cta .btn-outline{display:none}
  .card-grid,.card-grid.cols-4,.card-grid.cols-5{grid-template-columns:repeat(3,1fr)}
  .hero h1{font-size:1.6rem}
  .hero p{font-size:.95rem}
  .detail-hero{flex-direction:column;align-items:center;text-align:center}
  .detail-meta{justify-content:center}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;text-align:center}
  .compact-logo-list{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:480px){
  .card-grid,.card-grid.cols-4,.card-grid.cols-5{grid-template-columns:repeat(2,1fr)}
  .compact-logo-list{grid-template-columns:repeat(2,1fr)}
  .hero h1{font-size:1.4rem}
  .section{padding:32px 0}
  .trust-grid{grid-template-columns:1fr}
}

/* Utilities */
.mt-2{margin-top:1rem}.mt-4{margin-top:2rem}.mb-2{margin-bottom:1rem}.mb-4{margin-bottom:2rem}
.d-flex{display:flex}.align-center{align-items:center}.justify-center{justify-content:center}
.gap-2{gap:.5rem}.gap-4{gap:1rem}
.flex-wrap{flex-wrap:wrap}
.hide{display:none}
.rounded{border-radius:8px}
.overflow-hidden{overflow:hidden}

/* Screenshots — 桌面4列网格 / 移动端横向滑动 */
.screenshot-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.screenshot-item{border-radius:10px;overflow:hidden;background:#1e2a3a;box-shadow:0 2px 8px rgba(0,0,0,.25);cursor:pointer;transition:transform .15s}
.screenshot-item:hover{transform:translateY(-2px)}
.screenshot-item img{display:block;width:100%;aspect-ratio:9/16;object-fit:cover;object-position:top}
@media(max-width:768px){
  .screenshot-strip{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:6px;scrollbar-width:none}
  .screenshot-strip::-webkit-scrollbar{display:none}
  .screenshot-item{flex:0 0 160px;scroll-snap-align:start}
  .screenshot-item:hover{transform:none}
}

/* WordPress / entry-content compat */
.site-main{display:block}
.entry-header .entry-title{margin:0}
.entry-content{overflow-wrap:break-word}
.entry-content .prose p{margin-bottom:1em}
.entry-content .prose h2,.entry-content .prose h3,.entry-content .prose h4{margin:1.25em 0 .6em}
.entry-meta{opacity:.85}
.entry-footer{opacity:.75}
.site-info a{color:inherit;text-decoration:underline}
.prose.is-layout-constrained{max-width:800px;margin-left:auto;margin-right:auto}
.wp-block-template-part{display:block}
.wp-block-list{padding-left:1.25em;margin:0.75em 0}
.yoast-breadcrumb,.breadcrumb{font-size:.85rem;opacity:.85;margin:12px 0}
.posted-on,.byline,.cat-links{margin-right:.5rem}
