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

:root {
  --primary: #c0392b;
  --primary-dark: #96281b;
  --primary-light: #e74c3c;
  --accent: #f39c12;
  --safe: #27ae60;
  --danger: #e74c3c;
  --unknown: #f39c12;
  --dark: #1a1a2e;
  --dark2: #16213e;
  --text: #2c3e50;
  --text-muted: #7f8c8d;
  --border: #e8ecef;
  --bg: #f5f6fa;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --font: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }

/* ===== HEADER ===== */
.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 18px;
  flex-shrink: 0;
}

.logo-icon { font-size: 24px; }

.logo-text {
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}

.logo-text strong { color: var(--primary-light); }
.logo-tld { color: #aaa; font-size: 14px; font-weight: 400; }

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  color: #bbb;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.site-nav a:hover { color: #fff; background: rgba(255,255,255,0.1); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  margin-left: auto;
}

.mobile-nav {
  display: none;
  background: var(--dark2);
  padding: 8px 20px 16px;
}

.mobile-nav.open { display: block; }
.mobile-nav a { display: block; color: #bbb; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 15px; }

/* ===== ADS ===== */
.ad-banner {
  background: #f0f0f0;
  text-align: center;
  overflow: hidden;
}

.ad-banner--top { padding: 8px 0; border-bottom: 1px solid var(--border); }
.ad-banner--bottom { padding: 8px 0; border-top: 1px solid var(--border); margin-top: 16px; }

.ad-placeholder {
  background: linear-gradient(90deg, #f0f0f0, #e8e8e8, #f0f0f0);
  display: inline-block;
  padding: 16px 48px;
  color: #aaa;
  font-size: 12px;
  border-radius: 4px;
  border: 1px dashed #ccc;
}

.ad-sidebar {
  background: #f0f0f0;
  border: 1px dashed #ccc;
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  color: #aaa;
  font-size: 12px;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* ===== LAYOUT ===== */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}

.main-content { min-width: 0; }
.sidebar { position: sticky; top: 88px; }

/* ===== CARD ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.card h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== HERO SEARCH ===== */
.hero-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, #0f3460 100%);
  padding: 48px 20px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content { position: relative; max-width: 640px; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(231,76,60,0.2);
  border: 1px solid rgba(231,76,60,0.4);
  color: #ff6b6b;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-section h1 {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}

.hero-section p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  margin-bottom: 28px;
}

.search-form {
  display: flex;
  gap: 8px;
  max-width: 500px;
  margin: 0 auto;
}

.search-input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 16px;
  font-family: var(--font);
  outline: none;
  transition: border 0.2s;
}

.search-input::placeholder { color: rgba(255,255,255,0.4); }
.search-input:focus { border-color: var(--primary-light); background: rgba(255,255,255,0.12); }

.search-btn {
  padding: 14px 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.search-btn:hover { background: var(--primary-dark); }
.search-btn:active { transform: scale(0.98); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 28px;
}

.hero-stat { text-align: center; }
.hero-stat .num { font-size: 22px; font-weight: 800; color: var(--primary-light); }
.hero-stat .lbl { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.badge-safe    { background: var(--safe); }
.badge-danger  { background: var(--danger); }
.badge-unknown { background: var(--unknown); }

/* ===== COMMENT CARD ===== */
.comment-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 10px;
  background: #fafafa;
  border: 1px solid var(--border);
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.comment-card:hover { border-color: #ccc; }

.comment-card.featured {
  border-color: var(--safe);
  background: #f0faf5;
}

.comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.comment-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-body { flex: 1; min-width: 0; }

.comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.comment-numara { font-weight: 700; font-size: 13px; color: var(--text); }
.comment-time { font-size: 12px; color: var(--text-muted); }
.comment-text { font-size: 14px; color: var(--text); line-height: 1.6; margin-top: 6px; }
.comment-baslik { font-weight: 700; font-size: 14px; color: var(--dark); margin-top: 6px; }

.comment-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.btn-like, .btn-dislike {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}

.btn-like:hover { border-color: #3498db; color: #3498db; }
.btn-dislike:hover { border-color: var(--danger); color: var(--danger); }

.featured-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--safe);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== NUMBER DETAIL HEADER ===== */
.numara-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.numara-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--dark), #0f3460);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.numara-title { flex: 1; }
.numara-title h1 { font-size: 24px; font-weight: 800; color: var(--dark); line-height: 1.2; }
.numara-title p { color: var(--text-muted); font-size: 13px; margin-top: 4px; }

.numara-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.numara-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.numara-stat .icon { font-size: 16px; }
.numara-stat strong { color: var(--text); }

.numara-description {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

.numara-description h2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  border: none;
  padding: 0;
}

/* ===== ONAY BADGE ===== */
.onay-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e8f8f0;
  color: var(--safe);
  border: 1px solid #a8dfc4;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

/* ===== COMMENT FORM ===== */
.comment-form-wrap {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
  border: 1px solid var(--border);
}

.form-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.form-tab {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.form-tab.active { background: var(--primary); color: #fff; }

.form-panel { display: none; }
.form-panel.active { display: block; }

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

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border 0.2s;
}

.form-control:focus { border-color: var(--primary); }

textarea.form-control { resize: vertical; min-height: 80px; }

.form-select {
  appearance: none;
  background-image: 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='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.btn-submit {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 11px 24px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover { background: var(--primary-dark); }

.form-notice {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ===== NUMBER GRID ===== */
.number-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
}

.number-grid a {
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--text);
  text-align: center;
  transition: all 0.2s;
  display: block;
  font-weight: 500;
}

.number-grid a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ===== VERIFY BOX ===== */
.verify-box {
  background: linear-gradient(135deg, #f8f9ff, #fff);
  border: 1px solid #d0d8ff;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.verify-box a { color: var(--primary); font-weight: 600; }

/* ===== SIDEBAR WIDGETS ===== */
.widget { background: var(--white); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.widget h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); }
.widget-list { list-style: none; }
.widget-list li a { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 13px; color: var(--text); border-bottom: 1px solid var(--border); transition: color 0.2s; }
.widget-list li:last-child a { border-bottom: none; }
.widget-list li a:hover { color: var(--primary); }
.widget-list .count { font-size: 11px; color: var(--text-muted); background: #f0f0f0; padding: 2px 7px; border-radius: 20px; }

/* ===== INFO SECTIONS ===== */
.info-section { font-size: 14px; color: var(--text); line-height: 1.8; }
.info-section h2 { font-size: 17px; font-weight: 700; color: var(--dark); margin: 20px 0 8px; }
.info-section h2:first-child { margin-top: 0; }
.info-section p { color: #555; margin-bottom: 12px; }

/* ===== MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  max-width: 460px;
  width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
}

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

.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: #ccc; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: #aaa;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand .logo-text { color: #fff; font-size: 16px; }
.footer-brand p { font-size: 13px; color: #888; margin-top: 10px; line-height: 1.6; }

.footer-links h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-links a { display: block; color: #888; font-size: 13px; margin-bottom: 8px; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 20px;
  text-align: center;
  font-size: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-disclaimer { color: #666; margin-top: 4px; }

/* ===== ALERT ===== */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}

.alert-success { background: #eaf8f0; color: #1e8449; border: 1px solid #a9dfba; }
.alert-danger  { background: #fdedec; color: #922b21; border: 1px solid #f5b7b1; }
.alert-info    { background: #eaf2fb; color: #1a5276; border: 1px solid #a9cce3; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .main-container { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .site-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-section { padding: 32px 16px; }
  .search-form { flex-direction: column; }
  .hero-stats { gap: 16px; }
  .numara-header { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .number-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
}

/* ===== SCHEMA / SEO helpers ===== */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
