/**
 * DNS Checker - Visual Vercel/Geist Moderno v4.0
 * Com mapa Leaflet real e banners flutuantes
 */

/* ===== CSS Variables ===== */
:root {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --white: #fff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    --green-500: #22c55e;
    --green-600: #16a34a;
    --red-500: #ef4444;
    --yellow-500: #eab308;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    
    --radius: 8px;
    --radius-lg: 12px;
    
    --container-width: 1140px;
    --header-height: 64px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
    min-height: 100vh;
}
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-500); }

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Ad Banner Header ===== */
.ad-banner-header {
 display: flex;
 justify-content: center;
 padding: 16px 0;
 background: var(--gray-50);
 border-bottom: 1px solid var(--gray-200);
}

.ad-banner-header .ad-container {
 min-height: 90px;
 display: flex;
 align-items: center;
 justify-content: center;
}

/* ===== Ad Placeholder ===== */
.ad-placeholder {
 display: flex;
 align-items: center;
 justify-content: center;
 background: var(--gray-100);
 border: 2px dashed var(--gray-300);
 border-radius: var(--radius);
 color: var(--gray-400);
 font-size: 12px;
 font-weight: 500;
 min-height: 90px;
}

.ad-placeholder-inner {
 text-align: center;
}

.ad-placeholder-inner span {
 display: block;
 font-weight: 600;
 color: var(--gray-500);
 margin-bottom: 4px;
}

.ad-placeholder-inner small {
 color: var(--gray-400);
}

/* ===== Floating Side Banners (Desktop Only 1400px+) ===== */
.ad-floating-left,
.ad-floating-right {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    z-index: 50;
    display: none;
}
.ad-floating-left { left: 10px; }
.ad-floating-right { right: 10px; }
.ad-floating-left .ad-placeholder,
.ad-floating-right .ad-placeholder {
    width: 160px;
    height: 600px;
}

@media (min-width: 1400px) {
    .ad-floating-left, .ad-floating-right { display: block; }
}
@media (max-width: 1399px) {
    .ad-floating-left, .ad-floating-right { display: none !important; }
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
}
.logo:hover { color: var(--gray-900); }
.logo-icon { width: 26px; height: 26px; }
.logo-highlight { color: var(--gray-400); font-weight: 400; }

.nav { display: flex; gap: 4px; }
.nav-link {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius);
    transition: all 0.15s;
}
.nav-link:hover { color: var(--gray-900); background: var(--gray-100); }
.nav-link.active { color: var(--gray-900); background: var(--gray-100); }

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span { width: 20px; height: 2px; background: var(--gray-900); border-radius: 2px; }

/* ===== Main ===== */
.main { flex: 1; }

/* ===== Search Section ===== */
.search-section { padding: 40px 0; border-bottom: 1px solid var(--gray-200); }
.search-section h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--gray-900); margin-bottom: 12px; }
.search-section > p { font-size: 1rem; color: var(--gray-500); margin-bottom: 24px; }

.search-input-group { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.search-input {
    flex: 1;
    min-width: 200px;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 15px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    background: var(--white);
    color: var(--gray-900);
}
.search-input:focus { outline: none; border-color: var(--gray-500); }
.search-input::placeholder { color: var(--gray-400); }

/* ===== Custom Select Dropdown ===== */
.custom-select { position: relative; min-width: 140px; }
.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font-mono);
    color: var(--gray-900);
    transition: all 0.15s;
}
.custom-select-trigger:hover { border-color: var(--gray-400); }
.custom-select.open .custom-select-trigger { border-color: var(--gray-500); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.custom-select-trigger svg { width: 16px; height: 16px; color: var(--gray-500); transition: transform 0.2s; }
.custom-select.open .custom-select-trigger svg { transform: rotate(180deg); }
.custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}
.custom-select.open .custom-select-dropdown { display: block; }
.custom-select-option {
    padding: 12px 16px;
    font-family: var(--font-mono);
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s;
}
.custom-select-option:hover { background: var(--gray-100); }
.custom-select-option.selected { background: var(--gray-900); color: var(--white); }
.custom-select-option small { display: block; font-family: var(--font-sans); font-size: 11px; color: var(--gray-500); margin-top: 2px; }
.custom-select-option.selected small { color: var(--gray-300); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 14px 24px;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all 0.15s;
}
.btn-primary { background: var(--gray-900); color: var(--white); }
.btn-primary:hover { background: var(--gray-800); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-outline { background: transparent; color: var(--gray-600); border: 1px solid var(--gray-300); }
.btn-outline:hover { color: var(--gray-900); border-color: var(--gray-400); }
.btn-sm { padding: 10px 14px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }

.quick-examples { margin-top: 24px; }
.quick-examples p { font-size: 13px; color: var(--gray-500); margin-bottom: 12px; }
.example-buttons { display: flex; flex-wrap: wrap; gap: 8px; }

/* ===== Propagation Section ===== */
.propagation-section { padding: 32px 0; background: var(--gray-50); }
.propagation-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.propagation-header h2 { font-size: 1.25rem; font-weight: 700; }
.domain-info { font-size: 14px; color: var(--gray-500); }
.domain-info span { font-family: var(--font-mono); color: var(--gray-700); }

.refresh-options { display: flex; gap: 6px; flex-wrap: wrap; }
.refresh-btn {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.15s;
}
.refresh-btn:hover { border-color: var(--gray-300); color: var(--gray-900); }
.refresh-btn.active { background: var(--gray-900); color: var(--white); border-color: var(--gray-900); }

/* ===== Leaflet Map ===== */
.map-container {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}
#worldMap { height: 400px; width: 100%; }

.map-legend {
    display: flex;
    gap: 16px;
    padding: 12px 16px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    font-size: 12px;
}
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.legend-dot.propagated { background: var(--green-500); }
.legend-dot.pending { background: var(--yellow-500); }
.legend-dot.error { background: var(--red-500); }

/* ===== Stats ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { padding: 20px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); text-align: center; }
.stat-value { font-size: 2rem; font-weight: 700; }
.stat-value.propagated { color: var(--green-600); }
.stat-value.pending { color: var(--yellow-500); }
.stat-value.error { color: var(--red-500); }
.stat-label { font-size: 13px; color: var(--gray-500); margin-top: 4px; }

/* ===== Progress ===== */
.progress-container { margin-bottom: 24px; }
.progress-bar { height: 8px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--green-500); border-radius: 4px; transition: width 0.3s; }
.progress-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--gray-500); }

/* ===== Record Tabs ===== */
.record-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.record-tab {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font-mono);
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.15s;
}
.record-tab:hover { border-color: var(--gray-300); color: var(--gray-900); }
.record-tab.active { background: var(--gray-900); color: var(--white); border-color: var(--gray-900); }

/* ===== Server List ===== */
.server-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.server-item { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); }
.server-info { flex: 1; min-width: 0; }
.server-name { font-size: 14px; font-weight: 500; color: var(--gray-900); }
.server-location { font-size: 12px; color: var(--gray-500); }
.server-status { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.status-dot.propagated { background: var(--green-500); }
.status-dot.pending { background: var(--yellow-500); }
.status-dot.error { background: var(--red-500); }
.server-value { font-family: var(--font-mono); font-size: 12px; color: var(--gray-600); }
.server-pending { font-size: 12px; color: var(--gray-400); }

/* ===== Empty State ===== */
.empty-state { text-align: center; padding: 60px 24px; }
.empty-state svg { width: 56px; height: 56px; color: var(--gray-300); margin-bottom: 16px; }
.empty-state h3 { font-size: 1.125rem; font-weight: 600; color: var(--gray-700); margin-bottom: 8px; }
.empty-state p { font-size: 14px; color: var(--gray-500); max-width: 300px; margin: 0 auto; }

/* ===== Page Content (Sobre, Contato, etc) ===== */
.page-content { padding: 40px 0; }
.page-content h1 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.page-content h2 { font-size: 1.5rem; font-weight: 700; margin: 32px 0 16px; }
.page-content h3 { font-size: 1.25rem; font-weight: 600; margin: 24px 0 12px; }
.page-content p { margin-bottom: 16px; color: var(--gray-600); }
.page-content ul, .page-content ol { margin: 16px 0; padding-left: 24px; }
.page-content li { margin-bottom: 8px; color: var(--gray-600); }

/* ===== Contact Form ===== */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; color: var(--gray-700); }
.form-input, .form-textarea { width: 100%; padding: 14px 16px; font-size: 15px; border: 1px solid var(--gray-300); border-radius: var(--radius-lg); font-family: var(--font-sans); }
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--gray-500); }
.form-textarea { min-height: 150px; resize: vertical; }

/* ===== Footer ===== */
.footer {
 background: rgba(255,255,255,0.98);
 backdrop-filter: blur(12px);
 border-top: 1px solid var(--gray-200);
 color: var(--gray-600);
 padding: 48px 0 24px;
}
.footer-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 40px;
 margin-bottom: 32px;
}
.footer-section h4 {
 font-size: 14px;
 font-weight: 600;
 color: var(--gray-900);
 margin-bottom: 16px;
}
.footer-section p {
 font-size: 14px;
 line-height: 1.6;
 color: var(--gray-500);
}
.footer-section ul {
 list-style: none;
}
.footer-section li {
 margin-bottom: 10px;
}
.footer-section a {
 font-size: 14px;
 color: var(--gray-600);
 transition: color 0.15s;
}
.footer-section a:hover {
 color: var(--gray-900);
}
.footer-bottom {
 padding-top: 24px;
 border-top: 1px solid var(--gray-200);
 display: flex;
 justify-content: space-between;
 flex-wrap: wrap;
 gap: 12px;
 font-size: 13px;
 color: var(--gray-500);
}
.footer-bottom a {
 color: var(--gray-500);
}
.footer-bottom a:hover {
 color: var(--gray-700);
}

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

@media (max-width: 576px) {
 .footer-grid {
 grid-template-columns: 1fr;
 gap: 24px;
 }
 .footer-bottom {
 flex-direction: column;
 text-align: center;
 gap: 8px;
 }
}

/* ===== Utilities ===== */
.hidden { display: none !important; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.spin { animation: spin 1s linear infinite; }

/* ===== Alerts ===== */
.alert { padding: 16px; border-radius: var(--radius-lg); margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }

/* ===== In-Feed Ads ===== */
.infeed-ad {
 margin: 40px 0;
 min-height: 100px;
}

.infeed-ad-list {
 background: var(--gray-50);
 border-radius: var(--radius);
 padding: 24px;
}

.infeed-ad-grid {
 background: var(--gray-50);
 border-radius: var(--radius);
 padding: 24px;
 min-height: 200px;
}

.infeed-ad-card {
 background: var(--white);
 border: 1px solid var(--gray-200);
 border-radius: var(--radius-lg);
 padding: 24px;
 min-height: 150px;
}

.in-article-ad {
 margin: 48px 0;
}

.infeed-container {
 padding: 32px 0;
 margin: 0;
}

.infeed-container .infeed-ad:first-child {
 margin-top: 0;
}

.infeed-container .infeed-ad:last-child {
 margin-bottom: 0;
}

/* In-feed dentro de seções */
.propagation-section .infeed-container {
 padding: 0;
 margin: 32px 0;
}

/* ===== Native Ads ===== */
.native-ad-container {
 background: var(--white);
 border: 1px solid var(--gray-200);
 border-radius: var(--radius-lg);
 overflow: hidden;
 margin: 32px 0;
}

.native-ad-label {
 font-size: 11px;
 color: var(--gray-400);
 text-transform: uppercase;
 letter-spacing: 0.05em;
 padding: 8px 12px;
 background: var(--gray-50);
 border-bottom: 1px solid var(--gray-200);
}

/* ===== Blog Slider ===== */
.blog-slider-section {
 padding: 48px 0;
 background: var(--white);
}

.blog-slider-header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 24px;
}

.blog-slider-header h2 {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--gray-900);
}

.blog-slider-link {
 font-size: 14px;
 font-weight: 500;
 color: var(--blue-600);
 text-decoration: none;
}

.blog-slider-link:hover {
 color: var(--blue-500);
}

.blog-slider-container {
 position: relative;
 overflow: hidden;
}

.blog-slider {
 display: flex;
 gap: 16px;
 transition: transform 0.3s ease;
}

.blog-slide {
 min-width: calc(25% - 12px);
 background: var(--white);
 border: 1px solid var(--gray-200);
 border-radius: var(--radius-lg);
 overflow: hidden;
 transition: all 0.2s;
}

.blog-slide:hover {
 border-color: var(--gray-300);
 box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.blog-slide a {
 display: block;
 text-decoration: none;
 color: inherit;
}

.blog-slide-image {
 width: 100%;
 height: 140px;
 overflow: hidden;
 background: var(--gray-100);
}

.blog-slide-image img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.3s;
}

.blog-slide:hover .blog-slide-image img {
 transform: scale(1.05);
}

.blog-slide-placeholder {
 width: 100%;
 height: 140px;
 display: flex;
 align-items: center;
 justify-content: center;
 background: var(--gray-100);
}

.blog-slide-placeholder svg {
 width: 40px;
 height: 40px;
 color: var(--gray-300);
}

.blog-slide-content {
 padding: 16px;
}

.blog-slide-date {
 font-size: 11px;
 color: var(--gray-500);
 text-transform: uppercase;
 letter-spacing: 0.05em;
}

.blog-slide h3 {
 font-size: 14px;
 font-weight: 600;
 color: var(--gray-900);
 margin-top: 8px;
 line-height: 1.4;
 display: -webkit-box;
 -webkit-line-clamp: 2;
 -webkit-box-orient: vertical;
 overflow: hidden;
}

.blog-slider-nav {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 16px;
 margin-top: 24px;
}

.slider-btn {
 width: 36px;
 height: 36px;
 border: 1px solid var(--gray-300);
 border-radius: 50%;
 background: var(--white);
 display: flex;
 align-items: center;
 justify-content: center;
 cursor: pointer;
 transition: all 0.15s;
}

.slider-btn:hover {
 background: var(--gray-100);
 border-color: var(--gray-400);
}

.slider-btn svg {
 width: 16px;
 height: 16px;
 color: var(--gray-600);
}

.slider-dots {
 display: flex;
 gap: 8px;
}

.slider-dot {
 width: 8px;
 height: 8px;
 border-radius: 50%;
 background: var(--gray-300);
 cursor: pointer;
 transition: all 0.2s;
}

.slider-dot.active {
 background: var(--gray-900);
 width: 24px;
 border-radius: 4px;
}

/* ===== Blog Grid (List Page) ===== */
.blog-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
 gap: 24px;
}

.blog-card {
 background: var(--white);
 border: 1px solid var(--gray-200);
 border-radius: var(--radius-lg);
 overflow: hidden;
 transition: all 0.2s;
}

.blog-card:hover {
 border-color: var(--gray-300);
 box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.blog-card-link {
 display: block;
 text-decoration: none;
 color: inherit;
}

.blog-card-image {
 width: 100%;
 height: 180px;
 overflow: hidden;
 background: var(--gray-100);
}

.blog-card-image img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.3s;
}

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

.blog-card-placeholder {
 width: 100%;
 height: 180px;
 display: flex;
 align-items: center;
 justify-content: center;
 background: var(--gray-100);
}

.blog-card-placeholder svg {
 width: 48px;
 height: 48px;
 color: var(--gray-300);
}

.blog-card-content {
 padding: 20px;
}

.blog-card-date {
 font-size: 12px;
 color: var(--gray-500);
 text-transform: uppercase;
 letter-spacing: 0.05em;
}

.blog-card-title {
 font-size: 1.125rem;
 font-weight: 600;
 color: var(--gray-900);
 margin: 8px 0;
 line-height: 1.4;
}

.blog-card-excerpt {
 font-size: 14px;
 color: var(--gray-600);
 line-height: 1.5;
 display: -webkit-box;
 -webkit-line-clamp: 2;
 -webkit-box-orient: vertical;
 overflow: hidden;
 margin-bottom: 12px;
}

.blog-card-read {
 font-size: 13px;
 font-weight: 500;
 color: var(--blue-600);
}

/* ===== Blog Post ===== */
.post-article {
 background: var(--white);
}

.post-header {
 padding: 48px 0 32px;
 background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
 border-bottom: 1px solid var(--gray-200);
}

.post-meta {
 display: flex;
 align-items: center;
 gap: 16px;
 margin-bottom: 16px;
}

.post-back {
 font-size: 13px;
 color: var(--gray-500);
 text-decoration: none;
}

.post-back:hover {
 color: var(--gray-900);
}

.post-date {
 font-size: 13px;
 color: var(--gray-500);
}

.post-title {
 font-size: 2.5rem;
 font-weight: 800;
 color: var(--gray-900);
 line-height: 1.2;
 letter-spacing: -0.02em;
}

.post-excerpt {
 font-size: 1.125rem;
 color: var(--gray-600);
 margin-top: 16px;
 line-height: 1.6;
}

.post-featured-image {
 padding: 32px 0;
 background: var(--white);
}

.post-featured-image img {
 width: 100%;
 max-height: 500px;
 object-fit: cover;
 border-radius: var(--radius-lg);
}

.post-content {
 padding: 48px 0;
}

.post-content-inner {
 max-width: 720px;
}

.post-content-inner h2 {
 font-size: 1.75rem;
 font-weight: 700;
 margin: 48px 0 16px;
 color: var(--gray-900);
}

.post-content-inner h3 {
 font-size: 1.25rem;
 font-weight: 600;
 margin: 32px 0 12px;
 color: var(--gray-900);
}

.post-content-inner p {
 margin-bottom: 20px;
 line-height: 1.8;
 color: var(--gray-700);
}

.post-content-inner ul,
.post-content-inner ol {
 margin: 20px 0;
 padding-left: 24px;
}

.post-content-inner li {
 margin-bottom: 8px;
 color: var(--gray-700);
 line-height: 1.7;
}

.post-content-inner pre,
.post-content-inner code {
 background: var(--gray-100);
 border-radius: var(--radius);
 font-family: var(--font-mono);
}

.post-content-inner code {
 padding: 2px 6px;
 font-size: 13px;
}

.post-content-inner pre {
 padding: 16px;
 overflow-x: auto;
}

.post-content-inner pre code {
 padding: 0;
 background: none;
}

.post-content-inner img {
 max-width: 100%;
 border-radius: var(--radius);
 margin: 24px 0;
}

.post-content-inner blockquote {
 border-left: 4px solid var(--gray-300);
 padding-left: 20px;
 margin: 24px 0;
 color: var(--gray-600);
 font-style: italic;
}

/* ===== Post Sidebar ===== */
.post-sidebar {
 display: flex;
 flex-direction: column;
 gap: 20px;
}

.sidebar-card {
 background: var(--white);
 border: 1px solid var(--gray-200);
 border-radius: var(--radius-lg);
 padding: 20px;
}

.sidebar-title {
 font-size: 14px;
 font-weight: 600;
 color: var(--gray-900);
 margin-bottom: 16px;
}

.post-stats {
 display: flex;
 flex-direction: column;
 gap: 12px;
}

.stat-item {
 display: flex;
 align-items: center;
 gap: 10px;
 font-size: 13px;
 color: var(--gray-600);
}

.stat-item svg {
 width: 16px;
 height: 16px;
 color: var(--gray-400);
}

.share-buttons {
 display: flex;
 flex-direction: column;
 gap: 8px;
}

.share-btn {
 padding: 10px 14px;
 font-size: 13px;
 font-weight: 500;
 border-radius: var(--radius);
 text-decoration: none;
 text-align: center;
 transition: all 0.15s;
}

.share-twitter {
 background: #1da1f2;
 color: white;
}

.share-facebook {
 background: #4267b2;
 color: white;
}

.share-linkedin {
 background: #0077b5;
 color: white;
}

.recent-posts {
 display: flex;
 flex-direction: column;
 gap: 12px;
}

.recent-post-item {
 display: flex;
 gap: 12px;
 text-decoration: none;
 padding: 8px 0;
 border-bottom: 1px solid var(--gray-100);
}

.recent-post-item:last-child {
 border-bottom: none;
}

.recent-post-item img {
 width: 48px;
 height: 48px;
 object-fit: cover;
 border-radius: 4px;
}

.recent-post-title {
 font-size: 13px;
 font-weight: 500;
 color: var(--gray-900);
 display: block;
 line-height: 1.3;
}

.recent-post-date {
 font-size: 11px;
 color: var(--gray-500);
 margin-top: 4px;
 display: block;
}

/* ===== Pagination ===== */
.pagination {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 margin-top: 40px;
 padding-top: 40px;
 border-top: 1px solid var(--gray-200);
}

.pagination-numbers {
 display: flex;
 gap: 4px;
}

.pagination-number {
 padding: 8px 12px;
 font-size: 14px;
 font-weight: 500;
 color: var(--gray-600);
 text-decoration: none;
 border-radius: var(--radius);
 transition: all 0.15s;
}

.pagination-number:hover {
 background: var(--gray-100);
 color: var(--gray-900);
}

.pagination-number.active {
 background: var(--gray-900);
 color: white;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
 .header-content { height: 56px; }
 .nav { display: none; }
 .mobile-menu-btn { display: flex; }
 .search-section h1 { font-size: 1.5rem; }
 .search-input-group { flex-direction: column; }
 .custom-select { width: 100%; }
 .stats-grid { grid-template-columns: 1fr; }
 .server-list { grid-template-columns: 1fr; }
 #worldMap { height: 280px; }
 .ad-banner-header .ad-placeholder { width: 100%; height: 60px; }
 .infeed-ad { margin: 16px 0; }
}
