:root {
  --account-bg:#06100a;
  --account-card:#0c1c12;
  --account-card-2:#102719;
  --account-border:rgba(230,190,82,.22);
  --account-gold:#e3ba4d;
  --account-gold-2:#b78326;
  --account-muted:#aab6ad;
  --account-green:#38d978;
  --account-danger:#ff7676;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body.account-page {
  min-height:100vh;
  margin:0;
  background:
    radial-gradient(circle at 20% 0,rgba(194,147,39,.16),transparent 34%),
    radial-gradient(circle at 92% 18%,rgba(29,107,60,.18),transparent 30%),
    linear-gradient(155deg,#06100a,#09180f 60%,#030805);
  color:#f4f2e9;
  font-family:Inter,system-ui,sans-serif;
}
button,input { font:inherit; }
.account-shell { width:min(1180px,calc(100% - 32px)); margin:0 auto; padding:28px 0 70px; }
.account-topbar { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:8px 0 30px; }
.account-brand { display:flex; align-items:center; gap:13px; color:#fff; text-decoration:none; font-family:Cinzel,serif; letter-spacing:.12em; }
.account-brand img { width:52px; height:52px; border-radius:12px; object-fit:cover; }
.account-brand span { display:grid; }
.account-brand small { color:var(--account-gold); letter-spacing:.28em; font-size:.62rem; }
.account-topbar nav { display:flex; gap:10px; align-items:center; }
.account-topbar nav a,.account-link { color:#d6ded8; text-decoration:none; padding:10px 13px; border-radius:9px; }
.account-topbar nav a:hover,.account-link:hover { color:#fff; background:rgba(255,255,255,.06); }

.account-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(340px,460px); align-items:center; gap:56px; min-height:680px; }
.account-copy .eyebrow,.eyebrow { color:var(--account-gold); font-weight:800; letter-spacing:.16em; font-size:.76rem; margin:0; }
.account-copy h1 { font-family:Cinzel,serif; font-size:clamp(2.6rem,6vw,5rem); line-height:1.02; margin:14px 0 20px; }
.account-copy h1 span { color:var(--account-gold); }
.account-copy > p { color:var(--account-muted); max-width:620px; font-size:1.05rem; line-height:1.75; }
.account-steps { display:grid; gap:12px; margin-top:30px; }
.account-steps div { display:flex; gap:14px; align-items:flex-start; padding:14px; border:1px solid rgba(255,255,255,.07); border-radius:12px; background:rgba(255,255,255,.025); }
.account-steps b { display:grid; place-items:center; min-width:30px; height:30px; border-radius:8px; background:rgba(227,186,77,.14); color:var(--account-gold); }

.account-card { padding:34px; border-radius:22px; border:1px solid var(--account-border); background:linear-gradient(150deg,rgba(15,35,23,.98),rgba(6,15,10,.98)); box-shadow:0 34px 90px rgba(0,0,0,.42); }
.account-card h2,.panel-section h2 { font-family:Cinzel,serif; font-size:1.8rem; margin:0 0 8px; }
.account-card > p { color:var(--account-muted); margin:0 0 26px; line-height:1.6; }
.account-form { display:grid; gap:17px; }
.account-field { display:grid; gap:7px; }
.account-field label { font-size:.84rem; font-weight:700; color:#dfe5df; }
.account-field input,.link-form input {
  width:100%;
  border:1px solid rgba(255,255,255,.12);
  border-radius:11px;
  background:#07110b;
  color:#fff;
  padding:14px 15px;
  outline:none;
}
.account-field input:focus,.link-form input:focus { border-color:var(--account-gold); box-shadow:0 0 0 3px rgba(227,186,77,.1); }
.account-submit,.account-button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  border:0;
  border-radius:11px;
  padding:14px 18px;
  background:linear-gradient(135deg,#e6bd52,#af7f20);
  color:#071008;
  font-weight:900;
  cursor:pointer;
  text-decoration:none;
}
.account-submit:disabled,.account-button:disabled { opacity:.58; cursor:wait; }
.account-secondary { background:transparent; color:#e6bd52; border:1px solid rgba(230,189,82,.35); }
.account-switch { text-align:center; color:var(--account-muted); font-size:.9rem; margin-top:20px; }
.account-switch a { color:var(--account-gold); }
.account-alert { display:none; padding:12px 14px; border-radius:10px; margin:18px 0; line-height:1.5; }
.account-alert.show { display:block; }
.account-alert.error { color:#ffd4d4; border:1px solid rgba(255,86,86,.3); background:rgba(123,20,20,.25); }
.account-alert.success { color:#d7ffe3; border:1px solid rgba(74,207,121,.3); background:rgba(20,103,53,.25); }
.account-note { color:#88958c; font-size:.78rem; line-height:1.55; }
.panel-loading { padding:100px 20px; text-align:center; color:var(--account-muted); }
.panel-hidden { display:none !important; }

/* Oyuncu paneli */
.panel-page .account-shell { width:min(1320px,calc(100% - 32px)); }
.profile-hero {
  position:relative;
  overflow:hidden;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px;
  padding:34px;
  border:1px solid var(--account-border);
  border-radius:24px;
  background:
    linear-gradient(115deg,rgba(16,39,25,.98),rgba(6,17,11,.96)),
    radial-gradient(circle at 100% 0,rgba(227,186,77,.18),transparent 42%);
}
.profile-hero::after {
  content:"";
  position:absolute;
  width:300px;
  height:300px;
  right:-130px;
  top:-170px;
  border:1px solid rgba(227,186,77,.18);
  border-radius:50%;
  box-shadow:0 0 0 45px rgba(227,186,77,.035),0 0 0 90px rgba(227,186,77,.025);
}
.profile-identity,.profile-actions { position:relative; z-index:1; }
.profile-identity { display:flex; align-items:center; gap:24px; min-width:0; }
.profile-avatar-wrap { position:relative; flex:0 0 auto; }
.profile-avatar {
  width:112px;
  height:112px;
  display:block;
  border-radius:20px;
  image-rendering:pixelated;
  object-fit:cover;
  border:2px solid rgba(227,186,77,.62);
  background:#07110b;
  box-shadow:0 18px 50px rgba(0,0,0,.34);
}
.avatar-status {
  position:absolute;
  right:-4px;
  bottom:-4px;
  width:22px;
  height:22px;
  border:4px solid #0b1b11;
  border-radius:50%;
  background:#727d75;
}
.avatar-status.online { background:var(--account-green); box-shadow:0 0 18px rgba(56,217,120,.8); }
.profile-identity h1 { font-family:Cinzel,serif; font-size:clamp(2.1rem,5vw,4.1rem); line-height:1; margin:8px 0 10px; overflow-wrap:anywhere; }
.profile-identity > div > p:not(.eyebrow) { color:var(--account-muted); margin:0; }
.profile-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:15px; }
.profile-chip {
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:6px 10px;
  border:1px solid rgba(227,186,77,.28);
  border-radius:999px;
  color:#f4d982;
  background:rgba(227,186,77,.08);
  font-size:.78rem;
  font-weight:800;
}
.profile-chip.muted { color:#b7c2ba; border-color:rgba(255,255,255,.1); background:rgba(255,255,255,.04); }
.profile-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; }

.panel-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-top:20px; }
.panel-grid-six { grid-template-columns:repeat(3,minmax(0,1fr)); }
.panel-stat {
  min-height:156px;
  padding:23px;
  border-radius:17px;
  border:1px solid var(--account-border);
  background:linear-gradient(150deg,#102719,#08120c);
}
.panel-stat small { display:block; color:#92a097; letter-spacing:.1em; font-weight:800; font-size:.7rem; }
.panel-stat strong {
  display:block;
  margin-top:20px;
  font-family:Cinzel,serif;
  color:#fff;
  font-size:clamp(1.25rem,2.3vw,2.15rem);
  overflow-wrap:anywhere;
}
.panel-stat p { color:#77867c; margin:12px 0 0; font-size:.78rem; }
.panel-stat.coin strong { color:var(--account-gold); }
.panel-status { display:inline-flex !important; align-items:center; gap:9px; }
.panel-status i { width:10px; height:10px; border-radius:50%; background:#778078; flex:0 0 auto; }
.panel-status.online i { background:var(--account-green); box-shadow:0 0 14px var(--account-green); }

.panel-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(320px,.75fr); gap:20px; margin-top:20px; align-items:start; }
.panel-side { display:grid; gap:20px; }
.panel-section {
  padding:28px;
  border:1px solid var(--account-border);
  border-radius:18px;
  background:rgba(10,25,16,.86);
}
.panel-section p { color:var(--account-muted); line-height:1.65; }
.section-title-row { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.section-title-row h2 { margin-top:7px; }
.section-title-row p:not(.eyebrow) { margin:6px 0 0; }
.purchase-list { display:grid; gap:11px; margin-top:22px; }
.purchase-item {
  display:grid;
  grid-template-columns:46px minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:15px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:13px;
  background:rgba(255,255,255,.025);
}
.purchase-icon {
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border-radius:12px;
  color:var(--account-gold);
  background:rgba(227,186,77,.1);
  border:1px solid rgba(227,186,77,.2);
}
.purchase-copy { min-width:0; display:grid; gap:5px; }
.purchase-copy b { color:#fff; overflow-wrap:anywhere; }
.purchase-copy span { color:#859289; font-size:.78rem; overflow-wrap:anywhere; }
.purchase-amount { display:grid; justify-items:end; gap:5px; }
.purchase-amount strong { color:var(--account-gold); white-space:nowrap; }
.purchase-status { color:#bff4cf; font-size:.72rem; font-weight:800; padding:4px 7px; border-radius:999px; background:rgba(56,217,120,.09); }
.empty-state {
  display:grid;
  gap:7px;
  place-items:center;
  text-align:center;
  padding:46px 20px;
  border:1px dashed rgba(255,255,255,.12);
  border-radius:14px;
  color:#dce4de;
}
.empty-state span { color:#7f8d83; font-size:.86rem; }

.account-details { display:grid; gap:0; margin:18px 0 0; }
.account-details div { display:grid; grid-template-columns:1fr minmax(0,1.2fr); gap:18px; padding:13px 0; border-bottom:1px solid rgba(255,255,255,.07); }
.account-details div:last-child { border-bottom:0; }
.account-details dt { color:#87948b; font-size:.78rem; }
.account-details dd { margin:0; color:#fff; text-align:right; overflow-wrap:anywhere; font-weight:700; }
.compact-form { margin-top:20px; gap:13px; }
.compact-form .account-field input { padding:12px 13px; }

.link-panel { margin-top:20px; }
.link-panel-copy { max-width:780px; }
.link-form { display:grid; grid-template-columns:1fr 180px auto; gap:12px; margin-top:20px; }

code { color:#f1cf72; background:rgba(255,255,255,.06); border-radius:5px; padding:2px 5px; }

@media (max-width:1050px) {
  .panel-grid-six { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .panel-layout { grid-template-columns:1fr; }
  .panel-side { grid-template-columns:1fr 1fr; }
}
@media (max-width:900px) {
  .account-grid { grid-template-columns:1fr; gap:30px; min-height:auto; }
  .account-copy { padding-top:30px; }
  .panel-grid { grid-template-columns:1fr 1fr; }
  .link-form { grid-template-columns:1fr; }
  .profile-hero { align-items:flex-start; flex-direction:column; }
  .profile-actions { justify-content:flex-start; }
}
@media (max-width:700px) {
  .panel-side { grid-template-columns:1fr; }
  .purchase-item { grid-template-columns:42px minmax(0,1fr); }
  .purchase-amount { grid-column:2; justify-items:start; grid-auto-flow:column; align-items:center; }
}
@media (max-width:560px) {
  .account-shell,.panel-page .account-shell { width:min(100% - 22px,1320px); }
  .account-topbar { align-items:flex-start; }
  .account-topbar nav { flex-wrap:wrap; justify-content:flex-end; }
  .account-topbar nav a { display:none; }
  .account-card { padding:24px 19px; }
  .panel-grid,.panel-grid-six { grid-template-columns:1fr; }
  .profile-hero,.panel-section { padding:21px 17px; }
  .profile-identity { align-items:flex-start; gap:16px; }
  .profile-avatar { width:82px; height:82px; border-radius:15px; }
  .profile-identity h1 { font-size:2rem; }
  .profile-actions { width:100%; }
  .profile-actions .account-button { flex:1; }
  .section-title-row { flex-direction:column; }
  .account-details div { grid-template-columns:1fr; gap:5px; }
  .account-details dd { text-align:left; }
}
