:root {
  --turkuaz: #3dc5f2;
  --siyah: #141516;
  --beyaz: #e9e9e5;
  --border: #242628;
  --input-bg: #18191b;      /* KUTU İÇ RENGİ İSTEDİĞİN GİBİ */
  --input-border: #2a2c2f;
  --muted: #a0a0a0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--beyaz);
  background: radial-gradient(circle at 100% 100%, #1f2022 0, #191a1b 40%, var(--siyah) 80%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sayfa çerçevesi */

.page {
  width: 100%;
  max-width: 480px;
  padding: 24px 16px;
}

/* Login logo (görsel) */
.logo-wrap {
  text-align: center;
  margin-bottom: 24px;
}

.login-logo {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* Kart */

.card {
  background: rgba(20, 21, 22, 0.96);
  border-radius: 18px;
  padding: 22px 18px 20px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);

  /* FORMU ORTAYA ALMAK İÇİN */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-center {
  text-align: center;
}

.card-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
}

.card-text {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--muted);
}

/* Butonlar */

.btn-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease,
    opacity 0.12s ease,
    border-color 0.12s ease;
}

.btn.full {
  width: 100%;
}

.btn.primary {
  background: var(--turkuaz);
  color: var(--siyah);
  box-shadow: 0 12px 30px rgba(61, 197, 242, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 14px 34px rgba(61, 197, 242, 0.5);
  opacity: 0.95;
}

.btn.secondary {
  background: transparent;
  color: var(--turkuaz);
  border-color: var(--turkuaz);
}

.btn.secondary:hover {
  background: rgba(61, 197, 242, 0.08);
  transform: translateY(-1px) scale(1.01);
}

/* Form alanları */

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 280px;   /* KUTU GENİŞLİĞİ */
  margin: 0 auto;     /* KART İÇİNDE ORTA */
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.field label {
  font-size: 13px;
  color: var(--beyaz);
  text-align: left;
}

.field .hint {
  font-size: 11px;
  color: var(--muted);
}

.field input {
  border-radius: 10px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);   /* İÇ RENK: #18191b */
  padding: 12px;
  font-size: 15px;
  color: var(--beyaz);
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.field input:focus {
  border-color: var(--turkuaz);
  box-shadow: 0 0 0 2px rgba(61, 197, 242, 0.25);
}

/* Kurallar */

.rules {
  margin: 4px 0 4px 16px;
  padding: 0;
  font-size: 11px;
  color: var(--muted);
}

.rules li {
  margin-bottom: 2px;
}

/* Alt metin */

.form-footnote {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.link-inline {
  color: var(--turkuaz);
  text-decoration: none;
}

.link-inline:hover {
  text-decoration: underline;
}

/* Küçük ekran uyumu */

@media (min-width: 600px) {
  .page {
    padding: 32px 0;
  }

  .card {
    padding: 26px 22px 22px;
  }
}
@media (max-width: 600px) {
  .login-logo {
    width: 100px;
    max-width: 70%;
    height: auto;
    margin-bottom: 25px; /* LOGOYU YUKARI ÇEKER */
  }
}
.maf-future {
  margin-top: 100px;
  padding: 80px 20px;
  background: radial-gradient(circle at top, #1e1f22, #0f1012);
  text-align: center;
}

.future-title {
  font-size: 28px;
  margin-bottom: 50px;
  color: #e9e9e5;
}

/* İSTATİSTİKLER */
.future-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  margin-bottom: 70px;
}

.stat-number {
  font-size: 46px;
  font-weight: 800;
  color: rgba(61,197,242,0.85);
}

.stat-label {
  margin-top: 8px;
  font-size: 14px;
  opacity: 0.7;
}

/* KARTLAR */
.future-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.future-card {
  background: #1b1c1f;
  border: 1px solid #2a2c2f;
  border-radius: 16px;
  padding: 26px;
  text-align: left;
}

.future-icon {
  font-size: 36px;
  color: rgba(61,197,242,0.6);
  margin-bottom: 14px;
}

.future-card h3 {
  margin: 0 0 8px;
  color: #e9e9e5;
}

.future-card p {
  font-size: 14px;
  opacity: 0.7;
}

/* TELEGRAM */
.telegram-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 30px;
  background: rgba(61,197,242,0.15);
  color: #3dc5f2;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.telegram-box:hover {
  background: rgba(61,197,242,0.25);
}

.telegram-icon {
  font-size: 22px;
}
.tg-svg{
  width: 22px;
  height: 22px;
  display: inline-block;
  fill: #3dc5f2;
  opacity: .9;
  overflow: visible; 
}

/* === MOBİL UYUM & TAŞMA DÜZELTME === */

* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* Sayfaya özel mobil düzen iyileştirmeleri */
.center-box {
  padding: 0 16px;
}

.btn-col {
  width: min(90vw, 230px);
}
/* ===== Banner Yönetimi Tablosu ===== */
.table-wrap{
  width: 100%;
  overflow-x: auto;
  padding-bottom: 8px;
}

.banner-table{
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.banner-table th,
.banner-table td{
  padding: 10px;
  text-align: left;
  vertical-align: middle;
}

.banner-table th{
  opacity: .85;
  font-weight: 700;
}

.banner-table input{
  width: 100%;
  max-width: 100%;
}

.input-url{ min-width: 260px; }
.input-title{ min-width: 180px; }
.input-order{ width: 70px; min-width: 70px; }
.td-center{ text-align:center; }



