.profile-totals-row-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
  padding: 0 1rem 0.5rem 1rem;
  margin: 2rem 0;
}

.profile-totals-column {
  background: #0e3732cc;
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(94, 234, 212, 0.35);
}

.profile-totals-head {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-align: center;
}

.profile-totals-subtitle {
  font-size: 1rem;
  color: #a0a6b8;
  margin-bottom: 1.5rem;
}

.profile-totals-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.profile-totals-row {
  display: flex;
  align-items: center;
  background: rgba(14, 55, 50, 0.85);
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  gap: 0.85rem;
  /* box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.08); */
}

.profile-totals-icon {
  width: 44px;
  height: 44px;
  background: rgba(94, 234, 212, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9cc9c4;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.profile-totals-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-totals-title {
  font-size: 1.08rem;
  font-weight: 600;
  color: #eef5f3;
  margin-bottom: 0.15rem;
}

.profile-totals-caption {
  font-size: 0.92rem;
  color: #6e8f8a;
  line-height: 1.2;
}

.profile-totals-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
  margin-left: auto;
  text-align: right;
  min-width: 90px;
}

@media (max-width: 900px) {
  .profile-totals-row-group {
    flex-direction: column;
    gap: 2.5rem;
  }
}
.profile-server-metric-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 2.5rem;
  margin: 0.5rem 0 0.5rem 0;
}

.profile-server-metric-card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  background: rgba(8, 24, 21, 0.97);
  border: 1.5px solid rgba(94, 234, 212, 0.28);
  border-radius: 1.35rem;
  /* box-shadow: 0 18px 45px rgba(4, 17, 15, 0.38),
    0 0 18px rgba(94, 234, 212, 0.1); */
  min-width: 320px;
  min-height: 340px;
  padding: 2.2rem 2rem 2.2rem 2rem;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.profile-server-metric-card:hover {
  box-shadow: 0 28px 65px rgba(4, 17, 15, 0.48),
    0 0 28px rgba(94, 234, 212, 0.18);
  border-color: rgba(94, 234, 212, 0.45);
}

.profile-server-metric-header {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #e1f6f0;
  margin-bottom: 2.1rem;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(94, 234, 212, 0.08);
}

@media (max-width: 900px) {
  .profile-server-metric-row {
    flex-direction: column;
    gap: 1.5rem;
  }
  .profile-server-metric-card {
    min-width: 0;
    padding: 1.2rem 1rem 1.2rem 1rem;
  }
  .profile-server-metric-header {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
  }
}
.profile-server-metrics-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 2.5rem;
  margin: 2rem 0 2.5rem 0;
}

.profile-metric-header {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 700;
  color: #e1f6f0;
  margin: 1.2rem 0 2.2rem 0;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .profile-server-metrics-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  .profile-metric-header {
    font-size: 1.5rem;
    margin: 1rem 0 1.5rem 0;
  }
}

.profile-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 20, 18, 0.82);
  border-radius: 1.25rem;
  border: 1px solid rgba(94, 234, 212, 0.35);
  box-shadow: 0 18px 35px rgba(4, 17, 15, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(6px);
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 10;
}

.profile-card-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.profile-card-overlay .spinner {
  width: 32px;
  height: 32px;
  border-width: 3px;
  margin-top: 0.75rem;
}

.profile-card-overlay .profile-loading-text {
  font-weight: 600;
  font-size: 0.9rem;
  color: #cde4e1;
  text-align: center;
  margin-top: -0.75rem;
}

body,
body
  *:not(input):not(textarea):not([contenteditable="true"]):not(
    [contenteditable=""]
  ):not([tabindex="0"]) {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  outline: none !important;
  caret-color: transparent !important;
}

input,
textarea,
[contenteditable="true"],
[contenteditable=""] {
  user-select: text;
  -webkit-user-select: text;
  caret-color: auto;
}
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(205, 228, 225, 0.4) rgba(0, 0, 0, 0.1);
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4a8c5a, #2d5a3d);
  border-radius: 6px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #5aa76a, #3d6a4d);
  border: 2px solid rgba(205, 228, 225, 0.2);
}

*::-webkit-scrollbar-corner {
  background: rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Inter", sans-serif;
  background-color: #000000;
  background-image: linear-gradient(rgba(20, 79, 72, 0.6), rgba(0, 0, 0, 0.7)),
    url("../images/back-cqCR5fXU.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  backdrop-filter: blur(3px);
  color: #cde4e1;
  min-height: 100vh;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
  text-decoration: none;
}

.logo img {
  height: 3rem;
  width: 3rem;
  margin-right: 0.75rem;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: #cde4e1;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 0.5rem;
  gap: 0.75rem;
}

.nav-link:hover,
.nav-link.active {
  color: #e5f1ef;
  background-color: rgba(156, 201, 196, 0.1);
  transform: translateY(-1px);
}

.nav-link svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
  color: #9cc9c4;
}

.nav-link i {
  font-size: 1.3rem;
  color: #9cc9c4;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3rem;
}

.nav-link:hover i {
  color: #e5f1ef;
  transform: scale(1.1);
}

.player-name-link {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.player-name-link:hover {
  color: #3b82f6;
  transform: translateX(2px);
  text-decoration: none;
}

.player-name-link:before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transition: width 0.3s ease;
}

.player-name-link:hover:before {
  width: 100%;
}

.simple-search {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 300px;
  margin: 0 2rem;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.simple-search-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(156, 201, 196, 0.3);
  border-radius: 0.5rem;
  padding: 0.75rem 3rem 0.75rem 1rem;
  color: #cde4e1;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.simple-search-input::placeholder {
  color: rgba(205, 228, 225, 0.5);
}

.simple-search-input:focus {
  background: rgba(0, 0, 0, 0.5);
  border-color: #9cc9c4;
  box-shadow: 0 0 0 2px rgba(156, 201, 196, 0.2);
}

.clear-btn-simple {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(205, 228, 225, 0.5);
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s ease;
  padding: 0;
  width: 1.8rem;
  height: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
}

.clear-btn-simple:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

@media (max-width: 768px) {
  .simple-search {
    max-width: 200px;
    margin: 0 1rem;
  }

  .simple-search-input {
    padding: 0.5rem 2.5rem 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
}

.loading-spinner-enhanced {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 3rem;
  background: rgba(20, 79, 72, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(156, 201, 196, 0.2);
  border-radius: 2rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.loading-spinner-enhanced::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(156, 201, 196, 0.15),
    transparent
  );
  animation: shimmer-loading 2s infinite;
}

@keyframes shimmer-loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.loading-animation {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 2rem;
}

.loading-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loading-ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid transparent;
  animation: spin-rings 2s linear infinite;
}

.ring-1 {
  width: 80px;
  height: 80px;
  border-top-color: #9cc9c4;
  border-right-color: #9cc9c4;
  animation-duration: 2s;
  top: -40px;
  left: -40px;
}

.ring-2 {
  width: 60px;
  height: 60px;
  border-bottom-color: #cde4e1;
  border-left-color: #cde4e1;
  animation-duration: 1.5s;
  animation-direction: reverse;
  top: -30px;
  left: -30px;
}

.ring-3 {
  width: 40px;
  height: 40px;
  border-top-color: #e5f1ef;
  border-right-color: #e5f1ef;
  animation-duration: 1s;
  top: -20px;
  left: -20px;
}

@keyframes spin-rings {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 8px;
}

.loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9cc9c4, #cde4e1);
  animation: pulse-dots 1.5s ease-in-out infinite;
}

.dot-1 {
  animation-delay: 0s;
}

.dot-2 {
  animation-delay: 0.2s;
}

.dot-3 {
  animation-delay: 0.4s;
}

@keyframes pulse-dots {
  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.loading-text {
  text-align: center;
  z-index: 2;
  position: relative;
}

.loading-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #e5f1ef, #cde4e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loading-text p {
  color: #9ca3af;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  animation: fade-text 2s ease-in-out infinite;
}

@keyframes fade-text {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.loading-progress {
  width: 200px;
  height: 4px;
  background: rgba(156, 201, 196, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loading-progress-bar {
  height: 100%;
  background: linear-gradient(135deg, #9cc9c4, #cde4e1, #e5f1ef);
  background-size: 200% 100%;
  border-radius: 2px;
  animation: progress-bar 2s ease-in-out infinite;
}

@keyframes progress-bar {
  0% {
    width: 0%;
    background-position: 200% 0;
  }
  50% {
    width: 70%;
    background-position: 0% 0;
  }
  100% {
    width: 100%;
    background-position: -200% 0;
  }
}

.search-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.search-btn.loading i {
  animation: spin-search 1s linear infinite;
}

@keyframes spin-search {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.search-btn.loading span::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  margin-left: 8px;
  animation: loading-dots-btn 1.5s ease-in-out infinite;
}

@keyframes loading-dots-btn {
  0%,
  60%,
  100% {
    transform: scale(0);
    opacity: 0;
  }
  30% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .loading-spinner-enhanced {
    min-height: 300px;
    padding: 2rem 1rem;
    border-radius: 1.5rem;
  }

  .loading-animation {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
  }

  .ring-1 {
    width: 70px;
    height: 70px;
    top: -35px;
    left: -35px;
  }

  .ring-2 {
    width: 50px;
    height: 50px;
    top: -25px;
    left: -25px;
  }

  .ring-3 {
    width: 30px;
    height: 30px;
    top: -15px;
    left: -15px;
  }

  .loading-text h3 {
    font-size: 1.25rem;
  }

  .loading-text p {
    font-size: 0.9rem;
  }

  .loading-progress {
    width: 150px;
  }
}

.header-sortable {
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
}

.header-sortable:hover {
  background: rgba(156, 201, 196, 0.1);
  color: #e5f1ef;
  transform: translateY(-1px);
}

.header-sortable .sort-icon {
  font-size: 0.75rem;
  opacity: 0.5;
  transition: all 0.2s ease;
}

.header-sortable:hover .sort-icon {
  opacity: 1;
}

.header-sortable.active {
  background: rgba(156, 201, 196, 0.2);
  color: #e5f1ef;
}

.header-sortable.active .sort-icon {
  opacity: 1;
  color: #9cc9c4;
}

.header-sortable.sort-asc .sort-icon {
  transform: rotate(180deg);
}

.header-sortable.sort-desc .sort-icon {
  transform: rotate(0deg);
}
.steam-auth {
  display: none;
  align-items: center;
}

.steam-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #29a092, #33c9b7);
  color: white;
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 10px 15px -3px rgba(51, 201, 183, 0.2);
}

.steam-btn:hover {
  background: linear-gradient(to right, #33c9b7, #5ad5c7);
  transform: scale(1.02);
}

.steam-btn svg {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
}

.user-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
}

.user-info button {
  font-size: 0.75rem;
  color: #9cc9c4;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.user-info button:hover {
  color: white;
}

.mobile-menu-btn {
  display: block;
  color: #cde4e1;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
}

.mobile-menu {
  display: none;
  background: rgba(14, 55, 50, 0.95);
  backdrop-filter: blur(4px);
  padding: 1rem;
  margin-top: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu .nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.mobile-menu .nav-link:hover {
  background-color: rgba(156, 201, 196, 0.1);
}

.mobile-menu .nav-link i {
  font-size: 1.2rem;
  color: #9cc9c4;
  min-width: 1.2rem;
}

.main-content {
  flex: 1;
  padding: 3rem 0;
}

.hero {
  text-align: center;
  padding: 6rem 0 8rem;
}

.hero h1 {
  font-size: 4rem;
  font-weight: bold;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: #cde4e1;
  max-width: 48rem;
  margin: 0 auto 1rem;
}

.hero .description {
  font-size: 1rem;
  color: #9cc9c4;
  max-width: 48rem;
  margin: 0 auto 2.5rem;
}

.features {
  margin: 6rem 0;
}

.features h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  gap: 2.5rem;
}

@media (min-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: linear-gradient(
    135deg,
    rgba(20, 79, 72, 0.7),
    rgba(14, 55, 50, 0.8)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2.5rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(20, 79, 72, 0.4);
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.2rem;
  text-align: center;
}

.feature-card p {
  color: #9cc9c4;
  line-height: 1.7;
  font-size: 1rem;
  text-align: center;
  flex-grow: 1;
}

.store-section {
  background: #0e3732cc;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 4rem 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 120, 109, 0.4);
  color: #5ad5c7;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.store-title {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  text-align: center;
  margin-bottom: 1rem;
}

.store-description {
  font-size: 1.125rem;
  color: rgba(205, 228, 225, 0.8);
  text-align: center;
  margin-bottom: 2.5rem;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.perk-card {
  background: linear-gradient(
    135deg,
    rgba(20, 79, 72, 0.7),
    rgba(14, 55, 50, 0.8)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.3s;
}

.perk-card:hover {
  transform: translateY(-2px);
}

.perk-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.75rem;
}

.perk-card p {
  font-size: 0.875rem;
  color: #9cc9c4;
}

.cta-section {
  text-align: center;
  margin-top: 2rem;
}

.browse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #29a092, #33c9b7);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 10px 15px -3px rgba(51, 201, 183, 0.25);
}

.browse-btn:hover {
  transform: scale(1.02);
}

.ranks-section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
}

.ranks-title {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  text-align: center;
  margin-bottom: 2rem;
}

.server-selector {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.server-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.server-btn.active {
  background: linear-gradient(to right, #29a092, #33c9b7);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(51, 201, 183, 0.25);
}

.server-btn:not(.active) {
  background: rgba(255, 255, 255, 0.05);
  color: #9cc9c4;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.server-btn:not(.active):hover {
  background: rgba(255, 255, 255, 0.1);
}

.ranks-grid {
  display: grid;
  gap: 1.5rem;
}

.rank-card {
  background: linear-gradient(
    135deg,
    rgba(79, 209, 199, 0.15),
    rgba(45, 90, 61, 0.25)
  );
  border: 1px solid rgba(79, 209, 199, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  text-align: left;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rank-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.rank-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

.rank-badge {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rank-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.view-kits-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.view-kits-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.rank-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
}

.perks-list {
  margin-bottom: 1rem;
}

.perks-list h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(90, 213, 199, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.perks-list ul {
  list-style: none;
}

.perks-list li {
  font-size: 0.875rem;
  color: #9cc9c4;
  margin-bottom: 0.375rem;
}

.kit-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.kit-image {
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  object-fit: contain;
}

.kit-placeholder {
  border-radius: 0.375rem;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: #9cc9c4;
}

.buy-btn {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #29a092, #33c9b7);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 15px -3px rgba(51, 201, 183, 0.25);
  margin-top: auto;
}

.buy-btn:hover {
  transform: scale(1.02);
}

.buy-btn:disabled {
  background: #1e786d;
  cursor: wait;
  opacity: 0.8;
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.footer {
  text-align: center;
  padding: 2rem 0;
  color: #9cc9c4;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .logo img {
    height: 4rem;
    width: 4rem;
  }

  .hero h1 {
    font-size: 5rem;
  }
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }

  .steam-auth {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .logo img {
    height: 5rem;
    width: 5rem;
  }

  .hero h1 {
    font-size: 7rem;
  }

  .store-title {
    font-size: 3rem;
  }
}

.profile-dropdown {
  position: relative;
}

.profile-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(20, 79, 72, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  color: #cde4e1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-btn:hover {
  background: rgba(20, 79, 72, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.username {
  font-weight: 600;
  font-size: 0.875rem;
  color: white;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-arrow {
  color: #9cc9c4;
  transition: transform 0.2s ease;
}

.profile-btn[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

.profile-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
  background: rgba(14, 55, 50, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 280px;
  margin-top: 0.5rem;
  animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.dropdown-user-info h4 {
  margin: 0;
  color: white;
  font-size: 1rem;
  font-weight: 600;
}

.dropdown-user-info p {
  margin: 0.25rem 0 0 0;
  color: #9cc9c4;
  font-size: 0.75rem;
  font-family: "Courier New", monospace;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  color: #cde4e1;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(41, 160, 146, 0.1);
  color: white;
}

.dropdown-item svg {
  width: 16px;
  height: 16px;
  color: #9cc9c4;
}

.dropdown-item:hover svg {
  color: #29a092;
  transform: scale(1.1);
  transition: all 0.2s ease;
}

.dropdown-item.admin-item {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.1) 0%,
    rgba(245, 158, 11, 0.05) 100%
  );
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  font-weight: 600;
}

.dropdown-item.admin-item:hover {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.2) 0%,
    rgba(245, 158, 11, 0.1) 100%
  );
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  transform: translateX(2px);
}

.dropdown-item.admin-item svg {
  color: #f59e0b;
}

.dropdown-item.admin-item:hover svg {
  color: #fbbf24;
  transform: scale(1.1);
}

.mobile-profile-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: rgba(20, 79, 72, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem;
  color: #cde4e1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-profile-btn:hover {
  background: rgba(20, 79, 72, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

.mobile-dropdown-menu {
  background: rgba(14, 55, 50, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  overflow: hidden;
  animation: dropdownFadeIn 0.2s ease-out;
}

@media (max-width: 1024px) {
  .profile-dropdown-menu {
    right: -1rem;
    min-width: 260px;
  }

  .username {
    max-width: 100px;
  }
}

.signing-out {
  animation: signOutTransform 0.6s ease-in-out forwards;
}

.steam-btn-enter {
  animation: steamBtnEnter 0.6s ease-out forwards;
}

.mobile-auth-enter {
  animation: mobileAuthEnter 0.6s ease-out forwards;
}

@keyframes signOutTransform {
  0% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: blur(0px);
  }
  25% {
    transform: scale(1.05) rotate(2deg);
    filter: blur(0.5px);
  }
  50% {
    opacity: 0.7;
    transform: scale(0.95) rotate(-1deg);
    filter: blur(1px);
  }
  75% {
    opacity: 0.3;
    transform: scale(0.8) rotate(1deg);
    filter: blur(2px);
  }
  100% {
    opacity: 0;
    transform: scale(0.6) rotate(0deg);
    filter: blur(3px);
  }
}

@keyframes steamBtnEnter {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(-10px);
  }
  25% {
    opacity: 0.3;
    transform: scale(0.8) translateY(-5px) rotate(-1deg);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05) translateY(2px) rotate(1deg);
    box-shadow: 0 0 15px rgba(41, 160, 146, 0.4);
  }
  75% {
    opacity: 0.9;
    transform: scale(0.98) translateY(-1px) rotate(-0.5deg);
    box-shadow: 0 0 20px rgba(41, 160, 146, 0.3);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0) rotate(0deg);
    box-shadow: 0 0 10px rgba(41, 160, 146, 0.2);
  }
}

@keyframes mobileAuthEnter {
  0% {
    opacity: 0;
    transform: scale(0.7) translateY(-15px);
  }
  30% {
    opacity: 0.4;
    transform: scale(0.9) translateY(-8px);
  }
  60% {
    opacity: 0.8;
    transform: scale(1.02) translateY(3px);
  }
  80% {
    opacity: 0.95;
    transform: scale(0.99) translateY(-2px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hidden {
  display: none !important;
}

.loading {
  opacity: 0.6;
  pointer-events: none;
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.server-controls {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.server-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.region-buttons {
  display: flex;
  gap: 0.5rem;
  background: rgba(14, 55, 50, 0.5);
  padding: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sort-options {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.region-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: #9cc9c4;
  border: none;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 60px;
}

.region-btn i {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.region-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.region-btn.active {
  background: linear-gradient(to right, #29a092, #33c9b7);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(51, 201, 183, 0.25);
}

.sort-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(14, 55, 50, 0.5);
  color: #9cc9c4;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 80px;
  justify-content: center;
}

.sort-btn svg {
  width: 1rem;
  height: 1rem;
}

.sort-btn i {
  font-size: 0.9rem;
}

.sort-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.sort-btn.active {
  background: linear-gradient(to right, #29a092, #33c9b7);
  color: white;
  border-color: #33c9b7;
  box-shadow: 0 2px 4px rgba(51, 201, 183, 0.25);
}

.servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

.server-card {
  background: linear-gradient(
    135deg,
    rgba(79, 209, 199, 0.15),
    rgba(45, 90, 61, 0.25)
  );
  border: 1px solid rgba(79, 209, 199, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.server-card:hover {
  transform: translateY(-4px);
  border-color: rgba(51, 201, 183, 0.3);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
}

.server-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.server-name-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.server-icon {
  font-size: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
}

.server-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.25rem 0;
}

.server-region {
  font-size: 0.875rem;
  color: #9cc9c4;
}

.server-status {
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
}

.server-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.stat-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #33c9b7;
}

.stat-label {
  font-size: 0.75rem;
  color: #9cc9c4;
  font-weight: 600;
}

.stat-value {
  font-size: 0.875rem;
  color: white;
  font-weight: 700;
}

.server-details {
  margin-bottom: 1.5rem;
}

.server-details p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  color: #9cc9c4;
}

.server-details strong {
  color: white;
}

.server-actions {
  display: flex;
  gap: 0.75rem;
}

.connect-btn,
.direct-connect-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.connect-btn svg,
.direct-connect-btn svg {
  width: 1rem;
  height: 1rem;
}

.connect-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #9cc9c4;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.connect-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.direct-connect-btn {
  background: linear-gradient(to right, #29a092, #33c9b7);
  color: white;
}

.direct-connect-btn:hover {
  background: linear-gradient(to right, #247a6b, #2bb3a1);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(51, 201, 183, 0.25);
}

@media (max-width: 1200px) {
  .servers-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

@media (max-width: 768px) {
  .servers-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .region-buttons {
    flex-wrap: wrap;
    padding: 0.375rem;
  }

  .region-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    min-width: 50px;
  }

  .sort-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }

  .server-card {
    padding: 1.25rem;
  }

  .server-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.875rem;
  }

  .stat-item {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .server-actions {
    flex-direction: column;
  }

  .feature-card {
    padding: 2rem;
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .server-controls {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .region-buttons {
    width: 100%;
    justify-content: center;
  }

  .region-btn {
    flex: 1;
    min-width: 0;
    padding: 0.5rem;
    font-size: 0.75rem;
  }

  .sort-options {
    justify-content: center;
    width: 100%;
  }

  .sort-btn {
    padding: 0.5rem 1rem;
  }

  .sort-btn i {
    margin-right: 0.25rem;
  }

  .server-card {
    padding: 1rem;
  }

  .server-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .server-status {
    align-self: flex-end;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.discord-hero {
  text-align: center;
  padding: 2rem 0 4rem 0;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.discord-hero-content {
  position: relative;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.discord-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #5865f2, #7289da);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px -12px rgba(88, 101, 242, 0.35);
}

.discord-logo svg {
  width: 40px;
  height: 40px;
  color: white;
}

.discord-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin: 1rem 0;
  line-height: 1.1;
}

.discord-subtitle {
  font-size: 1.25rem;
  color: #9cc9c4;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.discord-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.stat-box {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #33c9b7;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #9cc9c4;
  font-weight: 600;
}

.discord-cta {
  margin: 3rem 0;
}

.discord-join-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #5865f2, #7289da);
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  /* box-shadow: 0 10px 25px -5px rgba(88, 101, 242, 0.4); */
  transition: all 0.3s;
  overflow: hidden;
}

.discord-join-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(88, 101, 242, 0.5);
}

.discord-join-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.discord-join-btn:hover .btn-glow {
  left: 100%;
}

.discord-note {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: #9cc9c4;
}

.discord-features {
  padding: 4rem 0;
}

.features-heading {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 3rem;
}

.discord-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.discord-feature-card {
  background: linear-gradient(
    135deg,
    rgba(20, 79, 72, 0.7),
    rgba(14, 55, 50, 0.8)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.discord-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #33c9b7, #29a092);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.discord-feature-card:hover::before {
  transform: scaleX(1);
}

.discord-feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(51, 201, 183, 0.3);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.25);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #33c9b7, #29a092);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.discord-feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.discord-feature-card p {
  color: #9cc9c4;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-tags {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-tags span {
  padding: 0.25rem 0.75rem;
  background: rgba(51, 201, 183, 0.2);
  color: #33c9b7;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.discord-final-cta {
  text-align: center;
  padding: 4rem 0;
  background: rgba(14, 55, 50, 0.3);
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  color: #9cc9c4;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(to right, #29a092, #33c9b7);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(51, 201, 183, 0.4);
}

.cta-button svg {
  width: 1rem;
  height: 1rem;
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #9cc9c4;
}

@media (max-width: 1200px) {
  .discord-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .discord-title {
    font-size: 2rem;
  }

  .discord-subtitle {
    font-size: 1rem;
  }

  .discord-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .discord-features-grid {
    grid-template-columns: 1fr;
  }

  .features-heading {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}

.appeals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.appeal-process-card,
.required-info-card {
  background: linear-gradient(
    135deg,
    rgba(20, 79, 72, 0.7),
    rgba(14, 55, 50, 0.8)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
}

.appeal-process-card:hover,
.required-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(51, 201, 183, 0.3);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.2);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #33c9b7;
}

.card-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-number {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #33c9b7, #29a092);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.25rem 0;
}

.step-content p {
  font-size: 0.875rem;
  color: #9cc9c4;
  margin: 0;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
}

.info-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #33c9b7;
  flex-shrink: 0;
}

.info-item div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.info-item strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
}

.info-item span {
  font-size: 0.75rem;
  color: #9cc9c4;
}

.guidelines-section {
  background: rgba(14, 55, 50, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 3rem;
}

.guidelines-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.guidelines-header svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #33c9b7;
}

.guidelines-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.guidelines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.guideline-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.guideline-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.guideline-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #33c9b7;
  margin: 0 0 0.5rem 0;
}

.guideline-item p {
  font-size: 0.875rem;
  color: #9cc9c4;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .appeals-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .guidelines-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .process-step {
    align-items: center;
  }

  .info-item {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

.stats-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(14, 55, 50, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: transform 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #29a092, #33c9b7);
  border-radius: 0.75rem;
  font-size: 1.5rem;
  color: white;
}

.stat-info {
  flex: 1;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: #9cc9c4;
  margin-top: 0.25rem;
}

.leaderboard-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.sort-buttons {
  display: flex;
  gap: 0.5rem;
}

.leaderboard-sort-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(14, 55, 50, 0.5);
  color: #9cc9c4;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.leaderboard-sort-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.leaderboard-sort-btn.active {
  background: linear-gradient(to right, #29a092, #33c9b7);
  color: white;
  border-color: #33c9b7;
}

.refresh-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.refresh-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(14, 55, 50, 0.5);
  color: #9cc9c4;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.refresh-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.last-updated {
  font-size: 0.875rem;
  color: #9cc9c4;
}

.leaderboard-container {
  background: rgba(14, 55, 50, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.spinner {
  width: 3rem;
  height: 3rem;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid #33c9b7;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.table-header {
  display: grid;
  grid-template-columns: 80px 1fr 100px 100px 80px 120px 120px;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  font-size: 0.875rem;
  color: #9cc9c4;
}

.table-header > div:not(.header-player):not(.header-rank) {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.table-body {
  max-height: 600px;
  overflow-y: auto;
}

.player-row {
  display: grid;
  grid-template-columns: 80px 1fr 100px 100px 80px 120px 120px;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.2s;
  align-items: center;
}

.player-row > div:not(.player-info):not(.player-rank) {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.player-rank {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: white;
}

.rank-trophy {
  font-size: 1.25rem;
}

.rank-1 {
  color: #ffd700;
}
.rank-2 {
  color: #c0c0c0;
}
.rank-3 {
  color: #cd7f32;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.player-avatar img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.player-name {
  font-weight: 600;
  color: white;
  font-size: 0.9rem;
}

.player-clan {
  font-size: 0.75rem;
  color: #9cc9c4;
  font-style: italic;
}

.stat-value {
  font-weight: 600;
  color: white;
}

.error-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  color: #9cc9c4;
}

.error-message i {
  font-size: 3rem;
  color: #ef4444;
  margin-bottom: 1rem;
}

.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: rgba(14, 55, 50, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  margin-top: 1rem;
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(to right, #29a092, #33c9b7);
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 600;
}

.pagination-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(51, 201, 183, 0.25);
}

.pagination-btn:disabled {
  background: rgba(107, 114, 128, 0.5);
  cursor: not-allowed;
  transform: none;
}

.pagination-info {
  font-weight: 600;
  color: white;
}

@media (max-width: 768px) {
  .stats-overview {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .leaderboard-controls {
    flex-direction: column;
    gap: 1rem;
  }

  .table-header,
  .player-row {
    grid-template-columns: 60px 1fr 80px 60px;
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .header-deaths,
  .header-playtime,
  .header-lastseen,
  .player-deaths,
  .player-playtime,
  .player-lastseen {
    display: none;
  }

  .stat-card {
    padding: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
  opacity: 0.8;
  animation: fadeInOut 3s ease-in-out infinite;
  transition: opacity 0.3s ease;
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

.scroll-text {
  font-size: 0.9rem;
  color: rgba(205, 228, 225, 0.7);
  margin-bottom: 0.5rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  color: #64b5a6;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.scroll-indicator.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

@media (max-width: 768px) {
  .scroll-indicator {
    margin-top: 2rem;
  }

  .scroll-text {
    font-size: 0.8rem;
  }

  .scroll-arrow {
    width: 20px;
    height: 20px;
  }
}

.server-card-new {
  background: linear-gradient(
    135deg,
    rgba(79, 209, 199, 0.15) 0%,
    rgba(45, 90, 61, 0.25) 100%
  );
  border: 1px solid rgba(79, 209, 199, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.server-card-new::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #64b5a6, #4f9a8a);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.server-card-new:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 209, 199, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.server-card-new:hover::before {
  opacity: 1;
}

.server-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.server-main-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.server-icon-new {
  width: 48px;
  height: 48px;
  background: rgba(100, 181, 166, 0.1);
  border: 2px solid rgba(100, 181, 166, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #64b5a6;
}

.server-name-region {
  flex: 1;
}

.server-name-new {
  font-size: 1.25rem;
  font-weight: 700;
  color: #cde4e1;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.server-region-new {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(205, 228, 225, 0.7);
}

.region-flag {
  font-size: 1.1rem;
}

.region-name {
  font-weight: 500;
}

.server-status-new {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.3);
}

.server-status-new.online {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.server-status-new.offline {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.server-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  border: 1px solid rgba(100, 181, 166, 0.1);
}

.stat-icon {
  width: 36px;
  height: 36px;
  background: rgba(100, 181, 166, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #64b5a6;
}

.stat-content {
  flex: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(205, 228, 225, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.server-info-section {
  margin-bottom: 1.5rem;
}

.server-ip-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid rgba(100, 181, 166, 0.1);
}

.ip-label {
  font-size: 0.9rem;
  color: rgba(205, 228, 225, 0.7);
  font-weight: 500;
}

.ip-value {
  flex: 1;
  font-family: "Courier New", monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: #64b5a6;
}

.copy-ip-btn {
  background: rgba(100, 181, 166, 0.1);
  border: 1px solid rgba(100, 181, 166, 0.3);
  color: #64b5a6;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.copy-ip-btn:hover {
  background: #64b5a6;
  color: #0f1419;
  transform: scale(1.05);
}

.server-features-new {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-tag-new {
  background: rgba(100, 181, 166, 0.1);
  color: #64b5a6;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(100, 181, 166, 0.2);
}

.feature-more-btn {
  background: rgba(205, 228, 225, 0.1);
  color: rgba(205, 228, 225, 0.7);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(205, 228, 225, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.feature-more-btn:hover {
  background: rgba(205, 228, 225, 0.2);
  border-color: rgba(205, 228, 225, 0.4);
  transform: scale(1.05);
}

.feature-more-btn.expanded {
  background: rgba(100, 181, 166, 0.2);
  color: rgba(100, 181, 166, 1);
  border-color: rgba(100, 181, 166, 0.4);
}

.hidden-tag {
  display: none;
}

.server-connect-section {
  margin-top: 1.5rem;
}

.connect-btn-new {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.connect-btn-new.online {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.connect-btn-new.online:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.connect-btn-new.online:active {
  transform: translateY(0);
}

.connect-btn-new.offline {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  color: rgba(255, 255, 255, 0.7);
  cursor: not-allowed;
}

.connect-btn-new i {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .server-card-new {
    padding: 1.25rem;
  }

  .server-card-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .server-main-info {
    gap: 0.75rem;
  }

  .server-icon-new {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .server-name-new {
    font-size: 1.1rem;
  }

  .server-stats-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .stat-box {
    padding: 0.75rem;
  }

  .server-ip-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    text-align: center;
  }

  .connect-btn-new {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }
}

.hero-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  position: relative;
  padding: 4rem 0;
}

.scrapinity-title {
  font-size: 8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 4rem;
  position: relative;
  text-transform: uppercase;
  font-family: "Impact", "Arial Black", sans-serif;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.letter {
  display: inline-block;
  position: relative;
  background: linear-gradient(
    45deg,
    #7fe8d6 0%,
    #64b5a6 25%,
    #a8e6cf 50%,
    #64b5a6 75%,
    #4f9a8a 100%
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientWave 4s ease-in-out infinite,
    letterFloat 3s ease-in-out infinite;
  text-shadow: 0 0 4px rgba(127, 232, 214, 0.18),
    0 0 8px rgba(100, 181, 166, 0.1), 0 0 12px rgba(79, 154, 138, 0.07);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
  transition: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

.letter:hover {
  transform: none;
  animation-play-state: running;
  -webkit-text-stroke: none;
  text-shadow: 0 0 4px rgba(127, 232, 214, 0.18),
    0 0 8px rgba(100, 181, 166, 0.1), 0 0 12px rgba(79, 154, 138, 0.07);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
}

.letter:nth-child(1) {
  animation-delay: 0s;
}
.letter:nth-child(2) {
  animation-delay: 0.1s;
}
.letter:nth-child(3) {
  animation-delay: 0.2s;
}
.letter:nth-child(4) {
  animation-delay: 0.3s;
}
.letter:nth-child(5) {
  animation-delay: 0.4s;
}
.letter:nth-child(6) {
  animation-delay: 0.5s;
}
.letter:nth-child(7) {
  animation-delay: 0.6s;
}
.letter:nth-child(8) {
  animation-delay: 0.7s;
}
.letter:nth-child(9) {
  animation-delay: 0.8s;
}
.letter:nth-child(10) {
  animation-delay: 0.9s;
}

.letter:hover {
  transform: scale(1.2) rotateY(20deg);
  animation-play-state: paused;
  -webkit-text-stroke: 0.8px #144f48;
  text-shadow: 0 0 20px rgba(127, 232, 214, 0.6),
    0 0 40px rgba(100, 181, 166, 0.4), 0 0 60px rgba(79, 154, 138, 0.2);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

@keyframes gradientWave {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes letterFloat {
  0%,
  100% {
    transform: translateY(0px) rotateX(0deg);
  }
  50% {
    transform: translateY(-10px) rotateX(5deg);
  }
}

.scrapinity-title::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: radial-gradient(
    ellipse at center,
    rgba(127, 232, 214, 0.13) 0%,
    rgba(100, 181, 166, 0.07) 30%,
    transparent 70%
  );
  z-index: -1;
  border-radius: 12px;
  animation: glowPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

.scroll-indicator-home {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem !important;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator-home:hover {
  transform: translateX(-50%) scale(1.1);
  cursor: pointer;
}

.scroll-text-home {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(127, 232, 214, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll-arrow-home {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(127, 232, 214, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(127, 232, 214, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.scroll-arrow-home::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(127, 232, 214, 0.2),
    rgba(100, 181, 166, 0.1)
  );
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.scroll-indicator-home:hover .scroll-arrow-home::before {
  transform: scale(1);
}

.scroll-arrow-home i {
  font-size: 1.5rem;
  color: #7fe8d6;
  z-index: 1;
  animation: arrowBounce 1.5s ease-in-out infinite;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll-indicator-home:hover .scroll-arrow-home {
  border-color: #7fe8d6;
  background: rgba(127, 232, 214, 0.2);
  box-shadow: 0 0 20px rgba(127, 232, 214, 0.3);
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0px);
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

@keyframes arrowBounce {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(3px);
  }
}

@media (max-width: 1200px) {
  .scrapinity-title {
    font-size: 6rem;
  }
}

@media (max-width: 768px) {
  .hero-new {
    min-height: 70vh;
    padding: 2rem 0;
  }

  .scrapinity-title {
    font-size: 4rem;
    margin-bottom: 3rem;
  }

  .scroll-text-home {
    font-size: 0.9rem;
  }

  .scroll-arrow-home {
    width: 40px;
    height: 40px;
  }

  .scroll-arrow-home i {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .scrapinity-title {
    font-size: 2.5rem;
    letter-spacing: 0.05em;
  }

  .letter:hover {
    transform: scale(1.1);
  }
}

.scroll-indicator-discord {
  position: relative;
  margin-top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem !important;
  cursor: pointer;
  transition: all 0.4s ease;
  animation: scrollBounce 2s ease-in-out infinite;
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

.scroll-indicator-discord:hover {
  transform: translateX(-50%) scale(1.1);
  cursor: pointer;
}

.scroll-text-discord {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(127, 232, 214, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll-arrow-discord {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(127, 232, 214, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(127, 232, 214, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.scroll-arrow-discord::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(127, 232, 214, 0.2),
    rgba(100, 181, 166, 0.1)
  );
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.scroll-indicator-discord:hover .scroll-arrow-discord::before {
  transform: scale(1);
}

.scroll-arrow-discord i {
  font-size: 1.5rem;
  color: #7fe8d6;
  z-index: 1;
  animation: arrowBounce 1.5s ease-in-out infinite;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll-indicator-discord:hover .scroll-arrow-discord {
  border-color: #7fe8d6;
  background: rgba(127, 232, 214, 0.2);
  box-shadow: 0 0 20px rgba(127, 232, 214, 0.3);
}

.scroll-indicator-home.fade-out,
.scroll-indicator-discord.fade-out {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
}

.scroll-indicator-home.fade-in,
.scroll-indicator-discord.fade-in {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0px);
}

@media (max-width: 768px) {
  .discord-hero {
    padding: 1rem 0 2rem 0 !important;
  }

  .discord-hero-content {
    margin-top: 0.5rem !important;
    margin-bottom: 1rem !important;
  }

  .scroll-indicator-discord {
    margin-top: 1.5rem !important;
  }

  .scroll-text-discord {
    font-size: 0.9rem;
  }

  .scroll-arrow-discord {
    width: 40px;
    height: 40px;
  }

  .scroll-arrow-discord i {
    font-size: 1.2rem;
  }
}

.discord-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.discord-stats .stat-box {
  background: rgba(15, 20, 25, 0.8);
  border: 1px solid rgba(100, 181, 166, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  min-width: 150px;
}

.discord-stats .stat-box:hover {
  border-color: rgba(100, 181, 166, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.discord-stats .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, #7fe8d6 0%, #64b5a6 50%, #4f9a8a 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShimmer 2s ease-in-out infinite;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.discord-stats .stat-label {
  font-size: 0.9rem;
  color: rgba(205, 228, 225, 0.8);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes gradientShimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

.server-notification {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 999999 !important;
  pointer-events: auto !important;
}

.copy-tooltip {
  position: absolute;
  background: linear-gradient(
    135deg,
    rgba(20, 79, 72, 0.98),
    rgba(20, 79, 72, 0.95)
  );
  border: 2px solid #10b981;
  color: #e5f1ef;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 999999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.copy-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.copy-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #10b981;
}

@media (max-width: 768px) {
  .server-notification {
    top: 10px !important;
    right: 10px !important;
    left: 10px !important;
    max-width: calc(100% - 20px) !important;
  }

  .copy-tooltip {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

.leaderboard-panel-shell {
  position: relative;
  min-height: 560px;
}

.player-panel-shell {
  min-height: 680px;
}

.leaderboard-panel-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(6, 20, 18, 0.92);
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 1.75rem;
  /* box-shadow: 0 45px 80px rgba(4, 17, 15, 0.65); */
  z-index: 5;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.leaderboard-panel-loading .spinner {
  width: 52px;
  height: 52px;
  border: 4px solid rgba(94, 234, 212, 0.25);
  border-top-color: #5eead4;
  border-radius: 50%;
  animation: leaderboard-loading-spin 0.9s linear infinite;
}

.leaderboard-panel-loading .loading-copy {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  color: #e6fffb;
}

.leaderboard-panel-loading.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes leaderboard-loading-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.leaderboard-region-panel {
  background: #0e3732cc;
  border: 1px solid rgba(94, 234, 212, 0.55);
  border-radius: 1.75rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  margin-bottom: 3rem;
  /* box-shadow: 0 45px 90px rgba(4, 17, 15, 0.55),
    0 0 30px rgba(94, 234, 212, 0.12); */
  backdrop-filter: blur(12px);
}

.leaderboard-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.scope-button-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}

.scope-button {
  min-width: 160px;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.55);
  background: #0e3732cc;
  color: #f0fffb;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 25px rgba(4, 17, 15, 0.35);
  position: relative;
  z-index: 1;
}

.scope-button:hover {
  border-color: rgba(94, 234, 212, 0.8);
}

.scope-button.active {
  background: #16a38fdd;
  border-color: rgba(228, 255, 251, 0.95);
  box-shadow: 0 15px 35px rgba(94, 234, 212, 0.2),
    0 15px 40px rgba(0, 0, 0, 0.35);
}

.scope-button-highlight {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 999px;
  background: rgba(22, 163, 143, 0.18);
  border: 1px solid rgba(228, 255, 251, 0.4);
  box-shadow: 0 12px 30px rgba(4, 17, 15, 0.35);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform, width, height, opacity;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.scope-button-highlight-ghost {
  border-color: rgba(228, 255, 251, 0.25);
  background: rgba(22, 163, 143, 0.12);
  box-shadow: 0 0 35px rgba(22, 163, 143, 0.35);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
  z-index: 0;
}

.region-card-highlight {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 1.5rem;
  border: 1px solid rgba(228, 255, 251, 0.35);
  background: rgba(22, 163, 143, 0.08);
  box-shadow: 0 25px 55px rgba(22, 163, 143, 0.35);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform, width, height, opacity;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.region-card-highlight-ghost {
  border-color: rgba(228, 255, 251, 0.2);
  background: rgba(22, 163, 143, 0.1);
  box-shadow: 0 0 70px rgba(22, 163, 143, 0.45);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
  z-index: 0;
}

.server-button-highlight {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 1rem;
  border: 1px solid rgba(228, 255, 251, 0.35);
  background: rgba(22, 163, 143, 0.12);
  box-shadow: 0 18px 45px rgba(22, 163, 143, 0.35);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform, width, height, opacity;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.server-button-highlight-ghost {
  border-color: rgba(228, 255, 251, 0.25);
  background: rgba(22, 163, 143, 0.1);
  box-shadow: 0 0 40px rgba(22, 163, 143, 0.4);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
  z-index: 0;
}

.control-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: #bbf7d0;
  margin-top: 1.25rem;
}

.region-card-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  position: relative;
}

.region-card {
  border: 1px solid rgba(94, 234, 212, 0.55);
  border-radius: 1.5rem;
  padding: 1rem 1.25rem;
  background: #0e3732cc;
  color: #e1f6f0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  /* box-shadow: 0 18px 55px rgba(4, 17, 15, 0.4),
    0 0 25px rgba(94, 234, 212, 0.12); */
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  z-index: 1;
}
.region-card:hover {
  transform: translateY(-3px);
  border-color: rgba(94, 234, 212, 0.8);
  box-shadow: 0 25px 65px rgba(4, 17, 15, 0.5),
    0 0 35px rgba(94, 234, 212, 0.25);
}

.region-card.has-flag {
  isolation: isolate;
}

.region-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 15% 20%,
    rgba(94, 234, 212, 0.12),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 0;
}

.region-card:hover::before,
.region-card.active::before {
  opacity: 1;
}

.region-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 25, 22, 0.65),
    rgba(11, 55, 49, 0.35)
  );
  z-index: 2;
  pointer-events: none;
  transition: background 0.2s ease;
}

.region-card:hover::after {
  background: linear-gradient(
    135deg,
    rgba(6, 25, 22, 0.7),
    rgba(11, 55, 49, 0.4)
  );
}

.region-card-flag {
  position: absolute;
  top: -20%;
  right: -15%;
  width: 180px;
  height: 180px;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
  transform: rotate(45deg);
  transform-origin: center;
  filter: saturate(1.1) contrast(1.05);
}

@media (max-width: 640px) {
  .region-card-flag {
    top: -15%;
    right: -20%;
    width: 140px;
    height: 140px;
    opacity: 0.7;
  }
}

.region-card-body {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.region-card-title h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.region-card-title span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #86efac;
}

.region-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.region-card-chip {
  background: rgba(94, 234, 212, 0.14);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.region-card-chip--accent {
  background: rgba(94, 234, 212, 0.2);
  color: #bbf7d0;
}

.region-card:hover {
  border-color: rgba(94, 234, 212, 0.5);
}

.region-card.active {
  border-color: rgba(228, 255, 251, 0.95);
  box-shadow: 0 0 0 2px rgba(94, 234, 212, 0.35),
    0 18px 55px rgba(4, 17, 15, 0.5), 0 0 35px rgba(94, 234, 212, 0.3);
}

.region-server-popover {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: -0.5rem;
  transform: translateY(100%);
  background: rgba(3, 9, 6, 0.95);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 1rem;
  padding: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 5;
}

.region-card:hover .region-server-popover,
.region-card.show-popover .region-server-popover {
  opacity: 1;
  transform: translateY(calc(100% - 0.35rem));
  pointer-events: auto;
}

.region-server-popover p {
  margin: 0 0 0.35rem 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #86efac;
}

.region-server-popover-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.region-server-item {
  border: none;
  border-radius: 0.75rem;
  padding: 0.5rem 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  color: #e1f6f0;
  text-align: left;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s ease;
}

.region-server-item:hover,
.region-server-item.active {
  background: rgba(94, 234, 212, 0.2);
}

.server-button-row {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
}

.server-row-hidden {
  display: none;
}

.server-button {
  border: 1px solid rgba(94, 234, 212, 0.55);
  border-radius: 1rem;
  padding: 0.85rem 1.3rem;
  min-width: 160px;
  background: #0e3732cc;
  color: #f3fffb;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  /* box-shadow: 0 10px 25px rgba(4, 17, 15, 0.35); */
  position: relative;
  z-index: 1;
}

.server-button:hover {
  border-color: rgba(94, 234, 212, 0.5);
}

.server-button.active {
  border-color: rgba(228, 255, 251, 0.95);
  box-shadow: 0 0 0 2px rgba(94, 234, 212, 0.25),
    0 15px 40px rgba(0, 0, 0, 0.35), 0 0 25px rgba(94, 234, 212, 0.2);
  background: #16a38fdd;
}

.server-button-row {
  min-height: 70px;
}

.server-row-placeholder {
  width: 100%;
  text-align: center;
  padding: 1rem;
  border: 1px dashed rgba(94, 234, 212, 0.4);
  border-radius: 1rem;
  color: #cbfff3;
}

.leaderboard-totals-header {
  margin: 1.5rem 0 1rem;
}

.leaderboard-totals-header h3 {
  margin-top: 0.35rem;
  font-size: 1.5rem;
}

.leaderboard-totals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.leaderboard-totals-column {
  background: #0e3732cc;
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(94, 234, 212, 0.35);
}

.totals-column-head h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.totals-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.totals-row {
  display: flex;
  align-items: center;
  background: rgba(14, 55, 50, 0.85);
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  gap: 0.85rem;
}

.totals-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(94, 234, 212, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9cc9c4;
  font-size: 1.35rem;
}

.totals-label span {
  display: block;
  font-weight: 600;
  color: #eef5f3;
}

.totals-label small {
  color: #6e8f8a;
  font-size: 0.75rem;
}

.totals-value {
  margin-left: auto;
  font-weight: 700;
  font-size: 1.1rem;
  color: #f8fafc;
}

.selection-updated {
  margin-top: 1.5rem;
  text-align: center;
  color: #9cc9c4;
  font-size: 0.9rem;
}

.player-leaderboard-panel {
  margin-top: 2.5rem;
  background: #0b2f2b;
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 1.75rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  /* box-shadow: 0 40px 70px rgba(4, 17, 15, 0.55); */
}

.player-leaderboard-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.player-leaderboard-context {
  flex: 1 1 240px;
}

.player-leaderboard-context h3 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
}

.player-leaderboard-context p {
  margin: 0.35rem 0 0;
  color: #9cc9c4;
}

.player-leaderboard-search-bar {
  flex: 1 1 220px;
  display: flex;
  justify-content: center;
}

.player-leaderboard-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(94, 234, 212, 0.4);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  background: rgba(8, 28, 24, 0.85);
  color: #cde4e1;
  min-width: 240px;
  width: min(420px, 100%);
}

.player-leaderboard-actions {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.player-leaderboard-search i {
  color: rgba(205, 228, 225, 0.8);
}

.player-leaderboard-search input {
  flex: 1;
  border: none;
  background: transparent;
  color: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.player-leaderboard-search input::placeholder {
  color: rgba(205, 228, 225, 0.6);
}

.player-leaderboard-search input:focus {
  outline: none;
  color: #f0fffb;
}

.player-leaderboard-search:focus-within {
  border-color: rgba(94, 234, 212, 0.8);
  box-shadow: 0 0 0 2px rgba(94, 234, 212, 0.25);
}

.mode-toggle {
  display: flex;
  gap: 0.35rem;
  border: 1px solid rgba(94, 234, 212, 0.35);
  background: rgba(4, 17, 15, 0.65);
  border-radius: 999px;
  padding: 0.2rem;
}

.mode-toggle-btn {
  border: none;
  background: transparent;
  color: #e4fffb;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.mode-toggle-btn:hover {
  background: rgba(94, 234, 212, 0.12);
}

.mode-toggle-btn.active {
  background: #16a38fde;
  color: #04110f;
}

.player-leaderboard-status {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1.5rem;
  border: 1px dashed rgba(94, 234, 212, 0.3);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #bbf7d0;
}

.player-leaderboard-status.hidden {
  display: none;
}

.player-leaderboard-status[data-state="error"] {
  border-color: rgba(248, 113, 113, 0.6);
  color: #fecaca;
}

.player-leaderboard-status[data-state="loading"] {
  border-style: solid;
}

.player-leaderboard-status[data-state="error"] .status-spinner,
.player-leaderboard-status[data-state="empty"] .status-spinner,
.player-leaderboard-status[data-state="idle"] .status-spinner {
  display: none;
}

.status-spinner {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 3px solid rgba(94, 234, 212, 0.25);
  border-top-color: rgba(94, 234, 212, 0.9);
  animation: player-spin 0.8s linear infinite;
}

@keyframes player-spin {
  to {
    transform: rotate(360deg);
  }
}

.player-leaderboard-table-wrapper {
  margin-top: 1.75rem;
  overflow-x: auto;
}

.player-leaderboard-table,
.player-table {
  width: 100%;
  min-width: 1400px;
}

.player-table-row {
  display: grid;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  background: rgba(12, 39, 34, 0.85);
  width: 100%;
  position: relative;
  overflow: visible;
}

.player-table-row::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 1px solid rgba(94, 234, 212, 0.3);
  z-index: 0;
}

.player-table-row > * {
  position: relative;
  z-index: 1;
}

.player-table-row[data-steamid] {
  cursor: pointer;
}

.player-table-row--head {
  background: rgba(14, 55, 50, 0.9);
  border-radius: 1rem 1rem 0 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.player-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e4fffb;
  font-size: 0.95rem;
}

.player-cell--rank {
  font-weight: 700;
  color: #bbf7d0;
}

.player-cell--player {
  min-width: 0;
}

.player-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.player-pill img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(94, 234, 212, 0.25);
}

.player-pill-name {
  font-weight: 600;
  display: block;
  color: #f1fffb;
  text-decoration: none;
  transition: color 0.2s ease;
}

.player-pill-name:hover {
  color: #bbf7d0;
}

.player-pill-meta {
  font-size: 0.8rem;
  color: rgba(203, 255, 243, 0.65);
}

.player-cell--metric {
  justify-content: center;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.player-table-row:nth-child(odd):not(.player-table-row--head) {
  background: rgba(14, 50, 44, 0.9);
}

.player-table-row:nth-child(even):not(.player-table-row--head) {
  background: rgba(24, 74, 65, 0.92);
}

.player-table-row:not(.player-table-row--head):hover {
  background: rgba(30, 96, 84, 0.95);
}

.player-cell--sortable {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(203, 255, 243, 0.8);
}

.player-cell--sortable:hover,
.player-cell--sortable.active {
  color: #bbf7d0;
}

.player-leaderboard-table .player-table-row:last-child {
  border-bottom: none;
}

.player-table-pagination {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.player-table-page-info {
  font-weight: 600;
  color: #cde4e1;
}

.player-pagination-btn {
  border: 1px solid rgba(94, 234, 212, 0.4);
  background: rgba(8, 28, 24, 0.85);
  color: #e4fffb;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.player-pagination-btn:hover {
  border-color: rgba(94, 234, 212, 0.7);
}

.player-pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.profile-hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.profile-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.35);
  background: rgba(8, 24, 21, 0.85);
  color: #cde4e1;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.profile-back-link:hover {
  border-color: rgba(94, 234, 212, 0.7);
  transform: translateY(-1px);
}

.profile-identity-card {
  background: rgba(11, 47, 43, 0.95);
  border: 1px solid rgba(94, 234, 212, 0.45);
  border-radius: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  /* box-shadow: 0 35px 65px rgba(4, 17, 15, 0.45); */
}

.profile-identity-main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 260px;
}

.profile-avatar {
  width: 92px;
  height: 92px;
  border-radius: 1rem;
  border: 2px solid rgba(94, 234, 212, 0.45);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-identity-text h2 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  margin-bottom: 0.3rem;
}

.steamid-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.4);
  padding: 0.35rem 0.9rem;
  background: rgba(6, 20, 18, 0.85);
  color: #bbf7d0;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.steamid-chip:hover {
  border-color: rgba(94, 234, 212, 0.8);
  background: rgba(11, 35, 31, 0.85);
}

.profile-identity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  min-width: 240px;
}

.profile-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(94, 234, 212, 0.5);
  background: rgba(12, 39, 34, 0.85);
  color: #e5f1ef;
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.profile-action-btn:hover {
  border-color: rgba(94, 234, 212, 0.8);
  transform: translateY(-1px);
}

.profile-feedback {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(94, 234, 212, 0.35);
  background: rgba(8, 24, 21, 0.85);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  color: #9cc9c4;
}

.profile-feedback--error {
  border-color: rgba(248, 113, 113, 0.6);
  color: #fecaca;
  background: rgba(69, 10, 10, 0.65);
}

.profile-section {
  position: relative;
  overflow: visible;
  background: transparent;
}

.profile-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 20, 18, 0.82);
  border-radius: inherit;
  border: 1px solid rgba(94, 234, 212, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(6px);
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 10;
}

.profile-loading-overlay .spinner {
  width: 44px;
  height: 44px;
  border-width: 3px;
}

.profile-loading-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.profile-loading-text {
  font-weight: 600;
  font-size: 0.9rem;
  color: #cde4e1;
  text-align: center;
}

.profile-summary-section {
  margin-bottom: 2.5rem;
}

.profile-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;

  border-radius: 0;
  overflow: visible;
  background: transparent !important;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.profile-summary-card {
  background: rgba(14, 55, 50, 0.85);
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 1.25rem;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  /* box-shadow: 0 18px 35px rgba(4, 17, 15, 0.45); */
}

.summary-icon {
  width: 48px;
  height: 48px;
  border-radius: 1rem;
  background: rgba(94, 234, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #5eead4;
}

.summary-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #88b5ae;
}

.summary-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.1;
}

.profile-selection-panel {
  background: rgba(8, 28, 24, 0.95);
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  /* box-shadow: 0 30px 60px rgba(4, 17, 15, 0.55); */
  margin-bottom: 2.5rem;
}

.profile-server-panel {
  background: rgba(11, 35, 31, 0.95);
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  /* box-shadow: 0 30px 60px rgba(4, 17, 15, 0.55); */
  margin-bottom: 0;
}

.profile-debug-panel {
  background: rgba(7, 24, 21, 0.9);
  border: 1px solid rgba(94, 234, 212, 0.3);
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
  /* box-shadow: 0 25px 50px rgba(4, 17, 15, 0.45); */
  margin-top: 1.5rem;
}

.profile-debug-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.profile-debug-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 260px;
  overflow-y: auto;
}

.profile-debug-row {
  border: 1px solid rgba(94, 234, 212, 0.25);
  border-radius: 0.9rem;
  padding: 0.65rem 0.85rem;
  background: rgba(10, 34, 30, 0.85);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  font-size: 0.85rem;
}

.profile-debug-row span {
  font-weight: 600;
  color: #bbf7d0;
}

.profile-debug-row small {
  color: #85b9b1;
  font-weight: 500;
}

.debug-hint {
  font-size: 0.8rem;
  color: #94c5be;
  font-weight: 600;
}

.profile-server-header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.profile-server-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.profile-server-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.profile-split-card {
  background: rgba(8, 24, 21, 0.9);
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 1.25rem;
  padding: 1.25rem;
  min-height: 320px;
}

.split-card-head h4 {
  font-size: 1.1rem;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.metric-card {
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(12, 39, 34, 0.85);
}

.metric-card--accent {
  border-color: rgba(94, 234, 212, 0.5);
  background: rgba(22, 163, 143, 0.1);
}

.metric-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94c5be;
}

.metric-value {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 0.35rem;
  color: #f1fffb;
}

.metric-placeholder {
  border: 1px dashed rgba(94, 234, 212, 0.3);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  color: #8cbcb5;
  font-weight: 600;
}

.profile-server-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.server-pill {
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.35);
  padding: 0.25rem 0.85rem;
  font-size: 0.8rem;
  color: #cde4e1;
}

.server-name {
  display: block;
  font-weight: 700;
  color: #f1fffb;
}

.server-meta {
  display: block;
  font-size: 0.85rem;
  color: #8cbcb5;
}

.server-badge {
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: #bbf7d0;
}

.server-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  text-align: left;
}

.server-button > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.server-button .server-name {
  font-size: 1rem;
}

.server-button .server-meta {
  font-size: 0.8rem;
}

.server-button .server-badge {
  font-size: 0.85rem;
}

.profile-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 20, 18, 0.82);
  border-radius: 1.25rem;
  border: 1px solid rgba(94, 234, 212, 0.35);
  /* box-shadow: 0 18px 35px rgba(4, 17, 15, 0.45); */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(6px);
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 10;
}

.profile-summary-card {
  position: relative;
  background: rgba(14, 55, 50, 0.85);
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 1.25rem;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  /* box-shadow: 0 18px 35px rgba(4, 17, 15, 0.45); */
}
