/* PKR Slots - Main Stylesheet */
:root{--primary:#c9a227;--primary-dark:#a07c10;--secondary:#1a1a2e;--accent:#e94560;--bg:#0a0a14;--surface:#12122a;--surface2:#1a1a3a;--text:#e8e8f0;--text-muted:#8888aa;--border:#2a2a50;--max-width:1200px;--radius:10px;--shadow:0 4px 24px rgba(0,0,0,.5)}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth;overflow-x:hidden}
body{font-family:'Segoe UI',system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text);line-height:1.7;min-height:100vh;overflow-x:hidden}
img{max-width:100%;height:auto;display:block;border-radius:var(--radius)}
a{color:var(--primary);text-decoration:none;transition:color .2s}
a:hover{color:#fff}
h1,h2,h3,h4{line-height:1.3;font-weight:700}
h1{font-size:clamp(1.8rem,4vw,2.8rem);color:#fff;margin-bottom:1rem}
h2{font-size:clamp(1.4rem,3vw,2rem);color:var(--primary);margin:2rem 0 1rem}
h3{font-size:clamp(1.1rem,2.5vw,1.4rem);color:#fff;margin:1.5rem 0 .75rem}
p{margin-bottom:1rem;color:var(--text)}
ul,ol{padding-left:1.5rem;margin-bottom:1rem}
li{margin-bottom:.5rem}
table{width:100%;border-collapse:collapse;margin:1.5rem 0}
.table-wrap, .article-content table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
th{background:var(--surface2);color:var(--primary);padding:.75rem 1rem;text-align:left;border:1px solid var(--border)}
td{padding:.75rem 1rem;border:1px solid var(--border);background:var(--surface)}
tr:nth-child(even) td{background:var(--surface2)}

/* HEADER */
header{background:linear-gradient(135deg,#0a0a1e 0%,#16163a 100%);border-bottom:2px solid var(--primary);position:sticky;top:0;z-index:100;box-shadow:var(--shadow)}
.header-inner{max-width:var(--max-width);margin:0 auto;padding:.75rem 1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.logo{display:flex;align-items:center;gap:.75rem;font-size:1.4rem;font-weight:800;color:#fff;text-decoration:none}
.logo img{width:44px;height:44px;object-fit:contain;border-radius:8px}
.logo span{background:linear-gradient(90deg,var(--primary),#fff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
nav{display:flex;gap:.25rem;flex-wrap:wrap;align-items:center}
nav a{color:var(--text-muted);padding:.4rem .8rem;border-radius:6px;font-size:.9rem;font-weight:500;transition:all .2s;white-space:nowrap}
nav a:hover,nav a.active{background:var(--primary);color:#000}
.hamburger{display:none;background:none;border:2px solid var(--primary);color:var(--primary);padding:.4rem .6rem;border-radius:6px;cursor:pointer;font-size:1.2rem}

/* HERO */
.hero{background:linear-gradient(135deg,#0d0d2b 0%,#1a0a2e 50%,#0d0d1a 100%);padding:4rem 1rem;text-align:center;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}
.hero-inner{max-width:800px;margin:0 auto;position:relative}
.hero h1{font-size:clamp(2rem,5vw,3.5rem);margin-bottom:1rem;text-shadow:0 2px 20px rgba(0,0,0,.5)}
.hero p{font-size:1.15rem;color:var(--text-muted);max-width:600px;margin:0 auto 2rem}
.btn{display:inline-flex;align-items:center;gap:.5rem;background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:#000;font-weight:700;padding:.85rem 2rem;border-radius:50px;font-size:1rem;transition:all .3s;box-shadow:0 4px 20px rgba(201,162,39,.4)}
.btn:hover{transform:translateY(-2px);box-shadow:0 6px 30px rgba(201,162,39,.6);color:#000}
.btn-outline{background:transparent;border:2px solid var(--primary);color:var(--primary);margin-left:.75rem}
.btn-outline:hover{background:var(--primary);color:#000}
.badge{display:inline-block;background:var(--accent);color:#fff;font-size:.75rem;font-weight:700;padding:.2rem .6rem;border-radius:50px;margin-bottom:1rem;text-transform:uppercase;letter-spacing:1px}

/* CONTAINER */
.container{max-width:var(--max-width);margin:0 auto;padding:0 1rem}
.section{padding:4rem 1rem}

/* CARDS */
.grid{display:grid;gap:1.5rem}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.grid-4{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:all .3s}
.card:hover{border-color:var(--primary);transform:translateY(-4px);box-shadow:0 8px 30px rgba(201,162,39,.2)}
.card-img{width:100%;height:200px;object-fit:cover}
.card-body{padding:1.25rem}
.card-body h3{font-size:1.1rem;margin-bottom:.5rem}
.card-body p{font-size:.9rem;color:var(--text-muted);margin-bottom:1rem}
.card-tag{font-size:.75rem;background:var(--surface2);color:var(--primary);padding:.2rem .6rem;border-radius:4px;display:inline-block;margin-bottom:.5rem}

/* ARTICLE LAYOUT */
.article-wrap{max-width:var(--max-width);margin:0 auto;padding:2rem 1rem;display:grid;grid-template-columns:1fr 300px;gap:2rem;align-items:start}
.article-content{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:2rem;min-width:0;overflow-x:hidden}
.article-content img{margin:1.5rem 0;width:100%}
.article-meta{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--border);font-size:.875rem;color:var(--text-muted)}
.article-meta span{display:flex;align-items:center;gap:.3rem}
.toc{background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;margin-bottom:1.5rem}
.toc h3{font-size:1rem;margin-bottom:.75rem;color:var(--primary)}
.toc ol{padding-left:1.25rem}
.toc li{margin-bottom:.4rem}
.toc a{color:var(--text-muted);font-size:.9rem}
.toc a:hover{color:var(--primary)}

/* SIDEBAR */
.sidebar{display:flex;flex-direction:column;gap:1.5rem;min-width:0}
.sidebar-box{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem}
.sidebar-box h3{font-size:1rem;color:var(--primary);margin-bottom:1rem;padding-bottom:.5rem;border-bottom:1px solid var(--border)}
.sidebar-box ul{list-style:none;padding:0}
.sidebar-box li{padding:.4rem 0;border-bottom:1px solid var(--border)}
.sidebar-box li:last-child{border:none}
.sidebar-box a{font-size:.9rem;color:var(--text-muted)}
.sidebar-box a:hover{color:var(--primary)}

/* FAQ */
.faq{margin:2rem 0}
.faq-item{border:1px solid var(--border);border-radius:var(--radius);margin-bottom:.75rem;overflow:hidden}
.faq-q{padding:1rem 1.25rem;background:var(--surface2);cursor:pointer;font-weight:600;display:flex;justify-content:space-between;align-items:center;color:#fff}
.faq-q::after{content:'+';font-size:1.4rem;color:var(--primary);transition:transform .3s}
.faq-item.open .faq-q::after{transform:rotate(45deg)}
.faq-a{padding:0 1.25rem;max-height:0;overflow:hidden;transition:max-height .3s,padding .3s}
.faq-item.open .faq-a{max-height:500px;padding:1rem 1.25rem}

/* BREADCRUMB */
.breadcrumb{background:var(--surface);border-bottom:1px solid var(--border);padding:.75rem 1rem}
.breadcrumb-inner{max-width:var(--max-width);margin:0 auto;font-size:.875rem;color:var(--text-muted);display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}
.breadcrumb-inner a{color:var(--text-muted)}
.breadcrumb-inner a:hover{color:var(--primary)}
.breadcrumb-inner span{color:var(--primary)}

/* STATS */
.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin:2rem 0}
.stat-box{background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;text-align:center}
.stat-num{font-size:2rem;font-weight:800;color:var(--primary);display:block}
.stat-label{font-size:.875rem;color:var(--text-muted);margin-top:.25rem}

/* STEPS */
.steps{counter-reset:step;list-style:none;padding:0}
.steps li{counter-increment:step;display:flex;gap:1rem;margin-bottom:1.5rem;padding:1.25rem;background:var(--surface2);border-radius:var(--radius);border-left:3px solid var(--primary)}
.steps li::before{content:counter(step);background:var(--primary);color:#000;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;flex-shrink:0;font-size:.875rem}
.steps li div{flex:1}
.steps li strong{display:block;margin-bottom:.25rem;color:#fff}

/* HIGHLIGHT BOX */
.highlight-box{background:linear-gradient(135deg,rgba(201,162,39,.1),rgba(201,162,39,.05));border:1px solid rgba(201,162,39,.3);border-radius:var(--radius);padding:1.5rem;margin:1.5rem 0}
.highlight-box h3{color:var(--primary);margin-bottom:.75rem}
.warning-box{background:rgba(233,69,96,.1);border:1px solid rgba(233,69,96,.3)}
.warning-box h3{color:var(--accent)}
.info-box{background:rgba(59,130,246,.1);border:1px solid rgba(59,130,246,.3)}
.info-box h3{color:#60a5fa}

/* CATEGORY HERO */
.cat-hero{background:linear-gradient(135deg,var(--surface) 0%,var(--surface2) 100%);border-bottom:2px solid var(--primary);padding:3rem 1rem;text-align:center}
.cat-hero p{color:var(--text-muted);font-size:1.1rem;max-width:600px;margin:.75rem auto 0}

/* FOOTER */
footer{background:#060612;border-top:2px solid var(--border);padding:3rem 1rem 1.5rem}
.footer-grid{max-width:var(--max-width);margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;margin-bottom:2rem}
.footer-col h4{color:var(--primary);margin-bottom:1rem;font-size:1rem}
.footer-col ul{list-style:none;padding:0}
.footer-col li{margin-bottom:.5rem}
.footer-col a{color:var(--text-muted);font-size:.9rem;transition:color .2s}
.footer-col a:hover{color:var(--primary)}
.footer-logo{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}
.footer-logo img{width:40px;border-radius:8px}
.footer-logo span{font-size:1.2rem;font-weight:800;color:#fff}
.footer-desc{color:var(--text-muted);font-size:.875rem;line-height:1.6}
.footer-bottom{max-width:var(--max-width);margin:0 auto;padding-top:1.5rem;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;flex-wrap:gap;gap:.75rem;font-size:.875rem;color:var(--text-muted)}
.footer-bottom a{color:var(--text-muted)}
.footer-bottom a:hover{color:var(--primary)}

/* SECTION TITLES */
.section-title{text-align:center;margin-bottom:2.5rem}
.section-title h2{color:#fff;font-size:clamp(1.5rem,3.5vw,2.2rem)}
.section-title p{color:var(--text-muted);max-width:550px;margin:.75rem auto 0}

/* DISCLAIMER */
.disclaimer{background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.25rem;font-size:.8rem;color:var(--text-muted);margin:2rem 0}

/* RELATED ARTICLES */
.related-articles{background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;margin-top:2rem}
.related-articles h3{color:var(--primary);margin-bottom:1rem}
.related-articles ul{list-style:none;padding:0}
.related-articles li{padding:.5rem 0;border-bottom:1px solid var(--border)}
.related-articles li:last-child{border:none}
.related-articles a{color:var(--text);font-size:.95rem}
.related-articles a:hover{color:var(--primary)}

/* MOBILE NAV */
@media(max-width:768px){
  nav{display:none;position:absolute;top:100%;left:0;right:0;background:#0d0d2b;border-top:1px solid var(--border);padding:1rem;flex-direction:column}
  nav.open{display:flex}
  nav a{padding:.6rem 1rem}
  .hamburger{display:block}
  .header-inner{position:relative}
  .article-wrap{grid-template-columns:1fr;padding:1rem}
  .article-content{padding:1.25rem}
  .sidebar{order:-1;min-width:0}
  .footer-bottom{flex-direction:column;text-align:center}
  .hero{padding:2.5rem 1rem}
  .section{padding:2.5rem 1rem}
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
}
@media(max-width:480px){
  .btn-outline{display:none}
  h1{font-size:1.7rem}
}

/* SEARCH */
.search-box{display:flex;max-width:480px;margin:1.5rem auto 0}
.search-box input{flex:1;background:rgba(255,255,255,.1);border:1px solid var(--border);border-right:none;padding:.75rem 1rem;border-radius:50px 0 0 50px;color:#fff;font-size:.95rem}
.search-box input::placeholder{color:var(--text-muted)}
.search-box button{background:var(--primary);border:none;padding:.75rem 1.25rem;border-radius:0 50px 50px 0;cursor:pointer;color:#000;font-weight:700}

/* INTERNAL LINK SECTION */
.link-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;margin:2rem 0}
.link-section h3{color:var(--primary);margin-bottom:1rem}
.link-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem}
.link-item{background:var(--surface2);border:1px solid var(--border);border-radius:8px;padding:.75rem 1rem;display:flex;align-items:center;gap:.5rem;color:var(--text);transition:all .2s}
.link-item:hover{border-color:var(--primary);background:rgba(201,162,39,.1);color:var(--primary)}
.link-item::before{content:'→';color:var(--primary)}
