/* === GLOBAL === */
:root {
  --bg-dark:#0b0f16;
  --card-dark:#121927;
  --accent:#4ea1ff;
  --success:#22c55e;
  --error:#ef4444;
  --text-dark:#d9e2ef;
}
*{box-sizing:border-box;font-family:'Segoe UI',sans-serif;}
body {
  margin:0;
  background:var(--bg-dark);
  color:var(--text-dark);
  padding:0;
  overflow-x:hidden;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #0f1625;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.navbar .brand {
  font-weight: 700;
  color: var(--accent);
  font-size: 18px;
  white-space: nowrap;
}
.navbar .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  flex: 1;
  min-width: 200px;
}
.navbar .menu a {
  color: #d9e2ef;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 8px;
  position: relative;
  transition: all .25s ease;
}
.navbar .menu a:hover {
  background: rgba(78,161,255,0.15);
  color: var(--accent);
}
.navbar .menu a.active {
  color: var(--accent);
}
.navbar .menu a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.navbar .user {
  color: #8ea0b5;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

/* === MOBİL === */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 10px;
  }
  .navbar .menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
  }
  .navbar .menu a {
    flex: 1 1 45%;
    min-width: 130px;
  }
  .navbar .user {
    justify-content: center;
    margin-top: 8px;
    width: 100%;
  }
}
/* Başlıklar */
.credit-title {
  margin: 4px 0 6px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.credit-title.insta { color: #e1306c; }
.credit-title.tiktok { color: #00f2ea; }
.credit-title.yt { color: #ff0000; }

/* Kredi kutuları */
.credit-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  padding: 8px 10px;
  margin: 5px 0;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  transition: all .2s ease;
}

.credit-box:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}

/* Daha küçük versiyon (mobil uyumlu) */
.credit-box.small {
  padding: 6px 10px;
  font-size: 13px;
}

.credit-box b {
  color: var(--acc);
  font-size: 14px;
}

/* Ayraç */
.card.credits hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  margin: 8px 0;
}

/* Mobil ekranlar için optimize */
@media (max-width: 600px) {
  .credit-box.small {
    font-size: 12.5px;
    padding: 6px 8px;
  }
  .credit-title {
    font-size: 13px;
  }
}

.info-box {
  background: rgba(78,161,255,0.1);
  border: 1px solid rgba(78,161,255,0.4);
  color: #dce7ff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 10px;
}

@media (max-width:600px){
  .info-box {
    font-size: 13px;
    padding: 8px 12px;
  }
}
/* === CONTENT === */
.content {
  margin-top: 100px;
  padding: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 80px; /* alt menüye yer */
}
@media (max-width: 768px) {
  .content {
    margin-top: 20px;
    padding: 12px 16px;
  }
}

/* === CARD === */
.card {
  background:var(--card-dark);
  border:1px solid rgba(255,255,255,.1);
  border-radius:10px;
  padding:20px;
  margin-bottom:20px;
  box-shadow:0 2px 6px rgba(0,0,0,0.4);
  color:#e2e8f0;
}
.card h1,.card h2{margin-top:0;text-align:center;color:var(--accent);}
.card.credits h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card.credits hr {
  opacity: 0.3;
}
.credit-box {
  display: block;
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 6px 0;
  color: #fff;
  text-decoration: none;
  transition: all .25s ease;
}

.credit-box:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}

.credit-box b {
  float: right;
  color: var(--acc);
}
.card.credits .box {
  flex:1;min-width:160px;padding:16px;border-radius:14px;text-align:center;
  color:#fff;font-weight:600;box-shadow:0 4px 12px rgba(0,0,0,.3);
  transition:transform .2s ease,box-shadow .3s ease;
}
.card.credits .box:hover {
  transform:translateY(-4px);
  box-shadow:0 6px 16px rgba(0,0,0,.5);
}
.card.credits .like {background:linear-gradient(135deg,#ef4444,#f97316);}
.card.credits .follow {background:linear-gradient(135deg,#3b82f6,#6366f1);}
.card.credits .view {background:linear-gradient(135deg,#22c55e,#10b981);}

/* === INPUTS & BUTTONS === */
input,button {
  width:100%;
  padding:10px 14px;
  font-size:16px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.1);
}
input{background:#0f172a;color:#fff;}
input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(78,161,255,.25);}
button {
  cursor:pointer;
  background:var(--accent);
  color:#fff;
  font-weight:600;
  border:none;
}
button.secondary{background:#1a2332;color:#d9e2ef;border:1px solid rgba(255,255,255,.1);}
button.secondary:hover{background:#222d42;}
button:disabled{opacity:.6;cursor:not-allowed;}

/* === MESAJLAR === */
.msg{padding:10px;border-radius:6px;margin-top:8px;}
.msg.ok{background:rgba(34,197,94,.1);color:var(--success);}
.msg.err{background:rgba(239,68,68,.1);color:var(--error);}
.badge{padding:4px 8px;border-radius:6px;font-size:12px;}
.badge.ok{background:#22c55e;color:#fff;}
.badge.err{background:#ef4444;color:#fff;}

/* === TABLO === */
table{width:100%;border-collapse:collapse;margin-top:10px;font-size:14px;background:#0f172a;color:#e2e8f0;border-radius:10px;overflow:hidden;}
th,td{border-bottom:1px solid rgba(255,255,255,.08);padding:8px;text-align:left;}
th{background:#1e293b;font-weight:600;}
tr:nth-child(even) td{background:rgba(255,255,255,.03);}
tr:hover td{background:rgba(78,161,255,.1);color:#fff;}

/* === ALT HIZLI MENÜ (SADECE MOBİL) === */
/* === ALT HIZLI MENÜ (SADECE MOBİL) === */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: rgba(18,25,39,0.95);
  border-top: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px); /* 🔹 Cam efekti */
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0,0,0,.3);
}

.bottom-nav a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: color .2s ease;
}

.bottom-nav a.active {
  color: var(--accent);
  transform: translateY(-2px);
}

.bottom-nav a:hover {
  color: var(--accent);
}

.bottom-nav span {
  font-size: 11px;
}

@media (min-width: 769px) {
  .bottom-nav {display:none;}
}


/* === TOAST === */
.toast{
  position:fixed;
  bottom:80px;
  right:20px;
  background:#121927;
  border:1px solid rgba(255,255,255,.1);
  padding:12px 16px;
  border-radius:10px;
  box-shadow:0 6px 20px rgba(0,0,0,.4);
  display:none;
  z-index:9999;
  color:#22c55e;
}
.toast.show{display:block;animation:fade .4s ease;}
@keyframes fade{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

.credits-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 25px;
}
@media (min-width: 650px) {
  .credits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.credit-box {
  display: flex;
  align-items: center;
  background: #121927;
  border: 1px solid rgba(255,255,255,.08);
  border-left: 5px solid #4ea1ff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 3px 10px rgba(0,0,0,.3);
  transition: all .25s ease;
}
.credit-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 18px rgba(0,0,0,.4);
}

.credit-box .icon {
  font-size: 26px;
  margin-right: 12px;
}

.credit-box .info {
  flex: 1;
}

.credit-box .info span {
  color: #8ea0b5;
  font-size: 14px;
}

.credit-box .info b {
  display: block;
  font-size: 22px;
  color: #e2e8f0;
  margin-top: 2px;
}

.credit-box.green { border-left-color: #22c55e; }
.credit-box.yellow { border-left-color: #f59e0b; }
.credit-box.red { border-left-color: #ef4444; }


