/* === v1.31.8 Premium Profile Page ===
   Sadece login kullanıcı profil sayfasını görsel olarak güçlendirir.
*/

.profile-premium-page{
  --profile-card-bg:linear-gradient(145deg,rgba(7,31,44,.88),rgba(3,16,27,.97));
  --profile-card-border:rgba(25,200,245,.16);
  --profile-gold:#ffd84a;
  --profile-cyan:#19c8f5;
}

.profile-premium-page > h1{
  display:none!important;
}

.profile-premium-hero{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:190px;
  margin:4px 0 20px;
  padding:28px;
  border:1px solid rgba(25,200,245,.18);
  border-radius:28px;
  background:
    radial-gradient(circle at 13% 12%, rgba(25,200,245,.22), transparent 32%),
    radial-gradient(circle at 80% 16%, rgba(255,216,74,.16), transparent 30%),
    linear-gradient(135deg, rgba(8,37,58,.92), rgba(2,12,22,.98) 68%);
  box-shadow:0 22px 70px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.045);
}

.profile-premium-hero:before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    linear-gradient(115deg, transparent 0 32%, rgba(255,255,255,.075) 43%, transparent 54%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, transparent 1px 90px);
  opacity:.65;
  pointer-events:none;
}

.profile-hero-glow{
  position:absolute;
  right:12%;
  bottom:-80px;
  width:240px;
  height:240px;
  border-radius:50%;
  background:rgba(25,200,245,.16);
  filter:blur(32px);
  pointer-events:none;
}

.profile-identity{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
}

.profile-avatar{
  width:86px;
  height:86px;
  min-width:86px;
  display:grid;
  place-items:center;
  border-radius:26px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,216,74,.34), transparent 36%),
    linear-gradient(145deg, rgba(25,200,245,.18), rgba(255,122,26,.12));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 18px 42px rgba(0,0,0,.24), 0 0 24px rgba(25,200,245,.10);
}

.profile-avatar span{
  font-size:30px;
  font-weight:1000;
  letter-spacing:-.04em;
  color:#fff;
  text-shadow:0 0 16px rgba(25,200,245,.30);
}

.profile-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--profile-gold);
  font-size:12px;
  font-weight:1000;
  letter-spacing:3px;
  text-transform:uppercase;
}

.profile-kicker:before{
  content:"";
  width:26px;
  height:2px;
  border-radius:99px;
  background:linear-gradient(90deg,var(--profile-cyan),var(--profile-gold));
}

.profile-identity-copy h1{
  margin:8px 0 10px;
  color:#fff;
  font-size:42px;
  line-height:1;
  letter-spacing:-.045em;
}

.profile-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.profile-meta span{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  color:rgba(213,238,249,.82);
  background:rgba(0,0,0,.18);
  border:1px solid rgba(25,200,245,.10);
  font-size:13px;
  font-weight:800;
}

.profile-coin-card{
  position:relative;
  z-index:1;
  min-width:190px;
  padding:18px 18px 16px;
  border-radius:22px;
  background:
    radial-gradient(circle at 85% 18%, rgba(255,216,74,.20), transparent 34%),
    linear-gradient(145deg, rgba(10,29,65,.92), rgba(5,18,36,.98));
  border:1px solid rgba(255,216,74,.18);
  box-shadow:0 18px 44px rgba(0,0,0,.22), 0 0 28px rgba(255,216,74,.08);
  text-align:right;
}

.profile-coin-label{
  display:block;
  color:rgba(213,238,249,.68);
  font-size:12px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:1.4px;
}

.profile-coin-card strong{
  display:block;
  margin-top:5px;
  color:#fff;
  font-size:34px;
  line-height:1;
  letter-spacing:-.04em;
}

.profile-coin-card em{
  display:block;
  margin-top:6px;
  color:var(--profile-gold);
  font-style:normal;
  font-weight:1000;
}

.profile-premium-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-bottom:18px;
}

.profile-stat-tile{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:92px;
  padding:16px;
  border-radius:22px;
  border:1px solid rgba(25,200,245,.13);
  background:linear-gradient(145deg, rgba(8,32,47,.78), rgba(3,15,26,.95));
  box-shadow:0 14px 34px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.035);
}

.profile-stat-icon,
.profile-card-icon{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  min-width:48px;
  border-radius:16px;
  background:linear-gradient(145deg,rgba(25,200,245,.14),rgba(255,216,74,.10));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 10px 22px rgba(0,0,0,.18);
  font-size:22px;
}

.profile-stat-tile small{
  display:block;
  color:rgba(169,205,221,.74);
  font-size:12px;
  font-weight:900;
}

.profile-stat-tile b{
  display:block;
  margin-top:3px;
  color:#fff;
  font-size:24px;
  line-height:1;
}

.profile-premium-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:18px;
  margin-bottom:18px;
}

.profile-premium-card{
  position:relative;
  overflow:hidden;
  border:1px solid var(--profile-card-border);
  border-radius:26px;
  background:var(--profile-card-bg);
  box-shadow:0 18px 54px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.035);
  padding:22px;
}

.profile-premium-card:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 12% 0%, rgba(25,200,245,.11), transparent 32%),
    radial-gradient(circle at 90% 12%, rgba(255,216,74,.07), transparent 28%);
  pointer-events:none;
}

.profile-card-head,
.profile-card-titleline{
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-start;
  gap:13px;
}

.profile-card-head-row{
  justify-content:space-between;
  gap:16px;
}

.profile-card-head h2{
  margin:6px 0 7px;
  color:#fff;
  font-size:24px;
  line-height:1;
  letter-spacing:-.035em;
}

.profile-card-head p{
  max-width:760px;
  margin:0;
  color:rgba(183,216,230,.76);
  font-size:14px;
  font-weight:750;
  line-height:1.55;
}

.profile-premium-form{
  position:relative;
  z-index:1;
  display:grid;
  gap:12px;
  margin-top:18px;
}

.profile-wallet-card .profile-premium-form{
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
}

.profile-password-form{
  grid-template-columns:repeat(3,minmax(0,1fr)) auto;
  align-items:center;
}

.profile-premium-form input{
  width:100%;
  min-height:48px;
  border:1px solid rgba(25,200,245,.18);
  border-radius:15px;
  background:rgba(0,11,18,.62);
  color:#fff;
  padding:0 14px;
  outline:none;
  font-weight:800;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}

.profile-premium-form input:focus{
  border-color:rgba(25,200,245,.46);
  box-shadow:0 0 0 3px rgba(25,200,245,.07), inset 0 1px 0 rgba(255,255,255,.04);
}

.profile-saved-line,
.profile-warning-line{
  position:relative;
  z-index:1;
  margin-top:14px;
  border-radius:15px;
  padding:12px 13px;
  color:rgba(196,226,239,.80);
  background:rgba(0,0,0,.18);
  border:1px solid rgba(25,200,245,.12);
  font-size:13px;
  font-weight:800;
}

.profile-warning-line{
  border-color:rgba(255,216,74,.18);
  background:rgba(255,216,74,.065);
}

.profile-saved-line span{
  margin-right:8px;
  color:rgba(168,203,219,.72);
}

.profile-saved-line code{
  display:inline-block;
  max-width:min(560px,100%);
  overflow:hidden;
  text-overflow:ellipsis;
  vertical-align:middle;
  padding:6px 9px;
  border-radius:10px;
  background:rgba(25,200,245,.09);
  border:1px solid rgba(25,200,245,.18);
  color:#c8f5ff;
}

.profile-sponsor-card,
.profile-history-card{
  grid-column:1/-1;
}

.profile-sponsor-list{
  position:relative;
  z-index:1;
  display:grid;
  gap:10px;
  margin-top:18px;
}

.profile-sponsor-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:13px;
  border-radius:16px;
  border:1px solid rgba(25,200,245,.11);
  background:rgba(0,0,0,.16);
}

.profile-sponsor-row b{
  color:#fff;
}

.profile-sponsor-row small{
  display:block;
  margin-top:4px;
  color:rgba(180,214,229,.72);
}

.profile-empty-state{
  display:grid;
  place-items:center;
  gap:7px;
  min-height:128px;
  border-radius:18px;
  border:1px dashed rgba(25,200,245,.18);
  background:rgba(25,200,245,.045);
  color:rgba(201,230,242,.82);
  text-align:center;
  padding:18px;
}

.profile-empty-state span{
  font-size:30px;
}

.profile-empty-state b{
  color:#fff;
}

.profile-empty-state small{
  color:rgba(172,205,219,.72);
  font-weight:800;
}

.profile-empty-state.compact{
  min-height:96px;
}

.profile-history-table-wrap{
  position:relative;
  z-index:1;
  margin-top:18px;
  overflow:auto;
  border-radius:18px;
  border:1px solid rgba(25,200,245,.12);
  background:rgba(0,0,0,.16);
}

.profile-history-table{
  width:100%;
  border-collapse:collapse;
  margin:0!important;
}

.profile-history-table th,
.profile-history-table td{
  padding:14px 15px;
  border-bottom:1px solid rgba(25,200,245,.08);
  text-align:left;
}

.profile-history-table th{
  color:rgba(170,207,222,.78);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1.4px;
  background:rgba(25,200,245,.045);
}

.profile-history-table td{
  color:rgba(232,246,252,.86);
  font-weight:750;
}

.profile-history-table td:nth-child(2) b{
  color:var(--profile-gold);
}

.profile-history-table tr:last-child td{
  border-bottom:0;
}

@media(max-width:1180px){
  .profile-premium-grid{
    grid-template-columns:1fr;
  }
  .profile-wallet-card .profile-premium-form,
  .profile-password-form{
    grid-template-columns:1fr;
  }
  .profile-premium-form .btn{
    width:100%;
  }
}

@media(max-width:760px){
  .profile-premium-hero{
    flex-direction:column;
    align-items:flex-start;
    padding:22px;
    border-radius:22px;
  }
  .profile-identity{
    align-items:flex-start;
  }
  .profile-avatar{
    width:68px;
    height:68px;
    min-width:68px;
    border-radius:20px;
  }
  .profile-avatar span{
    font-size:23px;
  }
  .profile-identity-copy h1{
    font-size:31px;
  }
  .profile-meta{
    flex-direction:column;
    gap:7px;
  }
  .profile-coin-card{
    width:100%;
    text-align:left;
  }
  .profile-premium-stats{
    grid-template-columns:1fr;
  }
  .profile-card-head-row{
    flex-direction:column;
  }
  .profile-card-head-row .btn{
    width:100%;
  }
  .profile-premium-card{
    padding:18px;
    border-radius:22px;
  }
}
