/*
Theme Name: Jai Club
Theme URI: https://YOURDOMAIN.COM
Author: Jai Club
Author URI: https://YOURDOMAIN.COM
Description: Custom SEO-optimized theme for Jai Club gaming platform guide. Targets keywords: Jai Club, Jaiclub, Jaclub Login, Jaiclub Sign Up, Jalwa New Link, Jaigame.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jaiclub
Tags: gaming, dark, custom-theme
*/

/* ============================================================
   JAI CLUB — Main Stylesheet
   Dark gaming theme with gold accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Rajdhani:wght@500;600;700&display=swap');

/* ---- Variables ---- */
:root {
  --dark:      #0a0a0f;
  --dark-2:    #0f0f18;
  --dark-3:    #16161f;
  --dark-4:    #1e1e2a;
  --gold:      #FFD700;
  --gold-dim:  #c9a800;
  --red:       #0057FF;
  --red-dark:  #003ecc;
  --green:     #00c864;
  --border:    rgba(255,255,255,0.07);
  --text:      #e8e8f0;
  --text-muted:#8888aa;
  --radius:    14px;
  --shadow:    0 8px 40px rgba(0,0,0,0.6);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.85; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
p { color: var(--text-muted); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul { padding-left: 1.4rem; }
ul li { margin-bottom: 6px; color: var(--text-muted); }
strong { color: var(--text); }

/* ---- Layout ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 20px; }
.section-alt { background: var(--dark-2); }

/* ---- Announcement Bar ---- */
.announcement-bar {
  background: linear-gradient(90deg, var(--red-dark), var(--red), #1a6fff, var(--red), var(--red-dark));
  background-size: 300% 100%;
  animation: gradientShift 4s ease infinite;
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 500;
}
.announcement-bar a { color: #fff; font-weight: 700; text-decoration: underline; }
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---- Navbar ---- */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10,10,15,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; height: 64px; gap: 24px;
}
.navbar-logo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem; font-weight: 700; color: #fff;
  letter-spacing: 1px; flex-shrink: 0;
}
.navbar-logo span { color: var(--gold); }
.navbar-nav {
  display: flex; list-style: none; gap: 4px;
  align-items: center; margin-left: auto; padding: 0; flex-wrap: wrap;
}
.navbar-nav li a {
  color: var(--text-muted); font-size: 0.83rem; font-weight: 500;
  padding: 6px 10px; border-radius: 8px;
  transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.navbar-nav li a:hover,
.navbar-nav li a.current-menu-item a,
.navbar-nav li.current-menu-item > a { color: #fff; background: rgba(255,255,255,0.06); }
.navbar-cta {
  background: var(--red) !important; color: #fff !important;
  padding: 7px 18px !important; border-radius: 30px !important; font-weight: 700 !important;
}
.navbar-cta:hover { background: var(--red-dark) !important; opacity: 1 !important; }

/* ---- Hamburger ---- */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; margin-left: auto; padding: 6px; background: none; border: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }

/* ---- Mobile Nav ---- */
.mobile-nav {
  display: none; flex-direction: column;
  background: var(--dark-3); border-bottom: 1px solid var(--border);
  padding: 16px 20px; gap: 4px; position: sticky; top: 64px; z-index: 999;
}
.mobile-nav a {
  color: var(--text); padding: 10px 14px; border-radius: 10px;
  font-size: 0.92rem; font-weight: 500; display: block; transition: background 0.2s;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.06); }
.mobile-nav .btn-join { margin-top: 10px; text-align: center; }

/* ---- Hero ---- */
.hero {
  padding: 90px 20px 80px; text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0,87,255,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(255,215,0,0.07) 0%, transparent 60%),
    var(--dark);
  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='%23ffffff' fill-opacity='0.015'%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") repeat;
  pointer-events: none; opacity: 0.5;
}
.hero-badge {
  display: inline-block; background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3); color: var(--gold);
  font-size: 0.82rem; font-weight: 600; padding: 6px 18px;
  border-radius: 50px; margin-bottom: 24px; letter-spacing: 0.5px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; color: #fff;
  margin-bottom: 20px; line-height: 1.15;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), #ff9500, var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: 1.05rem; max-width: 650px; margin: 0 auto 36px; color: var(--text-muted); }

/* ---- CTA Button ---- */
.cta-wrapper { position: relative; display: inline-block; }
.cta-pulse {
  position: absolute; inset: -8px; border-radius: 60px;
  border: 2px solid rgba(0,87,255,0.4);
  animation: pulse 2s ease-out infinite; pointer-events: none;
}
.cta-pulse-2 { inset: -18px; border-color: rgba(0,87,255,0.2); animation-delay: 0.5s; }
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}
.btn-join {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #0057FF 0%, #1a6fff 50%, #0057FF 100%);
  background-size: 200% 100%; color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 800;
  padding: 18px 44px; border-radius: 50px; border: none; cursor: pointer;
  transition: background-position 0.4s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 6px 30px rgba(0,87,255,0.5), 0 2px 8px rgba(0,0,0,0.4);
  letter-spacing: 0.3px; text-decoration: none; position: relative; z-index: 1;
  animation: btnGlow 3s ease-in-out infinite;
}
.btn-join:hover {
  background-position: 100% 0; transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(0,87,255,0.7), 0 4px 16px rgba(0,0,0,0.5);
  opacity: 1; color: #fff;
}
@keyframes btnGlow {
  0%,100% { box-shadow: 0 6px 30px rgba(0,87,255,0.5), 0 2px 8px rgba(0,0,0,0.4); }
  50% { box-shadow: 0 6px 40px rgba(0,87,255,0.8), 0 2px 8px rgba(0,0,0,0.4); }
}
.btn-arrow { font-size: 1.3em; transition: transform 0.3s; }
.btn-join:hover .btn-arrow { transform: translateX(6px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: #fff; font-size: 0.95rem; font-weight: 600;
  padding: 12px 26px; border-radius: 50px; transition: all 0.25s; text-decoration: none;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25);
  color: #fff; transform: translateY(-2px); opacity: 1;
}
.btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ---- Bonus Banner ---- */
.bonus-banner {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,215,0,0.06); border: 1px solid rgba(255,215,0,0.25);
  border-radius: 50px; padding: 10px 24px; font-size: 0.88rem;
  color: var(--text-muted); margin-bottom: 20px;
}
.badge {
  background: var(--gold); color: var(--dark); font-weight: 800;
  font-size: 0.85rem; padding: 3px 12px; border-radius: 20px; white-space: nowrap;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--dark-4); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 24px 20px;
}
.stats-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700;
  color: var(--gold); display: block; line-height: 1;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; display: block; }

/* ---- Section Title ---- */
.section-title { text-align: center; margin-bottom: 52px; }
.tag {
  display: inline-block; background: rgba(0,87,255,0.12);
  border: 1px solid rgba(0,87,255,0.3); color: #6699ff;
  font-size: 0.78rem; font-weight: 700; padding: 4px 16px;
  border-radius: 20px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px;
}
.section-title h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: #fff; margin-bottom: 12px; }
.section-title p { max-width: 560px; margin: 0 auto; }

/* ---- Feature Cards ---- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; transition: border-color 0.3s, transform 0.25s;
}
.feature-card:hover { border-color: rgba(255,215,0,0.25); transform: translateY(-4px); }
.feature-icon { font-size: 2.2rem; margin-bottom: 14px; }
.feature-card h3 { color: #fff; font-size: 1rem; margin-bottom: 8px; }

/* ---- Steps ---- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.step-card {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 20px; text-align: center; transition: border-color 0.3s;
}
.step-number {
  width: 48px; height: 48px; background: linear-gradient(135deg, var(--red), #4080ff);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; margin: 0 auto 14px; color: #fff;
}
.step-card h3 { color: #fff; font-size: 0.95rem; margin-bottom: 6px; }

/* ---- Game Cards ---- */
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.game-card {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: 18px; padding: 30px 26px;
  transition: border-color 0.3s, transform 0.25s; position: relative; overflow: hidden;
}
.game-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transition: transform 0.3s;
}
.game-card:hover { border-color: rgba(255,215,0,0.2); transform: translateY(-5px); }
.game-card:hover::before { transform: scaleX(1); }
.game-card .game-icon { font-size: 3rem; margin-bottom: 16px; }
.game-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.game-tag {
  display: inline-block; background: rgba(0,200,100,0.1);
  border: 1px solid rgba(0,200,100,0.25); color: var(--green);
  font-size: 0.73rem; font-weight: 600; padding: 3px 12px;
  border-radius: 20px; margin-bottom: 12px;
}

/* ---- Testimonials ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testimonial-card { background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; }
.testimonial-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-text { font-style: italic; color: var(--text-muted); margin-bottom: 18px; font-size: 0.92rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px; background: linear-gradient(135deg, var(--red), #4080ff);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: #fff; flex-shrink: 0;
}
.author-name { color: #fff; font-weight: 600; font-size: 0.9rem; }
.author-city { font-size: 0.78rem; color: var(--text-muted); }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  padding: 18px 22px; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  color: #fff; font-weight: 600; font-size: 0.95rem; transition: background 0.2s; user-select: none;
}
.faq-question:hover { background: rgba(255,255,255,0.04); }
.faq-icon { color: var(--gold); font-size: 1.3rem; flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none; padding: 0 22px 18px; font-size: 0.9rem;
  color: var(--text-muted); border-top: 1px solid var(--border);
}
.faq-item.open .faq-answer { display: block; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(0,87,255,0.15), transparent), var(--dark-3);
  border: 1px solid rgba(0,87,255,0.25); border-radius: 24px; padding: 60px 40px; text-align: center;
}
.cta-banner h2 { color: #fff; font-size: 2rem; margin-bottom: 14px; }
.cta-banner p { margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---- Page Hero ---- */
.page-hero {
  padding: 60px 20px 52px;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0,87,255,0.12), transparent), var(--dark-2);
  border-bottom: 1px solid var(--border); text-align: center;
}
.breadcrumb { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb span { margin: 0 6px; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; }

/* ---- Content Block ---- */
.content-block { background: var(--dark-3); border: 1px solid var(--border); border-radius: 20px; padding: 36px 32px; }
.content-block h2, .content-block h3 { color: #fff; }
.content-block h2 { font-size: 1.4rem; margin-bottom: 12px; margin-top: 28px; }
.content-block h3 { font-size: 1rem; margin-bottom: 8px; margin-top: 22px; }
.content-block ul { margin-bottom: 14px; }

/* ---- Contact Form ---- */
.contact-form { background: var(--dark-3); border: 1px solid var(--border); border-radius: 20px; padding: 32px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--dark-4); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px; color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 0.9rem; transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: rgba(255,215,0,0.4); }
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--dark-4); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }

/* ---- Floating CTA ---- */
.floating-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 2000;
  opacity: 0; transform: translateY(20px); transition: all 0.4s; pointer-events: none;
}
.floating-cta.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.floating-cta .btn-join { font-size: 0.9rem; padding: 13px 26px; border-radius: 50px; }

/* ---- Footer ---- */
footer { background: var(--dark-2); border-top: 1px solid var(--border); padding: 60px 20px 30px; }
.footer-grid {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.footer-brand h3 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.footer-brand p { font-size: 0.88rem; }
.footer-col h4 { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1160px; margin: 0 auto 16px;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text-muted); flex-wrap: wrap; gap: 10px;
}
.footer-disclaimer {
  max-width: 1160px; margin: 0 auto; font-size: 0.75rem;
  color: rgba(136,136,170,0.6); line-height: 1.6; text-align: center; padding-top: 12px;
}

/* ---- WordPress Overrides ---- */
.wp-block-image { margin: 0; }
img { height: auto; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .navbar-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav.open { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 54px 20px; }
  .hero { padding: 60px 20px; }
  .hero h1 { font-size: 2rem; }
  .btn-join { font-size: 1rem; padding: 16px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-banner { padding: 36px 22px; }
  .cta-banner h2 { font-size: 1.5rem; }
  .floating-cta { bottom: 16px; right: 16px; }
  .content-block { padding: 24px 20px; }
  .contact-form { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .stats-inner { gap: 28px; }
  .stat-number { font-size: 1.6rem; }
}

/* ============================================================
   BLOG SYSTEM STYLES
   ============================================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.blog-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); border-color: rgba(255,215,0,0.22); }
.blog-card-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--dark-4); display: block; }
.blog-card-thumb-placeholder {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--dark-4) 0%, #1a1a2e 100%);
  display: flex; align-items: center; justify-content: center; font-size: 3.5rem;
}
.blog-card-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-category {
  display: inline-block;
  background: rgba(255,215,0,0.1); border: 1px solid rgba(255,215,0,0.25);
  color: var(--gold); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 3px 12px; border-radius: 20px; margin-bottom: 12px;
}
.blog-card-title { font-size: 1.05rem; font-weight: 700; color: #fff; line-height: 1.4; margin-bottom: 10px; }
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--gold); }
.blog-card-excerpt { font-size: 0.85rem; color: var(--text-muted); flex: 1; margin-bottom: 16px; line-height: 1.65; }
.blog-card-meta { font-size: 0.78rem; color: var(--text-muted); display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.blog-read-more { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--gold); transition: gap 0.2s; }
.blog-card:hover .blog-read-more { gap: 10px; }

/* ---- Single Post ---- */
.post-hero { background: linear-gradient(160deg, var(--dark-2) 0%, var(--dark) 100%); padding: 60px 20px 50px; border-bottom: 1px solid var(--border); }
.post-hero .breadcrumb { margin-bottom: 16px; }
.post-hero h1 { font-size: clamp(1.5rem, 4vw, 2.4rem); color: #fff; line-height: 1.25; margin-bottom: 16px; max-width: 780px; }
.post-hero-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.82rem; color: var(--text-muted); margin-top: 14px; }
.platform-preview { background: var(--dark-3); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; margin: 32px 0; box-shadow: var(--shadow); }
.platform-preview img { width: 100%; display: block; }
.platform-preview-caption { padding: 14px 20px; text-align: center; font-size: 0.83rem; color: var(--text-muted); border-top: 1px solid var(--border); }
.post-content { max-width: 780px; margin: 0 auto; }
.post-content h2 { font-size: 1.45rem; color: #fff; margin: 36px 0 14px; }
.post-content h3 { font-size: 1.15rem; color: #fff; margin: 28px 0 10px; }
.post-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 18px; }
.post-content ul, .post-content ol { color: var(--text-muted); padding-left: 1.5rem; margin-bottom: 18px; line-height: 1.9; }
.post-content strong { color: var(--text); }
.post-content a { color: var(--gold); }
.post-content img { border-radius: 10px; margin: 20px 0; border: 1px solid var(--border); max-width: 100%; }
.post-content blockquote { border-left: 3px solid var(--gold); padding: 14px 20px; margin: 24px 0; background: var(--dark-3); border-radius: 0 10px 10px 0; color: var(--text); font-style: italic; }
.post-cta-box { background: linear-gradient(135deg, rgba(0,87,255,0.12) 0%, rgba(255,215,0,0.08) 100%); border: 1px solid rgba(255,215,0,0.2); border-radius: 16px; padding: 28px; margin: 36px 0; text-align: center; }
.post-cta-box h3 { color: #fff; margin-bottom: 8px; }
.post-cta-box p { color: var(--text-muted); margin-bottom: 18px; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.post-tag { background: var(--dark-3); border: 1px solid var(--border); color: var(--text-muted); font-size: 0.78rem; padding: 4px 12px; border-radius: 20px; transition: border-color 0.2s, color 0.2s; }
.post-tag:hover { border-color: var(--gold); color: var(--gold); }
.related-posts { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--border); }
.related-posts h3 { color: #fff; font-size: 1.2rem; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

/* ---- Blog Sidebar Layout ---- */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.blog-sidebar { position: sticky; top: 80px; }
.sidebar-widget { background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.sidebar-widget h4 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.sidebar-widget ul { list-style: none; padding: 0; }
.sidebar-widget ul li { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.sidebar-widget ul li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sidebar-widget ul li a { color: var(--text-muted); font-size: 0.85rem; line-height: 1.4; }
.sidebar-widget ul li a:hover { color: var(--gold); }
.sidebar-cta-box { background: linear-gradient(135deg, rgba(0,87,255,0.15), rgba(255,215,0,0.08)); border: 1px solid rgba(255,215,0,0.2); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; text-align: center; }
.sidebar-cta-box h4 { color: #fff; margin-bottom: 8px; }
.sidebar-cta-box p { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 16px; }

/* ---- Pagination ---- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.page-number { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; background: var(--dark-3); border: 1px solid var(--border); color: var(--text-muted); font-size: 0.88rem; font-weight: 600; transition: all 0.2s; }
.page-number:hover, .page-number.current { background: var(--gold); color: #000; border-color: var(--gold); }

/* ---- Screenshots Grid ---- */
.screenshots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.screenshot-item { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); transition: transform 0.25s, border-color 0.25s; cursor: pointer; background: var(--dark-3); }
.screenshot-item:hover { transform: scale(1.03); border-color: rgba(255,215,0,0.3); }
.screenshot-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.screenshot-caption { padding: 10px 12px; font-size: 0.78rem; color: var(--text-muted); text-align: center; }
.screenshot-svg { width: 100%; aspect-ratio: 16/10; display: block; }

/* Responsive */
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .screenshots-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .screenshots-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ---- Responsive 2-col image grids ---- */
@media (max-width: 600px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 2fr"],
  [style*="grid-template-columns: 1fr 2fr"] {
    grid-template-columns: 1fr !important;
  }
}
/* ---- Logo in navbar ---- */
.navbar-logo img { height: 38px; width: auto; display: block; }
