.admin-link{
  margin-left: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(210, 205, 255, 0.55);
  text-decoration: none;
  border: 1px solid rgba(129,118,255,0.22);
  background: rgba(9, 6, 34, 0.35);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: border-color .12s ease, filter .12s ease, color .12s ease, background .12s ease;
}

.admin-link:hover{
  color: rgba(244, 240, 255, 0.9);
  border-color: rgba(179,124,255,0.45);
  background: rgba(15, 10, 55, 0.45);
  filter: brightness(1.05);
}

.login-close{
  position:absolute;
  top:14px;
  right:14px;
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid rgba(129,118,255,.25);
  background: rgba(15, 10, 55, 0.55);
  color:#f4f0ff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .08s ease, filter .12s ease, border-color .12s ease;
}
.login-close:hover { transform: translateY(-1px); border-color:#b37cff; filter:brightness(1.08); }
.login-close:active { transform: translateY(1px); }

/* Subtle CTA link button */
.sns-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  margin-top: 0.75rem;
  padding: 0.55rem 0.9rem;

  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;

  color: #bfaeff;

  border-radius: 999px;
  border: 1px solid rgba(160, 140, 255, 0.35);
  background: rgba(18, 12, 58, 0.55);

  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.sns-cta-link .arrow {
  font-size: 1rem;
  transition: transform 0.15s ease;
}

/* Hover state */
.sns-cta-link:hover {
  background: rgba(30, 20, 90, 0.7);
  border-color: rgba(190, 170, 255, 0.7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  transform: translateY(-1px);
}

/* ===== Client Login pill (site-wide) ===== */
.client-login-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.20);
  color: #f4f0ff;
  text-decoration: none;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.client-login-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.22);
  background: rgba(0,0,0,.28);
}

.client-login-pill:active {
  transform: translateY(0);
}

.topnav-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.topnav-row .tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}


.sns-cta-link:hover .arrow {
  transform: translateX(3px);
}

/* Active (click) */
.sns-cta-link:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.sns-cta-link {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

/* =========================
   Home page action buttons (less clutter)
   ========================= */
.home-actions{
  margin-top: 1rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
}

.home-actions-primary{
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
}

.home-actions-more{
  position: relative;
}

.home-actions-more > summary{
  list-style: none;
  cursor: pointer;
}
.home-actions-more > summary::-webkit-details-marker{ display:none; }

.home-actions-menu{
  position: absolute;
  top: calc(100% + .6rem);
  left: 0;
  min-width: 220px;
  padding: .45rem;
  border-radius: 14px;
  border: 1px solid rgba(196,181,253,.22);
  background: rgba(8, 6, 26, .82);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  z-index: 50;
}

.home-actions-item{
  display: block;
  padding: .65rem .75rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid transparent;
}
.home-actions-item:hover{
  border-color: rgba(196,181,253,.25);
  background: rgba(196,181,253,.08);
}

@media (max-width: 560px){
  .home-actions-primary{ width: 100%; }
  .home-actions-primary a{ flex: 1 1 auto; text-align: center; }
  .home-actions-more{ width: 100%; }
  .home-actions-more > summary{ width: 100%; text-align: center; }
  .home-actions-menu{ width: 100%; min-width: unset; }
}

/* =========================
   OTP modal (SMS verification)
   ========================= */
.otp-modal{
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  z-index: 999;
}

.otp-modal.open{ display: grid; }

.otp-card{
  width: min(520px, calc(100% - 2rem));
  border-radius: 18px;
  border: 1px solid rgba(196,181,253,.22);
  background: rgba(8, 6, 26, .88);
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  padding: 1.1rem 1.1rem 1rem;
}

.otp-title{
  margin: 0 0 .35rem 0;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.otp-sub{
  margin: 0 0 .9rem 0;
  opacity: .9;
}

.otp-actions{
  display: flex;
  gap: .75rem;
  justify-content: flex-end;
  margin-top: .85rem;
  flex-wrap: wrap;
}

.otp-resend{
  margin-top: .75rem;
  background: transparent;
  border: 0;
  color: var(--text);
  opacity: .85;
  cursor: pointer;
  text-decoration: underline;
}
.otp-resend:hover{ opacity: 1; }
