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

:root {
  --primary: #2ECC71;
  --primary-dark: #27AE60;
  --primary-light: #E8F8F5;
  --secondary: #2C3E50;
  --accent: #F39C12;
  --danger: #E74C3C;
  --warning: #F1C40F;
  --info: #3498DB;
  --gray: #7F8C8D;
  --gray-light: #BDC3C7;
  --gray-lighter: #ECF0F1;
  --white: #FFFFFF;
  --bg: #F0FAF6;
  --card-shadow: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 12px;
  --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background: var(--bg); color: var(--secondary); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border: none; border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px;
  cursor: pointer; transition: all 0.3s; text-align: center;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(46,204,113,0.4); }
.btn-secondary { background: var(--secondary); color: white; }
.btn-secondary:hover { background: #1a252f; }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: #e67e22; }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #c0392b; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-sm { padding: 6px 16px; font-size: 12px; }
.btn-block { width: 100%; justify-content: center; }

.card {
  background: var(--white); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--card-shadow);
}

.badge {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
}
.badge-success { background: #d5f5e3; color: var(--primary-dark); }
.badge-warning { background: #fef9e7; color: #f39c12; }
.badge-danger { background: #fadbd8; color: var(--danger); }
.badge-info { background: #d6eaf8; color: var(--info); }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; color: var(--secondary); }
.form-control {
  width: 100%; padding: 12px 16px; border: 2px solid var(--gray-lighter);
  border-radius: var(--radius-sm); font-family: 'Poppins', sans-serif;
  font-size: 14px; transition: border-color 0.3s; outline: none;
}
.form-control:focus { border-color: var(--primary); }
select.form-control { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237F8C8D' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 16px center var(--white); }

.alert { padding: 12px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #d5f5e3; color: var(--primary-dark); border-left: 4px solid var(--primary); }
.alert-danger { background: #fadbd8; color: var(--danger); border-left: 4px solid var(--danger); }
.alert-warning { background: #fef9e7; color: #9a7d0a; border-left: 4px solid var(--warning); }
.alert-info { background: #d6eaf8; color: #2471a3; border-left: 4px solid var(--info); }

.table-responsive { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
table th, table td { padding: 12px 16px; text-align: left; font-size: 14px; }
table th { background: var(--gray-lighter); font-weight: 600; color: var(--secondary); }
table tr { border-bottom: 1px solid var(--gray-lighter); }
table tr:hover { background: var(--primary-light); }

/* NAVBAR */
.navbar {
  background: var(--white); padding: 16px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky; top: 0; z-index: 100;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-brand { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; }
.navbar-brand .my { color: var(--primary); }
.navbar-brand .daily { color: var(--secondary); }
.navbar-brand .cash { color: var(--primary); }
.navbar-links { display: flex; align-items: center; gap: 24px; }
.navbar-links a { font-weight: 500; color: var(--gray); transition: color 0.3s; }
.navbar-links a:hover, .navbar-links a.active { color: var(--primary); }
.navbar-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--secondary); }

/* DASHBOARD LAYOUT */
.dashboard-layout { display: flex; min-height: calc(100vh - 70px); }
.sidebar {
  width: 260px; background: var(--secondary); color: white;
  padding: 30px 0; position: sticky; top: 70px; height: calc(100vh - 70px);
  overflow-y: auto; flex-shrink: 0;
}
.sidebar-header { padding: 0 24px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 16px; }
.sidebar-header h3 { font-size: 16px; color: var(--gray-light); }
.sidebar-header p { font-size: 12px; color: var(--gray); }
.sidebar-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 24px; color: var(--gray-light);
  font-size: 14px; font-weight: 500; transition: all 0.3s;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(46,204,113,0.15); color: var(--primary);
  border-right: 3px solid var(--primary);
}
.sidebar-nav a i { width: 20px; text-align: center; font-size: 16px; }
.sidebar-nav .divider { height: 1px; background: rgba(255,255,255,0.1); margin: 12px 0; }

.main-content { flex: 1; padding: 30px; }
.page-header { margin-bottom: 24px; }
.page-header h1 { font-size: 24px; font-weight: 700; color: var(--secondary); }
.page-header p { color: var(--gray); font-size: 14px; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 24px; }
.stat-card {
  background: var(--white); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--card-shadow);
  display: flex; align-items: center; gap: 16px;
}
.stat-card .icon {
  width: 56px; height: 56px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.stat-card .icon.green { background: #d5f5e3; color: var(--primary); }
.stat-card .icon.blue { background: #d6eaf8; color: var(--info); }
.stat-card .icon.orange { background: #fdebd0; color: var(--accent); }
.stat-card .icon.red { background: #fadbd8; color: var(--danger); }
.stat-card .icon.purple { background: #e8daef; color: #8e44ad; }
.stat-card .info h3 { font-size: 22px; font-weight: 700; }
.stat-card .info p { font-size: 12px; color: var(--gray); }

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

/* TASK CARDS */
.task-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.task-card {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--card-shadow); transition: transform 0.3s, box-shadow 0.3s;
  border-top: 3px solid var(--primary);
}
.task-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.task-card .task-icon { font-size: 32px; color: var(--primary); margin-bottom: 12px; }
.task-card h3 { font-size: 16px; margin-bottom: 8px; }
.task-card p { font-size: 13px; color: var(--gray); margin-bottom: 16px; }
.task-card .reward { font-size: 20px; font-weight: 700; color: var(--primary); }
.task-card .task-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.task-card.featured { border-top-color: var(--accent); }
.task-card.featured .task-icon { color: var(--accent); }

/* MODAL */
.modal-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); z-index: 1000; align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal { background: var(--white); border-radius: var(--radius); padding: 32px; max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto; }
.modal h2 { margin-bottom: 20px; font-size: 20px; }
.modal-close { float: right; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--gray); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; box-shadow: var(--card-shadow); }
  .navbar-links.active { display: flex; }
  .navbar-toggle { display: block; }
  .sidebar { display: none; }
  .dashboard-layout { flex-direction: column; }
  .main-content { padding: 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .task-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stat-cards { grid-template-columns: 1fr; }
}

/* ========== OGADS OFFERS STYLES ========== */

.tasks-page { padding: 90px 0 60px; }
.tasks-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.tasks-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.tasks-header h1 { font-size: 28px; color: var(--secondary); margin-bottom: 4px; }
.tasks-header p { color: var(--gray); font-size: 14px; }
.tasks-balance { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 16px 28px; border-radius: 14px; color: #fff; text-align: center; }
.tasks-balance span { display: block; font-size: 12px; opacity: .8; margin-bottom: 2px; }
.tasks-balance strong { font-size: 24px; }

.tasks-filters { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.tasks-filter-btn { padding: 10px 20px; border-radius: 24px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--gray); background: var(--white); border: 1px solid var(--gray-light); transition: all .2s; display: inline-flex; align-items: center; gap: 6px; }
.tasks-filter-btn:hover, .tasks-filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.tasks-empty { text-align: center; padding: 80px 20px; background: var(--white); border-radius: 16px; box-shadow: var(--card-shadow); }
.tasks-empty i { font-size: 56px; color: var(--gray-light); margin-bottom: 16px; }
.tasks-empty h2 { color: var(--secondary); margin-bottom: 8px; }
.tasks-empty p { color: var(--gray); margin-bottom: 20px; }

.tasks-count { font-size: 14px; color: var(--gray); margin-bottom: 16px; font-weight: 500; }

.offers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

.offer-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--card-shadow); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.offer-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.12); }

.offer-card-top { position: relative; height: 140px; background: linear-gradient(135deg, #f0faf6, #e8f8f5); display: flex; align-items: center; justify-content: center; }
.offer-img { width: 80px; height: 80px; border-radius: 18px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.1); background: #fff; }
.offer-img img { width: 100%; height: 100%; object-fit: cover; }
.offer-img-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--primary); background: var(--primary-light); }

.offer-payout { position: absolute; top: 12px; right: 12px; background: var(--primary); color: #fff; padding: 6px 14px; border-radius: 20px; font-weight: 700; font-size: 15px; box-shadow: 0 2px 8px rgba(46,204,113,.3); }

.offer-card-body { padding: 18px; flex: 1; }
.offer-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.offer-type-badge { padding: 3px 10px; border-radius: 10px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.offer-type-badge.survey { background: #eef2ff; color: #4f46e5; }
.offer-type-badge.install { background: #ecfdf5; color: #059669; }
.offer-type-badge.app { background: #fef3c7; color: #d97706; }
.offer-type-badge.pin { background: #fce7f3; color: #db2777; }
.offer-type-badge.video { background: #ede9fe; color: #7c3aed; }
.offer-type-badge.offer { background: var(--gray-lighter); color: var(--secondary); }

.offer-device-badge, .offer-country-badge { padding: 3px 8px; border-radius: 8px; font-size: 11px; background: var(--gray-lighter); color: var(--gray); }
.offer-device-badge i, .offer-country-badge i { margin-right: 2px; }
.offer-network-badge { padding: 3px 8px; border-radius: 8px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.offer-network-badge.ogads { background: #FFF0E6; color: #FF6B35; }
.offer-network-badge.abm { background: #EBF2FF; color: #3B82F6; }

.offer-title { font-size: 16px; color: var(--secondary); margin-bottom: 8px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.offer-desc { font-size: 13px; color: var(--gray); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.offer-card-bottom { padding: 0 18px 18px; }
.offer-btn { border-radius: 12px; padding: 12px; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.offer-btn:hover { background: var(--primary-dark); transform: none; }

@media (max-width: 768px) {
  .tasks-header { flex-direction: column; align-items: flex-start; }
  .tasks-balance { align-self: stretch; }
  .offers-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
@media (max-width: 480px) {
  .offers-grid { grid-template-columns: 1fr; }
}

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

/* Blog listing page */
.blog-page { padding-top: 70px; }
.blog-hero { background: linear-gradient(135deg, var(--secondary) 0%, #1a252f 100%); padding: 60px 20px 50px; text-align: center; }
.blog-hero-inner { max-width: 700px; margin: 0 auto; }
.blog-hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(46,204,113,.15); color: var(--primary); padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.blog-hero h1 { font-size: 36px; color: #fff; margin-bottom: 12px; }
.blog-hero p { color: #95a5a6; font-size: 16px; }
.blog-container { max-width: 1000px; margin: 0 auto; padding: 32px 20px 60px; }

.blog-filters { display: flex; gap: 8px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; }
.blog-filter-btn { padding: 8px 20px; border-radius: 24px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--gray); background: var(--white); border: 1px solid var(--gray-light); transition: all .2s; }
.blog-filter-btn:hover, .blog-filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.blog-empty { text-align: center; padding: 80px 20px; }
.blog-empty i { font-size: 56px; color: var(--gray-light); margin-bottom: 16px; }
.blog-empty h2 { color: var(--secondary); margin-bottom: 8px; }
.blog-empty p { color: var(--gray); }

/* Featured post */
.blog-featured { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--card-shadow); text-decoration: none; color: inherit; margin-bottom: 36px; transition: transform .25s, box-shadow .25s; }
.blog-featured:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.blog-featured-img { position: relative; min-height: 280px; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--primary-light), #d5f5e3); display: flex; align-items: center; justify-content: center; font-size: 48px; color: var(--primary); }
.blog-featured-label { position: absolute; top: 16px; left: 16px; background: var(--accent); color: #fff; padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.blog-featured-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body h2 { font-size: 24px; color: var(--secondary); margin: 12px 0; line-height: 1.3; }
.blog-featured-body p { color: var(--gray); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }

.blog-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--gray); }
.blog-category { background: var(--primary-light); color: var(--primary-dark); padding: 3px 10px; border-radius: 12px; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }

.blog-author { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.blog-author-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 14px; }
.blog-author strong { display: block; font-size: 13px; color: var(--secondary); }
.blog-author span { font-size: 11px; color: var(--gray); }

/* Blog card grid */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.blog-card { background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--card-shadow); text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.blog-card-img { height: 180px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--primary-light), #d5f5e3); display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--primary); }
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { font-size: 17px; color: var(--secondary); margin: 8px 0; line-height: 1.4; }
.blog-card-body p { font-size: 13px; color: var(--gray); line-height: 1.6; flex: 1; }
.blog-card-footer { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--gray-lighter); font-size: 12px; color: var(--gray); }

/* Single post page */
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--primary-dark)); width: 0; z-index: 9999; transition: width .1s; }

.blog-post-page { max-width: 760px; margin: 0 auto; padding: 90px 20px 60px; }
.blog-post-nav { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 24px; flex-wrap: wrap; }
.blog-post-nav a { color: var(--primary); text-decoration: none; font-weight: 500; }
.blog-post-nav a:hover { text-decoration: underline; }
.blog-post-nav i.fa-chevron-right { font-size: 10px; color: var(--gray-light); }
.blog-post-nav span { color: var(--gray); }

.blog-post-cover { border-radius: 16px; overflow: hidden; margin-bottom: 32px; box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.blog-post-cover img { width: 100%; max-height: 420px; object-fit: cover; display: block; }

.blog-post-header { text-align: center; margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--gray-lighter); }
.blog-post-header h1 { font-size: 34px; color: var(--secondary); line-height: 1.3; margin: 16px 0; }
.blog-post-excerpt { font-size: 17px; color: var(--gray); line-height: 1.6; max-width: 600px; margin: 0 auto 20px; }

.blog-post-author-bar { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; }
.blog-author-avatar-lg { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 18px; }
.blog-post-author-bar strong { display: block; font-size: 14px; color: var(--secondary); }
.blog-post-author-bar span { font-size: 12px; color: var(--gray); }

/* Post content typography */
.blog-post-content { font-size: 17px; line-height: 1.85; color: #3a3a3a; }
.blog-post-content h2 { font-size: 24px; color: var(--secondary); margin: 36px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--primary-light); }
.blog-post-content h3 { font-size: 20px; color: var(--secondary); margin: 28px 0 12px; }
.blog-post-content p { margin-bottom: 18px; }
.blog-post-content img { max-width: 100%; border-radius: 12px; margin: 20px 0; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.blog-post-content a { color: var(--primary); font-weight: 500; }
.blog-post-content ul, .blog-post-content ol { margin: 16px 0; padding-left: 24px; }
.blog-post-content li { margin-bottom: 8px; }
.blog-post-content blockquote { border-left: 4px solid var(--primary); margin: 24px 0; padding: 16px 24px; background: var(--primary-light); border-radius: 0 12px 12px 0; font-style: italic; color: var(--secondary); }
.blog-post-content code { background: var(--gray-lighter); padding: 2px 8px; border-radius: 4px; font-size: 14px; }
.blog-post-content pre { background: var(--secondary); color: #ecf0f1; padding: 20px; border-radius: 12px; overflow-x: auto; margin: 20px 0; font-size: 14px; }
.blog-post-content hr { border: none; height: 2px; background: var(--gray-lighter); margin: 36px 0; }

/* Tags */
.blog-post-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--gray-lighter); }
.blog-post-tags > i { color: var(--gray); }
.blog-tag { background: var(--gray-lighter); color: var(--secondary); padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 500; transition: all .2s; }
.blog-tag:hover { background: var(--primary-light); color: var(--primary-dark); }

/* Share bar */
.blog-post-share { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding: 20px 24px; background: var(--gray-lighter); border-radius: 12px; flex-wrap: wrap; gap: 12px; }
.blog-post-share > span { font-weight: 600; color: var(--secondary); font-size: 14px; }
.blog-share-buttons { display: flex; gap: 8px; }
.blog-share-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; text-decoration: none; border: none; cursor: pointer; transition: transform .2s, opacity .2s; }
.blog-share-btn:hover { transform: scale(1.1); opacity: .9; }
.blog-share-btn.twitter { background: #1DA1F2; }
.blog-share-btn.facebook { background: #1877F2; }
.blog-share-btn.whatsapp { background: #25D366; }
.blog-share-btn.copy { background: var(--secondary); }

/* Related articles */
.blog-related { margin-top: 48px; padding-top: 36px; border-top: 2px solid var(--gray-lighter); }
.blog-related h2 { font-size: 22px; margin-bottom: 20px; color: var(--secondary); }
.blog-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.blog-related-card { background: var(--white); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--card-shadow); transition: transform .2s; }
.blog-related-card:hover { transform: translateY(-3px); }
.blog-related-img { height: 130px; overflow: hidden; }
.blog-related-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-related-body { padding: 14px; }
.blog-related-body h3 { font-size: 14px; color: var(--secondary); line-height: 1.4; margin-bottom: 6px; }

/* Blog responsive */
@media (max-width: 768px) {
  .blog-hero h1 { font-size: 26px; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 200px; }
  .blog-featured-body { padding: 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-post-header h1 { font-size: 26px; }
  .blog-post-content { font-size: 16px; }
  .blog-post-share { flex-direction: column; text-align: center; }
  .blog-related-grid { grid-template-columns: 1fr; }
}

/* Purple icon for stat cards */
.stat-card .icon.purple { background: #f3e8ff; }
.stat-card .icon.purple i { color: #8b5cf6; }

/* Landing page mobile fixes */
@media (max-width: 768px) {
  section [style*="grid-template-columns: 1fr 1fr"] { display: flex !important; flex-direction: column !important; gap: 32px !important; }
  section [style*="grid-template-columns: repeat(3"] { display: flex !important; flex-direction: column !important; gap: 24px !important; }
  section [style*="grid-template-columns: 2fr 1fr 1fr"] { display: flex !important; flex-direction: column !important; gap: 24px !important; }
  section [style*="font-size: 48px"] { font-size: 32px !important; }
  section [style*="padding: 100px 0 80px"] { padding: 60px 16px 40px !important; }
  section [style*="padding: 80px 0"] { padding: 48px 16px !important; }
  section [style*="padding: 60px 0"] { padding: 40px 16px !important; }
}

/* Contact page mobile */
@media (max-width: 768px) {
  [style*="grid-template-columns: 1fr 1fr 1fr"] { display: flex !important; flex-direction: column !important; }
}

/* Lazy loading images */
img[loading="lazy"] { transition: opacity 0.3s; }

/* Legal pages */
.container ul { list-style: disc; }
.container ul li { margin-bottom: 6px; }

/* Wallet Page */
.wallet-category-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.wallet-cat-tab { display: flex; align-items: center; gap: 6px; padding: 10px 18px; border: 2px solid var(--gray-lighter); border-radius: 10px; background: var(--white); font-size: 14px; font-weight: 500; color: var(--gray); cursor: pointer; transition: all 0.2s; font-family: inherit; }
.wallet-cat-tab:hover { border-color: var(--primary); color: var(--primary); }
.wallet-cat-tab.active { border-color: var(--primary); background: var(--primary-light); color: var(--primary); font-weight: 600; }
.wallet-cat-tab i { font-size: 15px; }

.wallet-methods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.wallet-method-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid var(--gray-lighter); border-radius: 12px; cursor: pointer; transition: all 0.2s; background: var(--white); }
.wallet-method-card:hover:not(.disabled) { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(46,204,113,0.15); }
.wallet-method-card.selected { border-color: var(--primary); background: var(--primary-light); }
.wallet-method-card.disabled { opacity: 0.5; cursor: not-allowed; }
.wallet-method-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.wallet-method-info { flex: 1; min-width: 0; }
.wallet-method-info h4 { font-size: 14px; font-weight: 600; margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wallet-method-info span { font-size: 12px; color: var(--gray); }
.wallet-method-locked { color: var(--gray-light); font-size: 14px; }
.wallet-method-check { color: var(--gray-light); font-size: 13px; }

.wallet-selected-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 16px; background: var(--gray-lighter); border-radius: 12px; }
.wallet-form-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.wallet-close-btn { margin-left: auto; background: none; border: none; color: var(--gray); cursor: pointer; font-size: 18px; padding: 4px 8px; }

.wallet-amount-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.wallet-amount-btn { padding: 14px 24px; border: 2px solid var(--gray-lighter); border-radius: 10px; background: var(--white); font-size: 18px; font-weight: 700; color: var(--secondary); cursor: pointer; transition: all 0.2s; font-family: inherit; min-width: 80px; text-align: center; }
.wallet-amount-btn:hover:not(.disabled) { border-color: var(--primary); color: var(--primary); }
.wallet-amount-btn.active { border-color: var(--primary); background: var(--primary); color: var(--white); transform: scale(1.05); }
.wallet-amount-btn.disabled { opacity: 0.35; cursor: not-allowed; }

@media (max-width: 768px) {
  .wallet-category-tabs { gap: 6px; }
  .wallet-cat-tab { padding: 8px 12px; font-size: 12px; }
  .wallet-cat-tab span { display: none; }
  .wallet-methods-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .wallet-method-card { padding: 10px 12px; }
  .wallet-method-info h4 { font-size: 13px; }
  .wallet-amount-grid { gap: 8px; }
  .wallet-amount-btn { padding: 12px 16px; font-size: 16px; min-width: 64px; }
}


/* ========== MOBILE FIXES ========== */
.admin-topbar, .admin-overlay { display: none; }
@media (max-width: 768px) {
  .admin-topbar { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 150; height: 60px; padding: 0 16px; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.06); }
  .admin-topbar .navbar-brand { font-size: 18px; }
  .admin-topbar .navbar-toggle { display: block; }
  .dashboard-layout .sidebar { display: block; position: fixed; top: 0; left: 0; bottom: 0; height: 100%; width: 270px; z-index: 210; transform: translateX(-100%); transition: transform .25s ease; }
  body.admin-nav-open .sidebar { transform: translateX(0); box-shadow: 8px 0 30px rgba(0,0,0,.25); }
  body.admin-nav-open .admin-overlay { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 200; }
  body.admin-nav-open { overflow: hidden; }

  .wallet-category-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .wallet-cat-tab { justify-content: center; }
  .wallet-cat-tab span { display: inline; }
  .wallet-method-card { min-width: 0; gap: 10px; }
  .wallet-method-icon { width: 38px; height: 38px; font-size: 17px; }
  .wallet-method-check, .wallet-method-locked { display: none; }
  .wallet-method-info span { font-size: 11px; }

  .offer-card-top { height: 108px; }

}
@media (max-width: 480px) {
  .stat-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 14px 12px; gap: 10px; min-width: 0; }
  .stat-card .icon { width: 40px; height: 40px; font-size: 17px; border-radius: 10px; flex-shrink: 0; }
  .stat-card .info { min-width: 0; }
  .stat-card .info h3 { font-size: 18px; }
  .stat-card .info p { font-size: 11px; line-height: 1.3; }
}

/* Admin tracking codes */
.codes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.codes-title { font-size: 18px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.codes-label { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.codes-on { font-size: 11px; font-weight: 600; color: var(--primary-dark); background: var(--primary-light); padding: 2px 9px; border-radius: 10px; }
.codes-help { display: block; margin-top: 6px; font-size: 12px; color: var(--gray); line-height: 1.5; }
.codes-area { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; resize: vertical; }
@media (max-width: 900px) { .codes-grid { grid-template-columns: 1fr; } }

/* Cookie consent banner */
.cookie-banner { position: fixed; left: 20px; right: 20px; bottom: 20px; max-width: 980px; margin: 0 auto; z-index: 1000; background: var(--white); border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.18); border: 1px solid #E3ECE7; padding: 18px 22px; display: flex; align-items: center; gap: 20px; animation: cookieUp .35s ease-out; }
.cookie-banner.hide { display: none; }
.cookie-text { display: flex; align-items: flex-start; gap: 14px; flex: 1; }
.cookie-text i { font-size: 26px; color: var(--accent); margin-top: 2px; }
.cookie-text p { font-size: 14px; color: var(--secondary); line-height: 1.55; margin: 0; }
.cookie-text a { color: var(--primary-dark); font-weight: 600; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 11px 22px; font-size: 14px; white-space: nowrap; }
@keyframes cookieUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 640px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .cookie-actions .btn { flex: 1; }
}

.navbar-links a.btn-primary, .navbar-links a.btn-primary:hover { color: #fff; }

/* Admin messages */
.side-badge { margin-left: auto; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.msg-card { margin-bottom: 16px; border-left: 4px solid transparent; }
.msg-card.unread { border-left-color: var(--primary); }
.msg-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.msg-email { color: var(--gray); font-size: 14px; word-break: break-all; }
.msg-meta { font-size: 13px; color: var(--gray); margin-top: 6px; }
.msg-actions { display: flex; gap: 8px; align-items: center; }
.msg-actions form { margin: 0; }
.msg-body { font-size: 15px; line-height: 1.65; color: var(--secondary); background: #F7FAF9; border-radius: 10px; padding: 14px 16px; word-wrap: break-word; }

.maintenance-strip { background: #F39C12; color: #fff; text-align: center; font-size: 14px; font-weight: 600; padding: 9px 16px; position: relative; z-index: 300; }
.maintenance-strip a { color: #fff; text-decoration: underline; margin-left: 6px; }

/* Daily check-in & levels */
.daily-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 20px; margin-bottom: 24px; }
.daily-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.daily-head h2 { font-size: 18px; display: flex; align-items: center; gap: 8px; }
.streak-pill { background: #FEF3E2; color: var(--accent); font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 20px; white-space: nowrap; }
.streak-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 18px; }
.sday { border: 2px solid var(--gray-lighter); border-radius: 12px; padding: 10px 4px; text-align: center; display: flex; flex-direction: column; gap: 4px; align-items: center; background: var(--white); }
.sday-n { font-size: 11px; color: var(--gray); font-weight: 600; }
.sday-ico { width: 30px; height: 30px; border-radius: 50%; background: #FEF3E2; color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.sday-v { font-size: 12px; font-weight: 700; color: var(--secondary); }
.sday.done { border-color: var(--primary); background: var(--primary-light); }
.sday.done .sday-ico { background: var(--primary); color: #fff; }
.sday.next { border-color: var(--accent); box-shadow: 0 6px 16px rgba(243,156,18,.25); transform: translateY(-2px); }
.checkin-btn { padding: 14px; font-size: 16px; animation: checkinPulse 2s ease-in-out infinite; }
.checkin-done { padding: 14px; font-size: 14px; background: var(--gray-lighter); color: var(--gray); cursor: default; }
@keyframes checkinPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(46,204,113,.45); } 50% { box-shadow: 0 0 0 10px rgba(46,204,113,0); } }
.daily-note { font-size: 13px; color: var(--gray); margin-top: 10px; line-height: 1.5; }
.level-pill { color: #fff; font-weight: 700; font-size: 14px; padding: 6px 16px; border-radius: 20px; text-shadow: 0 1px 2px rgba(0,0,0,.2); }
.level-ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.lv { border: 2px solid var(--gray-lighter); border-radius: 12px; padding: 10px 6px; text-align: center; display: flex; flex-direction: column; gap: 2px; opacity: .6; }
.lv i { font-size: 22px; }
.lv b { font-size: 14px; }
.lv small { font-size: 11px; color: var(--gray); }
.lv.on { opacity: 1; border-color: var(--primary); background: var(--primary-light); }
.level-bar { height: 10px; background: var(--gray-lighter); border-radius: 6px; overflow: hidden; }
.level-bar div { height: 100%; background: linear-gradient(90deg, #2ECC71, #F1C40F); border-radius: 6px; }

/* Install app card */
.install-card { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; position: relative; background: linear-gradient(135deg, #E8F8F5, #fff); border: 1px solid #CDEFE0; }
.install-card[hidden] { display: none; }
.install-card > i { font-size: 32px; color: var(--primary); }
.install-card > div { flex: 1; }
.install-card p { font-size: 14px; color: var(--gray); margin-top: 2px; }
.install-x { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: var(--gray); cursor: pointer; font-size: 16px; }

/* Email verification box */
.verify-box { display: flex; gap: 18px; align-items: flex-start; background: #FEF9E7; border: 1px solid #F9E79F; border-radius: 14px; padding: 22px; }
.verify-box > i { font-size: 38px; color: var(--accent); }
.verify-box h3 { font-size: 18px; margin-bottom: 6px; }
.verify-box p { font-size: 14px; color: #7d6608; margin-bottom: 14px; line-height: 1.6; }

/* Recent payouts feed */
.payout-feed-section { padding: 36px 0 20px; background: var(--white); }
.payout-feed-head { display: flex; align-items: center; gap: 10px; justify-content: center; font-weight: 600; color: var(--secondary); margin-bottom: 18px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgba(46,204,113,.6); animation: livePulse 1.6s infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 10px rgba(46,204,113,0); } 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); } }
.payout-feed { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.payout-item { display: flex; align-items: center; gap: 12px; background: #F7FBF9; border: 1px solid #E3F2EA; border-radius: 14px; padding: 12px 14px; }
.payout-ico { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.payout-txt { font-size: 13px; color: var(--secondary); line-height: 1.45; min-width: 0; }
.payout-txt span { color: var(--gray); font-size: 12px; }
.payout-amt { color: var(--primary-dark); }

@media (max-width: 900px) {
  .daily-grid { grid-template-columns: 1fr; }
  .payout-feed { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .streak-days { gap: 4px; }
  .sday { padding: 8px 2px; border-radius: 10px; }
  .sday-n { font-size: 9px; }
  .sday-ico { width: 24px; height: 24px; font-size: 11px; }
  .sday-v { font-size: 10px; }
  .payout-feed { grid-template-columns: 1fr; }
  .verify-box { flex-direction: column; gap: 10px; }
  .install-card { flex-wrap: wrap; }
}

[hidden] { display: none !important; }

/* VPN notice */
.vpn-box { display: flex; gap: 18px; align-items: flex-start; background: #FFF5F3; border: 1px solid #F5C6BE; border-radius: 16px; padding: 26px; margin-top: 10px; }
.vpn-box > i { font-size: 40px; color: var(--danger); }
.vpn-box h3 { font-size: 20px; margin-bottom: 8px; color: var(--secondary); }
.vpn-box p { color: #8a4b42; line-height: 1.6; margin-bottom: 10px; font-size: 15px; }
.vpn-box .btn { margin-top: 6px; }
.vpn-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 10px; background: #FDEDEC; color: var(--danger); text-transform: uppercase; letter-spacing: .3px; }
.vpn-badge.soft { background: #FEF5E7; color: #B9770E; }
@media (max-width: 480px) { .vpn-box { flex-direction: column; gap: 10px; padding: 20px; } }

/* Blog post figures (publish tool) */
.blog-post-content .post-figure { margin: 28px 0; }
.blog-post-content .post-figure img { display: block; width: 100%; height: auto; margin: 0; }
.blog-post-content .post-figure figcaption { font-size: 14px; color: var(--gray); text-align: center; margin-top: 10px; }
.blog-post-content .post-figure img { border-radius: 14px; box-shadow: 0 10px 30px rgba(44,62,80,.12); }
.blog-post-content .post-callout { background: #eafaf1; border-left: 5px solid var(--primary); border-radius: 12px; padding: 18px 22px; margin: 24px 0; }
.blog-post-content .post-callout p { margin: 0; }

/* Animated FAQ (blog posts) */
.faq-list { display: grid; gap: 12px; margin: 18px 0 30px; }
.faq-item { background: #fff; border: 1px solid #E3F2EA; border-radius: 14px; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item:hover { border-color: #BFE9D2; }
.faq-item[open] { border-color: var(--primary); box-shadow: 0 10px 26px rgba(46,204,113,.14); }
.faq-item summary { list-style: none; cursor: pointer; position: relative; padding: 17px 60px 17px 20px; font-weight: 600; font-size: 17px; line-height: 1.45; color: var(--secondary); transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary-dark); }
.faq-item summary::after { content: '+'; position: absolute; right: 16px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-size: 22px; font-weight: 500; line-height: 30px; text-align: center; transition: transform .3s ease, background .3s, color .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-item[open] summary { color: var(--primary-dark); }
.faq-answer { overflow: hidden; }
.faq-item .faq-answer > * { margin: 0; padding: 0 20px 12px; font-size: 16px; color: #555; line-height: 1.7; }
.faq-item .faq-answer > :last-child { padding-bottom: 18px; }

/* 728x90 "Start earning today" ad banner */
.mdc-ad { position: relative; max-width: 728px; margin: 36px auto; padding-top: 16px; }
.mdc-ad-label { position: absolute; top: 0; right: 2px; font-size: 10px; letter-spacing: .5px; text-transform: uppercase; color: #9AA5A6; }
.blog-post-content a.mdc-banner, a.mdc-banner { position: relative; display: flex; align-items: center; gap: 16px; width: 100%; height: 90px; padding: 0 18px; border-radius: 12px; overflow: hidden; background: linear-gradient(110deg, #1E9E57 0%, #2ECC71 55%, #17A589 100%); color: #fff; text-decoration: none; box-shadow: 0 10px 26px rgba(39,174,96,.28); transition: transform .2s, box-shadow .2s; }
a.mdc-banner:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(39,174,96,.36); }
.blog-post-content .mdc-banner img.mdc-banner-logo, .mdc-banner-logo { width: 58px; height: 58px; margin: 0; border-radius: 14px; box-shadow: 0 6px 14px rgba(0,0,0,.18); flex-shrink: 0; position: relative; z-index: 2; background: #fff; }
.mdc-banner-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; position: relative; z-index: 2; }
.mdc-banner-text strong { font-size: 25px; font-weight: 800; line-height: 1.1; white-space: nowrap; }
.mdc-banner-text em { font-style: normal; color: #F1C40F; }
.mdc-banner-text span { font-size: 13px; opacity: .93; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mdc-banner-btn { margin-left: auto; flex-shrink: 0; position: relative; z-index: 2; background: #F39C12; color: #fff; font-weight: 800; font-size: 16px; padding: 12px 22px; border-radius: 30px; white-space: nowrap; box-shadow: 0 6px 16px rgba(0,0,0,.18); animation: mdcBtnPulse 2.2s ease-in-out infinite; }
.mdc-banner-shine { position: absolute; top: -20%; bottom: -20%; left: -30%; width: 90px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: mdcShine 3.6s ease-in-out infinite; z-index: 1; }
.mdc-banner-coin { position: absolute; z-index: 1; width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE58A, #F1C40F 60%, #D4A20B); color: #9A6B00; font-size: 13px; font-weight: 900; line-height: 24px; text-align: center; opacity: 0; animation: mdcCoin 3.2s ease-in infinite; }
.mdc-banner-coin.c1 { left: 67%; animation-delay: .2s; }
.mdc-banner-coin.c2 { left: 72%; animation-delay: 1.3s; width: 18px; height: 18px; line-height: 18px; font-size: 10px; }
.mdc-banner-coin.c3 { left: 77%; animation-delay: 2.3s; }
@keyframes mdcShine { 0% { left: -30%; } 55%, 100% { left: 115%; } }
@keyframes mdcCoin { 0% { top: 100%; opacity: 0; transform: rotate(0); } 20% { opacity: .95; } 80% { opacity: .9; } 100% { top: -30%; opacity: 0; transform: rotate(360deg); } }
@keyframes mdcBtnPulse { 0%, 100% { transform: scale(1); box-shadow: 0 6px 16px rgba(0,0,0,.18), 0 0 0 0 rgba(243,156,18,.55); } 50% { transform: scale(1.05); box-shadow: 0 6px 16px rgba(0,0,0,.18), 0 0 0 10px rgba(243,156,18,0); } }
@media (max-width: 680px) {
  .blog-post-content a.mdc-banner, a.mdc-banner { height: auto; min-height: 84px; padding: 12px 14px; gap: 12px; }
  .blog-post-content .mdc-banner img.mdc-banner-logo, .mdc-banner-logo { width: 46px; height: 46px; border-radius: 12px; }
  .mdc-banner-text strong { font-size: 19px; white-space: normal; }
  .mdc-banner-text span { font-size: 12px; white-space: normal; }
  .mdc-banner-btn { font-size: 14px; padding: 10px 14px; }
}
@media (max-width: 400px) {
  .mdc-banner-text span { display: none; }
  .mdc-banner-text strong { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .mdc-banner-shine, .mdc-banner-coin { display: none; }
  .mdc-banner-btn { animation: none; }
}

/* Shared site footer */
.site-footer { background: var(--secondary); color: #C9D3D6; padding: 48px 0 24px; margin-top: 40px; }
.sf-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer a { display: block; color: #C9D3D6; font-size: 14px; line-height: 1.5; margin-bottom: 10px; transition: color .2s; }
.site-footer a:hover { color: var(--primary); }
.sf-logo { display: flex !important; align-items: center; gap: 10px; color: #fff !important; font-size: 21px; font-weight: 700; margin-bottom: 12px !important; }
.sf-logo img { border-radius: 10px; }
.sf-logo b { color: var(--primary); }
.sf-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.sf-app { display: inline-flex !important; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.25); border-radius: 22px; padding: 8px 16px; color: #fff !important; font-weight: 600; }
.sf-app:hover { border-color: var(--primary); }
.sf-more { color: var(--primary) !important; font-weight: 600; }
.sf-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 20px; text-align: center; font-size: 13px; color: #95A5A6; }
@media (max-width: 900px) { .sf-grid { grid-template-columns: 1fr 1fr; } .sf-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer { padding-top: 36px; } .sf-grid { gap: 26px 20px; } }

section + .site-footer { margin-top: 0; }

/* Admin offer networks */
.net-card { margin-bottom: 24px; }
.net-grid { margin-bottom: 0; }
.net-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.net-mini { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--gray); background: #F7FAF9; border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; }
.net-mini b { color: var(--secondary); }
.net-switch { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; cursor: pointer; }
.net-switch input { display: none; }
.net-switch span { width: 44px; height: 24px; border-radius: 12px; background: #CFD8DC; position: relative; transition: background .2s; }
.net-switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.net-switch input:checked + span { background: var(--primary); }
.net-switch input:checked + span::after { transform: translateX(20px); }
.share-example { background: var(--primary-light); color: var(--primary-dark); border-radius: 10px; padding: 10px 14px; font-size: 14px; margin: -4px 0 10px; }
tr.net-off td { opacity: .5; }
