/* =========================
   GLOBAL
========================= */
:root{
  --bg:#050910;
  --bg2:#0e141f;
  --panel:#101722;
  --panel-soft:#151d2a;
  --stroke:rgba(255,255,255,.06);
  --stroke-strong:rgba(255,255,255,.12);
  --text:#f5f7ff;
  --muted:#9ca7c3;
  --blue:#2c94ff;
  --blue-soft:#3aa7ff;
  --orange:#ff8a26;
  --orange-soft:#ff9f40;
  --green:#2fb344;
  --green-soft:#32c95a;
  --shadow-strong:0 18px 45px rgba(0,0,0,.55);
  --radius-lg:14px;
  --radius-md:10px;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial;
  background:radial-gradient(circle at top,#182233 0,#050910 55%);
  color:var(--text);
}

a{
  text-decoration:none;
  color:inherit;
}

/* =========================
   ÜST BAR
========================= */

.gs-top{
  position:sticky;
  top:0;
  z-index:50;
  background:linear-gradient(180deg,#151c26,#050910);
  box-shadow:0 10px 40px rgba(0,0,0,.65);
}

/* 1. SATIR */
.gs-row1{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 14px;
  border-bottom:1px solid var(--stroke-strong);
}

/* SOL: CANLI DESTEK */
.gs-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 18px;
  border-radius:10px;
  font-size:15px;
  font-weight:600;
  border:none;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(0,0,0,.45);
}

.gs-btn-blue{
  background:linear-gradient(180deg,#2496ff,#1977ff);
  color:#fff;
}

.gs-btn-icon{
  width:20px;
  height:20px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.7);
  position:relative;
}

.gs-btn-icon::before{
  content:"";
  position:absolute;
  inset:3px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.7);
  border-top-color:transparent;
}

/* SAĞ: SEPET + MENÜ */
.gs-right{
  display:flex;
  align-items:center;
  gap:10px;
}

.gs-btn-dark{
  background:linear-gradient(180deg,#222a36,#1a202a);
  color:#fff;
  padding-inline:16px;
}

.gs-icon-square{
  width:18px;
  height:18px;
  border-radius:4px;
  background:linear-gradient(135deg,#ffb347,#ff6b2d);
}

/* 3 ÇİZGİ MENÜ */
.gs-menu-btn{
  padding:10px 14px;
  border-radius:10px;
  border:1px solid var(--stroke-strong);
  background:linear-gradient(180deg,#222a36,#181e28);
  color:#fff;
  font-size:18px;
  cursor:pointer;
}

/* 2. SATIR: LOGO */
.gs-row2{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 16px 12px;
}

.gs-logo-wrap{
  display:flex;
  align-items:center;
  gap:10px;
}

/* Plus ikon */
.gs-logo-plus{
  position:relative;
  width:30px;
  height:30px;
  border-radius:8px;
  background:linear-gradient(135deg,#0c527f,#032946);
  overflow:hidden;
}

.gs-logo-plus .plus-vert,
.gs-logo-plus .plus-horz{
  position:absolute;
  background:linear-gradient(135deg,#2eb872,#a3ff84);
}

.gs-logo-plus .plus-vert{
  width:9px;
  height:26px;
  left:11px;
  top:2px;
  border-radius:999px;
}

.gs-logo-plus .plus-horz{
  width:26px;
  height:9px;
  left:2px;
  top:11px;
  border-radius:999px;
}

.gs-logo-text{
  font-size:24px;
  font-weight:800;
  letter-spacing:.5px;
}

.gs-logo-game{
  color:#f5f7ff;
}

.gs-logo-satis{
  color:#63d355;
}

.gs-slogan{
  font-size:13px;
  color:var(--muted);
}

/* 3. SATIR: ARAMA */
.gs-row3{
  padding:0 16px 12px;
}

.gs-search{
  display:flex;
  align-items:center;
  gap:10px;
  background:radial-gradient(circle at top left,#1c2636,#111722);
  border-radius:11px;
  padding:11px 13px;
  border:1px solid var(--stroke);
  color:#7f8aa5;
  font-size:14px;
}

.gs-search-icon{
  width:18px;
  height:18px;
  border-radius:50%;
  border:2px solid #7f8aa5;
  box-shadow:0 0 0 2px rgba(127,138,165,.25);
}

/* =========================
   SATICI MENÜ (SAĞDAN AÇILAN)
========================= */
.seller-menu{
  position:fixed;
  top:60px;
  right:12px;
  transform:translateY(-20px);
  opacity:0;
  pointer-events:none;
  transition:.18s ease;
  z-index:40;
}

.seller-menu.open{
  transform:translateY(0);
  opacity:1;
  pointer-events:auto;
}

.seller-menu-inner{
  min-width:150px;
  padding:12px 14px;
  border-radius:12px;
  background:#151d2a;
  border:1px solid var(--stroke-strong);
  box-shadow:0 14px 40px rgba(0,0,0,.6);
  font-size:14px;
}

/* =========================
   TESLİMAT KARTI
========================= */
.wrap{
  padding:18px 12px 10px;
  display:flex;
  justify-content:center;
}

.card{
  width:min(480px,100%);
  margin:0 auto;
  background:radial-gradient(circle at top,#1b2235,#101722);
  border-radius:var(--radius-lg);
  border:1px solid var(--stroke-strong);
  box-shadow:var(--shadow-strong);
  padding:18px 16px 20px;
}

.card-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:12px;
}

.title{
  margin:0;
  font-size:20px;
  font-weight:800;
}

.sub{
  margin-top:4px;
  font-size:14px;
  color:var(--muted);
}

.badge{
  margin-top:8px;
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(126,222,255,.5);
  font-size:12px;
  color:#7edfff;
  background:linear-gradient(180deg,rgba(20,68,110,.85),rgba(10,34,60,.95));
}

/* Teslimat görseli */
.media{
  width:100%;
  margin:14px 0 10px;
  border-radius:12px;
  border:1px solid var(--stroke-strong);
  overflow:hidden;
  background:#000;
}

.media-img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}

.status-line{
  margin-top:8px;
  font-size:15px;
}

.status-label{
  color:var(--muted);
  margin-right:6px;
}

.status-value{
  font-weight:700;
}

.note{
  margin-top:14px;
  font-size:13px;
  color:var(--muted);
  line-height:1.6;
}

.note b{
  color:#fff;
}

/* CARD BUTTONLAR */
.actions{
  margin-top:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  padding:12px 10px;
  border-radius:12px;
  font-weight:700;
  font-size:15px;
  border:none;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(0,0,0,.45);
}

.btn-green{
  background:linear-gradient(180deg,var(--green-soft),var(--green));
}

.btn-blue{
  background:linear-gradient(180deg,var(--blue-soft),var(--blue));
}

/* =========================
   SİPARİŞ KARTI
========================= */

.order-wrap{
  max-width:900px;
  margin:10px auto 50px;
  padding:0 10px 20px;
}

/* Geri bar */
.order-back{
  display:flex;
  align-items:center;
  gap:6px;
  padding:10px 14px;
  background:linear-gradient(180deg,#1b2433,#141b26);
  border-radius:12px 12px 0 0;
  border:1px solid var(--stroke-strong);
  border-bottom:none;
  font-size:15px;
}

.order-back-icon{
  font-size:18px;
}

/* Tabs */
.order-tabs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  border:1px solid var(--stroke-strong);
  border-top:none;
  background:#141b26;
  border-radius:0 0 12px 12px;
  overflow:hidden;
  margin-bottom:12px;
}

.order-tab{
  padding:10px 6px;
  font-size:14px;
  border:none;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
}

.order-tab.active{
  background:#ffffff;
  color:#000;
  font-weight:600;
}

/* Kart */
.order-card{
  margin-top:10px;
  background:radial-gradient(circle at top,#1b2435,#0e141e);
  border-radius:16px;
  padding:16px 14px 18px;
  border:1px solid var(--stroke-strong);
  box-shadow:var(--shadow-strong);
}

/* İlan ID satırı */
.order-id-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
}

.order-id-left{
  display:flex;
  align-items:center;
  gap:10px;
}

.order-avatar{
  width:40px;
  height:40px;
  border-radius:10px;
  background:var(--orange);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:20px;
  font-weight:700;
}

.order-avatar-dots{
  transform:translateY(-1px);
}

.order-id-text{
  font-size:18px;
  font-weight:700;
}

.order-id-dash{
  font-size:20px;
  opacity:.7;
}

.order-toggle-btn{
  border:none;
  background:transparent;
  color:#7c88a8;
  font-size:18px;
  cursor:pointer;
}

/* İlan görseli */
.order-img{
  margin-top:6px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid var(--stroke-strong);
}

.order-img img{
  width:100%;
  display:block;
}

/* Bilgi satırları */
.order-info{
  margin-top:16px;
  font-size:14px;
  color:var(--muted);
}

.order-info p{
  display:flex;
  justify-content:flex-start;
  gap:12px;
  margin:2px 0;
}

.order-info .label{
  width:90px;
  font-weight:600;
  color:#dde3f7;
}

.order-info .value{
  font-weight:500;
}

/* Toplam */
.order-total{
  margin-top:14px;
  font-size:18px;
  font-weight:700;
}

.total-label{
  margin-right:6px;
}

.total-value{
  font-size:22px;
}

/* Durum butonları */
.order-status{
  margin-top:16px;
}

.order-btn{
  width:100%;
  border:none;
  border-radius:12px;
  padding:12px;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  display:block;
}

.order-btn + .order-btn{
  margin-top:10px;
}

.order-btn-orange{
  background:linear-gradient(180deg,var(--orange-soft),var(--orange));
  color:#fff;
}

.order-btn-green{
  background:linear-gradient(180deg,var(--green-soft),var(--green));
  color:#fff;
}

/* =========================
   RESPONSIVE
========================= */
@media (min-width:900px){
  .order-wrap{
    max-width:900px;
  }
}

@media (max-width:600px){
  .gs-row2{
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
  }
  .gs-slogan{
    font-size:12px;
  }
  .card{
    padding:16px 12px 18px;
  }
  .order-card{
    padding:14px 10px 18px;
  }
}
/* =========================
   TESLİMAT POPUP (KURUMSAL)
========================= */
.handover-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.65);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:200;
}

.handover-overlay.show{
  display:flex;
}

.handover-box{
  width:min(420px,90vw);
  background:radial-gradient(circle at top,#1b2235,#0c1019);
  border-radius:16px;
  border:1px solid var(--stroke-strong);
  box-shadow:0 18px 45px rgba(0,0,0,.75);
  padding:18px 16px 16px;
  color:var(--text);
}

.handover-title{
  font-size:18px;
  font-weight:700;
  margin-bottom:8px;
}

.handover-text{
  font-size:14px;
  color:var(--muted);
  line-height:1.6;
}

.handover-text b{
  color:#fff;
}

.handover-footer{
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:13px;
}

.handover-timer{
  color:var(--muted);
}

.handover-btn{
  padding:8px 14px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  font-size:14px;
  font-weight:600;
  background:linear-gradient(180deg,var(--blue-soft),var(--blue));
  color:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,.6);
}
.gs-info-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:6px;
}

.gs-info-logo{
  width:26px;
  height:26px;
  border-radius:7px;
  background:linear-gradient(135deg,#26b36b,#2ea8ff);
  box-shadow:0 0 10px rgba(46,168,255,.35);
}

.gs-info-title{
  font-size:15px;
  font-weight:800;
  color:#a5f3fc;
}
/* =========================
   GAMESATIŞ CANLI DESTEK BUTONU
========================= */

.header-canli-destek {
    display: inline-block;
    margin-right: 10px;
}

.gamesatis-canli-btn {
    display: inline-flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 25px !important;
    padding: 8px 16px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    min-width: 190px !important;
    height: 58px !important;
    cursor: pointer !important;
    position: relative !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.gamesatis-canli-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25) !important;
    border-color: #4f46e5 !important;
}

.canli-btn-inner {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    justify-content: space-between !important;
}

.canli-btn-icon {
    width: 40px !important;
    height: 40px !important;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 12px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.3) !important;
}

.canli-btn-text {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.canli-main-text {
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #1f2937 !important;
    line-height: 1.2 !important;
    margin-bottom: 3px !important;
}

.canli-sub-text {
    font-size: 11px !important;
    color: #4f46e5 !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.canli-live-badge {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #f3f4f6 !important;
    padding: 5px 12px !important;
    border-radius: 12px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #10b981 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}

.live-pulse-dot {
    width: 7px !important;
    height: 7px !important;
    background-color: #10b981 !important;
    border-radius: 50% !important;
    animation: livePulseAnimation 1.5s infinite !important;
}

@keyframes livePulseAnimation {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.live-badge-text {
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
}

/* Üst bar buton hizalaması */
.gs-row1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid var(--stroke-strong);
}

/* Eski butonu gizle */
.gs-btn-blue {
    display: none !important;
}
/* GameSatış Canlı Destek Butonu */
.gamesatis-canli-btn {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    padding: 8px 15px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 190px;
    height: 56px;
    transition: all 0.3s ease;
}

.gamesatis-canli-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-color: #4f46e5;
}

.canli-btn-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.canli-btn-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.canli-main-text {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

.canli-sub-text {
    font-size: 11px;
    color: #4f46e5;
    font-weight: 600;
}

.canli-live-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    color: #10b981;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Eski butonu gizle */
.gs-btn-blue {
    display: none !important;
}