body {
  background: #f7f8fa;
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  color: #232a36;
}
.table-container {
  max-width: 1250px;
  margin: 0 auto 48px auto;
  padding: 0 12px;
  overflow-x: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 80vh;
  justify-content: flex-start;
}
.server-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  font-size: 1em;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  margin: 0 auto;
}
.server-table th, .server-table td {
  padding: 14px 10px;
  text-align: center;
  border: none;
  white-space: nowrap;
}
.server-table thead th {
  background: #f0f2f7;
  color: #3f4867;
  font-weight: 700;
  font-size: 1em;
}
.server-table tbody tr {
  transition: background 0.18s;
}
.server-table tbody tr:hover {
  background: #e6e8f0;
}
.server-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  background: #f0f1f4;
}
.status-badge {
  border-radius: 10px;
  padding: 4px 14px;
  font-size: 0.93em;
  font-weight: 600;
  display: inline-block;
  background: #5a6473;
  color: #fff;
}
.status-badge.yakinda { background: #5a6473; }
.status-badge.aktif { background: #27ae60; }
.status-badge.bakimda { background: #ffb347; }
.status-badge.offline { background: #e74c3c; }
.link-btn {
  display: inline-block;
  background: #3f4867;
  color: #fff;
  border-radius: 7px;
  padding: 6px 10px;
  margin: 0 2px;
  font-size: 1.1em;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.link-btn:hover {
  background: #ffb347;
  color: #232a36;
}
@media (max-width: 900px) {
  .table-container { padding: 0 2px; }
  .server-table th, .server-table td { padding: 10px 4px; font-size: 0.95em; }
  .server-logo { width: 28px; height: 28px; }
}
@media (max-width: 600px) {
  .table-container { min-width: 100vw; }
  .server-table th, .server-table td { padding: 5px 1px; font-size: 0.88em; }
  .server-logo { width: 16px; height: 16px; }
}
.watermark {
  position: fixed;
  top: 40px;
  left: 40px;
  font-size: 4vw;
  font-weight: 900;
  color: #3f4867;
  opacity: 0.045;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.1em;
  font-family: 'Inter', Arial, sans-serif;
}
.main-header {
  width: 100%;
  background: #f0f2f7;
  color: #3f4867;
  padding: 0;
  text-align: center;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.main-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 32px 0 22px 0;
}
.main-header-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 12px rgba(63,72,103,0.13);
  display: block;
  transition: box-shadow 0.2s;
  max-width: 64px;
  max-height: 64px;
  width: auto;
  height: auto;
}
.main-header-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px #232a3622;
  display: flex;
  align-items: center;
}
.main-footer {
  width: 100%;
  background: #f0f2f7;
  color: #3f4867;
  padding: 24px 0 14px 0;
  text-align: center;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -2px 12px rgba(63,72,103,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  position: relative;
  z-index: 2;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  margin-bottom: 2px;
  background: #fff;
  object-fit: contain;
  border: 1px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  max-width: 64px;
  max-height: 64px;
  width: auto;
  height: auto;
}
.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.footer-socials {
  margin: 0 0 2px 0;
  display: flex;
  gap: 8px;
}
.footer-socials a {
  color: #3f4867;
  font-size: 1.25rem;
  transition: color 0.15s, transform 0.15s;
  display: inline-block;
  vertical-align: middle;
  background: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.footer-socials a:hover {
  color: #ffb347;
  background: #3f4867;
  transform: scale(1.12);
}
.footer-copyright {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-top: 2px;
  color: #3f4867;
}
@media (max-width: 900px) {
  .main-header-inner { gap: 8px; padding: 18px 0 10px 0; }
  .main-header-logo { width: 32px; height: 32px; }
  .main-header-title { font-size: 1.05rem; }
  .footer-logo { width: 22px; height: 22px; }
}
@media (max-width: 600px) {
  .main-header-title { font-size: 0.95em; }
  .main-header-logo { width: 22px; height: 22px; }
  .main-header-inner { gap: 4px; padding: 7px 0 6px 0; flex-direction: column; }
  .footer-logo { width: 18px; height: 18px; }
  .footer-inner { gap: 4px; }
  .footer-socials { gap: 4px; }
}
.header-home-btn {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 12px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
}
.home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #3f4867;
  color: #fff;
  font-weight: 600;
  font-size: 1.08em;
  border-radius: 8px;
  padding: 8px 22px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(63,72,103,0.08);
  transition: background 0.16s, color 0.16s, transform 0.13s;
  margin-top: 0;
}
.home-btn:hover {
  background: #ffb347;
  color: #232a36;
  transform: translateY(-2px) scale(1.04);
}
.home-btn i {
  font-size: 1.1em;
}
@media (max-width: 1100px) {
  .header-home-btn { max-width: 100%; }
}
@media (max-width: 600px) {
  .header-home-btn { padding-left: 0; }
}
/* Mobilde tabloyu kartlara dönüştür */
@media (max-width: 700px) {
  .server-table, .server-table tbody {
    display: block !important;
    width: 100% !important;
    background: none !important;
    border: none !important;
  }
  .server-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background: var(--card-bg, #232a36) !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.13) !important;
    margin-bottom: 20px !important;
    padding: 16px 12px !important;
    border: 1.5px solid #232a36 !important;
    gap: 18px !important;
    min-height: 90px !important;
  }
  .card-logo-cell {
    flex: 0 0 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
  }
  .server-logo {
    width: 64px !important;
    height: 64px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
    border: 2px solid #fff !important;
    background: #fff !important;
  }
  .card-info-cell {
    flex: 1 1 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
  }
  .server-title {
    font-size: 1.15em !important;
    font-weight: 700 !important;
    margin-bottom: 2px !important;
    color: #fff !important;
  }
  .server-badges {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 2px !important;
  }
  .status-badge, .type-badge {
    font-size: 0.98em !important;
    padding: 4px 12px !important;
    border-radius: 8px !important;
    margin-bottom: 0 !important;
  }
  .server-acs, .server-date, .server-system {
    font-size: 0.99em !important;
    color: #b6b6b6 !important;
    margin-bottom: 1px !important;
  }
  .server-links {
    display: flex !important;
    gap: 10px !important;
    margin-top: 6px !important;
  }
  .link-btn {
    font-size: 1.1em !important;
    padding: 7px 12px !important;
    border-radius: 8px !important;
  }
}
/* Tabloyu daha görsel ve ikonlu hale getir */
.server-table th, .server-table td {
  vertical-align: middle;
}
.server-logo {
  box-shadow: 0 2px 8px rgba(63,72,103,0.10);
  border: 2px solid #f0f2f7;
}
.status-badge {
  letter-spacing: 0.5px;
  font-size: 1em;
  box-shadow: 0 1px 4px #232a3622;
}
.link-btn i {
  margin-right: 2px;
  font-size: 1.1em;
}
/* ACS, sistem, tür gibi alanlar için ikonlar */
.acs-icon::before {
  content: '\f132'; /* fa-shield-halved */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 4px;
}
.type-icon::before {
  content: '\f11b'; /* fa-gamepad */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 4px;
}
.system-icon::before {
  content: '\f108'; /* fa-desktop */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 4px;
}
/* Tür badge stilleri */
.type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.98em;
  font-weight: 600;
  border-radius: 8px;
  padding: 4px 14px;
  color: #fff;
  margin: 0 2px;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 4px #232a3622;
}
.type-badge.pk { background: #00bfc9; }
.type-badge.farm { background: #a259c4; }
.type-badge.homeko { background: #ff7f32; }
.type-badge.myko { background: #2d7be5; }
.type-badge.base { background: #6c63ff; }
.type-badge.ardream { background: #e53950; }
.type-badge.reklam { background: #ffb347; color: #232a36; }
.type-badge.lightfarm { background: #b6e388; color: #232a36; }
.type-badge.magearcher { background: #e57399; }
.type-badge i { font-size: 1.1em; } 