/* ===== SANYO MOBILE THEME - PROFESSIONAL 2026 REDESIGN ===== */

:root {
  --bg: #0a0c10;
  --surface: #111318;
  --card: #161a22;
  --card-hover: #1c2130;
  --border: #1e2330;
  --border-light: #252d3d;
  --accent: #00d4ff;
  --accent-dim: rgba(0,212,255,0.12);
  --accent-border: rgba(0,212,255,0.25);
  --text: #e8eaf0;
  --text-soft: #c5cad6;
  --muted: #8b95a8;
  --r: 12px;
  --r-sm: 8px;
  --fh: 'Syne', sans-serif;
  --fb: 'DM Sans', sans-serif;
  --max: 1200px;
  --pad: clamp(16px, 5vw, 40px);
  --shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--r-sm); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* Notice Bar */
.notice-bar {
  background: linear-gradient(90deg, #00d4ff, #0080ff);
  color: #fff;
  text-align: center;
  padding: 10px var(--pad);
  font-size: 14px;
  font-weight: 600;
  position: relative;
}
.notice-bar a { text-decoration: underline; font-weight: 700; }
.close-notice {
  position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff; font-size: 20px; cursor: pointer;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10, 12, 16, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px var(--pad);
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--fh); font-size: 22px; font-weight: 800;
}
.logo-icon {
  background: var(--accent); color: #000;
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.site-logo .accent { color: var(--accent); }

.main-nav { display: none; gap: 20px; }
@media (min-width: 992px) { .main-nav { display: flex; } }
.main-nav a { font-size: 15px; font-weight: 500; color: var(--text-soft); }
.main-nav a:hover { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 15px; }
.search-toggle, .hamburger {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); padding: 8px; border-radius: 8px; cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 80px var(--pad); text-align: center;
  background: radial-gradient(circle at top, rgba(0, 212, 255, 0.1), transparent);
}
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  color: var(--accent); font-size: 13px; font-weight: 700; margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--fh); font-size: clamp(32px, 8vw, 64px);
  line-height: 1.1; margin-bottom: 20px;
}
.hero h1 .accent { color: var(--accent); }
.hero-desc {
  max-width: 600px; margin: 0 auto 40px; color: var(--muted); font-size: 18px;
}
.hero-cta { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: #000; padding: 14px 32px;
  border-radius: 30px; font-weight: 700;
}
.btn-secondary {
  background: var(--surface); border: 1px solid var(--border);
  padding: 14px 32px; border-radius: 30px; font-weight: 700;
}

.hero-stats {
  display: flex; justify-content: center; gap: 40px; margin-top: 60px; flex-wrap: wrap;
}
.stat-num { font-family: var(--fh); font-size: 32px; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* Filters */
.brand-scroll-row, .cat-filter-row {
  display: flex; gap: 12px; overflow-x: auto; padding: 20px var(--pad);
  scrollbar-width: none;
}
.brand-pill, .cat-pill {
  white-space: nowrap; padding: 8px 20px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--text-soft);
}
.brand-pill:hover, .cat-pill:hover { border-color: var(--accent); color: var(--accent); }

/* Post Grid */
.page-layout {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  padding: 40px var(--pad);
}
@media (min-width: 992px) {
  .page-layout { grid-template-columns: 1fr 300px; }
}

.section-head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px;
}
.section-title { font-family: var(--fh); font-size: 24px; font-weight: 800; }
.view-all { color: var(--accent); font-weight: 600; font-size: 14px; }

/* Featured Post */
.featured-post {
  display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 50px;
  background: var(--surface); padding: 20px; border-radius: var(--r);
  border: 1px solid var(--border);
}
@media (min-width: 768px) {
  .featured-post { grid-template-columns: 1.2fr 1fr; align-items: center; }
}
.featured-thumb { position: relative; overflow: hidden; border-radius: var(--r-sm); }
.play-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.3); opacity: 0; transition: 0.3s;
}
.featured-thumb:hover .play-overlay { opacity: 1; }

.post-label {
  display: inline-block; padding: 4px 12px; background: var(--accent);
  color: #000; font-size: 11px; font-weight: 800; border-radius: 4px;
  text-transform: uppercase; margin-bottom: 15px;
}
.featured-body h2 { font-family: var(--fh); font-size: 28px; margin-bottom: 15px; }
.post-excerpt { color: var(--muted); margin-bottom: 20px; }
.post-meta { display: flex; gap: 15px; font-size: 13px; color: var(--muted); }

/* Post Cards */
.posts-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px;
}
.post-card {
  background: var(--surface); border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--border); transition: 0.3s;
}
.post-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.post-thumb { position: relative; aspect-ratio: 16/9; }
.post-body { padding: 20px; }
.post-category { font-size: 12px; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.post-card h3 { font-size: 18px; line-height: 1.4; margin-bottom: 15px; }
.post-footer {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 15px;
}
.watch-btn { color: var(--accent); font-weight: 700; }

/* Single Post */
.single-post-layout .post-header { margin-bottom: 40px; text-align: center; }
.single-post-layout .post-title { font-family: var(--fh); font-size: clamp(28px, 5vw, 48px); margin: 20px 0; }
.video-container {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--r); margin-bottom: 40px; box-shadow: var(--shadow);
}
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.entry-content { font-size: 18px; line-height: 1.8; color: var(--text-soft); }
.entry-content h2 { font-family: var(--fh); margin: 40px 0 20px; color: var(--text); }
.entry-content p { margin-bottom: 20px; }

/* Footer */
.site-footer {
  background: #060709; padding: 80px 0 40px; border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px;
  margin-bottom: 60px;
}
.about-col { grid-column: span 2; }
@media (max-width: 768px) { .about-col { grid-column: span 1; } }
.footer-desc { color: var(--muted); margin: 20px 0; max-width: 400px; }
.footer-title { font-family: var(--fh); font-size: 18px; margin-bottom: 25px; }
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 12px; }
.footer-nav a { color: var(--muted); font-size: 14px; }
.footer-nav a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 40px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 14px;
}

/* Pagination */
.pagination-wrap { margin-top: 50px; display: flex; justify-content: center; gap: 10px; }
.page-numbers {
  padding: 8px 16px; border-radius: 8px; background: var(--surface);
  border: 1px solid var(--border); font-weight: 600;
}
.page-numbers.current { background: var(--accent); color: #000; border-color: var(--accent); }

/* Missing CSS Rules */

/* Body & Layout */
body.no-scroll { overflow: hidden; }

/* Thumbnails & Placeholders */
.thumb-placeholder {
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 24px; border-radius: var(--r-sm);
  aspect-ratio: 16/9;
}

/* Header & Navigation */
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 5px 0; transition: 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
  background: var(--surface); z-index: 1100; padding: 80px 30px;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 20px;
}
.mobile-nav.open { right: 0; box-shadow: -10px 0 30px rgba(0,0,0,0.5); }
.mobile-nav a { font-size: 18px; font-weight: 600; color: var(--text-soft); }
.nav-divider { height: 1px; background: var(--border); margin: 10px 0; }
.mobile-social { display: flex; gap: 15px; }
.mobile-social a { font-size: 14px; color: var(--accent); }

/* Search Bar */
.search-bar-wrap {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.search-form { display: flex; gap: 10px; }
.search-field {
  flex: 1; background: var(--bg); border: 1px solid var(--border);
  color: var(--text); padding: 12px 20px; border-radius: 8px; outline: none;
}
.search-field:focus { border-color: var(--accent); }
.search-submit {
  background: var(--accent); color: #000; border: none;
  padding: 0 25px; border-radius: 8px; font-weight: 700; cursor: pointer;
}

/* Sidebar & Widgets */
.sidebar { display: flex; flex-direction: column; gap: 40px; }
.widget {
  background: var(--surface); border: 1px solid var(--border);
  padding: 25px; border-radius: var(--r);
}
.widget-title {
  font-family: var(--fh); font-size: 18px; font-weight: 800;
  margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.yt-btn {
  display: block; background: #ff0000; color: #fff; text-align: center;
  padding: 12px; border-radius: 8px; font-weight: 700; margin-top: 15px;
}

.popular-item, .recent-item {
  display: flex; gap: 15px; margin-bottom: 20px; align-items: center;
}
.popular-item:last-child, .recent-item:last-child { margin-bottom: 0; }
.popular-thumb { width: 72px; height: 54px; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
.popular-thumb img { width: 100%; height: 100%; object-fit: cover; }
.popular-title, .recent-title {
  font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.popular-date { font-size: 12px; color: var(--muted); }

/* Archive & Single Post */
.archive-header { padding: 40px var(--pad); background: var(--surface); border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.archive-header h1 { font-family: var(--fh); font-size: 32px; }

.post-header { margin-bottom: 30px; }
.post-title { font-family: var(--fh); font-size: clamp(24px, 5vw, 40px); margin: 15px 0; }
.meta-item { font-size: 13px; color: var(--muted); margin-right: 15px; }
.post-tags { margin: 30px 0; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.post-tags a { color: var(--accent); margin-left: 5px; }

.post-navigation {
  display: flex; justify-content: space-between; gap: 20px; margin: 40px 0;
  padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.post-navigation a { font-weight: 700; color: var(--accent); }

.related-posts { margin-top: 60px; }
.related-posts .section-title { margin-bottom: 25px; }

/* Footer Social & Back to Top */
.footer-social { display: flex; gap: 15px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  font-size: 12px; font-weight: 700; color: var(--text-soft);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

.back-to-top {
  position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px;
  background: var(--accent); color: #000; border: none; border-radius: 50%;
  font-size: 20px; cursor: pointer; display: none; z-index: 99;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: 0.3s;
}
.back-to-top.visible { display: flex; align-items: center; justify-content: center; }
.back-to-top:hover { transform: translateY(-5px); }

/* Brand Colors */
.brand-pill { border-left: 4px solid var(--brand-color, var(--border)); }
.brand-pill:hover { background: var(--brand-color, var(--accent)); color: #fff; border-color: transparent; }

/* Breadcrumb */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 15px; }
.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: var(--text-soft); }

/* WhatsApp & Services Strip */
.services-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px;
  padding: 40px 0; border-bottom: 1px solid var(--border); margin-bottom: 60px;
}
.service-item { display: flex; align-items: center; gap: 15px; }
.service-icon {
  width: 48px; height: 48px; background: var(--accent-dim); color: var(--accent);
  display: flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 20px;
}
.service-text strong { display: block; font-size: 16px; color: var(--text); }
.service-text span { font-size: 13px; color: var(--muted); }

.wa-float {
  position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px;
  background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 100; transition: 0.3s;
}
.wa-float:hover { transform: scale(1.1); }

.footer-contact p { margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.footer-contact strong { color: var(--text-soft); }

.soc-yt:hover { background: #ff0000 !important; color: #fff !important; border-color: #ff0000 !important; }
.soc-fb:hover { background: #1877f2 !important; color: #fff !important; border-color: #1877f2 !important; }
.soc-wa:hover { background: #25d366 !important; color: #fff !important; border-color: #25d366 !important; }
