/* ================================================================
   BLOG ZALES SUPPORT CENTER — Main Stylesheet
   Design: Dark Gaming Theme | Mobile-First
   ================================================================ */

/* ---- Google Fonts (Inter) ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ================================================================
   CSS VARIABLES
   ================================================================ */
:root {
  --bg-primary:    #f0f2f5; /* Sedikit lebih gelap agar kartu putih menonjol */
  --bg-secondary:  #ffffff;
  --bg-card:       #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass:      rgba(255, 255, 255, 0.9);

  --accent-primary: #1a73e8;
  --accent-blue:    #1a73e8;
  --accent-red:     #d93025;
  --accent-green:   #1e8e3e;
  --accent-orange:  #f29900;
  --accent-yellow:  #f9ab00;

  --text-primary:   #1a1a1a;
  --text-secondary: #5f6368;
  --text-muted:     #80868b;

  --border:        #e8eaed;
  --border-hover:  #dadce0;

  --header-height: 70px;
  --sidebar-width: 320px;
  --container-max: 1200px;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  20px;

  --shadow-sm:  0 1px 2px rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
  --shadow-md:  0 1px 3px rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
  --shadow-lg:  0 4px 4px rgba(0,0,0,0.25), 0 12px 20px 6px rgba(0,0,0,0.15);
  --shadow-soft: 0 2px 12px rgba(0,0,0,0.06);

  --transition: all 0.2s ease-in-out;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 15px;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background pattern soft dots */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-color: var(--bg-primary);
  background-image: radial-gradient(#d1d5db 0.8px, transparent 0.8px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

a { color: var(--accent-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: #174ea6; }

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

/* ================================================================
   LAYOUT
   ================================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.layout-main {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: 32px;
  padding: 32px 0 48px;
}

@media (max-width: 1024px) {
  .layout-main { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}

/* ================================================================
   HEADER
   ================================================================ */
#header {
  position: sticky;
  top: 0;
  z-index: 999;
  height: var(--header-height);
  background: #ffffff;
  border-bottom: 3px solid var(--accent-primary); /* Garis tegas di bawah header */
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary) !important;
  letter-spacing: -0.5px;
}

.site-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: white;
  box-shadow: 0 4px 10px rgba(26,115,232,0.2);
}

.site-logo span {
  color: var(--text-primary);
  font-weight: 800;
}

/* Nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--text-primary);
  background: rgba(124,58,237,.15);
}

/* Header Mobile Toggle */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary); /* Pastikan warna teks/ikon terlihat */
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  transition: var(--transition);
}

.hamburger:hover { color: var(--accent-primary); }

@media (max-width: 991px) {
  .hamburger { display: block; }
  .nav-menu, .header-search { display: none; }
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 220px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px !important;
  border-radius: var(--radius-sm);
  color: var(--text-secondary) !important;
  font-size: 13px;
}

.dropdown-menu a:hover {
  background: rgba(124,58,237,.15);
  color: var(--text-primary) !important;
}

.dropdown-menu .cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Search in header */
.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
  transition: var(--transition);
}

.search-form:focus-within {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}

.search-form input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 13px;
  padding: 7px 14px;
  width: 200px;
}

.search-form input::placeholder { color: var(--text-muted); }

.search-form button {
  background: var(--accent-purple);
  border: none;
  color: white;
  padding: 7px 14px;
  cursor: pointer;
  font-size: 13px;
  transition: var(--transition);
}

.search-form button:hover { background: #6d28d9; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 8px 10px;
  cursor: pointer;
  font-size: 16px;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(10px);
  z-index: 998;
  flex-direction: column;
  padding: 80px 24px 24px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: block;
}

.close-nav {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .header-search .search-form { display: none; }
  .hamburger { display: flex; align-items: center; }
}

/* ================================================================
   AD UNITS
   ================================================================ */
.ad-unit {
  background: var(--bg-secondary);
  border: 1px dashed rgba(124,58,237,.2);
  border-radius: var(--radius-md);
  text-align: center;
  padding: 8px;
  overflow: hidden;
}

.ad-unit ins { display: block; }

.ad-banner-top {
  margin-bottom: 24px;
}

/* ================================================================
   HERO / FEATURED SLIDER
   ================================================================ */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 24px 0 0;
}

.featured-slider {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .featured-slider { grid-template-columns: 1fr; }
  .featured-side { display: none; }
}

.featured-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
}

.featured-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.featured-main:hover img { transform: scale(1.03); }

.featured-main .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}

.featured-main .featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
}

.featured-main .featured-content h2 {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 8px;
  line-height: 1.3;
}

.featured-main .featured-content h2 a {
  color: white !important;
}

.featured-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.featured-side-item {
  display: flex;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.featured-side-item:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.featured-side-item img {
  width: 100px;
  height: 75px;
  object-fit: cover;
  flex-shrink: 0;
}

.featured-side-item .side-info {
  padding: 10px 12px 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-side-item .side-info h3 {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================================================================
   CATEGORY BADGE
   ================================================================ */
.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 100px;
  color: white;
  margin-bottom: 8px;
}

/* ================================================================
   ARTICLE CARDS GRID
   ================================================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}

.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 24px;
  background: var(--accent-primary);
  border-radius: 2px;
}

.view-all {
  font-size: 13px;
  color: var(--accent-purple);
  font-weight: 600;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

@media (max-width: 900px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .articles-grid { grid-template-columns: 1fr; } }

.article-card {
  background: var(--bg-card);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.article-card:hover .card-img img { transform: scale(1.05); }

.card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-secondary);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.card-img .no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  background: var(--gradient-card);
}

.card-hot-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent-red);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-title a { color: var(--text-primary) !important; }
.card-title a:hover { color: var(--accent-cyan) !important; }

.card-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-bottom: 12px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
}

.card-meta i { font-size: 11px; }

.card-views {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

/* ================================================================
   SIDEBAR
   ================================================================ */
.sidebar { position: relative; }

.sidebar-widget {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.widget-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  margin: -24px -24px 24px -24px;
  padding: 12px 24px;
  background: var(--accent-primary);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Popular Posts widget */
.popular-list { display: flex; flex-direction: column; gap: 12px; }

.popular-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-decoration: none;
  transition: var(--transition);
}

.popular-item:hover { transform: translateX(4px); }

.popular-rank {
  font-size: 20px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 24px;
}

.popular-item:nth-child(1) .popular-rank { color: var(--accent-yellow); }
.popular-item:nth-child(2) .popular-rank { color: var(--text-secondary); }
.popular-item:nth-child(3) .popular-rank { color: var(--accent-orange); }

.popular-img {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.popular-info h4 {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popular-info span {
  font-size: 11px;
  color: var(--text-muted);
}

/* Category widget */
.cat-list { display: flex; flex-direction: column; gap: 8px; }

.cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #ffffff;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.cat-item:hover {
  border-color: var(--accent-primary);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.cat-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-item-left i {
  font-size: 14px;
}

.cat-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.cat-count {
  font-size: 11px;
  background: rgba(124,58,237,.2);
  color: var(--accent-purple);
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 700;
}

/* Sidebar Search */
.sidebar-search {
  display: flex;
  gap: 8px;
}

.sidebar-search input {
  flex: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 13px;
  padding: 8px 12px;
  outline: none;
  transition: var(--transition);
}

.sidebar-search input:focus { border-color: var(--accent-purple); }
.sidebar-search input::placeholder { color: var(--text-muted); }

.sidebar-search button {
  background: var(--accent-primary);
  border: none;
  border-radius: var(--radius-sm);
  color: white;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  transition: var(--transition);
}

.sidebar-search button:hover { background: #174ea6; }

/* Sticky sidebar */
.sidebar-sticky {
  position: sticky;
  top: calc(var(--header-height) + 16px);
}

/* ================================================================
   SINGLE ARTICLE
   ================================================================ */
.article-header {
  margin-bottom: 28px;
}

.article-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.article-meta-bar i { margin-right: 4px; }

.article-featured-img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}

/* Article Content */
.article-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
}

.article-content h2 {
  font-size: 22px;
  margin: 36px 0 14px;
  color: var(--text-primary);
  padding-left: 16px;
  border-left: 3px solid var(--accent-purple);
}

.article-content h3 {
  font-size: 18px;
  margin: 28px 0 12px;
  color: var(--text-primary);
}

.article-content p { margin-bottom: 18px; }

.article-content ul, .article-content ol {
  margin: 0 0 18px 24px;
}

.article-content li { margin-bottom: 8px; }

.article-content a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content blockquote {
  border-left: 4px solid var(--accent-purple);
  background: rgba(124,58,237,.08);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  color: var(--text-primary);
  font-style: italic;
}

.article-content img {
  border-radius: var(--radius-md);
  width: 100%;
  margin: 20px 0;
  border: 1px solid var(--border);
}

.article-content pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  overflow-x: auto;
  margin: 20px 0;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: var(--accent-cyan);
}

.article-content code {
  background: rgba(124,58,237,.15);
  color: var(--accent-cyan);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Courier New', monospace;
}

/* In-article ad */
.in-article-ad {
  margin: 32px 0;
  text-align: center;
}

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.tag-chip {
  display: inline-block;
  font-size: 12px;
  padding: 4px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.tag-chip:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
}

/* Share buttons */
.share-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 28px 0;
}

.share-box h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: white !important;
  cursor: pointer;
  transition: var(--transition);
}

.share-btn:hover { opacity: .85; transform: translateY(-2px); }
.share-btn.whatsapp { background: #25d366; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter  { background: #1da1f2; }
.share-btn.telegram { background: #0088cc; }
.share-btn.copy     { background: var(--bg-secondary); border: 1px solid var(--border); color: var(--text-primary) !important; }

/* Related posts */
.related-section { margin-top: 40px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 580px) { .related-grid { grid-template-columns: 1fr; } }

/* ================================================================
   PAGE (Static pages: About, Contact, etc)
   ================================================================ */
.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 0 60px;
}

.page-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-content h3 {
  font-size: 20px;
  margin: 28px 0 12px;
  color: var(--text-primary);
}

.page-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.page-content a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 28px;
}

.contact-form .form-group { margin-bottom: 18px; }
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  padding: 10px 14px;
  outline: none;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,.1);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.btn-submit {
  background: var(--gradient-main);
  border: none;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 28px;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.btn-submit:hover { opacity: .9; transform: translateY(-1px); }

.form-success {
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.3);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--accent-green);
  font-size: 14px;
  margin-bottom: 20px;
}

.form-error {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #f87171;
  font-size: 14px;
  margin-bottom: 20px;
}

/* ================================================================
   PAGINATION
   ================================================================ */
.pagination { margin: 32px 0; display: flex; justify-content: center; }

.pagination ul {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination li a,
.pagination li.active a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.pagination li a:hover { border-color: var(--accent-purple); color: var(--accent-purple); }
.pagination li.active a {
  background: var(--accent-primary);
  border-color: transparent;
  color: white;
}

.pagination li.ellipsis a {
  background: transparent;
  border-color: transparent;
  cursor: default;
}

/* ================================================================
   BREADCRUMB
   ================================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-cyan); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--text-secondary); }

/* ================================================================
   FOOTER
   ================================================================ */
#footer {
  background: #1a1a1b; /* Dark anchor */
  border-top: 1px solid #2a2a2c;
  margin-top: 60px;
  position: relative;
  z-index: 1;
  color: #eeeeee;
}

.footer-inner {
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 12px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: #2a2a2c;
  border: 1px solid #3a3a3c;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 16px;
  transition: var(--transition);
}

.social-icon:hover {
  border-color: var(--accent-primary);
  color: white;
  background: var(--accent-primary);
}

.footer-heading {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 14px;
  color: #9da3ae;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent-primary); padding-left: 6px; }

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid #2a2a2c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 13px; color: #666; }

.footer-bottom-links {
  display: flex;
  gap: 16px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom-links a:hover { color: var(--accent-cyan); }

/* ================================================================
   UTILITIES
   ================================================================ */
.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge-new {
  font-size: 10px;
  font-weight: 700;
  background: var(--accent-green);
  color: white;
  padding: 2px 7px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state i { font-size: 48px; margin-bottom: 16px; display: block; }
.empty-state p { font-size: 16px; }

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp .5s ease forwards;
}

/* Stagger for grid items */
.articles-grid .article-card:nth-child(1) { animation-delay: .05s; }
.articles-grid .article-card:nth-child(2) { animation-delay: .10s; }
.articles-grid .article-card:nth-child(3) { animation-delay: .15s; }
.articles-grid .article-card:nth-child(4) { animation-delay: .20s; }
.articles-grid .article-card:nth-child(5) { animation-delay: .25s; }
.articles-grid .article-card:nth-child(6) { animation-delay: .30s; }

/* ================================================================
   SCROLL TO TOP
   ================================================================ */
#scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--gradient-main);
  border: none;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

#scroll-top.visible { opacity: 1; visibility: visible; }
#scroll-top:hover { transform: translateY(-3px); }

/* ================================================================
   COOKIE BANNER
   ================================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 1000;
  flex-wrap: wrap;
}

#cookie-banner p {
  font-size: 13px;
  color: var(--text-secondary);
  flex: 1;
}

#cookie-banner p a { color: var(--accent-cyan); }

.cookie-btn-accept {
  background: var(--gradient-main);
  border: none;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.cookie-btn-accept:hover { opacity: .9; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .layout-main { padding: 20px 0 40px; }
  .article-title { font-size: 24px; }
  .share-buttons { gap: 8px; }
  .share-btn { padding: 8px 12px; font-size: 12px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-inner { padding: 32px 0 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Mobile Nav Colors */
.mobile-nav {
  background: #ffffff !important;
  color: var(--text-primary) !important;
}

.mobile-nav a {
  color: var(--text-primary) !important;
  border-bottom: 1px solid var(--border);
}

.close-nav {
  color: var(--text-primary) !important;
}

/* WhatsApp Button Hover */
.btn-wa:hover {
  background: #128c7e !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37,211,102,0.4) !important;
}
