:root { --bg: #0f172a; --card: #111827; --muted: #9ca3af; --text: #e5e7eb; --brand: #60a5fa; }
* { box-sizing: border-box; }
html, body { margin:0; padding:0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; background: linear-gradient(135deg,#0f172a,#1f2937); color: var(--text); }
.container { max-width: 1100px; margin: 0 auto; padding: 24px; }
.navbar { background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.15)); border-bottom: 1px solid #1f2937; position: sticky; top:0; backdrop-filter: blur(8px); }
.nav-inner { display:flex; align-items:center; justify-content:space-between; }
.brand a { color: var(--text); text-decoration:none; font-weight:600; }
.brand-logo { display:inline-flex; align-items:center; gap:10px; padding:6px 10px; border-radius:12px; background: rgba(96,165,250,0.10); border:1px solid rgba(96,165,250,0.30); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.brand-logo .logo-icon { width:22px; height:22px; }
.brand-logo:hover { transform: translateY(-1px); background: rgba(96,165,250,0.16); box-shadow: 0 4px 14px rgba(96,165,250,0.18); }
.brand-name { font-weight:700; letter-spacing: .2px; color: var(--text); }
.nav-links { display:flex; align-items:center; gap:10px; white-space: nowrap; overflow-x: auto; }
.nav-links a { color: var(--text); margin-right:0; text-decoration:none; padding:6px 8px; border-radius:8px; transition: background .15s ease, color .15s ease; }
.nav-links a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.nav-links a:active { background: rgba(96,165,250,0.18); }
.ip-pill { background:#0b1020; border:1px solid #1f2937; border-radius:999px; padding:6px 10px; font-size:12px; white-space: nowrap; flex: 0 0 auto; }
.ip-label { color: var(--muted); margin-right:6px; }
.hero { text-align:left; padding: 28px 0; }
.hero h1 { font-size: 2rem; line-height: 1.3; margin-bottom: 6px; }
.hero p { color: var(--muted); font-size: 1rem; }
.cta { display:inline-block; margin-top:10px; background: var(--brand); color:#0b1020; padding:10px 14px; border-radius:8px; text-decoration:none; font-weight:600; box-shadow: 0 6px 14px rgba(96,165,250,0.25); transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(96,165,250,0.3); background: #7db7ff; }
.ip-focus { margin-top:12px; background:#0b1020; border:1px solid #1f2937; border-radius:12px; padding:14px; }
.ip-title { color: var(--muted); font-size:12px; }
.ip-big { font-size:24px; font-weight:600; letter-spacing:1px; }
.panel { background: rgba(0,0,0,0.15); border:1px solid #1f2937; padding:14px; border-radius:14px; margin-bottom:18px; }
.grid { display:grid; gap:12px; grid-template-columns: repeat(3, 1fr); }
.card { background: rgba(0,0,0,0.18); border:1px solid rgba(96,165,250,0.25); border-radius:14px; padding:14px; box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.card-link { text-decoration:none; color: var(--text); display:block; transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.28); border-color: rgba(96,165,250,0.45); background: rgba(96,165,250,0.12); }
.card-link h3 { margin-top:0; }
.card-link p { color: var(--muted); }
.card-title { display:flex; align-items:center; gap:8px; }
.card-icon { width:20px; height:20px; stroke: #60a5fa; fill: transparent; }
.card .header { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.code-block { max-height: 400px; overflow:auto; background:#0b1020; border:1px solid #1f2937; border-radius:8px; padding:10px; }
.btn-sm { padding:6px 10px; font-size:12px; }
.tabs { display:flex; gap:12px; margin-bottom:8px; }
.form { background: rgba(0,0,0,0.10); border:1px solid #1f2937; border-radius:12px; padding:12px; }
.form-row { margin-bottom:10px; display:flex; flex-direction:column; }
input, textarea { width:100%; background:#0b1020; border:1px solid #1f2937; color: var(--text); border-radius:8px; padding:8px; }
.checkbox { margin-right:8px; display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border:1px solid #1f2937; border-radius:10px; background: rgba(255,255,255,0.04); transition: background .2s ease, border-color .2s ease; }
.checkbox:hover { background: rgba(96,165,250,0.10); border-color: rgba(96,165,250,0.35); }
button.btn, .btn { display:inline-block; background: var(--brand); color:#0b1020; padding:8px 12px; border-radius:8px; border:none; text-decoration:none; font-weight:600; cursor:pointer; }
.muted { color: var(--muted); }
.footer { border-top: 1px solid #1f2937; margin-top:20px; padding:14px 0; background: rgba(0,0,0,0.2); }
.error { color:#fca5a5; }
.notice { background: rgba(96,165,250,0.15); border:1px solid rgba(96,165,250,0.3); padding:8px 10px; border-radius:8px; margin-bottom:8px; }
.result { font-weight:600; }
h1, h2, h3 { margin:8px 0; }

/* Responsive: navbar and grid adjustments */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-inner { flex-wrap: wrap; gap: 8px; }
  .nav-links { flex-wrap: wrap; white-space: normal; overflow: visible; row-gap: 6px; }
  .nav-links a { padding: 6px 10px; font-size: 14px; }
  .grid { grid-template-columns: 1fr; }
}

/* Tablo görselliği */
.table { width:100%; border-collapse: collapse; margin-top:8px; }
.table th, .table td { border: 1px solid #1f2937; padding: 8px; text-align:left; }
.table thead { background: rgba(255,255,255,0.05); }
.table tbody tr:nth-child(odd) { background: rgba(0,0,0,0.08); }
.table tbody tr:hover { background: rgba(96,165,250,0.12); }

/* DNS kayıt tipleri grid */
.checkbox-wrap { background: rgba(0,0,0,0.08); border:1px solid #1f2937; border-radius:12px; padding:10px; }
.checkbox-grid { display:grid; grid-template-columns: repeat(3, minmax(140px, 1fr)); gap:8px 12px; align-items:center; }
.checkbox-grid .checkbox { margin-right:0; }

/* Checkbox metin durumu */
.cb-text { display:inline-block; padding:2px 8px; border-radius:8px; border:1px solid transparent; }
.checkbox input:checked + .cb-text { background: var(--brand); color:#0b1020; border-color: rgba(96,165,250,0.6); font-weight:600; }

/* Responsive sütunlar */
@media (max-width: 640px) {
  .checkbox-grid { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
}
@media (min-width: 1100px) {
  .checkbox-grid { grid-template-columns: repeat(4, minmax(140px, 1fr)); }
}

/* Durum kartları */
.status-card { border:1px solid #1f2937; border-radius:12px; padding:12px; margin-top:8px; }
.status-card.success { background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.35); }
.status-card.error { background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.35); }
.status-header { display:flex; align-items:center; gap:10px; font-weight:600; }
.status-icon { width:26px; height:26px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; background: rgba(16,185,129,0.35); }
.status-icon.error { background: rgba(239,68,68,0.35); }
.badge { display:inline-block; padding:4px 8px; border-radius:999px; font-size:12px; background: rgba(96,165,250,0.2); border:1px solid rgba(96,165,250,0.4); }
/* Compact Quick Links - single row */
.quick-links-grid {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: stretch;
  overflow: visible;
}
.btn-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  padding: 10px 14px;
  font-size: 1rem;
  line-height: 1.3;
  white-space: nowrap;
  text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

/* Hover: quick links buttons turn white */
.quick-links-grid .btn-compact:hover {
  background: #ffffff;
  color: #0b1a2b;
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25) inset;
}

/* Responsive: mobile tweaks */
@media (max-width: 640px) {
  .quick-links-grid { flex-wrap: wrap; gap: 6px; }
  .btn-compact {
    flex: 1 1 48%;
    min-width: 140px;
    padding: 8px 12px;
    font-size: 0.95rem;
  }
}