/* info.css - Page specific styles for info.php */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: 24px;
}

.stat {
  border-radius: var(--r-lg);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow2);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(124, 77, 255, 0.12), transparent 70%);
  opacity: 0.8;
  pointer-events: none;
}

.stat:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.stat__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 77, 255, 0.15);
  border: 1px solid rgba(124, 77, 255, 0.2);
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
  font-size: 20px;
  color: var(--p3);
}

.stat__label {
  opacity: 0.7;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat__value {
  font-family: Cinzel, serif;
  font-size: 38px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #b8b8b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.notice {
  margin-top: 18px;
  margin-bottom: 32px;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(124, 77, 255, 0.25);
  background: rgba(124, 77, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  backdrop-filter: blur(10px);
}

.notice i {
  font-size: 24px;
  color: var(--p3);
}

/* Server Section */
.server {
  border-radius: calc(var(--r-lg) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.server__top {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip i {
  color: var(--p3);
  font-size: 12px;
}

.server__tools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  min-width: 300px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.search:focus-within {
  border-color: var(--p1);
  box-shadow: 0 0 0 4px rgba(124, 77, 255, 0.15);
}

.search i {
  opacity: 0.6;
  font-size: 14px;
}

.search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--txt);
  width: 100%;
  font-size: 14px;
}

.accordion {
  padding: 16px;
}

.acc {
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  margin-bottom: 12px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.acc:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.acc[open] {
  border-color: rgba(124, 77, 255, 0.4);
  background: rgba(124, 77, 255, 0.05);
}

.acc summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 800;
  font-size: 16px;
  user-select: none;
}

.acc summary::-webkit-details-marker {
  display: none;
}

.acc summary span:first-child {
  flex: 1;
}

.acc summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  opacity: 0.7;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.acc[open] summary::after {
  transform: rotate(180deg);
  color: var(--p3);
}

.acc__hint {
  opacity: 0.5;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.acc__body {
  padding: 0 20px 20px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
  font-size: 14px;
}

.acc__body strong {
  color: var(--p3);
  font-weight: 800;
}

.acc__body ul {
  margin: 12px 0 0;
  padding-left: 20px;
  list-style-type: none;
}

.acc__body li {
  margin-bottom: 8px;
  position: relative;
}

.acc__body li::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--p1);
  border-radius: 50%;
  opacity: 0.6;
}

.acc__body p {
  margin: 0 0 12px;
}

.muted {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-style: italic;
}

/* Responsive fixes */
@media (max-width: 1100px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .stats {
    grid-template-columns: 1fr;
  }
  .server__top {
    flex-direction: column;
    align-items: flex-start;
  }
  .search {
    min-width: 100%;
  }
  .server__tools {
    width: 100%;
    justify-content: space-between;
  }
  .acc summary {
    flex-wrap: wrap;
    padding: 14px 16px;
  }
  .acc__hint {
    width: 100%;
    order: 3;
    margin-top: 4px;
  }
}
