: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;
}
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}

    .container {
      max-width: 1000px;
      margin: 40px auto;
      padding: 20px;
      background: rgba(0, 0, 0, 0.65);
      border-radius: 12px;
      box-shadow: 0 0 15px #FF8C0033;
    }
    h1, h2 {
      color: #FF8C00;
      text-shadow: 0 0 10px #000;
    }
    p {
      font-size: 16px;
      line-height: 1.8;
      color: #eee;
    }
    .section { margin-bottom: 40px; }
    .footer {
      text-align: center;
      padding: 30px;
      background: rgba(0, 0, 0, 0.6);
      color: #FF8C00;
      font-size: 16px;
      text-shadow: 0 0 10px #000;
      border-top: 1px solid rgba(255,255,255,0.1);
    }
    @media (max-width: 768px) {
      .container { margin: 20px; }
      .brand{ min-width:auto; }
	  .menu{display:none}
	  .top-panel{padding:12px 16px}
      .logo img{height:42px}
      .hero{grid-template-columns:1fr}
      .grid{grid-template-columns:1fr}
      .hero-title{font-size:32px}
      .brand img{height:40px}
      .user-profile__nickname{display:none}
    }