/* ===== RESET & BASE ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Poppins',sans-serif;background:#0d0120;color:#e8e0f0;line-height:1.7;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:#FFD700;text-decoration:none;transition:color .3s}
a:hover{color:#FF6B00}
ul{list-style:none}

/* ===== VARIABLES ===== */
:root{
  --gold:#FFD700;
  --orange:#FF6B00;
  --dark:#0d0120;
  --dark2:#1a0530;
  --dark3:#240840;
  --card:#1e0835;
  --border:#3a1560;
  --text:#e8e0f0;
  --text2:#b8a8d0;
  --white:#ffffff;
  --green:#22c55e;
  --red:#ef4444;
  --radius:12px;
  --shadow:0 4px 24px rgba(0,0,0,.5);
  --gold-grad:linear-gradient(135deg,#FFD700,#FF6B00);
}

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4,h5{font-weight:700;line-height:1.3;color:var(--white)}
h1{font-size:clamp(1.8rem,5vw,3rem)}
h2{font-size:clamp(1.4rem,4vw,2.2rem)}
h3{font-size:clamp(1.1rem,3vw,1.6rem)}
h4{font-size:1.1rem}
p{margin-bottom:1rem;color:var(--text2)}
strong{color:var(--white)}

/* ===== CONTAINER ===== */
.container{max-width:1200px;margin:0 auto;padding:0 1rem}
.container-sm{max-width:900px;margin:0 auto;padding:0 1rem}

/* ===== HEADER ===== */
header{background:var(--dark2);border-bottom:2px solid var(--gold);position:sticky;top:0;z-index:999;box-shadow:0 2px 20px rgba(255,215,0,.15)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:.7rem 1rem;gap:1rem}
.logo{display:flex;align-items:center;gap:.6rem;flex-shrink:0}
.logo img{width:44px;height:44px;border-radius:50%;border:2px solid var(--gold)}
.logo-text{display:flex;flex-direction:column;line-height:1.1}
.logo-text .brand{font-size:1.1rem;font-weight:800;background:var(--gold-grad);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.logo-text .tagline{font-size:.65rem;color:var(--text2);display:none}
@media(min-width:480px){.logo-text .tagline{display:block}}

/* NAV */
nav ul{display:flex;gap:.2rem;align-items:center;flex-wrap:wrap}
nav ul li a{color:var(--text);font-size:.82rem;padding:.35rem .55rem;border-radius:6px;transition:all .3s;white-space:nowrap}
nav ul li a:hover,nav ul li a.active{color:var(--gold);background:rgba(255,215,0,.08)}
.nav-download{background:var(--gold-grad)!important;color:#000!important;font-weight:700;padding:.4rem .9rem!important;border-radius:20px!important}
.nav-download:hover{opacity:.9;transform:scale(1.03)}

/* HAMBURGER */
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px;background:none;border:none}
.hamburger span{display:block;width:24px;height:2px;background:var(--gold);border-radius:2px;transition:all .3s}
.hamburger.open span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* MOBILE NAV */
@media(max-width:860px){
  .hamburger{display:flex}
  nav{position:fixed;top:63px;left:0;right:0;background:var(--dark2);border-bottom:2px solid var(--gold);padding:1rem;max-height:0;overflow:hidden;transition:max-height .4s ease,padding .4s ease}
  nav.open{max-height:500px;padding:1rem}
  nav ul{flex-direction:column;align-items:flex-start;gap:.4rem}
  nav ul li{width:100%}
  nav ul li a{display:block;padding:.6rem .8rem;font-size:.9rem;border-radius:8px}
}

/* ===== DOWNLOAD BTN ===== */
.btn-download{
  display:inline-flex;align-items:center;gap:.5rem;
  background:var(--gold-grad);color:#000;font-weight:700;font-size:1rem;
  padding:.8rem 2rem;border-radius:50px;border:none;cursor:pointer;
  transition:transform .3s,box-shadow .3s;box-shadow:0 4px 20px rgba(255,107,0,.4);
  text-decoration:none;
}
.btn-download:hover{transform:translateY(-3px) scale(1.03);box-shadow:0 8px 30px rgba(255,107,0,.6);color:#000}
.btn-download .icon{font-size:1.2rem}
.btn-download.btn-lg{font-size:1.15rem;padding:1rem 2.5rem}
.btn-outline{display:inline-flex;align-items:center;gap:.5rem;background:transparent;color:var(--gold);border:2px solid var(--gold);padding:.7rem 1.8rem;border-radius:50px;font-weight:600;transition:all .3s}
.btn-outline:hover{background:var(--gold);color:#000}

/* ===== HERO ===== */
.hero{background:linear-gradient(135deg,#1a0530 0%,#0d0120 50%,#1a0530 100%);padding:4rem 0 3rem;text-align:center;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 0%,rgba(255,215,0,.08) 0%,transparent 70%)}
.hero-logo{width:100px;height:100px;border-radius:50%;border:3px solid var(--gold);margin:0 auto 1.5rem;box-shadow:0 0 40px rgba(255,215,0,.3)}
.hero h1{margin-bottom:1rem}
.hero h1 span{background:var(--gold-grad);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero p{color:var(--text2);font-size:1.05rem;max-width:600px;margin:0 auto 2rem}
.hero-btns{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-bottom:2rem}
.hero-badges{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}
.badge{display:flex;align-items:center;gap:.4rem;background:rgba(255,255,255,.05);border:1px solid var(--border);border-radius:20px;padding:.3rem .9rem;font-size:.8rem;color:var(--text2)}
.badge .dot{width:8px;height:8px;border-radius:50%;background:var(--green);flex-shrink:0}

/* ===== STATS BAR ===== */
.stats-bar{background:var(--dark3);border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:1.2rem 0}
.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;text-align:center}
@media(min-width:600px){.stats-grid{grid-template-columns:repeat(4,1fr)}}
.stat-item .num{font-size:1.6rem;font-weight:800;background:var(--gold-grad);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.stat-item .label{font-size:.75rem;color:var(--text2)}

/* ===== SECTIONS ===== */
.section{padding:3rem 0}
.section-dark{background:var(--dark2)}
.section-title{text-align:center;margin-bottom:2.5rem}
.section-title h2{margin-bottom:.5rem}
.section-title p{color:var(--text2);max-width:600px;margin:0 auto}

/* ===== CARDS ===== */
.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:transform .3s,box-shadow .3s}
.card:hover{transform:translateY(-4px);box-shadow:0 8px 32px rgba(255,215,0,.12)}
.card-img{width:100%;height:180px;object-fit:cover}
.card-body{padding:1.2rem}
.card-cat{font-size:.72rem;color:var(--orange);font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.4rem}
.card-title{font-size:1rem;font-weight:700;color:var(--white);margin-bottom:.5rem;line-height:1.4}
.card-title a{color:var(--white)}
.card-title a:hover{color:var(--gold)}
.card-excerpt{font-size:.82rem;color:var(--text2);margin-bottom:.8rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-meta{display:flex;align-items:center;justify-content:space-between;font-size:.75rem;color:var(--text2)}
.card-meta .read-more{color:var(--gold);font-weight:600}

/* GRID */
.grid-3{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:600px){.grid-3{grid-template-columns:repeat(2,1fr)}}
@media(min-width:900px){.grid-3{grid-template-columns:repeat(3,1fr)}}
.grid-2{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:700px){.grid-2{grid-template-columns:repeat(2,1fr)}}
.grid-4{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
@media(min-width:900px){.grid-4{grid-template-columns:repeat(4,1fr)}}

/* ===== CATEGORY CARDS ===== */
.cat-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;text-align:center;transition:all .3s}
.cat-card:hover{border-color:var(--gold);transform:translateY(-3px)}
.cat-card .icon{font-size:2.5rem;margin-bottom:.8rem}
.cat-card h3{font-size:1rem;margin-bottom:.4rem}
.cat-card a{color:var(--white)}
.cat-card a:hover{color:var(--gold)}
.cat-card p{font-size:.8rem;color:var(--text2);margin:0}

/* ===== FEATURE BOX ===== */
.feature-box{display:flex;gap:1rem;align-items:flex-start;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:1.2rem;transition:all .3s}
.feature-box:hover{border-color:var(--gold)}
.feature-icon{font-size:2rem;flex-shrink:0}
.feature-box h4{color:var(--white);margin-bottom:.3rem}
.feature-box p{font-size:.83rem;color:var(--text2);margin:0}

/* ===== ARTICLE PAGE ===== */
.page-hero{background:linear-gradient(135deg,var(--dark2),var(--dark));padding:2.5rem 0;border-bottom:1px solid var(--border)}
.page-hero h1{font-size:clamp(1.5rem,4vw,2.4rem);margin-bottom:.8rem}
.article-meta{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;font-size:.8rem;color:var(--text2);margin-bottom:1rem}
.article-meta .cat-tag{background:rgba(255,215,0,.1);color:var(--gold);padding:.2rem .7rem;border-radius:20px;font-weight:600}

/* BREADCRUMB */
.breadcrumb{display:flex;flex-wrap:wrap;gap:.3rem;align-items:center;font-size:.8rem;color:var(--text2);margin-bottom:1rem}
.breadcrumb a{color:var(--text2)}
.breadcrumb a:hover{color:var(--gold)}
.breadcrumb .sep{color:var(--border)}

/* TOC */
.toc{background:var(--card);border:1px solid var(--gold);border-radius:var(--radius);padding:1.5rem;margin:2rem 0}
.toc h4{color:var(--gold);margin-bottom:1rem;font-size:.95rem;display:flex;align-items:center;gap:.5rem}
.toc ol{padding-left:1.3rem}
.toc ol li{margin-bottom:.4rem}
.toc ol li a{color:var(--text2);font-size:.85rem}
.toc ol li a:hover{color:var(--gold)}

/* ARTICLE CONTENT */
.article-content{max-width:860px}
.article-content h2{color:var(--white);margin:2rem 0 1rem;padding-bottom:.5rem;border-bottom:2px solid var(--border);font-size:1.5rem}
.article-content h3{color:var(--gold);margin:1.5rem 0 .7rem;font-size:1.15rem}
.article-content h4{color:var(--white);margin:1rem 0 .5rem}
.article-content p{color:var(--text2);margin-bottom:1rem}
.article-content ul,.article-content ol{padding-left:1.4rem;margin-bottom:1rem}
.article-content ul li,.article-content ol li{color:var(--text2);margin-bottom:.4rem;list-style:disc}
.article-content ol li{list-style:decimal}
.article-content img{border-radius:var(--radius);margin:1.5rem 0;box-shadow:var(--shadow)}
.article-content strong{color:var(--white)}
.article-content a{color:var(--gold);text-decoration:underline}
.article-content table{width:100%;border-collapse:collapse;margin:1.5rem 0;overflow:hidden;border-radius:var(--radius)}
.article-content th{background:var(--dark3);color:var(--gold);padding:.8rem;text-align:left;font-size:.85rem}
.article-content td{padding:.7rem;border-bottom:1px solid var(--border);color:var(--text2);font-size:.85rem}
.article-content tr:hover td{background:rgba(255,215,0,.03)}

/* PROS CONS */
.pros-cons{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1.5rem 0}
@media(max-width:540px){.pros-cons{grid-template-columns:1fr}}
.pros,.cons{background:var(--card);border-radius:var(--radius);padding:1.2rem}
.pros{border-left:3px solid var(--green)}
.cons{border-left:3px solid var(--red)}
.pros h4{color:var(--green);margin-bottom:.8rem}
.cons h4{color:var(--red);margin-bottom:.8rem}
.pros ul li,.cons ul li{list-style:none!important;padding-left:1.2rem;position:relative;margin-bottom:.4rem;font-size:.85rem;color:var(--text2)}
.pros ul li::before{content:'✅';position:absolute;left:-4px;font-size:.8rem}
.cons ul li::before{content:'❌';position:absolute;left:-4px;font-size:.8rem}

/* FAQ */
.faq-item{border:1px solid var(--border);border-radius:var(--radius);margin-bottom:.8rem;overflow:hidden}
.faq-q{background:var(--card);padding:1rem 1.2rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem;font-weight:600;color:var(--white);font-size:.92rem}
.faq-q:hover{background:var(--dark3)}
.faq-q .chevron{font-size:.8rem;transition:transform .3s;flex-shrink:0;color:var(--gold)}
.faq-q.open .chevron{transform:rotate(180deg)}
.faq-a{display:none;padding:1rem 1.2rem;color:var(--text2);font-size:.88rem;background:var(--dark);border-top:1px solid var(--border)}
.faq-a.open{display:block}

/* STEP BOX */
.step-box{display:flex;gap:1rem;align-items:flex-start;margin-bottom:1.2rem;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:1.2rem}
.step-num{background:var(--gold-grad);color:#000;font-weight:800;font-size:1.1rem;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.step-content h4{color:var(--white);margin-bottom:.3rem}
.step-content p{font-size:.85rem;color:var(--text2);margin:0}

/* INFO BOX */
.info-box{background:rgba(255,215,0,.05);border:1px solid rgba(255,215,0,.3);border-radius:var(--radius);padding:1.2rem;margin:1.5rem 0}
.info-box.green{background:rgba(34,197,94,.05);border-color:rgba(34,197,94,.3)}
.info-box.red{background:rgba(239,68,68,.05);border-color:rgba(239,68,68,.3)}
.info-box p{margin:0;font-size:.88rem}

/* DOWNLOAD BOX */
.download-box{background:linear-gradient(135deg,var(--dark3),var(--dark2));border:2px solid var(--gold);border-radius:var(--radius);padding:2rem;text-align:center;margin:2rem 0}
.download-box h3{color:var(--gold);margin-bottom:.5rem}
.download-box p{color:var(--text2);margin-bottom:1.5rem;font-size:.88rem}
.dl-info{display:flex;flex-wrap:wrap;gap:.8rem;justify-content:center;margin-bottom:1.5rem}
.dl-info-item{background:rgba(255,255,255,.05);border:1px solid var(--border);border-radius:8px;padding:.4rem .8rem;font-size:.78rem;color:var(--text2)}
.dl-info-item strong{color:var(--gold);display:block;font-size:.65rem;text-transform:uppercase}

/* ===== SIDEBAR ===== */
.content-sidebar-layout{display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:900px){.content-sidebar-layout{grid-template-columns:1fr 300px}}
.sidebar-widget{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:1.2rem;margin-bottom:1.5rem}
.sidebar-widget h4{color:var(--gold);margin-bottom:1rem;font-size:.95rem;border-bottom:1px solid var(--border);padding-bottom:.5rem}
.sidebar-links li{margin-bottom:.5rem}
.sidebar-links li a{color:var(--text2);font-size:.85rem;display:flex;align-items:center;gap:.4rem}
.sidebar-links li a::before{content:'▶';color:var(--gold);font-size:.6rem}
.sidebar-links li a:hover{color:var(--gold)}

/* ===== CATEGORY PAGE ===== */
.cat-hero{background:linear-gradient(135deg,var(--dark2),var(--dark));border-bottom:2px solid var(--gold);padding:2.5rem 0;text-align:center}
.cat-hero h1 span{background:var(--gold-grad);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}

/* ===== PAGINATION ===== */
.pagination{display:flex;gap:.5rem;justify-content:center;margin-top:2rem;flex-wrap:wrap}
.pagination a,.pagination span{background:var(--card);border:1px solid var(--border);color:var(--text2);padding:.5rem 1rem;border-radius:8px;font-size:.85rem;transition:all .3s}
.pagination a:hover,.pagination .current{background:var(--gold);color:#000;border-color:var(--gold)}

/* ===== STATIC PAGES ===== */
.page-content{padding:3rem 0}
.page-content h2{color:var(--gold);margin:2rem 0 1rem;font-size:1.3rem}
.page-content h3{color:var(--white);margin:1.5rem 0 .7rem}
.page-content p,.page-content li{color:var(--text2);font-size:.92rem}
.page-content ul,.page-content ol{padding-left:1.5rem;margin-bottom:1rem}
.page-content ul li{list-style:disc;margin-bottom:.4rem}
.page-content ol li{list-style:decimal;margin-bottom:.4rem}

/* ===== FOOTER ===== */
footer{background:var(--dark2);border-top:2px solid var(--border);padding:3rem 0 1rem}
.footer-grid{display:grid;grid-template-columns:1fr;gap:2rem;margin-bottom:2rem}
@media(min-width:600px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:900px){.footer-grid{grid-template-columns:2fr 1fr 1fr 1fr}}
.footer-brand .logo{margin-bottom:1rem}
.footer-brand p{font-size:.83rem;color:var(--text2)}
.footer-col h4{color:var(--gold);margin-bottom:1rem;font-size:.9rem}
.footer-col ul li{margin-bottom:.5rem}
.footer-col ul li a{color:var(--text2);font-size:.83rem}
.footer-col ul li a:hover{color:var(--gold)}
.footer-bottom{border-top:1px solid var(--border);padding-top:1.2rem;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;align-items:center;font-size:.78rem;color:var(--text2)}
.footer-bottom a{color:var(--text2)}
.footer-bottom a:hover{color:var(--gold)}

/* ===== RELATED ARTICLES ===== */
.related-grid{display:grid;grid-template-columns:1fr;gap:1rem}
@media(min-width:600px){.related-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:900px){.related-grid{grid-template-columns:repeat(3,1fr)}}
.related-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:1rem;transition:all .3s}
.related-card:hover{border-color:var(--gold);transform:translateY(-2px)}
.related-card h5{color:var(--white);font-size:.88rem;margin-bottom:.4rem;line-height:1.4}
.related-card h5 a{color:var(--white)}
.related-card h5 a:hover{color:var(--gold)}
.related-card .meta{font-size:.75rem;color:var(--text2)}

/* ===== APP INFO TABLE ===== */
.app-info-table{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;margin:1.5rem 0}
.app-info-table tr td:first-child{background:var(--dark3);color:var(--gold);font-weight:600;width:35%;font-size:.85rem}
.app-info-table td{padding:.8rem 1rem;border-bottom:1px solid var(--border);font-size:.85rem;color:var(--text2)}
.app-info-table tr:last-child td{border-bottom:none}

/* ===== SCROLL TO TOP ===== */
#scrollTop{position:fixed;bottom:1.5rem;right:1.5rem;background:var(--gold-grad);color:#000;border:none;width:44px;height:44px;border-radius:50%;font-size:1.2rem;cursor:pointer;opacity:0;transition:opacity .3s,transform .3s;z-index:900;box-shadow:0 4px 16px rgba(255,107,0,.4)}
#scrollTop.show{opacity:1}
#scrollTop:hover{transform:scale(1.1)}

/* ===== NOTICE BAR ===== */
.notice-bar{background:var(--gold-grad);color:#000;text-align:center;padding:.5rem 1rem;font-size:.82rem;font-weight:600}
.notice-bar a{color:#000;text-decoration:underline}

/* ===== IMAGE GALLERY ===== */
.img-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:.8rem;margin:1.5rem 0}
@media(min-width:600px){.img-gallery{grid-template-columns:repeat(3,1fr)}}
.img-gallery img{border-radius:8px;width:100%;height:160px;object-fit:cover;cursor:zoom-in;transition:transform .3s}
.img-gallery img:hover{transform:scale(1.03)}

/* ===== COMPARISON TABLE ===== */
.compare-table{width:100%;border-collapse:collapse;margin:1.5rem 0}
.compare-table th{background:var(--dark3);color:var(--gold);padding:.9rem;font-size:.85rem;text-align:center}
.compare-table th:first-child{text-align:left}
.compare-table td{padding:.8rem;border-bottom:1px solid var(--border);font-size:.83rem;color:var(--text2);text-align:center}
.compare-table td:first-child{text-align:left;color:var(--white);font-weight:500}
.compare-table .yes{color:var(--green)}
.compare-table .no{color:var(--red)}
.compare-table tr:hover td{background:rgba(255,215,0,.03)}

/* ===== RATING ===== */
.rating{display:flex;align-items:center;gap:.3rem;font-size:1.1rem;color:#FFD700;margin:.5rem 0}
.rating-num{color:var(--text2);font-size:.85rem;margin-left:.3rem}

/* ===== RESPONSIVE UTILS ===== */
.text-center{text-align:center}
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}
.hidden{display:none}
@media(max-width:599px){.hide-mobile{display:none}}
@media(min-width:600px){.hide-desktop{display:none}}

/* ===== SKELETON LOADER ===== */
@keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}
.skeleton{background:linear-gradient(90deg,var(--card) 25%,var(--dark3) 50%,var(--card) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:4px;height:1rem;margin-bottom:.5rem}

/* ===== HIGHLIGHT BOX ===== */
.highlight{background:linear-gradient(135deg,rgba(255,215,0,.08),rgba(255,107,0,.05));border-left:4px solid var(--gold);border-radius:0 var(--radius) var(--radius) 0;padding:1rem 1.2rem;margin:1.5rem 0}
.highlight p{margin:0;color:var(--text2);font-size:.9rem}

/* ===== STICKY DOWNLOAD BAR (mobile) ===== */
.sticky-dl{position:fixed;bottom:0;left:0;right:0;background:var(--dark2);border-top:2px solid var(--gold);padding:.7rem 1rem;display:flex;justify-content:center;z-index:900;display:none}
@media(max-width:600px){.sticky-dl{display:flex}}

/* ===== PRINT ===== */
@media print{header,footer,.sticky-dl,.btn-download,#scrollTop{display:none}.article-content{color:#000}}
