:root {
  --p: #f0384b;
  --bg: #0a0608;
  --g: rgba(26, 10, 14, 0.75);
  --gb: rgba(102, 24, 32, 0.67);
  --gh: rgba(34, 12, 18, 0.81);
  --td: #d2aab4;
  --tm: #e4e4e7;
  --gr: #60dc82;
  --out: #f1b646;
  --det: #f15a5a;
  --soon: #dcaa46;
  --nosub: #7ab7fa;
  --maint: #bf92f6;
  --fm: 'Inter', sans-serif;
  --mn: 'JetBrains Mono', monospace;
  --rad: 10px;
}

html {
  width: 100%;
  overflow-x: clip;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: #fff;
  font-family: var(--fm);
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
  position: relative;
  width: 100%;
  overflow-x: clip;
  min-height: 100vh;
  min-height: 100dvh;
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
}

body::before {
  top: -10%;
  left: -5%;
  background: var(--p);
}

body::after {
  bottom: -10%;
  right: -5%;
  background: var(--p);
}

a {
  color: var(--p);
  text-decoration: none;
  transition: .2s;
}

a:hover {
  opacity: .8;
  text-decoration: none;
}

.tf {
  font-family: var(--mn);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.hl {
  color: var(--p);
}

.mono {
  font-family: var(--mn);
  font-size: 13px;
  word-break: break-all;
}

.blob-bg {
  display: none;
}

.auth-screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.auth-box {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.ac {
  background: rgba(18, 18, 20, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--rad);
  padding: 40px;
  animation: fu .5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.alogo {
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--p);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--p);
}

.ac h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.asub {
  color: var(--td);
  font-size: 14px;
  margin-bottom: 26px;
}

.ig {
  position: relative;
  margin-bottom: 14px;
}

.ig i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--td);
  font-size: 15px;
  pointer-events: none;
  z-index: 2;
}

.ig input,
.ig select,
.ki {
  width: 100%;
  height: 42px;
  background: var(--g);
  border: 1px solid rgba(240, 74, 96, 0.3);
  border-radius: 8px;
  padding: 0 16px 0 44px;
  color: #fff;
  font-family: var(--fm);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ki::-webkit-calendar-picker-indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.ig select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d2aab4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.ki {
  padding-left: 14px;
}

.ig input:focus,
.ig select:focus,
.ki:focus {
  border-color: var(--p);
  background: rgba(40, 14, 20, 0.85);
  box-shadow: 0 0 0 3px rgba(240, 56, 75, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.ig input::placeholder,
.ki::placeholder {
  color: #826a74;
  font-weight: 400;
}

select option {
  background: #0a0608;
  color: #fff;
  padding: 12px;
  font-weight: 500;
}

.ae {
  color: #ef4444;
  font-size: 13px;
  min-height: 20px;
  text-align: center;
  padding-top: 4px;
}

.ae.ok {
  color: var(--gr);
}

.af {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--td);
}

.af a {
  color: #fff;
  font-weight: 500;
}

.af b {
  color: var(--p);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  height: 42px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 600;
  font-family: var(--fm);
  font-size: 14px;
  cursor: pointer;
  transition: .2s;
}

.bp {
  background: var(--p);
  color: #fff;
}

.bp:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 40, 80, 0.3)
}

.bf {
  width: 100%;
}

.bs {
  background: var(--gb);
  color: #fff;
}

.bs:hover {
  background: rgba(255, 255, 255, 0.12);
}

.bsm {
  height: 38px;
  padding: 0 16px;
  font-size: 13px;
  border-radius: 8px;
}

.bd {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.bd:hover {
  background: rgba(239, 68, 68, 0.2);
}

.bcopy {
  background: transparent;
  color: var(--gr);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.bcopy:hover {
  background: rgba(16, 185, 129, 0.15);
}

.dw {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 40px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.dg {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  min-width: 0;
}

.sb {
  background: rgba(18, 18, 20, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--rad);
  padding: 24px;
  position: sticky;
  top: 40px;
  height: fit-content;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.mn {
  background: rgba(18, 18, 20, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--rad);
  padding: 36px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  min-height: 85vh;
  min-width: 0;
}

.sbl {
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px;
}

.sbh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--gb);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: .2s;
  position: relative;
  z-index: 8;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sbh {
  position: relative;
  z-index: 3;
}

.sbn {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nl {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--td);
  padding: 12px 14px;
  border-radius: 10px;
  transition: .2s;
  font-size: 14px;
  font-weight: 500;
  min-width: 0;
  touch-action: manipulation;
}

.nl i {
  font-size: 16px;
  width: 18px;
  text-align: center;
  opacity: .8;
}

.nl:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.nl.active {
  color: #fff;
  background: var(--g);
  box-shadow: inset 3px 0 0 var(--p);
  border-radius: 8px;
  font-weight: 600;
}

.nl.active i {
  color: var(--p);
  opacity: 1;
}

.sbu {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 4px 0;
  border-top: 1px solid var(--gb);
}

.sbu img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sbu div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sbn2 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.sbr {
  font-size: 11px;
  color: var(--td);
  font-weight: 500;
}

.sbo {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--td);
  cursor: pointer;
  font-size: 16px;
  transition: .2s;
  padding: 6px;
  border-radius: 6px;
}

.sbo:hover {
  color: #fff;
  background: var(--gb);
}

.mh {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gb);
  min-width: 0;
}

.mh h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.mh p {
  color: var(--td);
  font-size: 14px;
  margin-top: 6px;
}

.sp {
  background: var(--g);
  border: 1px solid var(--gb);
  padding: 8px 16px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  min-width: 0;
}

.pd {
  width: 8px;
  height: 8px;
  background: var(--gr);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.on {
  color: var(--gr);
}

.gc {
  background: linear-gradient(160deg, rgba(28, 28, 32, 0.5) 0%, rgba(18, 18, 20, 0.4) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--rad);
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.gc::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transform: skewX(-20deg);
  transition: 0.7s;
  pointer-events: none;
}

.gc:hover::after {
  left: 150%;
}

.gc:hover {
  border-color: var(--p);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.g3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.g2s {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cl {
  font-size: 11px;
  color: var(--ts);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.cv {
  font-size: 30px;
  font-weight: 700;
  margin: 10px 0 16px;
  letter-spacing: -1px;
}

.prog {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 100px;
  height: 6px;
  overflow: hidden;
}

.pb {
  height: 100%;
  background: var(--p);
  border-radius: 100px;
  transition: width 1s;
  width: 0;
}

.al {
  background: none;
  border: none;
  color: var(--td);
  font-size: 12px;
  cursor: pointer;
  transition: .2s;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
}

.al:hover {
  color: var(--p);
  background: rgba(255, 40, 80, 0.1);
}

/* Subscription widget inherits .gc base styles — only override internals */
.ov-sub-card::before {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, var(--p) 0%, transparent 70%);
  opacity: 0.07;
  filter: blur(35px);
  pointer-events: none;
  z-index: 0;
}

.ov-sub-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.ov-sub-top .cl {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 2px;
  font-size: 9px;
  text-transform: uppercase;
  margin-bottom: 0;
}

.ov-sub-top .badge {
  padding: 3px 10px !important;
  border-radius: 100px !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ov-sub-top .badge.be {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.45) !important;
}

.ov-sub-top .badge.ba {
  background: rgba(74, 222, 128, 0.07) !important;
  border: 1px solid rgba(74, 222, 128, 0.2) !important;
  color: var(--gr) !important;
}

.ov-sub-top .badge.bl2 {
  background: rgba(240, 56, 75, 0.07) !important;
  border: 1px solid rgba(240, 56, 75, 0.2) !important;
  color: var(--p) !important;
}

.ov-sub-main {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}

.ov-sub-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  margin: 0 0 5px !important;
  letter-spacing: -0.5px !important;
  color: #fff;
  line-height: 1.2 !important;
}

.ov-sub-meta {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.38) !important;
  font-weight: 500;
  flex-wrap: wrap;
}

.ov-sub-meta span {
  line-height: 1;
}

.ov-sub-dot {
  display: inline-block !important;
  width: 3px !important;
  height: 3px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.2) !important;
  flex-shrink: 0;
}

.ov-sub-progress {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.ov-sub-progress-head {
  margin-bottom: 6px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.28);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ov-sub-prog {
  height: 2px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: 100px !important;
  border: none !important;
  overflow: hidden !important;
}

.ov-sub-prog .pb {
  background: linear-gradient(90deg, var(--p), #ff6b7a) !important;
  box-shadow: 0 0 6px rgba(240, 56, 75, 0.5);
  border-radius: 100px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.ov-sub-action {
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.ov-sub-action .btn {
  height: 38px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.ov-sub-action .btn.bp {
  background: rgba(240, 56, 75, 0.06) !important;
  color: var(--p) !important;
  border: 1px solid rgba(240, 56, 75, 0.25) !important;
  box-shadow: none !important;
}

.ov-sub-action .btn.bp:hover {
  background: var(--p) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(240, 56, 75, 0.3) !important;
  transform: translateY(-1px);
  border-color: var(--p) !important;
}

.ov-sub-action .btn.bs {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
}

.ov-sub-action .btn.bs:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-1px);
}

.btn-premium {
  background: rgba(240, 56, 75, 0.05) !important;
  color: var(--p) !important;
  border: 1px solid rgba(240, 56, 75, 0.2) !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
}

.btn-premium:hover {
  background: var(--p) !important;
  color: #fff !important;
  border-color: var(--p) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 25px rgba(240, 56, 75, 0.3) !important;
}

.ov-sub-invite {
  text-align: center;
  padding: 10px 0 4px;
}

.ov-sub-invite p {
  font-size: 11px;
  color: var(--td);
  font-weight: 700;
  margin-bottom: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.6;
}

.inactive-glow {
  position: relative;
  overflow: hidden;
}

.inactive-glow::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(240, 56, 75, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: pulse-glow 6s infinite alternate;
}

@keyframes pulse-glow {
  0% { opacity: 0.2; transform: scale(0.98); }
  100% { opacity: 0.5; transform: scale(1.02); }
}

.inactive-glow .ov-sub-meta,
.inactive-glow .ov-sub-progress {
  display: none !important;
}

@keyframes pulse-status {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 10px currentColor; }
  100% { transform: scale(1); opacity: 0.8; }
}

.ba, .bl2 {
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 6px !important;
  color: var(--td) !important;
  padding: 4px 10px !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: pulse-status 2s infinite ease-in-out;
}

/* ── UPDATE HISTORY (CHANGELOGS) ── */
.cl-timeline {
  position: relative;
  padding: 10px 0 20px 30px;
}
.cl-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--p) 0%, rgba(255,255,255,0.02) 100%);
  border-radius: 2px;
  opacity: 0.4;
}

.cl-t-item {
  position: relative;
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(15px);
  animation: clFadeIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes clFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.cl-t-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 15px;
  width: 10px;
  height: 10px;
  background: var(--bg);
  border: 2px solid var(--p);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 8px var(--p);
}

.cl-t-content {
  background: transparent;
  border: none;
  padding: 0;
  transition: 0.3s ease;
}
.cl-t-content:hover {
  transform: translateX(5px);
}

.cl-t-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 15px;
  flex-wrap: wrap;
}

.cl-t-hl {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cl-t-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
}
.cl-t-ver {
  font-family: var(--mn);
  font-size: 0.75rem;
  color: var(--ts);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
}

.cl-t-type {
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 100px;
}
.cl-t-type.update { background: rgba(59, 130, 246, 0.1); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.2); }
.cl-t-type.fix { background: rgba(245, 158, 11, 0.1); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.2); }
.cl-t-type.new { background: rgba(16, 185, 129, 0.1); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); }

.cl-t-hr {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--ts);
  font-size: 0.75rem;
}
.cl-t-game {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cl-t-date i { margin-right: 4px; opacity: 0.7; }

.cl-t-body {
  color: var(--td);
  font-size: 0.88rem;
  line-height: 1.6;
  white-space: pre-line;
}

/* Filter Styles */
.cl-filters {
  display: flex;
  gap: 8px;
}
.clf-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: 8px;
  color: var(--ts);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: 0.2s;
}
.clf-btn:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.clf-btn.active { background: var(--p); color: #fff; border-color: var(--p); box-shadow: 0 4px 12px rgba(var(--p-rgb), 0.3); }

/* ── LOADER DOWNLOAD CARD ── */
.loader-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 24px 32px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 14px !important;
  transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  grid-column: 1 / -1 !important;
  margin-bottom: 24px !important;
}
.loader-card:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4), 0 0 30px rgba(240, 56, 75, 0.05) !important;
  transform: translateY(-2px) !important;
}

.loader-card-main {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
}

.loader-card .dl-icon {
  font-size: 2.8rem !important;
  color: var(--p) !important;
  filter: drop-shadow(0 0 10px rgba(240, 56, 75, 0.2)) !important;
}

.loader-card h3 {
  font-size: 1.15rem !important;
  margin-bottom: 4px !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: -0.2px !important;
}

.loader-card-meta {
  font-family: var(--mn) !important;
  font-size: 0.78rem !important;
  color: var(--td) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.status-indicator {
  padding: 1px 6px !important;
  border-radius: 4px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  font-size: 9px !important;
  letter-spacing: 0.5px !important;
}

.loader-card .btn-download {
  padding: 12px 32px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
}

.il {
  list-style: none;
}

.il li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--gb);
  font-size: 14px;
}

.il li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.il-l {
  color: var(--td);
}

.il-v {
  font-weight: 500;
  text-align: right;
  color: #fff;
}

.tab {
  display: none;
  animation: fi .3s ease;
}

.tab.active {
  display: block;
}

.sg {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.sc {
  text-align: center;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
}

.sc .scg {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--td);
  margin-bottom: 12px;
  font-weight: 700;
}

.sc h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.sc .scp {
  font-size: 36px;
  font-weight: 700;
  margin: auto 0 16px;
  letter-spacing: -1px;
}

.sc .scp small {
  font-size: 18px;
  color: var(--td);
}

.sc .scd {
  color: var(--tm);
  font-size: 14px;
  margin-bottom: 24px;
}

.kr {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.kr>* {
  min-width: 0;
}

.sub-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 12px;
  transition: .2s;
}

.sub-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.sub-n {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
}

.sub-d {
  color: var(--td);
  font-size: 13px;
  font-family: var(--mn);
}

.badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ba {
  background: rgba(16, 185, 129, 0.1);
  color: var(--gr);
}

.bl2 {
  background: rgba(255, 40, 80, 0.1);
  color: var(--p);
}

.be {
  background: rgba(255, 255, 255, 0.05);
  color: var(--td);
}

.empty {
  color: var(--td);
  font-size: 14px;
  text-align: center;
  padding: 40px 0;
}

.bt {
  font-size: 12px;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.as {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.atb {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--gb);
  padding-bottom: 20px;
}

.atb .ab {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--td);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: .2s;
  min-height: 40px;
  touch-action: manipulation;
}

.atb .ab.active,
.atb .ab:hover {
  background: var(--gb);
  color: #fff;
}

.ap {
  display: none;
  animation: fi .3s;
}

.ap.active {
  display: block;
}

.at {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.at th {
  text-align: left;
  padding: 14px 16px;
  color: var(--td);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--gb);
  font-weight: 600;
}

.at td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  color: var(--tm);
}

.at tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.asr {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.rb {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.rb-a {
  background: rgba(255, 40, 80, 0.1);
  color: var(--p);
}

.rb-r {
  background: rgba(16, 185, 129, 0.1);
  color: var(--gr);
}

.rb-u {
  background: rgba(255, 255, 255, 0.05);
  color: var(--td);
}

.tc {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  animation: fu .3s ease, fi .3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gb);
  background: #18181b;
}

.t-ok {
  border-left: 3px solid var(--gr);
}

.t-err {
  border-left: 3px solid #ef4444;
}

.t-info {
  border-left: 3px solid #3b82f6;
}

.mo {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fi .2s;
}

.mb {
  background: rgba(14, 14, 16, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

body.modal-open {
  overflow: hidden;
}

.mb h3 {
  margin-bottom: 24px;
  font-size: 22px;
  font-weight: 600;
}

.mh-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.key-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin-bottom: 6px;
  font-family: var(--mn);
  font-size: 13px;
  color: var(--tm);
  border: 1px solid var(--gb);
}

.key-row .copy-btn {
  background: none;
  border: none;
  color: var(--td);
  cursor: pointer;
  font-size: 14px;
  transition: .2s;
  padding: 4px 8px;
  border-radius: 6px;
}

.key-row .copy-btn:hover {
  color: #fff;
  background: var(--gb);
}

.cl-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.clf-btn {
  background: transparent;
  border: 1px solid var(--gb);
  color: var(--td);
  padding: 6px 16px;
  border-radius: 100px;
  font-family: var(--fm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: .2s;
}

.clf-btn:hover {
  background: var(--gb);
  color: #fff;
}

.clf-btn.active {
  background: #fff;
  color: #000;
  border-color: #fff;
  font-weight: 600;
}

.cl-timeline {
  position: relative;
  margin-top: 10px;
}

.cl-t-item {
  margin-bottom: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: .2s;
}

.cl-t-item:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.08);
}

.cl-t-item:last-child {
  margin-bottom: 0;
}

.cl-t-content {
  background: transparent;
  transition: .3s;
  position: relative;
}

.cl-t-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.cl-t-hl {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cl-t-hr {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cl-t-type {
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--td);
}

.cl-t-type.update {
  color: var(--gr);
  background: rgba(96, 220, 130, 0.15);
}

.cl-t-type.hotfix {
  color: var(--maint);
  background: rgba(191, 146, 246, 0.15);
}

.cl-t-type.feature {
  color: var(--nosub);
  background: rgba(122, 183, 250, 0.15);
}

.cl-t-type.breaking {
  color: var(--det);
  background: rgba(241, 90, 90, 0.15);
}

.cl-t-title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

.cl-t-ver {
  font-family: var(--mn);
  font-size: 13px;
  color: var(--tm);
  padding: 2px 8px;
  background: var(--gb);
  border-radius: 6px;
}

.cl-t-game {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--td);
  font-weight: 600;
}

.cl-t-date {
  font-size: 13px;
  color: var(--td);
}

.cl-t-body {
  font-size: 15px;
  color: var(--tm);
  line-height: 1.7;
  white-space: pre-wrap;
}

.dl-card {
  border: 1px solid var(--gb);
  background: rgba(0, 0, 0, 0.15) !important;
  box-shadow: none !important;
}

.support-shell {
  display: flex;
  gap: 20px;
  height: min(72vh, 820px);
  min-height: min(72vh, 820px);
}

.support-sidebar {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  min-width: 0;
  min-height: 0;
}

.support-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}

#tickets-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-gutter: stable;
}

#tickets-list,
.tic-v-body {
  scrollbar-width: thin;
  scrollbar-color: rgba(240, 56, 75, 0.75) rgba(255, 255, 255, 0.06);
}

#tickets-list::-webkit-scrollbar,
.tic-v-body::-webkit-scrollbar {
  width: 10px;
}

#tickets-list::-webkit-scrollbar-track,
.tic-v-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

#tickets-list::-webkit-scrollbar-thumb,
.tic-v-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(240, 56, 75, 0.95), rgba(112, 37, 255, 0.8));
  border-radius: 999px;
  border: 2px solid rgba(8, 8, 12, 0.35);
}

#tickets-list::-webkit-scrollbar-thumb:hover,
.tic-v-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 92, 109, 1), rgba(141, 71, 255, 0.92));
}

.support-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--tm);
  font-size: 1.1rem;
  flex-direction: column;
  gap: 12px;
  padding: 32px 20px;
  text-align: center;
}

.shop-option-row,
.loader-card,
.loader-card-main,
.loader-card-side,
.sub-actions,
.ticket-head-actions {
  min-width: 0;
}

@keyframes pulse {
  0% {
    opacity: .5;
    transform: scale(.9);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: .5;
    transform: scale(.9);
  }
}

@keyframes fu {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fi {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Tickets / Support UI */
.tic-card {
  padding: 14px;
  background: var(--gh);
  border: 1px solid var(--gb);
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.tic-card:hover,
.tic-card.act {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--p);
}

.tic-card.act::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--p);
}

.tic-sub {
  margin: 0;
  font-size: 15px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 10px;
}

.tic-meta {
  font-size: 12px;
  color: var(--td);
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}

.tbo {
  background: rgba(96, 220, 130, 0.1);
  color: var(--gr);
  border: 1px solid rgba(96, 220, 130, 0.2);
}

.tba {
  background: rgba(241, 182, 70, 0.1);
  color: var(--out);
  border: 1px solid rgba(241, 182, 70, 0.2);
}

.tbc {
  background: rgba(241, 90, 90, 0.1);
  color: var(--det);
  border: 1px solid rgba(241, 90, 90, 0.2);
}

.tic-v-foot.closed {
  background: rgba(241, 90, 90, 0.05);
  color: var(--det);
  justify-content: center;
  align-items: center;
  font-weight: 600;
  border-top: 1px solid rgba(241, 90, 90, 0.15);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.tic-card.closed-tic {
  opacity: 0.65;
  border-color: rgba(241, 90, 90, 0.15);
  background: rgba(241, 90, 90, 0.02);
}

.tic-card.closed-tic:hover {
  opacity: 1;
  border-color: rgba(241, 90, 90, 0.3);
  background: rgba(241, 90, 90, 0.05);
}

.tic-v-head {
  padding: 24px;
  border-bottom: 1px solid var(--gb);
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-radius: 24px 24px 0 0;
}

.tic-v-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
}

.tic-v-foot {
  padding: 24px;
  border-top: 1px solid var(--gb);
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 12px;
  border-radius: 0 0 24px 24px;
}

.msg-b {
  max-width: 65%;
  padding: 12px 18px;
  position: relative;
  line-height: 1.5;
  font-size: 13px;
  white-space: pre-wrap;
  word-break: break-word;
}

.msg-right {
  align-self: flex-end;
  border-radius: 18px 18px 4px 18px;
}

.msg-left {
  align-self: flex-start;
  border-radius: 18px 18px 18px 4px;
}

.theme-user {
  background: var(--gh);
  border: 1px solid var(--gb);
  color: #fff;
}

.theme-staff {
  background: var(--p);
  color: #fff;
}

.msg-meta {
  font-size: 11px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
  font-weight: 500;
}

.theme-user .msg-meta {
  color: var(--tm);
}

@media(max-width:992px) {
  .dg {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sb {
    position: relative;
    top: 0;
    padding: 16px;
  }

  .sbl {
    margin-bottom: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .sbn,
  .sbu {
    display: none;
  }

  .sb.open .sbn,
  .sb.open .sbu {
    display: flex;
  }

  .sb.open .sbn {
    margin-top: 14px;
    flex-direction: column;
    gap: 8px;
  }

  .sb.open .sbu {
    margin-top: 18px;
  }

  .g3,
  .as {
    grid-template-columns: 1fr 1fr;
  }

  .g2s,
  .sg {
    grid-template-columns: 1fr;
  }

  .support-shell {
    flex-direction: column;
    height: auto;
    min-height: auto;
  }

  .support-sidebar,
  .support-view {
    flex: 1 1 auto;
  }

  .support-sidebar {
    max-height: 320px;
  }

  .support-view {
    height: min(68vh, 640px);
    min-height: 520px;
  }
}

@media(max-width:600px) {
  html,
  body {
    overflow-x: hidden;
  }

  .mh {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 10px;
    border: none;
  }

  .ac {
    padding: 30px 20px;
  }

  .auth-screen {
    padding: 20px 14px;
  }

  .mn {
    padding: 24px 20px;
  }

  .container {
    padding: 0 14px;
  }

  .dw {
    padding: 18px 0 28px;
  }

  .sb {
    padding: 16px;
  }

  .sb {
    padding: 12px 14px;
  }

  .g3,
  .as {
    grid-template-columns: 1fr;
  }

  .kr,
  .tic-v-foot,
  .sub-item,
  .il li {
    flex-direction: column;
    align-items: flex-start;
  }

  .ov-sub-main {
    align-items: flex-start;
  }

  .ov-sub-title {
    font-size: 18px;
  }

  .ov-sub-meta {
    white-space: normal;
    flex-wrap: wrap;
  }

  .mh-actions {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
  }

  .sp {
    width: 100%;
  }

  #top-wallet {
    width: 100%;
    justify-content: center;
  }

  .notif-box {
    margin-left: auto;
  }

  .notif-dd {
    width: min(calc(100vw - 28px), 340px);
    right: 0;
  }

  .support-view {
    height: min(64vh, 520px);
    min-height: 420px;
  }

  .support-sidebar {
    padding: 16px;
    max-height: 280px;
  }

  .support-empty {
    font-size: 1rem;
    padding: 24px 16px;
  }

  .tic-v-head,
  .tic-meta,
  .cl-t-head,
  .cl-t-hr,
  .cl-t-hl {
    flex-direction: column;
    align-items: flex-start;
  }

  .ticket-head-actions,
  .sub-actions,
  .shop-option-row,
  .loader-card,
  .loader-card-main,
  .loader-card-side,
  .sbu {
    flex-direction: column;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .loader-card .btn,
  .shop-option-row .btn,
  .ticket-head-actions .btn,
  .sub-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .verify-code-wrap {
    flex-wrap: wrap;
  }

  .vc-dash {
    display: none;
  }

  .mh h1 {
    font-size: 1.6rem;
  }

  .cv {
    font-size: 24px;
  }

  .sc .scp {
    font-size: 30px;
  }

  .cl-t-title {
    font-size: 15px;
  }

  .msg-b {
    max-width: 100%;
  }

  .il-v {
    text-align: left;
  }

  .tc {
    right: 14px;
    left: 14px;
    bottom: 14px;
  }

  .toast {
    width: 100%;
  }

  .mb {
    width: calc(100vw - 24px);
    max-width: none;
    max-height: min(88dvh, 760px);
    padding: 22px 16px;
    border-radius: 18px;
  }

  .mb h3 {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .mb [style*="display:flex"] {
    flex-wrap: wrap !important;
  }

  .mb [style*="flex:1"] {
    min-width: 0 !important;
  }

  .mb .btn {
    min-height: 44px;
  }

  .nl {
    min-width: 0;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    text-align: left;
  }

  .nl span {
    display: block;
    font-size: 13px;
    line-height: 1.3;
    text-align: left;
  }

  .nl i {
    margin: 0;
    width: 18px;
  }
}

@media(max-width:420px) {
  .container {
    padding: 0 10px;
  }

  .mn,
  .ac,
  .gc {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mh-actions {
    padding: 10px;
  }
}

/* ═══ LIVE INDICATOR ═══ */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mn);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gr);
  background: rgba(96, 220, 130, 0.1);
  border: 1px solid rgba(96, 220, 130, 0.25);
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gr);
  animation: live-pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 6px var(--gr);
}

@keyframes live-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

/* ═══ NEW MESSAGE ANIMATION ═══ */
.msg-new {
  animation: msg-slide-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes msg-slide-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ═══ DOWNTIME OVERLAY ═══ */
#downtime-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(ellipse at 50% 40%, #1a0a0e 0%, #0a0608 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

.dt-content {
  text-align: center;
  z-index: 2;
  position: relative;
  animation: dt-fade-in 0.8s ease-out;
  max-width: 600px;
  padding: 40px;
}

@keyframes dt-fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dt-icon-wrap {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dt-icon-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(240, 56, 75, 0.08);
  border: 2px solid rgba(240, 56, 75, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: var(--p);
  animation: dt-ring-pulse 3s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(240, 56, 75, 0.15), inset 0 0 30px rgba(240, 56, 75, 0.05);
}

@keyframes dt-ring-pulse {

  0%,
  100% {
    box-shadow: 0 0 60px rgba(240, 56, 75, 0.15), inset 0 0 30px rgba(240, 56, 75, 0.05);
    border-color: rgba(240, 56, 75, 0.3);
  }

  50% {
    box-shadow: 0 0 80px rgba(240, 56, 75, 0.25), inset 0 0 40px rgba(240, 56, 75, 0.1);
    border-color: rgba(240, 56, 75, 0.5);
  }
}

.dt-title {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 16px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f0384b 0%, #ff6b7a 50%, #f0384b 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: dt-gradient 4s linear infinite;
  margin-bottom: 16px;
  line-height: 1.1;
  text-shadow: none;
}

@keyframes dt-gradient {
  to {
    background-position: 200% center;
  }
}

.dt-bar {
  width: 80px;
  height: 3px;
  margin: 0 auto 30px;
  background: linear-gradient(90deg, transparent, var(--p), transparent);
  border-radius: 2px;
  animation: dt-bar-glow 2s ease-in-out infinite;
}

@keyframes dt-bar-glow {

  0%,
  100% {
    opacity: 0.5;
    width: 60px;
  }

  50% {
    opacity: 1;
    width: 100px;
  }
}

.dt-reason {
  font-size: 1.15rem;
  color: var(--td);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.dt-eta {
  font-size: 14px;
  color: var(--tm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}

.dt-eta strong {
  color: var(--p);
}

.dt-pulse-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--td);
  font-family: var(--mn);
  letter-spacing: 1px;
}

.dt-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--p);
  animation: dt-dot-pulse 1.5s ease-in-out infinite;
}

@keyframes dt-dot-pulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(240, 56, 75, 0.5);
  }

  50% {
    opacity: 0.5;
    box-shadow: 0 0 0 8px rgba(240, 56, 75, 0);
  }
}

/* Floating particles */
.dt-particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.dt-particle {
  position: absolute;
  bottom: -20px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--p);
  opacity: 0.2;
  animation: dt-float linear infinite;
}

@keyframes dt-float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.3;
  }

  90% {
    opacity: 0.1;
  }

  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

/* ═══ TOGGLE SWITCH (Admin Downtime) ═══ */
.dt-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 28px;
  flex-shrink: 0;
}

.dt-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.dt-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--gb);
  border-radius: 28px;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dt-slider::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dt-switch input:checked+.dt-slider {
  background: var(--det);
  box-shadow: 0 0 12px rgba(241, 90, 90, 0.3);
}

.dt-switch input:checked+.dt-slider::before {
  transform: translateX(28px);
}

/* Responsive downtime */
@media(max-width:600px) {
  .dt-title {
    font-size: 2.4rem;
    letter-spacing: 8px;
  }

  .dt-icon-ring {
    width: 80px;
    height: 80px;
    font-size: 28px;
  }

  .dt-reason {
    font-size: 1rem;
  }
}

/* ═══ CUSTOM CHECKBOX ═══ */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  font-size: 13px;
  color: var(--ts);
  line-height: normal;
  margin: 4px 0;
  cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: var(--gc);
  border: 2px solid var(--gb);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  margin-top: 1px;
  outline: none;
}

.custom-checkbox input[type="checkbox"]:checked {
  background: var(--p);
  border-color: var(--p);
}

.custom-checkbox input[type="checkbox"]:checked::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: white;
  font-size: 11px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.custom-checkbox input[type="checkbox"]:focus {
  box-shadow: 0 0 0 3px rgba(240, 56, 75, 0.15);
}

.custom-checkbox label {
  cursor: pointer;
  user-select: none;
}

.custom-checkbox label a {
  color: var(--p);
  text-decoration: none;
  font-weight: 600;
}

.custom-checkbox label a:hover {
  text-decoration: underline;
}

/* ═══ VERIFICATION CODE INPUT ═══ */
.vc-stage {
  background: linear-gradient(180deg, rgba(18, 18, 20, 0.4) 0%, rgba(12, 12, 14, 0.6) 100%);
  border: 1px solid var(--gb);
  border-radius: 16px;
  padding: 36px 24px;
  margin: 16px 0 28px;
  box-shadow: inset 0 2px 20px rgba(0, 0, 0, 0.5), 0 8px 30px rgba(0, 0, 0, 0.3);
}

.verify-code-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.vc-input {
  width: 46px;
  height: 56px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 26px;
  font-weight: 700;
  background: rgba(18, 18, 20, 0.8);
  border: 2px solid var(--gb);
  border-radius: 10px;
  color: var(--tp);
  outline: none;
  caret-color: var(--p);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.vc-input:focus {
  background: rgba(40, 14, 20, 0.9);
  border-color: var(--p);
  box-shadow: 0 0 0 4px rgba(240, 56, 75, 0.15), 0 6px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.vc-input:not(:placeholder-shown) {
  border-color: var(--p);
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
}

.vc-input::placeholder {
  color: rgba(255, 255, 255, 0.1);
  font-size: 18px;
  font-weight: normal;
}

.vc-dash {
  font-size: 18px;
  color: var(--ts);
  margin: 0 2px;
  user-select: none;
  opacity: 0.5;
}

.vc-resend a,
.vc-logout a {
  transition: color 0.15s, opacity 0.15s;
}

.vc-resend a:hover {
  color: #fe6b7c !important;
  opacity: 1;
}

.vc-logout a:hover {
  color: var(--p) !important;
  opacity: 1;
}

@media(max-width:520px) {
  .auth-box[style*="max-width: 520px"] {
    padding: 16px;
  }

  .vc-stage {
    padding: 24px 12px;
    margin: 12px 0 20px;
  }

  .vc-input {
    width: 38px;
    height: 48px;
    font-size: 20px;
    border-radius: 8px;
    border-width: 1px;
  }

  .verify-code-wrap {
    gap: 4px;
  }

  .vc-dash {
    margin: 0;
  }
}

/* ═══ PREMIUM NOTIFICATIONS DROPDOWN ═══ */
.notif-dd {
  display: none;
  position: absolute;
  top: 56px;
  right: 0;
  width: 340px;
  background: rgba(18, 18, 20, 0.5);
  backdrop-filter: blur(34px);
  -webkit-backdrop-filter: blur(34px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  z-index: 999;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transform-origin: top right;
}

.notif-dd.show {
  display: flex;
  flex-direction: column;
  animation: dropIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dropIn {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.notif-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
}

.notif-header h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.notif-header button {
  background: none;
  border: none;
  color: var(--p);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  padding: 4px 8px;
  border-radius: 6px;
}

.notif-header button:hover {
  background: rgba(240, 56, 75, 0.1);
}

.notif-list {
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.notif-list::-webkit-scrollbar {
  width: 6px;
}

.notif-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.notif-item {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: 0.2s background;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  text-decoration: none;
}

.notif-item:last-child {
  border-bottom: none;
}

.notif-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.notif-item.unread {
  background: rgba(240, 56, 75, 0.04);
}

.notif-item.unread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--p);
  box-shadow: 0 0 10px var(--p);
}

.notif-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.notif-type {
  color: var(--p);
}

.notif-time {
  color: var(--td);
  font-weight: 500;
}

.notif-msg {
  font-size: 13px;
  color: var(--tm);
  line-height: 1.4;
}

.bell-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--td);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: 0.2s all;
  position: relative;
}

.bell-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-1px);
}

.bell-btn.active {
  background: rgba(240, 56, 75, 0.1);
  color: var(--p);
  border-color: rgba(240, 56, 75, 0.3);
}

.bell-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--p);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(240, 56, 75, 0.6), 0 0 0 2px var(--bg);
}

/* ═══ CUSTOM DROPDOWN (SELECT) ═══ */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select select {
  width: 100%;
  height: 42px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--g);
  border: 1px solid rgba(240, 74, 96, 0.25);
  border-radius: 8px;
  padding: 0 40px 0 16px;
  color: #fff;
  font-family: var(--fm);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.custom-select::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--p);
  font-size: 11px;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.custom-select select:focus {
  border-color: var(--p);
  background: rgba(40, 14, 20, 0.85);
  box-shadow: 0 0 0 3px rgba(240, 56, 75, 0.15), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.custom-select select:focus + ::after {
  transform: translateY(-50%) rotate(180deg);
}

.custom-select select option {
  background: #121214;
  color: #fff;
  padding: 12px;
}

.asr .custom-select select {
  height: 42px;
  padding: 0 40px 0 16px;
  font-size: 14px;
}

.custom-select:hover select {
  border-color: rgba(240, 56, 75, 0.5);
  background: rgba(30, 12, 14, 1);
}
