:root{
  --bg:#0b0f14;
  --card:rgba(18,18,18,.78);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.65);
  --accent:#FF8C00;
  --accent2:#00cfcf;
  --shadow:0 16px 60px rgba(0,0,0,.55);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:"Segoe UI",system-ui,-apple-system,Arial,sans-serif;
  color:var(--text);
  background:transparent;
  overflow-x:hidden;

  /* ВАЖНО — фикс футера */
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

body::before{
  content:"";
  position:fixed; inset:0;
  background:url('/images/logo.jpg') no-repeat center center fixed;
  background-size:cover;
  filter:saturate(1.05) contrast(1.05);
  z-index:-3;
}
body::after{
  content:"";
  position:fixed; inset:0;
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(255,140,0,.16), transparent 60%),
    radial-gradient(900px 520px at 85% 25%, rgba(0,207,207,.14), transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,.52), rgba(0,0,0,.72));
  z-index:-2;
}

.top-panel{
  position:sticky;
  top:0;
  z-index:999;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 22px;
  background:rgba(0,0,0,.50);
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:170px;
}
.brand img{height:44px;width:auto;display:block}
.brand .name{
  font-weight:900;
  letter-spacing:.3px;
  color:var(--accent);
  text-shadow:0 0 10px rgba(255,140,0,.22);
  line-height:1.05;
}
.brand .sub{
  font-size:12px;
  color:var(--muted);
  margin-top:2px;
  font-weight:800;
}

.menu{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.menu a{
  text-decoration:none;
  color:rgba(255,140,0,.95);
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,140,0,.18);
  background:rgba(255,140,0,.06);
  transition:.2s ease;
  font-weight:700;
  font-size:14px;
}
.menu a:hover{
  color:#061017;
  background:rgba(0,207,207,.95);
  border-color:rgba(0,207,207,.35);
  box-shadow:0 12px 30px rgba(0,207,207,.18);
  transform:translateY(-1px);
}

.auth{
  display:flex;
  align-items:center;
  gap:12px;
}
.navbar__profile{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#fff;
  padding:8px 10px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.18);
  transition:.2s ease;
}
.navbar__profile:hover{
  background:rgba(255,255,255,.06);
  transform:translateY(-1px);
  border-color:rgba(255,140,0,.20);
}
.avatar-wrapper{
  width:40px;
  height:40px;
  border-radius:50%;
  overflow:hidden;
  border:2px solid rgba(255,255,255,.9);
  box-shadow:0 0 8px rgba(255,255,255,.18);
  flex-shrink:0;
}
.avatar-wrapper img{
  width:150%;
  height:150%;
  object-fit:cover;
  object-position:center top;
  transform:translateY(12%);
  margin-left:-23%;
  display:block;
}
.user-profile__nickname{
  font-weight:900;
  white-space:nowrap;
}

.logout-link{
  padding:9px 14px;
  background:linear-gradient(135deg, rgba(255,140,0,1), rgba(255,180,72,1));
  color:#0b0f14;
  text-decoration:none;
  border-radius:14px;
  font-weight:950;
  transition:.2s ease;
  border:0;
  box-shadow:0 14px 38px rgba(255,140,0,.18);
}
.logout-link:hover{
  transform:translateY(-1px);
  background:linear-gradient(135deg, rgba(0,207,207,1), rgba(0,255,231,1));
  box-shadow:0 16px 46px rgba(0,207,207,.16);
  color:#061017;
}

.auth a:not(.navbar__profile):not(.logout-link){
  padding:9px 14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
  text-decoration:none;
  border-radius:14px;
  font-weight:900;
  transition:.2s ease;
}
.auth a:not(.navbar__profile):not(.logout-link):hover{
  border-color:rgba(255,140,0,.45);
  background:rgba(255,140,0,.12);
  color:rgba(0,207,207,.95);
  transform:translateY(-1px);
}
.wrap{
  width:min(1200px,94vw);
  margin:24px auto 42px;

  flex:1;
}

    .page-head{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:14px;
      margin-bottom:16px;
    }
    .page-title{
      margin:0;
      font-size:34px;
      font-weight:1000;
      letter-spacing:.3px;
      color:var(--accent);
      text-shadow:0 0 18px rgba(255,140,0,.18);
    }
    .page-sub{
      margin:8px 0 0;
      color:rgba(255,255,255,.72);
      font-weight:800;
      line-height:1.4;
      max-width:62ch;
    }

    .forbes{
      background:rgba(0,0,0,.42);
      border:1px solid rgba(255,255,255,.10);
      border-radius:22px;
      box-shadow:var(--shadow);
      overflow:hidden;
    }
    .forbes-hd{
      padding:16px 16px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      border-bottom:1px solid rgba(255,255,255,.08);
      background:rgba(0,0,0,.18);
    }
    .pill{
      display:inline-flex;
      align-items:center;
      gap:10px;
      padding:10px 12px;
      border-radius:999px;
      border:1px solid rgba(255,255,255,.12);
      background:rgba(0,0,0,.18);
      font-weight:950;
      letter-spacing:.2px;
      color:#fff;
      white-space:nowrap;
    }
    .pill i{
      width:10px;
      height:10px;
      border-radius:50%;
      background:var(--accent2);
      box-shadow:0 0 0 6px rgba(0,207,207,.12);
      display:inline-block;
    }

    .rows{padding:10px}
    .row{
      display:grid;
      grid-template-columns: 70px 84px 1fr 220px;
      gap:12px;
      align-items:center;
      padding:12px 12px;
      border-radius:18px;
      border:1px solid rgba(255,255,255,.08);
      background:rgba(0,0,0,.18);
      transition:.18s ease;
    }
    .row + .row{margin-top:10px}
    .row:hover{
      border-color:rgba(255,140,0,.25);
      background:rgba(255,140,0,.06);
      transform:translateY(-1px);
    }

    .rank{
      font-weight:1000;
      letter-spacing:.3px;
      display:flex;
      align-items:center;
      gap:10px;
    }
    .rank-badge{
      width:44px;
      height:44px;
      border-radius:16px;
      display:flex;
      align-items:center;
      justify-content:center;
      font-weight:1100;
      background:rgba(255,255,255,.06);
      border:1px solid rgba(255,255,255,.10);
      color:#fff;
    }
    .row.r1 .rank-badge{background:rgba(255,215,0,.18);border-color:rgba(255,215,0,.28)}
    .row.r2 .rank-badge{background:rgba(192,192,192,.18);border-color:rgba(192,192,192,.28)}
    .row.r3 .rank-badge{background:rgba(205,127,50,.18);border-color:rgba(205,127,50,.28)}

    .skin-card{
  width:84px;
  height:84px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.22));
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 16px 44px rgba(0,0,0,.35);
  padding:6px;
}

.skin-card img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center bottom;
  display:block;
  filter:contrast(1.06) saturate(1.06);
}

.skin-card .glow{
  position:absolute; inset:0;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.10),
             inset 0 -24px 40px rgba(0,0,0,.22);
  pointer-events:none;
}


    .nick{
      font-weight:1000;
      font-size:16px;
      letter-spacing:.2px;
      color:#fff;
      display:flex;
      align-items:center;
      gap:10px;
      min-width:0;
    }
    .nick span{
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .tag{
      padding:6px 10px;
      border-radius:999px;
      border:1px solid rgba(255,255,255,.10);
      background:rgba(255,255,255,.06);
      color:rgba(255,255,255,.85);
      font-weight:950;
      font-size:12px;
      white-space:nowrap;
    }

    .money{
      justify-self:end;
      font-weight:1100;
      font-size:16px;
      letter-spacing:.2px;
      padding:10px 12px;
      border-radius:16px;
      border:1px solid rgba(0,207,207,.22);
      background:rgba(0,207,207,.10);
      color:#d8fff8;
      text-align:right;
      min-width:220px;
    }
    .money b{color:#fff}
    .money small{display:block;color:rgba(255,255,255,.68);font-weight:900;margin-top:2px}

    .footer{
  margin-top:auto;
  text-align:center;
  padding:30px;
  background:rgba(0,0,0,.6);
  color:#FF8C00;
  font-size:16px;
  text-shadow:0 0 10px #000;
  border-top:1px solid rgba(255,255,255,.1);
}

    @media (max-width: 980px){
      .menu{display:none}
      .top-panel{padding:12px 16px}
      .brand img{height:40px}
      .user-profile__nickname{display:none}
      .row{grid-template-columns: 70px 84px 1fr; }
      .money{grid-column: 1 / -1; justify-self:stretch; min-width:0}
    }
    @media (max-width: 520px){
      .page-title{font-size:28px}
      .rank-badge{width:40px;height:40px;border-radius:14px}
      .skin-card{width:76px;height:76px;border-radius:18px}
    }