*{box-sizing:border-box;margin:0;padding:0}

:root{
  --page-bg:#111318;
  --page-bg-dark:#050608;
  --card:#f4f5f7;
  --card-soft:#e6e8eb;
  --text:#171717;
  --muted:#727272;
  --gold:#7f8c9a;
  --gold-dark:#3f4a56;
  --gold-soft:#dce1e6;
  --line:#d7d7d7;
  --success:#2f8f61;
  --danger:#b63b3b;
}

body{
  font-family:"Cairo",sans-serif;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  color:var(--text);
  background:
    radial-gradient(circle at 20% 15%,rgba(255,255,255,.10),transparent 30%),
    radial-gradient(circle at 85% 80%,rgba(255,255,255,.05),transparent 34%),
    linear-gradient(145deg,var(--page-bg),var(--page-bg-dark));
}

body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.18;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:36px 36px;
}

.container{
  background:rgba(244,245,247,.97);
  border:1px solid rgba(255,255,255,.5);
  border-radius:26px;
  box-shadow:0 30px 90px rgba(0,0,0,.35);
  width:100%;
  max-width:470px;
  padding:38px 36px;
  position:relative;
  overflow:hidden;
}

.container:before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  left:0;
  height:5px;
  background:linear-gradient(90deg,#252b32,var(--gold),#c6ced6,var(--gold));
}

.logo-area{text-align:center;margin-bottom:28px}

.logo-wrap{
  width:150px;
  height:150px;
  margin:0 auto 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.18));
}

.site-logo{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.page-title{
  font-size:22px;
  font-weight:800;
  color:#171717;
  letter-spacing:.2px;
}

.page-subtitle{
  font-size:13px;
  color:var(--gold-dark);
  font-weight:700;
  margin-top:2px;
}

.steps{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  margin-bottom:32px;
}

.step-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}

.step-circle{
  width:40px;
  height:40px;
  border-radius:50%;
  background:#e7e7e7;
  border:2px solid #cecece;
  color:#8a8a8a;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  transition:.2s ease;
}

.step-circle.active{
  background:linear-gradient(135deg,var(--gold),var(--gold-dark));
  border-color:transparent;
  color:#fff;
  transform:scale(1.08);
  box-shadow:0 7px 18px rgba(63,74,86,.32);
}

.step-circle.completed{
  background:linear-gradient(135deg,#3fa270,var(--success));
  border-color:transparent;
  color:#fff;
}

.step-label{
  font-size:11px;
  font-weight:700;
  color:#777;
}

.step-connector{
  width:40px;
  height:2px;
  background:#d5d5d5;
  margin-top:19px;
}

.step-connector.done{background:var(--success)}

.step-header{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:22px;
  padding-bottom:16px;
  border-bottom:1px solid var(--line);
}

.step-icon{
  width:52px;
  height:52px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-size:21px;
  font-weight:800;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.05);
}

.step-icon.discord{
  background:#e6e6e6;
  color:#383838;
  border:1px solid #cfcfcf;
}

.step-icon.phone,
.otp-icon{
  background:var(--gold-soft);
  color:var(--gold-dark);
}

.step-title{
  font-size:17px;
  font-weight:800;
  color:#1b1b1b;
}

.step-desc{
  font-size:12px;
  color:var(--muted);
}

.btn{
  width:100%;
  padding:13px 20px;
  border:0;
  border-radius:11px;
  font-size:15px;
  font-weight:800;
  font-family:"Cairo";
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#fff;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}

.btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.04);
}

.btn-discord{
  background:linear-gradient(135deg,#3e4146,#1f2124);
  box-shadow:0 9px 20px rgba(31,33,36,.2);
}

.btn-primary{
  background:linear-gradient(135deg,var(--gold),var(--gold-dark));
  margin-top:14px;
  box-shadow:0 9px 20px rgba(63,74,86,.28);
}

.hint-text{
  text-align:center;
  color:#777;
  font-size:13px;
  margin-top:14px;
}

.user-card{
  display:flex;
  align-items:center;
  gap:14px;
  background:var(--card-soft);
  border:1px solid #d7d7d7;
  border-right:4px solid var(--gold);
  border-radius:14px;
  padding:14px 18px;
  margin-bottom:22px;
}

.avatar{
  width:52px;
  height:52px;
  border-radius:50%;
  border:2px solid var(--gold);
  object-fit:cover;
}

.username{font-weight:800}

.user-badge{
  display:inline-block;
  background:#d8eee4;
  color:#257651;
  font-size:11px;
  font-weight:700;
  padding:2px 10px;
  border-radius:20px;
  margin-top:4px;
}

label{
  display:block;
  font-size:13.5px;
  font-weight:700;
  color:#383838;
  margin-bottom:7px;
}

.phone-row{
  display:flex;
  gap:8px;
  direction:ltr;
}

select,input{
  padding:11px 14px;
  border:1.5px solid #cfcfcf;
  background:#fff;
  border-radius:10px;
  font-size:15px;
  font-family:"Cairo";
  outline:none;
  color:#1d1d1d;
}

select{width:130px}
.phone-row input{flex:1;min-width:0;direction:ltr}

select:focus,input:focus{
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(127,140,154,.20);
}

.otp-input{
  width:100%;
  text-align:center;
  font-size:28px;
  letter-spacing:10px;
  font-weight:800;
  direction:ltr;
}

.alert{
  padding:13px 16px;
  border-radius:12px;
  margin-bottom:20px;
  font-size:13px;
  font-weight:600;
}

.alert.error{
  background:#f8e1e1;
  color:#9e2d2d;
  border:1px solid #e8bcbc;
}

.logout-link{
  display:block;
  text-align:center;
  color:#6f6f6f;
  text-decoration:none;
  font-size:13px;
  margin-top:18px;
}

.logout-link:hover{color:var(--gold-dark)}

.verified-container{text-align:center}

.verified-icon{
  width:78px;
  height:78px;
  border-radius:50%;
  display:grid;
  place-items:center;
  margin:0 auto 18px;
  background:#d8eee4;
  color:var(--success);
  font-size:42px;
  font-weight:800;
}

.verified-icon.fail{
  background:#f7dddd;
  color:var(--danger);
}

.verified-title{
  font-size:22px;
  font-weight:800;
}

.verified-msg{
  color:#676767;
  font-size:14px;
  line-height:1.8;
  margin:10px 0 22px;
}

.page-footer{
  text-align:center;
  border-top:1px solid #dedede;
  margin-top:28px;
  padding-top:18px;
  color:#858585;
  font-size:12px;
}

@media(max-width:480px){
  body{padding:14px}
  .container{padding:28px 20px}
  .logo-wrap{width:125px;height:125px}
  .step-connector{width:23px}
  .step-circle{width:36px;height:36px}
  .phone-row{flex-direction:column}
  .phone-row select{width:100%}
}