@font-face {
  font-family: "Britanica";
  src: url("../fonts/britanica-bold.woff2") format("woff2"), url("../fonts/britanica-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Britanica";
  src: url("../fonts/britanica-extra-bold.woff2") format("woff2"), url("../fonts/britanica-extra-bold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
/**
 * Shared SCSS Mixins
 */
/**
 * Page Header Layout
 * Used by: gallery, my-todos, my-youtube pages
 *
 * Usage:
 * .my-header {
 *   @include page-header;
 * }
 */
/**
 * Status Pill/Badge
 * Used by: leaderboard-status, status alerts, etc.
 *
 * Usage:
 * .my-status {
 *   @include status-pill($bg-start, $bg-end, $border, $text);
 * }
 */
/**
 * Page Action Button (Add Todo, Add Channel, etc.)
 * Used by: my-todos, my-youtube pages
 *
 * Usage:
 * .btn-add-something {
 *   @include page-action-button;
 * }
 */
:root {
  --color-primary: #fff;
  --color-primary-dark: #fff;
  --color-secondary: #FFD700;
  --color-success: #10b981;
  --color-danger: #ef4444;
  --color-warning: #f59e0b;
  --color-text: #e0e0e0;
  --color-text-light: #a0a0a0;
  --color-bg: #1a1a1a;
  --color-bg-secondary: #2a2a2a;
  --color-border: #3a3a3a;
  --color-card-bg: #242424;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --border-radius: 4px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Muli", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: black;
  min-height: 100vh;
  letter-spacing: 1.5px;
  display: flex;
  flex-direction: column;
  position: relative;
}

button,
input,
textarea,
select {
  letter-spacing: inherit;
}

@media (max-width: 768px) {
  .container {
    padding: var(--spacing-sm);
  }
  .guild-header .guild-stats {
    gap: var(--spacing-md);
    flex-wrap: wrap;
  }
}
.container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  padding: 0px 20px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.footer {
  text-align: center;
  padding: var(--spacing-md);
  color: white;
  font-size: 14px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer p {
  margin: 0;
}
.footer p i {
  color: var(--color-danger);
}

.credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-md);
  margin-top: auto;
}

.credit-logo {
  font-family: "Britanica", Arial, sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: white;
  clip-path: inset(0 0 44% 0);
  line-height: 1;
  margin-bottom: -20px;
}

.top-bar {
  height: 50px;
  background: rgba(26, 26, 26, 0.95) url(../img/header.png);
  border-bottom: 4px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 9999;
}
.top-bar .top-bar-content {
  max-width: 1290px;
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-bar .top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-bar .top-bar-left .guild-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}
.top-bar .top-bar-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: var(--transition);
}
.top-bar .top-bar-logo i {
  font-size: 32px;
  color: var(--color-primary);
  transition: var(--transition);
}
.top-bar .top-bar-logo:hover i {
  color: #fff;
  transform: scale(1.1);
}
.top-bar .hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
  position: relative;
}
.top-bar .hamburger-menu span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.top-bar .hamburger-menu.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.top-bar .hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.top-bar .hamburger-menu.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.top-bar .top-bar-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}
.top-bar .top-bar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-light);
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.top-bar .top-bar-nav .nav-link i {
  font-size: 16px;
}
.top-bar .top-bar-nav .nav-link:hover {
  color: var(--color-primary);
}
.top-bar .top-bar-nav .nav-link.active {
  color: #e12e2c;
}
.top-bar .top-bar-nav .nav-dropdown {
  position: relative;
}
.top-bar .top-bar-nav .nav-dropdown .nav-dropdown-toggle .dropdown-arrow {
  font-size: 12px;
  transition: transform 0.2s ease;
}
.top-bar .top-bar-nav .nav-dropdown.open .nav-dropdown-toggle {
  color: var(--color-primary);
}
.top-bar .top-bar-nav .nav-dropdown.open .nav-dropdown-toggle .dropdown-arrow {
  transform: rotate(180deg);
}
.top-bar .top-bar-nav .nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.top-bar .top-bar-nav .nav-dropdown .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 200px;
  background: rgba(26, 26, 26, 0.98);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 10000;
  padding: 8px 0;
}
.top-bar .top-bar-nav .nav-dropdown .nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: var(--color-text-light);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap;
}
.top-bar .top-bar-nav .nav-dropdown .nav-dropdown-item i {
  font-size: 16px;
}
.top-bar .top-bar-nav .nav-dropdown .nav-dropdown-item:hover {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.05);
}
.top-bar .top-bar-nav .nav-dropdown .nav-dropdown-item.active {
  color: #e12e2c;
  background: rgba(225, 46, 44, 0.1);
}
.top-bar .mobile-nav {
  display: none;
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  flex-direction: column;
  padding: 8px 0;
  z-index: 9998;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.top-bar .mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.top-bar .mobile-nav .mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-light);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  padding: 10px 16px;
  transition: var(--transition);
  border-left: 2px solid transparent;
}
.top-bar .mobile-nav .mobile-nav-link i {
  font-size: 16px;
}
.top-bar .mobile-nav .mobile-nav-link:hover {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.03);
  border-left-color: var(--color-primary);
}
.top-bar .mobile-nav .mobile-nav-link.active {
  color: #e12e2c;
  background: rgba(225, 46, 44, 0.1);
  border-left-color: #e12e2c;
}
.top-bar .mobile-nav .mobile-nav-link.mobile-nav-link-indent {
  padding-left: 32px;
  font-size: 11px;
}
.top-bar .mobile-nav .mobile-nav-group .mobile-nav-group-header {
  padding: 12px 16px 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.top-bar .top-bar-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  position: relative;
  z-index: 10000;
}
.top-bar .btn-login {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: #e12e2c;
  border: 1px solid #e12e2c;
  border-radius: var(--border-radius);
  color: white;
  font-family: "Muli", sans-serif;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
  pointer-events: auto;
  position: relative;
  z-index: 10001;
}
.top-bar .btn-login:hover {
  background: #c82826;
  border-color: #c82826;
}
.top-bar .btn-login i {
  font-size: 14px;
  pointer-events: none;
}
.top-bar .btn-login span {
  pointer-events: none;
}
.top-bar .user-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}
.top-bar .user-info .user-avatar-container {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--color-border);
}
.top-bar .user-info .user-avatar-container .user-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-bar .user-info .user-avatar-container i {
  font-size: 16px;
  color: var(--color-text-light);
}
.top-bar .user-info .user-battletag {
  color: var(--color-text);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.top-bar .user-info .user-battletag:hover {
  color: var(--color-primary);
}
.top-bar .user-info .btn-logout {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: #e12e2c;
  border: 1px solid #e12e2c;
  border-radius: var(--border-radius);
  color: white;
  font-family: "Muli", sans-serif;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
  pointer-events: auto;
  position: relative;
  z-index: 10001;
}
.top-bar .user-info .btn-logout:hover {
  background: #c82826;
  border-color: #c82826;
}
.top-bar .user-info .btn-logout i {
  font-size: 14px;
  pointer-events: none;
}
@media (max-width: 1024px) {
  .top-bar .top-bar-logo i {
    font-size: 28px;
  }
  .top-bar .hamburger-menu {
    display: flex;
  }
  .top-bar .top-bar-nav {
    display: none;
  }
  .top-bar .mobile-nav {
    display: flex;
  }
  .top-bar .top-bar-right {
    justify-content: flex-end;
  }
  .top-bar .btn-login span {
    display: none;
  }
  .top-bar .btn-login i {
    font-size: 18px;
  }
  .top-bar .user-info .user-battletag {
    display: none;
  }
  .top-bar .user-info .btn-logout {
    padding: 5px 8px;
    font-size: 11px;
  }
}

.bg-rotator-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.bg-rotator-container .bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  transition: opacity 2s ease-in-out;
}
@media (min-width: 2000px) {
  .bg-rotator-container .bg-layer {
    background-position: center center;
  }
}
.bg-rotator-container .bg-layer-1 {
  opacity: 1;
  z-index: 1;
}
.bg-rotator-container .bg-layer-2 {
  opacity: 0;
  z-index: 2;
}

#guild-search-container {
  backdrop-filter: blur(10px);
}

.guild-search-bar {
  max-width: 1290px;
  margin: 0 auto;
  height: 60px;
  padding: 0 var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
}
.guild-search-bar .search-input {
  height: 40px;
  padding: 4px 16px;
  background: transparent;
  border: 0px solid white;
  border-radius: var(--border-radius);
  color: var(--color-text);
  font-family: "Muli", sans-serif;
  font-size: 14px;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.05);
  flex: 1;
  max-width: 250px;
}
.guild-search-bar .search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}
.guild-search-bar .search-input::placeholder {
  color: var(--color-text-light);
}
@media (max-width: 386px) {
  .guild-search-bar .search-input {
    max-width: 150px;
  }
}
.guild-search-bar .region-radio-group {
  display: flex;
  gap: var(--spacing-xs);
  align-items: center;
}
.guild-search-bar .region-radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  height: 40px;
  background: transparent;
  border: 0px solid white;
  border-radius: var(--border-radius);
  color: var(--color-text);
  font-family: "Muli", sans-serif;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}
.guild-search-bar .region-radio-label:hover {
  border-color: #e12e2c;
}
.guild-search-bar .region-radio-label input[type=radio] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #e12e2c;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.guild-search-bar .region-radio-label input[type=radio]:checked {
  border-color: #e12e2c;
  background: #e12e2c;
}
.guild-search-bar .region-radio-label input[type=radio]:checked:hover {
  border-color: #e12e2c;
}
.guild-search-bar .region-radio-label input[type=radio]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #000;
}
.guild-search-bar .region-radio-label input[type=radio]:hover {
  border-color: #ffffff;
}
.guild-search-bar .region-radio-label .region-radio-text {
  font-weight: 600;
}
.guild-search-bar .btn-search {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  background: #172329;
  border: 1px solid #172329;
  border-radius: var(--border-radius);
  color: white;
  font-family: "Muli", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.guild-search-bar .btn-search i {
  color: #e12e2c;
  font-size: 18px;
  transition: var(--transition);
}
.guild-search-bar .btn-search:hover {
  background: #e12e2c;
  border-color: #e12e2c;
}
.guild-search-bar .btn-search:hover i {
  color: white;
}
.guild-search-bar .btn-search:active {
  transform: scale(0.98);
}
.guild-search-bar .clear-results-link {
  color: #e12e2c;
  font-family: "Muli", sans-serif;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: underline;
}
.guild-search-bar .clear-results-link:hover {
  color: var(--color-primary);
  opacity: 1;
  text-decoration: underline;
}
@media (max-width: 386px) {
  .guild-search-bar {
    height: auto;
    flex-wrap: wrap;
    padding: var(--spacing-sm);
    gap: var(--spacing-xs);
  }
  .guild-search-bar .search-input {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .guild-search-bar .region-radio-group {
    flex: 1;
    gap: 4px;
  }
  .guild-search-bar .region-radio-label {
    padding: 4px 8px;
    font-size: 12px;
  }
  .guild-search-bar .region-radio-label .region-radio-text {
    font-size: 12px;
  }
  .guild-search-bar .btn-search {
    flex: 0 0 auto;
    padding: 0 12px;
    font-size: 11px;
  }
  .guild-search-bar .clear-results-link {
    font-size: 11px;
  }
}
@media (min-width: 387px) and (max-width: 413px) {
  .guild-search-bar {
    height: auto;
    flex-wrap: wrap;
    padding: var(--spacing-sm);
    gap: var(--spacing-xs);
  }
  .guild-search-bar .search-input {
    max-width: 100%;
    flex: 1 1 calc(50% - 4px);
  }
  .guild-search-bar .region-radio-group {
    flex: 1;
  }
  .guild-search-bar .btn-search {
    flex: 0 0 auto;
  }
}
@media (min-width: 414px) and (max-width: 768px) {
  .guild-search-bar {
    height: auto;
    padding: var(--spacing-sm);
    gap: 6px;
  }
  .guild-search-bar .search-input {
    max-width: none;
    flex: 1;
    min-width: 100px;
  }
  .guild-search-bar .region-radio-group {
    gap: 4px;
  }
  .guild-search-bar .region-radio-label {
    padding: 4px 8px;
  }
  .guild-search-bar .region-radio-label .region-radio-text {
    font-size: 13px;
  }
  .guild-search-bar .btn-search {
    padding: 0 12px;
    white-space: nowrap;
  }
}

.guild-search-info {
  max-width: 500px;
  margin: 80px auto;
  padding: 20px;
  text-align: center;
  color: var(--color-text);
  border-radius: calc(var(--border-radius) * 2);
  backdrop-filter: blur(10px);
}
.guild-search-info .info-logo {
  margin-bottom: 20px;
}
.guild-search-info .info-logo img {
  width: 250px;
  height: auto;
  opacity: 0.9;
}
.guild-search-info .info-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}
.guild-search-info .info-header i {
  font-size: 32px;
  color: var(--color-primary);
  opacity: 0.9;
  filter: drop-shadow(0 0 20px rgba(255, 209, 0, 0.3));
}
.guild-search-info .info-header h2 {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-primary);
  margin: 0;
}
.guild-search-info p {
  font-size: 14px;
  line-height: 1.6;
}
.guild-search-info .token-price {
  margin-top: 20px;
  margin-bottom: 0;
  padding: 12px 20px;
  background: rgba(225, 46, 44, 0.5);
  border-radius: var(--border-radius);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
}
.guild-search-info .info-steps {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  text-align: left;
}
.guild-search-info .info-step {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  transition: var(--transition);
}
.guild-search-info .info-step:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: var(--color-primary);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(255, 209, 0, 0.1);
}
.guild-search-info .info-step .step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: #000;
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255, 209, 0, 0.3);
}
.guild-search-info .info-step .step-text {
  font-size: 15px;
  color: var(--color-text);
  font-weight: 500;
}
@media (max-width: 768px) {
  .guild-search-info {
    margin: 40px auto;
    padding: var(--spacing-md);
  }
  .guild-search-info .info-logo {
    margin-bottom: 16px;
  }
  .guild-search-info .info-logo img {
    width: 180px;
  }
  .guild-search-info .info-header {
    gap: 8px;
  }
  .guild-search-info .info-header i {
    font-size: 24px;
  }
  .guild-search-info .info-header h2 {
    font-size: 24px;
  }
  .guild-search-info p {
    font-size: 14px;
  }
  .guild-search-info .info-step .step-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .guild-search-info .info-step .step-text {
    font-size: 14px;
  }
}

.custom-dropdown {
  position: relative;
  display: inline-block;
  min-width: 250px;
}
.custom-dropdown .dropdown-toggle {
  width: 100%;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xs);
  background: transparent;
  border: 0px solid white;
  border-radius: var(--border-radius);
  color: var(--color-text);
  font-family: "Muli", sans-serif;
  font-size: 14px;
  letter-spacing: inherit;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.05);
}
.custom-dropdown .dropdown-toggle:hover {
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.07);
}
.custom-dropdown .dropdown-toggle:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}
.custom-dropdown .dropdown-toggle .dropdown-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  flex: 1;
}
.custom-dropdown .dropdown-toggle .dropdown-text {
  flex: 1;
  text-align: left;
}
.custom-dropdown .dropdown-toggle .dropdown-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.custom-dropdown .dropdown-toggle .dropdown-arrow {
  font-size: 16px;
  transition: transform 0.3s ease;
}
.custom-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 10px 20px rgba(0, 0, 0, 0.2);
  max-height: 300px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
  /* Custom scrollbar */
}
.custom-dropdown .dropdown-menu::-webkit-scrollbar {
  width: 8px;
}
.custom-dropdown .dropdown-menu::-webkit-scrollbar-track {
  background: var(--color-bg);
  border-radius: 4px;
}
.custom-dropdown .dropdown-menu::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}
.custom-dropdown .dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-light);
}
.custom-dropdown .dropdown-item {
  width: 100%;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: transparent;
  border: none;
  color: var(--color-text);
  font-family: "Muli", sans-serif;
  font-size: 14px;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.custom-dropdown .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
}
.custom-dropdown .dropdown-item.selected {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-primary);
}
.custom-dropdown .dropdown-item .dropdown-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.custom-dropdown .dropdown-item .dropdown-item-text {
  flex: 1;
}
.custom-dropdown .dropdown-item .dropdown-count {
  background: rgba(0, 0, 0, 0.4);
  color: var(--color-text);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 12px;
  min-width: 24px;
  text-align: center;
  margin-left: auto;
}
.custom-dropdown .dropdown-item .dropdown-check {
  font-size: 16px;
  color: var(--color-primary);
}
.custom-dropdown.open .dropdown-toggle .dropdown-arrow {
  transform: rotate(180deg);
}
.custom-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .custom-dropdown {
    width: 100%;
    min-width: 100%;
  }
}

.guild-header {
  text-align: center;
  min-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}
.guild-header .guild-header-subtitle {
  font-size: 14px;
  display: block;
}
.guild-header .guild-header-subtitle span {
  background: rgba(255, 255, 255, 0.1);
  display: inline-block;
  margin-right: 6px;
  border-radius: 15px;
  padding: 0px 10px;
  font-weight: 700;
}
.guild-header .guild-realms {
  margin-bottom: var(--spacing-sm);
  display: block;
}
.guild-header .guild-count {
  font-size: 12px;
  background: var(--color-success);
  height: 20px;
  border-radius: 20px;
  padding: 5px 10px;
}
.guild-header h2 {
  color: var(--color-primary);
  font-size: 32px;
  text-transform: capitalize;
  position: relative;
}
.guild-header .guild-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
}
.guild-header .guild-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.guild-header .guild-stats .stat .stat-label {
  color: var(--color-text-light);
  font-size: 14px;
  text-transform: uppercase;
}
.guild-header .guild-stats .stat .stat-value {
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 700;
}

.roster-controls {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.roster-controls .leaderboard-status {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.3));
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: rgb(167, 213, 255);
  font-size: 11px;
  padding: 8px 16px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
  transition: all 0.2s ease;
}
.roster-controls .leaderboard-status:hover {
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}
.roster-controls .leaderboard-status {
  margin-right: auto;
}
.roster-controls .mini-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}
.roster-controls .mini-pagination .mini-pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 0px solid var(--color-border);
  border-radius: var(--border-radius);
  color: white;
  cursor: pointer;
  transition: var(--transition);
}
.roster-controls .mini-pagination .mini-pagination-btn i {
  font-size: 16px;
}
.roster-controls .mini-pagination .mini-pagination-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.roster-controls .mini-pagination .mini-pagination-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.roster-controls .mini-pagination .mini-pagination-count {
  color: white;
  font-size: 14px;
  font-weight: 600;
  min-width: 80px;
  text-align: center;
}
@media (max-width: 768px) {
  .roster-controls #sort-dropdown-container,
  .roster-controls #class-dropdown-container {
    width: 100%;
  }
  .roster-controls .mini-pagination {
    width: 100%;
    justify-content: center;
    order: -1;
  }
}
@media (max-width: 500px) {
  .roster-controls #dungeon-dropdown-container {
    width: 100%;
  }
  .roster-controls .leaderboard-status {
    width: 100%;
    justify-content: center;
    order: -1;
  }
}

.member-card {
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  min-width: 200px;
  border-radius: 10px;
  backdrop-filter: blur(2px);
}
@media (max-width: 650px) {
  .member-card {
    min-width: 150px;
  }
}
.member-card .member-level {
  position: absolute;
  top: 10px;
  z-index: 10;
  height: 30px;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 20px;
  width: 100%;
}
.member-card .member-level .member-ilvl {
  display: inline-flex;
  margin-left: 5px;
}
.member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  border-color: var(--color-primary);
}
.member-card .character-avatar-placeholder {
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-radius: 10px 10px 0px 0px;
}
.member-card .character-avatar-placeholder .loading-spinner {
  font-size: 24px;
  color: var(--color-primary);
  position: absolute;
  z-index: 1;
}
.member-card .character-avatar-placeholder .character-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
  border-radius: 10px 10px 0px 0px;
}
.member-card .member-header {
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  flex-direction: column;
}
.member-card .member-header .member-name {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.member-card .member-header .member-hero-talent {
  font-size: 9px;
  text-align: center;
  text-transform: uppercase;
}
.member-card .member-details {
  padding: 10px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}
.member-card .member-details .member-detail-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}
.member-card .member-details .member-detail-row .member-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  flex-shrink: 0;
  border-radius: 50%;
  cursor: pointer;
}
.member-card .member-details .member-detail-row .member-icon .icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.member-card .member-details .member-detail-row .member-icon i {
  font-size: 14px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
}
.member-card .member-details .member-detail-row .member-icon .loading-spinner {
  font-size: 16px;
  color: var(--color-primary);
}
.member-card .member-details .member-detail-row .member-icon .member-icon-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.95);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}
.member-card .member-details .member-detail-row .member-icon .member-icon-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 6px 0 6px;
  border-color: rgba(0, 0, 0, 0.95) transparent transparent transparent;
}
.member-card .member-details .member-detail-row .member-icon:hover .member-icon-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(5px);
}
.member-card .member-details .member-class,
.member-card .member-details .member-race,
.member-card .member-details .member-spec,
.member-card .member-details .member-faction,
.member-card .member-details .member-realm,
.member-card .member-details .member-rank,
.member-card .member-details .member-class {
  font-weight: 600;
  color: var(--color-text);
}
.member-card .member-realm-badge-container {
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
}
.member-card .member-realm-badge {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  color: var(--color-text-light);
  text-transform: capitalize;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 10;
}
.member-card .guildmaster-crown {
  position: absolute;
  left: -4px;
  top: -4px;
  font-size: 24px;
  color: #FFD700;
  transform: rotate(-25deg);
  z-index: 100;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.character-equipment {
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.character-equipment h3 {
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
  font-size: 24px;
  text-align: center;
}
.character-equipment .equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  flex: 1;
  overflow-y: auto;
  align-content: start;
}
.character-equipment .equipment-grid::-webkit-scrollbar {
  width: 8px;
}
.character-equipment .equipment-grid::-webkit-scrollbar-track {
  background: var(--color-bg);
  border-radius: 4px;
}
.character-equipment .equipment-grid::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}
.character-equipment .equipment-grid::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}
.character-equipment .equipment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.character-equipment .equipment-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.character-equipment .equipment-item .item-icon-wrapper {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.character-equipment .equipment-item .item-icon-wrapper .item-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.character-equipment .equipment-item .item-icon-wrapper .item-icon-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-secondary);
}
.character-equipment .equipment-item .item-icon-wrapper .item-icon-fallback i {
  font-size: 28px;
  color: var(--color-text-light);
}
.character-equipment .equipment-item .equipment-slot {
  color: var(--color-text-light);
  font-size: 11px;
  font-weight: 500;
}
.character-equipment .equipment-item .equipment-details {
  width: 100%;
}
.character-equipment .equipment-item .equipment-details .item-name {
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: none;
}
.character-equipment .equipment-item .equipment-details .item-level {
  font-size: 11px;
  color: var(--color-text-light);
  display: none;
}
.character-equipment .no-equipment {
  text-align: center;
  padding: var(--spacing-lg);
  color: var(--color-text-light);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-family: "Muli", sans-serif;
}
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}
.btn:active {
  transform: translateY(1px);
}

.loading-spinner {
  text-align: center;
  padding: var(--spacing-xl);
}
.loading-spinner i {
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}
.loading-spinner p {
  color: var(--color-text-light);
}

.error-message {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--color-bg-secondary);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-danger);
}
.error-message i {
  color: var(--color-danger);
  margin-bottom: var(--spacing-md);
}
.error-message p {
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  margin: 10px 0;
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
}
.pagination .pagination-info {
  color: white;
  font-size: 14px;
}
.pagination .pagination-buttons {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
  justify-content: center;
}
.pagination .pagination-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--spacing-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 0px solid var(--color-border);
  border-radius: var(--border-radius);
  color: var(--color-text);
  font-family: "Muli", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.pagination .pagination-btn i {
  font-size: 16px;
}
.pagination .pagination-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}
.pagination .pagination-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #000;
  font-weight: 700;
}
.pagination .pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pagination .pagination-btn:disabled:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-border);
  color: var(--color-text);
}
.pagination .pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: var(--color-text-light);
  font-size: 14px;
}
@media (max-width: 768px) {
  .pagination .pagination-info {
    font-size: 12px;
  }
  .pagination .pagination-btn {
    min-width: 36px;
    height: 36px;
    font-size: 12px;
    padding: 0 8px;
  }
  .pagination .pagination-btn i {
    font-size: 14px;
  }
  .pagination .pagination-ellipsis {
    min-width: 36px;
    height: 36px;
  }
}

.character-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}
.character-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.character-modal .character-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(15px);
}
.character-modal .character-modal-wrapper {
  position: relative;
  max-width: 500px;
  max-height: 90vh;
  z-index: 1;
}
.character-modal .character-modal-content {
  position: relative;
  z-index: 10;
  animation: modal-slide-in 0.3s ease;
}
.character-modal .character-modal-close {
  position: absolute;
  top: -50px;
  left: 109px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.2s ease;
}
.character-modal .character-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}
.character-modal .character-modal-body {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 10px;
}
.character-modal .modal-loading,
.character-modal .modal-error {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.7);
}
.character-modal .modal-loading i,
.character-modal .modal-error i {
  font-size: 48px;
  margin-bottom: 16px;
}
.character-modal .modal-loading p,
.character-modal .modal-error p {
  font-size: 16px;
}
.character-modal .modal-error {
  color: #ff4444;
}
.character-modal .modal-character-card {
  position: relative;
  border-radius: 20px;
  backdrop-filter: blur(2px);
  width: 254px;
}
.character-modal .modal-character-card .guildmaster-crown {
  position: absolute;
  left: -4px;
  top: -4px;
  font-size: 24px;
  color: #FFD700;
  transform: rotate(-25deg);
  z-index: 100;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
.character-modal .modal-character-card .modal-member-level {
  position: absolute;
  top: 10px;
  z-index: 10;
  height: 30px;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 20px;
  width: 100%;
}
.character-modal .modal-character-card .modal-member-level .modal-member-ilvl {
  display: inline-flex;
  margin-left: 5px;
}
.character-modal .modal-character-card .modal-avatar-container {
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-radius: 10px 10px 0px 0px;
}
.character-modal .modal-character-card .modal-avatar-container .modal-character-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  border-radius: 10px 10px 0px 0px;
}
.character-modal .modal-character-card .modal-member-header {
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  flex-direction: column;
}
.character-modal .modal-character-card .modal-member-header .modal-member-name {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.character-modal .modal-character-card .modal-member-header .modal-member-hero-talent {
  font-size: 9px;
  text-align: center;
  text-transform: uppercase;
}
.character-modal .modal-character-card .modal-member-details {
  padding: 10px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}
.character-modal .modal-character-card .modal-member-details .modal-member-detail-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}
.character-modal .modal-character-card .modal-member-details .modal-member-detail-row .modal-member-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  flex-shrink: 0;
  border-radius: 50%;
  cursor: pointer;
}
.character-modal .modal-character-card .modal-member-details .modal-member-detail-row .modal-member-icon .icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.character-modal .modal-character-card .modal-member-details .modal-member-detail-row .modal-member-icon i {
  font-size: 14px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
}
.character-modal .modal-character-card .modal-member-details .modal-member-detail-row .modal-member-icon .modal-icon-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.95);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}
.character-modal .modal-character-card .modal-member-details .modal-member-detail-row .modal-member-icon .modal-icon-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 6px 0 6px;
  border-color: rgba(0, 0, 0, 0.95) transparent transparent transparent;
}
.character-modal .modal-character-card .modal-member-details .modal-member-detail-row .modal-member-icon:hover .modal-icon-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(5px);
}
.character-modal .modal-character-card .modal-member-realm-badge-container {
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
}
.character-modal .modal-character-card .modal-member-realm-badge {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  color: var(--color-text-light);
  text-transform: capitalize;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 10;
}
.character-modal .modal-character-card .modal-content-panes {
  position: relative;
  height: 300px;
}
.character-modal .modal-character-card .modal-content-pane {
  display: none;
  padding: 15px 5px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  overflow-y: auto;
}
.character-modal .modal-character-card .modal-content-pane::-webkit-scrollbar {
  width: 8px;
}
.character-modal .modal-character-card .modal-content-pane::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.character-modal .modal-character-card .modal-content-pane::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
.character-modal .modal-character-card .modal-content-pane::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}
.character-modal .modal-character-card .modal-content-pane.active {
  display: block;
}
.character-modal .modal-character-card .modal-content-pane h3 {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
  text-align: center;
}
.character-modal .modal-tab-buttons-external {
  position: absolute;
  right: -55px;
  top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 15;
}
@media screen and (max-width: 440px) {
  .character-modal .modal-tab-buttons-external {
    right: -45px;
  }
}
.character-modal .modal-tab-btn {
  height: 50px;
  width: 50px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: 0px solid rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 35px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: relative;
}
@media screen and (max-width: 440px) {
  .character-modal .modal-tab-btn {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }
}
.character-modal .modal-tab-btn i {
  display: block;
}
.character-modal .modal-tab-btn .modal-tab-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.95);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  text-transform: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}
.character-modal .modal-tab-btn .modal-tab-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 6px 0 6px;
  border-color: rgba(0, 0, 0, 0.95) transparent transparent transparent;
}
.character-modal .modal-tab-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.5);
}
.character-modal .modal-tab-btn:hover .modal-tab-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(5px);
}
.character-modal .modal-tab-btn.active {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 0, 0, 0.8);
  color: rgba(0, 174, 255, 0.8);
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
}
@media (max-width: 767px) {
  .character-modal .modal-tab-btn .modal-tab-tooltip {
    display: none;
  }
}
.character-modal .modal-character-card .modal-equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.character-modal .modal-character-card .modal-equipment-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  aspect-ratio: 1;
}
.character-modal .modal-character-card .modal-equipment-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}
.character-modal .modal-character-card .modal-equipment-item .modal-item-icon {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.character-modal .modal-character-card .modal-equipment-item .modal-item-icon img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  position: relative;
  z-index: 1;
}
.character-modal .modal-character-card .modal-equipment-item .modal-item-icon i {
  font-size: 32px;
  color: rgba(255, 255, 255, 0.3);
  z-index: 0;
}
.character-modal .modal-character-card .modal-equipment-item .modal-item-icon .modal-item-slot-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.9);
  font-size: 8px;
  font-weight: 600;
  text-align: center;
  padding: 2px 1px;
  text-transform: uppercase;
  border-radius: 4px 4px 0 0;
  z-index: 10;
}
.character-modal .modal-character-card .modal-equipment-item .modal-item-icon .modal-item-ilvl-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #FFD700;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  padding: 2px 4px;
  border-radius: 0 0 4px 4px;
  z-index: 10;
  display: none;
}
.character-modal .modal-character-card .modal-equipment-item .modal-item-icon .item-socket-indicator {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: help;
  top: 2px;
  right: 2px;
}
.character-modal .modal-character-card .modal-equipment-item .modal-item-icon .item-socket-indicator i {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}
.character-modal .modal-character-card .modal-equipment-item .modal-item-icon .item-socket-indicator.empty {
  background: rgba(220, 20, 60, 0.9);
  border-color: rgba(255, 50, 50, 0.8);
  animation: pulse-warning 2s infinite;
}
.character-modal .modal-character-card .modal-equipment-item .modal-item-icon .item-socket-indicator.empty i {
  color: white;
}
@keyframes pulse-warning {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.character-modal .modal-character-card .no-equipment {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.5);
}
.character-modal .modal-character-card .no-equipment p {
  font-size: 14px;
}
.character-modal .modal-character-card .enchants-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.character-modal .modal-character-card .enchant-row {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: flex-start;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.character-modal .modal-character-card .enchant-row .enchant-slot-name {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  font-weight: 500;
  min-width: 80px;
  padding-top: 2px;
  flex-shrink: 0;
}
.character-modal .modal-character-card .enchant-row .enchant-socket-container {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.character-modal .modal-character-card .enchant-row .enchant-status,
.character-modal .modal-character-card .enchant-row .socket-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
}
.character-modal .modal-character-card .enchant-row .enchant-status i,
.character-modal .modal-character-card .enchant-row .socket-status i {
  font-size: 12px;
  flex-shrink: 0;
}
.character-modal .modal-character-card .enchant-row .enchant-status.enchanted i, .character-modal .modal-character-card .enchant-row .enchant-status.socketed i,
.character-modal .modal-character-card .enchant-row .socket-status.enchanted i,
.character-modal .modal-character-card .enchant-row .socket-status.socketed i {
  color: #00ff00;
}
.character-modal .modal-character-card .enchant-row .enchant-status .enchant-name,
.character-modal .modal-character-card .enchant-row .enchant-status .socket-name,
.character-modal .modal-character-card .enchant-row .socket-status .enchant-name,
.character-modal .modal-character-card .enchant-row .socket-status .socket-name {
  white-space: normal;
  line-height: 1.3;
  color: #00b4ff;
}
.character-modal .modal-character-card .enchant-row .enchant-status .socket-label,
.character-modal .modal-character-card .enchant-row .socket-status .socket-label {
  color: rgba(255, 255, 255, 0.9);
}
.character-modal .modal-character-card .enchant-row .enchant-status.missing,
.character-modal .modal-character-card .enchant-row .socket-status.missing {
  color: rgba(255, 100, 100, 0.9);
  animation: pulse-warning 2s infinite;
}
.character-modal .modal-character-card .enchant-row .enchant-status.empty-socket,
.character-modal .modal-character-card .enchant-row .socket-status.empty-socket {
  color: rgba(255, 100, 100, 0.9);
  animation: pulse-warning 2s infinite;
}
.character-modal .modal-character-card .no-enchants {
  text-align: center;
  padding: 20px;
  color: rgba(255, 255, 255, 0.5);
}
.character-modal .modal-character-card .no-enchants p {
  font-size: 12px;
}
.character-modal .modal-character-card .modal-raid-progress .raid-progress-loading {
  text-align: center;
  padding: 20px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.character-modal .modal-character-card .modal-raid-progress .raid-progress-loading i {
  font-size: 18px;
}
.character-modal .modal-character-card .modal-raid-progress .raid-progress-loading span {
  font-size: 12px;
}
.character-modal .modal-character-card .modal-raid-progress .raids-flat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.character-modal .modal-character-card .modal-raid-progress .raid-expansion-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.character-modal .modal-character-card .modal-raid-progress .raid-expansion-section .expansion-title {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  margin: 0;
  text-align: center;
}
.character-modal .modal-character-card .modal-raid-progress .raid-expansion-section .raid-expansion-raids {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance {
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance.has-background {
  background-color: rgba(0, 0, 0, 0.5);
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-content {
  position: relative;
  z-index: 2;
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-content .raid-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 8px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-difficulty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-difficulty:last-child {
  margin-bottom: 0;
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-difficulty .difficulty-label {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  min-width: 50px;
  text-align: right;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-difficulty .progress-bar-container {
  flex: 1;
  height: 3px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  overflow: hidden;
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-difficulty .progress-bar-container .progress-bar {
  height: 100%;
  transition: width 0.3s ease;
  border-radius: 4px;
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-difficulty .progress-bar-container .progress-bar:not(.complete) {
  mask-image: linear-gradient(to right, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 60%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 60%, rgba(0, 0, 0, 0) 100%);
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-difficulty .difficulty-count {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  min-width: 35px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.character-modal .modal-character-card .modal-raid-progress .no-raid-data {
  text-align: center;
  padding: 20px;
  color: rgba(255, 255, 255, 0.5);
}
.character-modal .modal-character-card .modal-raid-progress .no-raid-data p {
  font-size: 12px;
}

@keyframes modal-slide-in {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.form-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.form-modal.active {
  display: flex;
}
.form-modal .form-modal-content {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.form-modal .form-modal-content h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 24px;
}
.form-modal .form-modal-content .form-group {
  margin-bottom: 20px;
}
.form-modal .form-modal-content .form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.form-modal .form-modal-content .form-group input,
.form-modal .form-modal-content .form-group textarea {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-family: "Muli", sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
}
.form-modal .form-modal-content .form-group input:focus,
.form-modal .form-modal-content .form-group textarea:focus {
  outline: none;
  border-color: #e12e2c;
  background: rgba(255, 255, 255, 0.08);
}
.form-modal .form-modal-content .form-group input::placeholder,
.form-modal .form-modal-content .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.form-modal .form-modal-content .form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.form-modal .form-modal-content .form-group small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.form-modal .form-modal-content .form-group .form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.form-modal .form-modal-content .form-group .form-checkbox input[type=checkbox] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #e12e2c;
  border-radius: 4px;
}
.form-modal .form-modal-content .form-group .form-checkbox label {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  text-transform: none;
  cursor: pointer;
  user-select: none;
}
.form-modal .form-modal-content .form-group .field-status {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.form-modal .form-modal-content .form-group .field-status.loading {
  color: #e12e2c;
}
.form-modal .form-modal-content .form-group .field-status.success {
  color: #00ff96;
}
.form-modal .form-modal-content .form-group .field-status.error {
  color: #ff4444;
}
.form-modal .form-modal-content .form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}
.form-modal .form-modal-content .form-actions button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-family: "Muli", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}
.form-modal .form-modal-content .form-actions button.btn-cancel {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}
.form-modal .form-modal-content .form-actions button.btn-cancel:hover {
  background: rgba(255, 255, 255, 0.15);
}
.form-modal .form-modal-content .form-actions button.btn-save {
  background: #e12e2c;
  color: white;
}
.form-modal .form-modal-content .form-actions button.btn-save:hover {
  background: #c82826;
}
.form-modal .form-modal-content .form-actions button.btn-save:disabled {
  background: rgba(225, 46, 44, 0.5);
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .form-modal .form-modal-content {
    padding: 24px;
    max-width: 95%;
  }
}
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}
.video-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-modal .video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(15px);
  cursor: pointer;
}
.video-modal .video-modal-content {
  position: relative;
  max-width: 1200px;
  width: 90%;
  z-index: 1;
  animation: modal-slide-in 0.3s ease;
}
.video-modal .video-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.2s ease;
}
.video-modal .video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}
.video-modal .video-modal-body {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
}
.video-modal .video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}
.video-modal .video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@keyframes modal-slide-in {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .video-modal .video-modal-content {
    width: 95%;
    max-width: 95%;
  }
  .video-modal .video-modal-close {
    top: -45px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}
/**
 * Custom WoW-Style Tooltips
 * Mimics Wowhead tooltip appearance
 */
.wow-tooltip {
  background: linear-gradient(to bottom, #1a1a1a 0%, #0d0d0d 100%);
  border: 1px solid #6b5d45;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.9), inset 0 0 10px rgba(0, 0, 0, 0.5);
  padding: 8px 10px;
  font-family: "Muli", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: #ffd100;
  max-width: 320px;
  min-width: 180px;
}
.wow-tooltip::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  border: 1px solid rgba(0, 0, 0, 0.8);
  border-radius: 1px;
  pointer-events: none;
}
.wow-tooltip .tooltip-header {
  margin-bottom: 4px;
}
.wow-tooltip .tooltip-header .tooltip-name {
  font-size: 14px;
  font-weight: 700;
  text-shadow: 0 0 2px rgb(0, 0, 0);
}
.wow-tooltip .tooltip-header .tooltip-name.spell-name {
  color: #ffd100;
}
.wow-tooltip .tooltip-item-level {
  color: #ffd100;
  font-size: 11px;
  margin-bottom: 4px;
}
.wow-tooltip .tooltip-binding {
  color: #ffffff;
  font-size: 11px;
  margin-bottom: 2px;
}
.wow-tooltip .tooltip-slot {
  color: #ffffff;
  font-size: 11px;
  margin-bottom: 2px;
}
.wow-tooltip .tooltip-subclass {
  color: #ffffff;
  font-size: 11px;
  margin-bottom: 3px;
}
.wow-tooltip .tooltip-weapon-damage {
  color: #ffffff;
  font-size: 11px;
  margin: 3px 0 1px 0;
  font-weight: 600;
}
.wow-tooltip .tooltip-weapon-speed {
  color: #ffffff;
  font-size: 11px;
  margin: 1px 0;
}
.wow-tooltip .tooltip-weapon-dps {
  color: #ffffff;
  font-size: 11px;
  margin: 1px 0 3px 0;
}
.wow-tooltip .tooltip-armor {
  color: #ffffff;
  font-size: 11px;
  margin: 3px 0;
  font-weight: 600;
}
.wow-tooltip .tooltip-description {
  color: #ffd100;
  font-size: 11px;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(107, 93, 69, 0.5);
  line-height: 1.3;
}
.wow-tooltip .tooltip-description.spell-description {
  color: #ffd100;
  border-top: none;
  padding-top: 0;
}
.wow-tooltip .tooltip-stats {
  color: #ffffff;
  font-size: 11px;
  margin: 4px 0;
}
.wow-tooltip .tooltip-stats .tooltip-stat {
  margin: 1px 0;
  color: #1eff00;
}
.wow-tooltip .tooltip-stats .stat-line {
  margin: 1px 0;
  color: #1eff00;
}
.wow-tooltip .tooltip-stats .stat-line.socket {
  color: #ffd100;
}
.wow-tooltip .tooltip-durability {
  color: #ffffff;
  font-size: 11px;
  margin: 3px 0;
}
.wow-tooltip .tooltip-spell-effect {
  color: #ffd100;
  font-size: 11px;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(107, 93, 69, 0.5);
  line-height: 1.3;
}
.wow-tooltip .tooltip-requirements {
  color: #ffffff;
  font-size: 11px;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(107, 93, 69, 0.5);
}
.wow-tooltip .tooltip-flavor {
  color: #ffd100;
  font-style: italic;
  font-size: 11px;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(107, 93, 69, 0.5);
}
.wow-tooltip .tooltip-sell-price {
  color: #ffffff;
  font-size: 10px;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(107, 93, 69, 0.5);
}
.wow-tooltip .tooltip-sell-price .gold {
  color: #ffd700;
}
.wow-tooltip .tooltip-sell-price .gold::after {
  content: "g";
  font-size: 10px;
  margin-left: 1px;
}
.wow-tooltip .tooltip-sell-price .silver {
  color: #c0c0c0;
}
.wow-tooltip .tooltip-sell-price .silver::after {
  content: "s";
  font-size: 10px;
  margin-left: 1px;
}
.wow-tooltip .tooltip-sell-price .copper {
  color: #cd7f32;
}
.wow-tooltip .tooltip-sell-price .copper::after {
  content: "c";
  font-size: 10px;
  margin-left: 1px;
}
.wow-tooltip .tooltip-cast-time,
.wow-tooltip .tooltip-range,
.wow-tooltip .tooltip-cooldown,
.wow-tooltip .tooltip-power-cost {
  color: #ffffff;
  font-size: 11px;
  margin: 2px 0;
}
.wow-tooltip .quality-0 {
  color: #9d9d9d;
}
.wow-tooltip .quality-1 {
  color: #ffffff;
}
.wow-tooltip .quality-2 {
  color: #1eff00;
}
.wow-tooltip .quality-3 {
  color: #0070dd;
}
.wow-tooltip .quality-4 {
  color: #a335ee;
}
.wow-tooltip .quality-5 {
  color: #ff8000;
}
.wow-tooltip .quality-6 {
  color: #e6cc80;
}
.wow-tooltip .quality-7 {
  color: #00ccff;
}
.wow-tooltip .tooltip-enchant {
  color: #00ff00;
  font-size: 12px;
  margin: 4px 0;
}
.wow-tooltip .tooltip-enchant-stats {
  color: #1eff00;
  font-size: 11px;
  margin: 4px 0;
  font-weight: 600;
}
.wow-tooltip .tooltip-enchant-type {
  color: #ffd100;
  font-size: 11px;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(107, 93, 69, 0.5);
  font-style: italic;
}
.wow-tooltip .tooltip-socket {
  color: #ffd100;
  font-size: 12px;
  margin: 4px 0;
}
.wow-tooltip .tooltip-socket .socket-bonus {
  color: #00ff00;
  margin-left: 4px;
}

@keyframes tooltip-fade-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.wow-tooltip {
  animation: tooltip-fade-in 0.15s ease-out;
}

.season-status-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.season-date {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}
.season-date i {
  font-size: 14px;
  color: #FF7D0A;
  animation: flicker 2s infinite;
}

@keyframes flicker {
  0%, 100% {
    opacity: 1;
    filter: brightness(1);
  }
  10% {
    opacity: 0.8;
    filter: brightness(0.9);
  }
  20% {
    opacity: 1;
    filter: brightness(1.1);
  }
  30% {
    opacity: 0.7;
    filter: brightness(0.85);
  }
  40% {
    opacity: 1;
    filter: brightness(1);
  }
  50% {
    opacity: 0.9;
    filter: brightness(0.95);
  }
  60% {
    opacity: 1;
    filter: brightness(1.05);
  }
  70% {
    opacity: 0.85;
    filter: brightness(0.9);
  }
  80% {
    opacity: 1;
    filter: brightness(1);
  }
  90% {
    opacity: 0.9;
    filter: brightness(0.95);
  }
}
.status-success {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.2));
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: rgb(134, 239, 172);
  font-size: 11px;
  padding: 8px 16px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
  transition: all 0.2s ease;
}
.status-success:hover {
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.status-alert {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: rgb(253, 224, 71);
  font-size: 11px;
  padding: 8px 16px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.15);
  transition: all 0.2s ease;
}
.status-alert:hover {
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.25);
}

.status-danger {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: rgb(252, 165, 165);
  font-size: 11px;
  padding: 8px 16px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
  transition: all 0.2s ease;
}
.status-danger:hover {
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.status-info {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.3));
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: rgb(167, 213, 255);
  font-size: 11px;
  padding: 8px 16px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
  transition: all 0.2s ease;
}
.status-info:hover {
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.class-stats-section {
  margin: 40px 0 30px 0;
}
.class-stats-section h3 {
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}
.class-stats-section h3 .meta-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}
.class-stats-section .role-stats-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.class-stats-section .role-stats-section {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.class-stats-section .role-stats-title {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.class-stats-section .role-stats-title i {
  font-size: 18px;
  color: var(--color-primary);
}
.class-stats-section .role-stats-title .role-total {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  margin-left: auto;
}
.class-stats-section .class-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
}
.class-stats-section .class-stat-item {
  position: relative;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.class-stats-section .class-stat-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  transition: width 0.3s ease;
  opacity: 0.3;
  border-radius: 6px;
}
.class-stats-section .class-stat-info {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.class-stats-section .class-stat-name {
  font-weight: 600;
  font-size: 14px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
}
.class-stats-section .class-stat-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.class-stats-section .class-stat-value {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.class-stats-section .class-stat-count {
  font-size: 12px;
  opacity: 0.7;
  font-weight: 400;
}
@media (max-width: 768px) {
  .class-stats-section .class-stats-grid {
    grid-template-columns: 1fr;
  }
}

.meta-showcase {
  padding: 10px 0px;
  text-align: center;
  max-width: 700px;
  margin: auto;
  margin-bottom: 20px;
}
.meta-showcase .meta-showcase-title {
  color: var(--color-primary);
  font-size: 12px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.meta-showcase .meta-showcase-icons {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.meta-showcase .meta-icon-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: slideUpFade 0.6s ease-out backwards;
}
.meta-showcase .meta-icon-wrapper:nth-child(1) {
  animation-delay: 0.1s;
}
.meta-showcase .meta-icon-wrapper:nth-child(2) {
  animation-delay: 0.2s;
}
.meta-showcase .meta-icon-wrapper:nth-child(3) {
  animation-delay: 0.3s;
}
.meta-showcase .meta-icon-wrapper:nth-child(4) {
  animation-delay: 0.4s;
}
.meta-showcase .meta-icon-wrapper:nth-child(5) {
  animation-delay: 0.5s;
}
.meta-showcase .meta-percentage {
  position: absolute;
  bottom: -4px;
  left: -6px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 10px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.meta-showcase .meta-class-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}
@media (max-width: 420px) {
  .meta-showcase .meta-class-icon {
    width: 44px;
    height: 44px;
  }
}
.meta-showcase .meta-class-icon:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}
.meta-showcase .meta-spec-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.8);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 2;
}
@media (max-width: 420px) {
  .meta-showcase .meta-spec-badge {
    right: -12px;
  }
}
.meta-showcase .meta-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-transform: lowercase;
  transition: all 0.2s ease;
  cursor: pointer;
}
.meta-showcase .meta-view-all i {
  font-size: 14px;
  transition: transform 0.2s ease;
}
.meta-showcase .meta-view-all:hover {
  color: #fff;
}
.meta-showcase .meta-view-all:hover i {
  transform: translateY(2px);
}
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-header-panel {
  position: relative;
  margin-bottom: 32px;
  padding: 24px 0;
}
.page-header-panel .page-header-content {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}
.page-header-panel .page-header-text {
  flex: 1;
  min-width: 0;
}
.page-header-panel .page-header-text h1 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.page-header-panel .page-header-text .page-header-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.5;
  max-width: 600px;
}
.page-header-panel .page-header-action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: white;
  font-family: "Muli", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}
.page-header-panel .page-header-action i {
  font-size: 14px;
}
.page-header-panel .page-header-action:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}
.page-header-panel .page-header-action:active {
  transform: scale(0.98);
}
.page-header-panel .page-header-border {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .page-header-panel {
    padding: 20px 0;
    margin-bottom: 24px;
  }
  .page-header-panel .page-header-content {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .page-header-panel .page-header-text {
    text-align: center;
  }
  .page-header-panel .page-header-text h1 {
    font-size: 24px;
  }
  .page-header-panel .page-header-text .page-header-desc {
    max-width: none;
  }
  .page-header-panel .page-header-action {
    align-self: center;
  }
}
@media (max-width: 480px) {
  .page-header-panel .page-header-text h1 {
    font-size: 20px;
  }
  .page-header-panel .page-header-action {
    width: 100%;
    justify-content: center;
  }
}
.fire-effect {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.fire-effect::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(225, 46, 44, 0.15) 0%, rgba(255, 100, 50, 0.08) 40%, transparent 100%);
}
.fire-effect .cinders {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
}
.fire-effect .cinder {
  position: absolute;
  bottom: 10px;
  width: 3px;
  height: 3px;
  background: #ff6a00;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 4px 1px rgba(255, 106, 0, 0.6);
  animation: rise 3s ease-out infinite;
}
.fire-effect .cinder:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}
.fire-effect .cinder:nth-child(2) {
  left: 25%;
  animation-delay: 0.5s;
}
.fire-effect .cinder:nth-child(3) {
  left: 40%;
  animation-delay: 1s;
}
.fire-effect .cinder:nth-child(4) {
  left: 55%;
  animation-delay: 1.5s;
}
.fire-effect .cinder:nth-child(5) {
  left: 70%;
  animation-delay: 2s;
}
.fire-effect .cinder:nth-child(6) {
  left: 85%;
  animation-delay: 2.5s;
}
.fire-effect .cinder:nth-child(7) {
  left: 15%;
  animation-delay: 0.8s;
}
.fire-effect .cinder:nth-child(8) {
  left: 35%;
  animation-delay: 1.3s;
}
.fire-effect .cinder:nth-child(9) {
  left: 60%;
  animation-delay: 0.3s;
}
.fire-effect .cinder:nth-child(10) {
  left: 80%;
  animation-delay: 1.8s;
}
.fire-effect .cinder:nth-child(odd) {
  width: 2px;
  height: 2px;
  animation-duration: 4s;
}
.fire-effect .cinder:nth-child(3n) {
  background: #ffcc00;
  box-shadow: 0 0 4px 1px rgba(255, 204, 0, 0.6);
}

@keyframes rise {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-70px) translateX(10px) scale(0.3);
    opacity: 0;
  }
}
.roster-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: auto;
}
@media (max-width: 1130px) {
  .roster-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1024px) {
  .roster-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 890px) {
  .roster-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .roster-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 650px) {
  .roster-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 360px) {
  .roster-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

#gallery-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 49px);
  justify-content: space-between;
}
#gallery-container .gallery-info {
  display: flex;
  justify-content: center;
}
#gallery-container .gallery-info .location-display {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.5s ease-in;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 30px;
}
#gallery-container .gallery-info .location-display .location-name {
  color: var(--color-text);
  padding: 10px 20px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}
#gallery-container .gallery-info .location-display .location-name .gallery-nav-btn {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}
#gallery-container .gallery-info .location-display .location-name .gallery-nav-btn i {
  font-size: 22px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
#gallery-container .gallery-info .location-display .location-name .gallery-nav-btn:hover {
  transform: scale(1.15);
  opacity: 0.9;
  text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.3);
}
#gallery-container .gallery-info .location-display .location-name .gallery-nav-btn:active {
  transform: scale(0.95);
}
#gallery-container .gallery-info .location-display .location-name .location-text {
  flex: 0 1 auto;
}
#gallery-container .gallery-info .location-display .gallery-progress-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 240px;
  margin-top: 12px;
}
#gallery-container .gallery-info .location-display .gallery-progress-container .progress-bar-wrapper {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
#gallery-container .gallery-info .location-display .gallery-progress-container .progress-bar-wrapper .progress-bar {
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.9));
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 1px;
}
#gallery-container .gallery-info .location-display .download-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid currentColor;
  color: inherit;
  padding: 4px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-top: 12px;
}
#gallery-container .gallery-info .location-display .download-btn i {
  font-size: 16px;
}
#gallery-container .gallery-info .location-display .download-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}
#gallery-container .gallery-info .location-display .download-btn:active {
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  #gallery-container .gallery-info .location-display .location-name {
    padding: 8px 16px;
    gap: 12px;
    font-size: 11px;
  }
  #gallery-container .gallery-info .location-display .location-name .gallery-nav-btn i {
    font-size: 18px;
  }
  #gallery-container .gallery-info .location-display .gallery-progress-container {
    max-width: 90%;
    margin-top: 10px;
  }
  #gallery-container .gallery-info .location-display .gallery-progress-container .progress-bar-wrapper {
    height: 1px;
  }
  #gallery-container .gallery-info .location-display .download-btn {
    width: 28px;
    height: 28px;
    margin-top: 10px;
  }
  #gallery-container .gallery-info .location-display .download-btn i {
    font-size: 14px;
  }
}
#events-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 317px);
}
#events-container #events-content {
  padding: 20px 0;
}
#events-container #events-content .events-section {
  margin-bottom: 48px;
}
#events-container #events-content .events-section:last-child {
  margin-bottom: 0;
}
#events-container #events-content .events-section .section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
}
#events-container #events-content .events-section .section-header i {
  font-size: 24px;
  color: #e12e2c;
}
#events-container #events-content .events-section .section-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
#events-container #events-content .events-section .events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
@media (max-width: 768px) {
  #events-container #events-content .events-section .events-grid {
    grid-template-columns: 1fr;
  }
}
#events-container #events-content .events-section .events-grid .event-card {
  background: rgba(26, 26, 26, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
#events-container #events-content .events-section .events-grid .event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
#events-container #events-content .events-section .events-grid .event-card .event-icon {
  width: 64px;
  height: 64px;
  background: rgba(225, 46, 44, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#events-container #events-content .events-section .events-grid .event-card .event-icon i {
  font-size: 32px;
  color: #e12e2c;
}
#events-container #events-content .events-section .events-grid .event-card .event-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#events-container #events-content .events-section .events-grid .event-card .event-info .event-name {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
#events-container #events-content .events-section .events-grid .event-card .event-info .event-category {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
#events-container #events-content .events-section .events-grid .event-card .event-info .event-countdown {
  font-size: 14px;
  font-weight: 600;
  color: #e12e2c;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
#events-container #events-content .events-section .events-grid .event-card.category-holiday::before {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}
#events-container #events-content .events-section .events-grid .event-card.category-holiday .event-icon {
  background: rgba(168, 85, 247, 0.15);
}
#events-container #events-content .events-section .events-grid .event-card.category-holiday .event-icon i {
  color: #a855f7;
}
#events-container #events-content .events-section .events-grid .event-card.category-holiday .event-countdown {
  color: #a855f7;
}
#events-container #events-content .events-section .events-grid .event-card.category-recurring::before {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}
#events-container #events-content .events-section .events-grid .event-card.category-recurring .event-icon {
  background: rgba(59, 130, 246, 0.15);
}
#events-container #events-content .events-section .events-grid .event-card.category-recurring .event-icon i {
  color: #3b82f6;
}
#events-container #events-content .events-section .events-grid .event-card.category-recurring .event-countdown {
  color: #3b82f6;
}
#events-container #events-content .events-section .events-grid .event-card.category-pvp::before {
  background: linear-gradient(135deg, #dc2626, #991b1b);
}
#events-container #events-content .events-section .events-grid .event-card.category-pvp .event-icon {
  background: rgba(220, 38, 38, 0.15);
}
#events-container #events-content .events-section .events-grid .event-card.category-pvp .event-icon i {
  color: #dc2626;
}
#events-container #events-content .events-section .events-grid .event-card.category-pvp .event-countdown {
  color: #dc2626;
}
#events-container #events-content .events-section .events-grid .event-card.category-raid::before, #events-container #events-content .events-section .events-grid .event-card.category-dungeon::before {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
#events-container #events-content .events-section .events-grid .event-card.category-raid .event-icon, #events-container #events-content .events-section .events-grid .event-card.category-dungeon .event-icon {
  background: rgba(245, 158, 11, 0.15);
}
#events-container #events-content .events-section .events-grid .event-card.category-raid .event-icon i, #events-container #events-content .events-section .events-grid .event-card.category-dungeon .event-icon i {
  color: #f59e0b;
}
#events-container #events-content .events-section .events-grid .event-card.category-raid .event-countdown, #events-container #events-content .events-section .events-grid .event-card.category-dungeon .event-countdown {
  color: #f59e0b;
}
#events-container #events-content .events-section .events-grid .event-card.category-anniversary::before {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}
#events-container #events-content .events-section .events-grid .event-card.category-anniversary .event-icon {
  background: rgba(251, 191, 36, 0.15);
}
#events-container #events-content .events-section .events-grid .event-card.category-anniversary .event-icon i {
  color: #fbbf24;
}
#events-container #events-content .events-section .events-grid .event-card.category-anniversary .event-countdown {
  color: #fbbf24;
}
#events-container #events-content .events-section .events-grid .event-card.category-remix::before {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}
#events-container #events-content .events-section .events-grid .event-card.category-remix .event-icon {
  background: rgba(6, 182, 212, 0.15);
}
#events-container #events-content .events-section .events-grid .event-card.category-remix .event-icon i {
  color: #06b6d4;
}
#events-container #events-content .events-section .events-grid .event-card.category-remix .event-countdown {
  color: #06b6d4;
}
#events-container #events-content .events-section .events-grid .event-card.category-bonus::before {
  background: linear-gradient(135deg, #ec4899, #db2777);
}
#events-container #events-content .events-section .events-grid .event-card.category-bonus .event-icon {
  background: rgba(236, 72, 153, 0.15);
}
#events-container #events-content .events-section .events-grid .event-card.category-bonus .event-icon i {
  color: #ec4899;
}
#events-container #events-content .events-section .events-grid .event-card.category-bonus .event-countdown {
  color: #ec4899;
}
#events-container #events-content .events-section .events-grid .event-card.category-darkmoon::before {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
}
#events-container #events-content .events-section .events-grid .event-card.category-darkmoon .event-icon {
  background: rgba(99, 102, 241, 0.15);
}
#events-container #events-content .events-section .events-grid .event-card.category-darkmoon .event-icon i {
  color: #6366f1;
}
#events-container #events-content .events-section .events-grid .event-card.category-darkmoon .event-countdown {
  color: #6366f1;
}
#events-container #events-content .events-section .events-grid .event-card.category-racing::before {
  background: linear-gradient(135deg, #eab308, #ca8a04);
}
#events-container #events-content .events-section .events-grid .event-card.category-racing .event-icon {
  background: rgba(234, 179, 8, 0.15);
}
#events-container #events-content .events-section .events-grid .event-card.category-racing .event-icon i {
  color: #eab308;
}
#events-container #events-content .events-section .events-grid .event-card.category-racing .event-countdown {
  color: #eab308;
}
#events-container #events-content .events-section .events-grid .event-card.category-special::before {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
}
#events-container #events-content .events-section .events-grid .event-card.category-special .event-icon {
  background: rgba(20, 184, 166, 0.15);
}
#events-container #events-content .events-section .events-grid .event-card.category-special .event-icon i {
  color: #14b8a6;
}
#events-container #events-content .events-section .events-grid .event-card.category-special .event-countdown {
  color: #14b8a6;
}
#events-container #events-content .events-section .events-grid .event-card.category-other::before {
  background: linear-gradient(135deg, #10b981, #059669);
}
#events-container #events-content .events-section .events-grid .event-card.category-other .event-icon {
  background: rgba(16, 185, 129, 0.15);
}
#events-container #events-content .events-section .events-grid .event-card.category-other .event-icon i {
  color: #10b981;
}
#events-container #events-content .events-section .events-grid .event-card.category-other .event-countdown {
  color: #10b981;
}
#events-container #events-content .empty-state {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.5);
}
#events-container #events-content .empty-state i {
  font-size: 64px;
  margin-bottom: 20px;
}
#events-container #events-content .empty-state h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 12px;
}
#events-container #events-content .empty-state p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}
#events-container #events-content .empty-state .btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background: #e12e2c;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
#events-container #events-content .empty-state .btn-primary:hover {
  background: #c82826;
  transform: translateY(-2px);
}
#events-container #events-content .empty-state.error-state i {
  color: #e12e2c;
}

@media (max-width: 768px) {
  #events-container .events-header h1 {
    font-size: 24px;
  }
  #events-container #events-content .events-section .section-header i {
    font-size: 24px;
  }
  #events-container #events-content .events-section .section-header h3 {
    font-size: 18px;
  }
}
#todos-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 317px);
}
#todos-container .todos-grid .todo-card {
  background: rgba(26, 26, 26, 0.3);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  width: calc(20% - 19.2px);
  margin-bottom: 24px;
}
@media (max-width: 1130px) {
  #todos-container .todos-grid .todo-card {
    width: calc(25% - 18px);
  }
}
@media (max-width: 890px) {
  #todos-container .todos-grid .todo-card {
    width: calc(33.333% - 16px);
  }
}
@media (max-width: 650px) {
  #todos-container .todos-grid .todo-card {
    width: calc(50% - 12px);
  }
}
@media (max-width: 360px) {
  #todos-container .todos-grid .todo-card {
    width: 100%;
  }
}
#todos-container .todos-grid .todo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}
#todos-container .todos-grid .todo-card img.todo-image {
  width: 100%;
  height: auto;
  display: block;
  background: rgba(255, 255, 255, 0.05);
}
#todos-container .todos-grid .todo-card div.todo-image {
  width: 100%;
  height: 150px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 48px;
}
#todos-container .todos-grid .todo-card .todo-content {
  padding: 16px;
}
#todos-container .todos-grid .todo-card .todo-content .todo-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
#todos-container .todos-grid .todo-card .todo-content .todo-date .todo-date-left {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}
#todos-container .todos-grid .todo-card .todo-content .todo-date .todo-date-left i {
  font-size: 12px;
}
#todos-container .todos-grid .todo-card .todo-content .todo-date .todo-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
#todos-container .todos-grid .todo-card .todo-content .todo-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
  word-wrap: break-word;
}
#todos-container .todos-grid .todo-card .todo-content .todo-description {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
}
#todos-container .todos-grid .todo-card .todo-content .todo-link {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  color: #e12e2c;
  text-decoration: none;
  transition: color 0.3s ease;
}
#todos-container .todos-grid .todo-card .todo-content .todo-link i {
  font-size: 14px;
}
#todos-container .todos-grid .todo-card .todo-content .todo-link:hover {
  color: #c82826;
}
#todos-container .todos-grid .todo-card .todo-edit,
#todos-container .todos-grid .todo-card .todo-complete {
  background: none;
  border: none;
  color: #e12e2c;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
#todos-container .todos-grid .todo-card .todo-edit:hover,
#todos-container .todos-grid .todo-card .todo-complete:hover {
  color: #c82826;
  transform: scale(1.1);
}
#todos-container .empty-state {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.5);
}
#todos-container .empty-state i {
  font-size: 64px;
  margin-bottom: 20px;
}
#todos-container .empty-state p {
  font-size: 16px;
  line-height: 1.6;
}

#my-youtube-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 317px);
}
#my-youtube-container .youtube-channels .empty-state {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.5);
}
#my-youtube-container .youtube-channels .empty-state i {
  font-size: 64px;
  margin-bottom: 20px;
}
#my-youtube-container .youtube-channels .empty-state p {
  font-size: 16px;
  line-height: 1.6;
}
#my-youtube-container .youtube-channels .channel-row {
  margin-bottom: 40px;
  position: relative;
}
#my-youtube-container .youtube-channels .channel-row .channel-content {
  display: flex;
  gap: 24px;
  align-items: stretch;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 44px;
  position: relative;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-tags .tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: rgba(0, 0, 0, 0.3);
  padding: 0px 10px;
  border-radius: 20px;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-actions .channel-edit {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  transition: all 0.2s ease;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-actions .channel-edit:hover {
  color: #0d7de8;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-actions .channel-refresh {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  transition: all 0.2s ease;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-actions .channel-refresh:hover {
  color: #fed202;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-actions .channel-refresh i.spinning {
  animation: spin 1s linear infinite;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-actions .channel-delete {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  transition: all 0.2s ease;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-actions .channel-delete:hover {
  color: #ff6666;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos {
  flex: 1;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 16px 0px;
  scroll-behavior: smooth;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos::-webkit-scrollbar {
  height: 8px;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos .video-card {
  flex: 0 0 176px;
  background: rgba(26, 26, 26, 0.3);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  color: inherit;
  cursor: pointer;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos .video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos .video-card .video-thumbnail {
  width: 100%;
  height: 99px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos .video-card .video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos .video-card .video-info {
  padding: 8px;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos .video-card .video-info .video-title {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos .video-card .video-info .video-date {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos .no-videos {
  padding: 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

@media (max-width: 768px) {
  #my-youtube-container .youtube-channels .channel-row {
    margin-bottom: 20px;
  }
  #my-youtube-container .youtube-channels .channel-row .channel-content {
    flex-direction: column;
    gap: 10px;
  }
  #my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col {
    flex: 1;
    padding-top: 8px;
    padding-bottom: 38px;
  }
  #my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-name {
    font-size: 18px;
  }
  #my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-tags {
    gap: 6px;
  }
  #my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-actions {
    gap: 4px;
  }
  #my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-actions button {
    padding: 6px;
    font-size: 16px;
  }
  #my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos {
    width: 100%;
    padding: 8px 0px;
    gap: 12px;
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
#mounts-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 317px);
}
#mounts-container .mounts-header {
  margin-bottom: 0;
}
#mounts-container .mount-count {
  font-size: 16px;
  font-weight: 600;
  color: #e12e2c;
}
#mounts-container .mounts-content {
  padding: 0 0 20px 0;
}
#mounts-container .mounts-content .image-loading-progress {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 16px;
  transition: opacity 0.3s ease;
  z-index: 1000;
  min-width: 180px;
}
#mounts-container .mounts-content .image-loading-progress .progress-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
#mounts-container .mounts-content .image-loading-progress .progress-text span {
  font-weight: 600;
  color: #e12e2c;
}
#mounts-container .mounts-content .image-loading-progress .progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
#mounts-container .mounts-content .image-loading-progress .progress-bar .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #e12e2c, #ff4444);
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s ease;
}
#mounts-container .mounts-content .loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.5);
}
#mounts-container .mounts-content .loading-state i {
  font-size: 64px;
  margin-bottom: 20px;
}
#mounts-container .mounts-content .loading-state p {
  font-size: 16px;
}
#mounts-container .mounts-content .empty-state {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.5);
}
#mounts-container .mounts-content .empty-state i {
  font-size: 64px;
  margin-bottom: 20px;
}
#mounts-container .mounts-content .empty-state h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 12px;
}
#mounts-container .mounts-content .empty-state p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}
#mounts-container .mounts-content .empty-state .btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background: #e12e2c;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}
#mounts-container .mounts-content .empty-state .btn-primary:hover {
  background: #c82826;
  transform: translateY(-2px);
}
#mounts-container .mounts-content .empty-state.error-state i {
  color: #e12e2c;
}
#mounts-container .mounts-summary {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
#mounts-container .mounts-summary .summary-card {
  background: rgba(26, 26, 26, 0.3);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 250px;
  transition: all 0.3s ease;
}
#mounts-container .mounts-summary .summary-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
#mounts-container .mounts-summary .summary-card .summary-icon {
  width: 60px;
  height: 60px;
  background: rgba(225, 46, 44, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#mounts-container .mounts-summary .summary-card .summary-icon i {
  font-size: 32px;
  color: #e12e2c;
}
#mounts-container .mounts-summary .summary-card .summary-info {
  flex: 1;
}
#mounts-container .mounts-summary .summary-card .summary-info .summary-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-bottom: 4px;
}
#mounts-container .mounts-summary .summary-card .summary-info .summary-value {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}
#mounts-container .expansion-tabs .tabs-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
}
#mounts-container .expansion-tabs .tabs-header .tabs-scroll-container {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  flex: 1;
  padding-bottom: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#mounts-container .expansion-tabs .tabs-header .tabs-scroll-container::-webkit-scrollbar {
  display: none;
}
#mounts-container .expansion-tabs .tabs-header .tabs-scroll-container .tab-button {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 14px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  border-radius: 0;
}
#mounts-container .expansion-tabs .tabs-header .tabs-scroll-container .tab-button .tab-name {
  font-size: 14px;
  font-weight: 600;
}
#mounts-container .expansion-tabs .tabs-header .tabs-scroll-container .tab-button .tab-count {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 10px;
}
#mounts-container .expansion-tabs .tabs-header .tabs-scroll-container .tab-button:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
}
#mounts-container .expansion-tabs .tabs-header .tabs-scroll-container .tab-button:hover .tab-count {
  color: rgba(255, 255, 255, 0.6);
}
#mounts-container .expansion-tabs .tabs-header .tabs-scroll-container .tab-button.active {
  color: #fff;
  border-bottom-color: #e12e2c;
  background: transparent;
}
#mounts-container .expansion-tabs .tabs-header .tabs-scroll-container .tab-button.active .tab-count {
  color: #e12e2c;
  background: rgba(225, 46, 44, 0.15);
}
#mounts-container .expansion-tabs .tabs-header .tabs-nav-buttons {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
  padding-left: 8px;
}
#mounts-container .expansion-tabs .tabs-header .tabs-nav-buttons .tab-nav-btn {
  background: rgba(26, 26, 26, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.6);
}
#mounts-container .expansion-tabs .tabs-header .tabs-nav-buttons .tab-nav-btn i {
  font-size: 18px;
}
#mounts-container .expansion-tabs .tabs-header .tabs-nav-buttons .tab-nav-btn:hover {
  background: rgba(26, 26, 26, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
#mounts-container .expansion-tabs .tabs-header .tabs-nav-buttons .tab-nav-btn:active {
  transform: scale(0.95);
}
#mounts-container .expansion-tabs .tab-content {
  padding-top: 24px;
}
#mounts-container .expansion-tabs .tab-content .mounts-section {
  margin-bottom: 48px;
}
#mounts-container .expansion-tabs .tab-content .mounts-section:last-child {
  margin-bottom: 0;
}
#mounts-container .expansion-tabs .tab-content .mounts-section .section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
}
#mounts-container .expansion-tabs .tab-content .mounts-section .section-header i {
  font-size: 24px;
  color: #e12e2c;
}
#mounts-container .expansion-tabs .tab-content .mounts-section .section-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
#mounts-container .expansion-tabs .tab-content .mounts-section.farmable-section .section-header i {
  color: #ffa500;
}
#mounts-container .expansion-tabs .tab-content .mounts-section.farmable-section .mount-item {
  opacity: 0.85;
}
#mounts-container .expansion-tabs .tab-content .mounts-section.farmable-section .mount-item:hover {
  opacity: 1;
}
#mounts-container .expansion-tabs .tab-content .mounts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 16px;
}
@media (max-width: 1024px) {
  #mounts-container .expansion-tabs .tab-content .mounts-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
@media (max-width: 550px) {
  #mounts-container .expansion-tabs .tab-content .mounts-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 450px) {
  #mounts-container .expansion-tabs .tab-content .mounts-grid {
    grid-template-columns: 1fr 1fr;
  }
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .faction-icons {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 4px;
  z-index: 10;
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .faction-icons .faction-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-source {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 8px;
}
@media (max-width: 1024px) {
  #mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-source {
    font-size: 10px;
  }
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-source {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(225, 46, 44, 0.2);
  padding: 2px 8px;
  border-radius: 50px;
  border: 1px solid rgba(225, 46, 44, 0.3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  z-index: 10;
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 6px;
  background: rgba(26, 26, 26, 0.3);
  position: relative;
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-icon-container:hover {
  background: rgba(26, 26, 26, 0.5);
  transform: translateY(-2px);
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-icon-container .mount-icon-link {
  display: inline-block !important;
  text-decoration: none;
  width: 64px !important;
  height: 64px !important;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
  position: relative;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  padding: 0 !important;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-icon-container .mount-icon-link.icon-ready {
  opacity: 1;
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-icon-container .mount-icon-link:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}
@media (max-width: 1024px) {
  #mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-icon-container .mount-icon-link {
    width: 56px !important;
    height: 56px !important;
  }
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-icon-container .mount-icon-link span {
  display: none;
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-icon-container .mount-icon-link.no-icon {
  background: rgba(26, 26, 26, 0.8) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex !important;
  align-items: center;
  justify-content: center;
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-icon-container .mount-icon-link.no-icon::before {
  content: "No Icon";
  color: white;
  font-size: 8px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-items: center;
  height: 100%;
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-name-text {
  text-align: center;
  font-size: 13px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 1024px) {
  #mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-name-text {
    font-size: 12px;
  }
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-name-text {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  padding: 0 8px;
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-name-text i {
  font-size: 24px;
  opacity: 0.6;
}
@keyframes shimmer {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
  position: relative;
  top: -20px;
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-info .mount-name {
  font-size: 12px;
}
@media (max-width: 1024px) {
  #mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-info .mount-name {
    font-size: 14px;
  }
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-info .mount-name {
  color: white;
  text-align: center;
  line-height: 1.3;
  font-weight: 300;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 1.5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-info .mount-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
#mounts-container .expansion-tabs .tab-content .mounts-grid .mount-item .mount-info .mount-name a:hover {
  color: #ffd700;
}

@media (max-width: 768px) {
  #mounts-container .expansion-tabs .tabs-header {
    gap: 8px;
  }
  #mounts-container .expansion-tabs .tabs-header .tabs-scroll-container .tab-button {
    padding: 12px 14px;
  }
  #mounts-container .expansion-tabs .tabs-header .tabs-scroll-container .tab-button .tab-name {
    font-size: 13px;
  }
  #mounts-container .expansion-tabs .tabs-header .tabs-scroll-container .tab-button .tab-count {
    font-size: 11px;
    padding: 2px 6px;
  }
  #mounts-container .expansion-tabs .tabs-header .tabs-nav-buttons .tab-nav-btn {
    width: 28px;
    height: 28px;
  }
  #mounts-container .expansion-tabs .tabs-header .tabs-nav-buttons .tab-nav-btn i {
    font-size: 16px;
  }
  #mounts-container .image-loading-progress {
    bottom: 16px;
    right: 16px;
    min-width: 140px;
    padding: 10px 12px;
  }
  #mounts-container .image-loading-progress .progress-text {
    font-size: 10px;
  }
}
#mythic-plus-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 200px);
}
#mythic-plus-container .mythic-plus-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px 0px;
  position: relative;
}
#mythic-plus-container .mythic-plus-header-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}
#mythic-plus-container .mythic-plus-header-info .info-description {
  width: 80%;
  text-align: center;
  display: inline-block;
}
@media (max-width: 768px) {
  #mythic-plus-container .mythic-plus-header-info .info-description {
    width: 100%;
  }
}
@media (max-width: 500px) {
  #mythic-plus-container .mythic-plus-header-info .info-description {
    margin-top: 10px;
  }
}
#mythic-plus-container .mythic-plus-header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 0;
}
#mythic-plus-container .mythic-plus-header h1 {
  font-size: 25px;
  margin-bottom: 0;
}
@media (max-width: 500px) {
  #mythic-plus-container .mythic-plus-header {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  #mythic-plus-container .mythic-plus-header-info {
    align-items: center;
    text-align: center;
  }
  #mythic-plus-container .mythic-plus-header-top {
    flex-direction: column;
    gap: 12px;
  }
  #mythic-plus-container .mythic-plus-header h1 {
    font-size: 24px;
    text-align: center;
  }
}
#mythic-plus-container .mythic-plus-header-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
#mythic-plus-container .leaderboard-summary {
  margin-bottom: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
#mythic-plus-container .dungeon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
#mythic-plus-container .dungeon-card {
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 20px 10px 20px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: transform 0.2s ease;
}
#mythic-plus-container .dungeon-card.has-background {
  background-color: rgba(0, 0, 0, 0.5);
}
#mythic-plus-container .dungeon-card .dungeon-background-overlay {
  position: absolute;
  top: 1px;
  left: 0;
  right: 0;
  bottom: 1px;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
  border-radius: 10px;
}
#mythic-plus-container .dungeon-card:hover {
  transform: translateY(-4px);
}
#mythic-plus-container .dungeon-card .dungeon-card-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
#mythic-plus-container .dungeon-card .dungeon-card-header .dungeon-name {
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
#mythic-plus-container .dungeon-card .dungeon-card-header .dungeon-name .dungeon-ranking {
  color: #FFD700;
  font-weight: 700;
}
#mythic-plus-container .dungeon-card .dungeon-card-header .dungeon-stats {
  display: flex;
  gap: 10px;
  font-size: 14px;
}
#mythic-plus-container .dungeon-card .dungeon-card-header .dungeon-stats .keystone-level {
  color: var(--color-text);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
#mythic-plus-container .dungeon-card .dungeon-card-header .dungeon-stats .duration {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  text-shadow: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  align-self: flex-start;
  position: relative;
  top: -2px;
}
#mythic-plus-container .dungeon-card .dungeon-team {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 30px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member.horde {
  border-color: rgba(196, 30, 58, 0.3);
  box-shadow: 0 0 8px rgba(196, 30, 58, 0.3);
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member.horde:hover {
  box-shadow: 0 0 12px rgba(196, 30, 58, 0.6);
  background: rgba(196, 30, 58, 0.2);
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member.alliance {
  border-color: rgba(0, 120, 255, 0.3);
  box-shadow: 0 0 8px rgba(0, 120, 255, 0.3);
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member.alliance:hover {
  box-shadow: 0 0 12px rgba(0, 120, 255, 0.6);
  background: rgba(0, 120, 255, 0.2);
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member .la-angle-right {
  margin-left: auto;
  font-size: 13px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member:hover .la-angle-right {
  transform: scale(1.15);
  text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.3);
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member:active .la-angle-right {
  transform: scale(0.95);
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member .member-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: white;
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member .member-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member .member-info .member-name {
  line-height: 1;
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member .member-info .member-realm {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
}
@media (max-width: 1130px) {
  #mythic-plus-container .dungeon-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1023px) {
  #mythic-plus-container .dungeon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  #mythic-plus-container .dungeon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 550px) {
  #mythic-plus-container .dungeon-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }
}
