/* ==========================================================================
   VertigoCO — panels.css
   The ornate framed panels: login, server status, info panels and their lists.
   ========================================================================== */

.panel {
  position: relative;
  padding: 14px 16px 16px;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(15, 8, 26, .93) 0%, rgba(8, 4, 15, .96) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(150, 110, 220, .16),
    inset 0 0 60px rgba(80, 30, 160, .10),
    0 14px 40px rgba(0, 0, 0, .6);
  backdrop-filter: blur(3px);
}

/* ---- ornate double frame + gold corner brackets ---- */
.panel__frame {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(150, 120, 210, .22);
  border-radius: 3px;
  pointer-events: none;
}

.panel__frame::before,
.panel__frame::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background: url('../img/corner.png') no-repeat center / contain;
  opacity: .85;
}

.panel__frame::before { left: -3px;  top: -3px; }
.panel__frame::after  { right: -3px; bottom: -3px; transform: rotate(180deg); }

/* second pair of corners via the panel itself */
.panel::before,
.panel::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background: url('../img/corner.png') no-repeat center / contain;
  opacity: .85;
  pointer-events: none;
}

.panel::before { right: 1px; top: 1px;    transform: scaleX(-1); }
.panel::after  { left: 1px;  bottom: 1px; transform: scaleY(-1); }

/* ---- titles ---- */
.panel__title {
  text-align: center;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f4ecff 0%, #c79bff 55%, #8b57e0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(150, 80, 255, .45));
}

.panel__sub {
  margin-top: 3px;
  text-align: center;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a49ab9;
}

.panel__rule {
  position: relative;
  height: 1px;
  margin: 11px 0;
  background: linear-gradient(90deg, transparent, rgba(150, 110, 220, .35), transparent);
}

.panel__rule::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -1.5px;
  width: 4px;
  height: 4px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--violet-lt);
  box-shadow: 0 0 8px 2px var(--violet-glow);
  animation: ring-throb 3.4s ease-in-out infinite;
}

/* ==========================================================================
   SERVER STATUS
   ========================================================================== */
.status-online {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.status-online__dot {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--green);
  box-shadow: 0 0 12px rgba(55, 224, 106, .8);
}

.status-online__dot::after {
  content: '';
  position: absolute;
  inset: 2.5px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.9s ease-in-out infinite;
}

.status-online__text {
  font-family: var(--f-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #4dff81;
  text-shadow: 0 0 18px rgba(55, 224, 106, .75), 0 0 46px rgba(55, 224, 106, .35);
  animation: neon-flicker 6s ease-in-out infinite;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.stat__label {
  font-size: 12px;
  color: #a49ab9;
}

.stat__value {
  font-family: var(--f-title);
  font-size: 20px;
  letter-spacing: .03em;
  color: #f2dfc0;
  text-shadow: 0 0 14px rgba(255, 170, 70, .3);
}

.stat__value--xl {
  font-size: 30px;
  background: linear-gradient(180deg, #ffe9c2 0%, #ffb45f 55%, #e5811d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(255, 150, 50, .45));
}

.stat__value--sm {
  font-size: 13.5px;
  color: #edcf9f;
  text-shadow: none;
}

/* ==========================================================================
   INFO PANELS (news / ranks / drops)
   ========================================================================== */
.panel--info {
  padding: 12px 15px 14px;
  min-height: 172px;
}

.panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 9px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line-soft);
}

.panel__heading {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #c08bff;
  text-shadow: 0 0 14px var(--violet-glow);
}

.view-all {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}

.view-all:hover {
  color: var(--ember-lt);
  text-shadow: 0 0 12px var(--ember-glow);
}

/* ---- news list ---- */
.newslist li {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 5.5px 2px;
  border-radius: 3px;
  transition: background .3s var(--ease), transform .3s var(--ease-out);
}

.newslist__ico {
  width: 14px;
  height: 14px;
  color: #8b3ff0;
  filter: drop-shadow(0 0 6px var(--violet-glow));
}

.newslist a {
  font-size: 12.5px;
  color: #cfc8e2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newslist time {
  font-size: 11.5px;
  color: #8a82a3;
  white-space: nowrap;
}

.newslist li:hover {
  background: linear-gradient(90deg, rgba(110, 40, 200, .18), transparent);
  transform: translateX(3px);
}

.newslist li:hover a { color: #fff; text-shadow: 0 0 12px var(--violet-glow); }

/* ---- rank lists ---- */
.ranklist li {
  display: grid;
  grid-template-columns: 18px 24px 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 3.5px 2px;
  border-radius: 3px;
  transition: background .3s var(--ease), transform .3s var(--ease-out);
}

.ranklist--guild li { grid-template-columns: 18px 24px 1fr auto; }

.rank {
  font-family: var(--f-title);
  font-size: 17px;
  text-align: center;
  color: #a49ab9;
}

.rank--1 { color: #ffb347; text-shadow: 0 0 14px rgba(255, 160, 50, .7); }
.rank--2 { color: #ff9e3d; text-shadow: 0 0 12px rgba(255, 140, 40, .55); }
.rank--3 { color: #f0902f; text-shadow: 0 0 10px rgba(255, 130, 40, .45); }

.avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(160, 120, 230, .35), 0 0 10px rgba(0, 0, 0, .8);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease-out);
}

.ranklist__name {
  font-size: 13px;
  color: #ded8ee;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranklist__meta {
  font-size: 11.5px;
  color: #9d7ce0;
  white-space: nowrap;
}

.ranklist__meta--r { color: #b48bf5; }

.ranklist li:hover {
  background: linear-gradient(90deg, rgba(110, 40, 200, .20), transparent);
  transform: translateX(3px);
}

.ranklist li:hover .avatar {
  transform: scale(1.14);
  box-shadow: 0 0 0 1px rgba(210, 170, 255, .9), 0 0 16px var(--violet-glow);
}

.ranklist li:hover .ranklist__name { color: #fff; }

/* ---- drops list ---- */
.droplist li {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 2px 2px;
  border-radius: 3px;
  transition: background .3s var(--ease), transform .3s var(--ease-out);
}

.droplist__ico {
  width: 26px;
  height: 26px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 140, 60, .30);
  transition: transform .3s var(--ease-out), filter .3s;
}

.droplist li.is-hot .droplist__ico {
  box-shadow: 0 0 0 1px rgba(255, 90, 30, .95), 0 0 14px rgba(255, 90, 30, .55);
  animation: ring-throb 2.4s ease-in-out infinite;
}

.droplist__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.droplist__name {
  font-size: 12.5px;
  color: #ded8ee;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.droplist__from {
  font-size: 12px;
  color: var(--gold);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.droplist time {
  font-size: 11px;
  color: #8a82a3;
  white-space: nowrap;
}

.droplist li:hover {
  background: linear-gradient(90deg, rgba(200, 80, 30, .16), transparent);
  transform: translateX(3px);
}

.droplist li:hover .droplist__ico {
  transform: scale(1.1);
  filter: brightness(1.2) saturate(1.15);
}

.droplist li:hover .droplist__name { color: #fff; }

/* ==========================================================================
   HERO TYPOGRAPHY
   ========================================================================== */
.hero__sub {
  margin-top: -12px;
  font-family: var(--f-display);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #cfc2e8 40%, #7f6ea8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .9));
}

.hero__title {
  margin-top: 10px;
  font-family: var(--f-display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #e6dcf7 45%, #a493c9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 16px rgba(170, 110, 255, .45));
  animation: title-glow 5s ease-in-out infinite;
}

.hero__tag {
  margin-top: 4px;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #b6accd;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .9);
}
