.header {
  margin-top: 70px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.block-header {
  background-color: var(--block-color);
  border: 1px solid var(--block-border);
  width: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  padding-bottom: 60px;
  border-radius: 0.5rem;
  gap: 1rem;
  max-height: 300px;
  overflow: hidden;
  box-shadow: 5px 5px 10px 10px rgb(21 21 21 / 50%);
  position: relative;
}

.header-slideshow-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.slideshow-content-row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.slideshow-dots-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slideshow-dots {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slideshow-dots .dot {
  width: 8px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
}

.slideshow-dots .dot.active {
  background-color: var(--primary-color);
  transform: scale(1.4);
  box-shadow: 0 0 10px color-mix(in srgb, var(--primary-color) 40%, transparent);
}

.server-slideshow {
  width: 100%;
  flex: 1;
}

.slide {
  display: none;
  width: 100%;
}

.slide.active {
  display: block;
  animation: slideFadeIn 0.5s ease-out;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slideshow-next {
  position: absolute;
  right: 25px;
  bottom: 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  font-size: 1rem;
}

.slideshow-next:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-dark);
  transform: scale(1.1);
}

.category-details {
  flex: 1;
  position: relative;
  z-index: 2;
}

.category-image {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.category-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.category-block:hover .category-image img {
  transform: scale(1.1) rotate(5deg);
}

.block-image {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-image img {
  display: block;
  max-width: 80%;
  max-height: 280px;
  object-fit: contain;
}

.logo-copy-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: block;
}

.logo-copy-btn:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.logo-copy-btn img {
  display: block;
  max-width: 80%;
  max-height: 280px;
  object-fit: contain;
}

.block-bar {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-hover-color);
  width: 100%;
  min-height: 100px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  border-radius: 0.5rem;
  margin-top: 50px;
  box-shadow: 5px 5px 10px 10px rgb(21 21 21 / 50%);
}

.block-bar .text-header {
  color: var(--text-dark);
  text-transform: uppercase;
}

.nav-brand {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-brand a {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.nav-brand a:hover {
  opacity: 0.8;
}

.nav-icon {
  font-size: 2rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-items {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
  align-items: center;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--text-dark);
  transition: opacity 0.2s;
}

.nav-btn i {
  font-size: 1.2rem;
}

.nav-btn:hover {
  opacity: 0.7;
}

.nav-separator {
  width: 3px;
  height: 25px;
  background-color: color-mix(in srgb, var(--text-dark) 30%, transparent);
  border-radius: 2px;
}

.nav-items .text-header {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.navbar-modules {
  display: flex;
  align-items: center;
  gap: 15px;
}

.navbar-modules>div {
  display: none !important;
}

.navbar-modules>.navbar-module-item {
  display: block !important;
  margin-bottom: 0 !important;
}

.navbar-modules .navbar-module-item>* {
  display: flex !important;
}

.notice-grid .grid-row>div:has(.community-goal-circle) {
  display: none !important;
}

.community-goal-circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 5px;
  color: var(--text-dark);
}

.progress-ring {
  transform: rotate(0deg);
}

.progress-ring-circle {
  transition: stroke-dashoffset 0.5s ease;
  stroke-linecap: round;
}

.progress-percentage {
  position: absolute;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dark);
  pointer-events: none;
}

.community-goal-tooltip {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background-color: var(--block-color);
  border: 1px solid var(--block-border);
  border-radius: 8px;
  padding: 16px;
  min-width: 250px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 1000;
}

.community-goal-circle:hover .community-goal-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tooltip-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
}

.tooltip-header i {
  font-size: 1.1rem;
}

.tooltip-progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--block-border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.tooltip-progress-fill {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.tooltip-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.tooltip-current {
  color: var(--primary-color);
}

.tooltip-separator {
  color: var(--text-secondary);
}

.tooltip-target {
  color: var(--text-secondary);
}

.tooltip-text {
  color: var(--text-primary);
}

.tooltip-description {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--block-border);
}

.tooltip-currency {
  color: var(--text-secondary);
  margin-left: 4px;
}

.tooltip-repeatable {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--block-border);
}

.tooltip-repeatable i {
  font-size: 0.9rem;
}

.copy-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #27ae60;
  border-color: #27ae60;
  color: white;
  font-family: 'Poppins';
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.copy-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.copy-toast.toast-error {
  background: #e74c3c;
  border-color: #e74c3c;
}

.copy-toast i {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Poppins';
}

.text-header {
  font-size: 2rem;
  font-weight: 800;
}

.text-title {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.text-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 2;
}

.text-notice {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  color: var(--text-primary);
  background: var(--background-gradient);
  background-attachment: fixed;

}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 700px;
    background-image: var(--background-img);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    opacity: 0.25;
    z-index: -1;
    pointer-events: none;
    mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.4) 400px,
            rgba(0, 0, 0, 0) 700px);
    -webkit-mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.4) 400px,
            rgba(0, 0, 0, 0) 700px);
}


#root {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  padding: 0 40px;
  min-height: 100%;
  font-family: 'Poppins';
}

.tooltip,
.tooltip-inner {
  font-family: 'Poppins', sans-serif !important;
}

.grid-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.col-4 {
  grid-column: span 4;
}

.col-3 {
  grid-column: span 3;
}

.col-8 {
  grid-column: span 8;
}

.col-6 {
  grid-column: span 6;
}

.col-12 {
  grid-column: span 12;
}

.category-grid {
  margin-top: 30px;
}

.category-block {
  background-color: var(--block-color);
  border: 1px solid var(--block-border);
  border-radius: 0.5rem;
  box-shadow: 5px 5px 10px 10px rgb(21 21 21 / 50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
  height: 100%;
  min-height: 250px;
  overflow: hidden;
  padding-right: 20px;
  position: relative;
}

.category-eclipse {
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 350px;
  height: 350px;
  background: var(--block-dark);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.25;
}

.category-block::before {
  content: "";
  width: 12px;
  height: 70px;
  background-color: var(--secondary-color);
  border-radius: 0 4px 4px 0;
  flex-shrink: 0;
}

.notice-grid {
  margin-top: 18px;
}

.notice-block {
  background-color: var(--block-color);
  border: 1px solid var(--block-border);
  border-radius: 0.5rem;
  box-shadow: 5px 5px 10px 10px rgb(21 21 21 / 50%);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  height: auto;
  min-height: 250px;
  overflow: visible;
  padding: 30px;
  position: relative;
}

.notice-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 30px 0 15px 0;
}

.notice-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.notice-icon {
  font-size: 1.2rem;
  margin-top: -4px;
  color: var(--primary-color);
}

.notice-title {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
}

.notice-text {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.6;
}

.pages-grid {
  margin-top: 18px;
}

.announcement-grid {
  margin-top: 18px;
}

.page-block {
  min-height: 120px;
}

.page-block::before {
  background-color: var(--secondary-color);
  height: 50px;
}

.page-block .category-title {
  color: var(--secondary-color);
}

.vote-description {
  margin-bottom: 20px;
  max-width: 800px;
}

.redirect-container {
  margin-top: 20px;
  width: 100%;
}

.vote-page,
.patron-page {
  margin-top: 30px;
}

.notice-content.full-width {
  width: 100%;
}

.notice-text.full-width {
  max-width: 100%;
}

.patron-card {
  flex-direction: column;
  padding: 30px;
  text-align: center;
  align-items: center;
  gap: 15px;
  min-height: auto;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.patron-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.patron-card img {
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.patron-card:hover img {
  transform: scale(1.05);
}

.patron-image {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
}

.patron-image-placeholder {
  font-size: 80px;
  color: var(--text-primary);
  opacity: 0.1;
}

.patron-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.patron-player-name {
  color: var(--primary-color) !important;
  margin-bottom: 0 !important;
}

.patron-award-icon {
  color: var(--primary-color);
}

.patron-tier-bar {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  box-shadow: 5px 5px 10px 10px rgb(21 21 21 / 50%);
  padding: 16px 24px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-top: 0.5rem;
}

.patron-tier-diamond {
  background: #20c0e6;
}

.patron-tier-emerald {
  background: #20e650;
}

.patron-tier-netherite {
  background: #e4274a;
}

.redirect-flex-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.redirect-link {
  text-decoration: none;
}

.redirect-button-inner {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  color: var(--text-secondary);
}

.redirect-link:hover .redirect-button-inner {
  background: color-mix(in srgb, var(--primary-color) 10%, transparent);
  border-color: var(--primary-color);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.redirect-button-inner i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.category-block:hover {
  transform: translateY(-3px);
}

.category-title {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 5px;
  line-height: 1.2;
}

.category-click {
  font-size: 1.2rem;
  color: var(--text-primary);
  font-weight: 500;
  opacity: 0.9;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.06);
}

.faq-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.faq-arrow {
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.15);
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-answer p {
  padding: 20px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.faq-item.active {
  border-color: var(--primary-color);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.rules-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.rule-item {
  display: flex;
  gap: 15px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  align-items: flex-start;
}

.rule-number {
  background: color-mix(in srgb, var(--primary-color) 10%, transparent);
  color: var(--primary-color);
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.rule-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rule-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.rule-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Giftcard balance module styles */
.giftcard-form-row {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  margin-top: 10px;
}

.giftcard-input-flex {
  flex: 1;
  min-width: 0;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--block-border);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: 'Poppins';
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}

.giftcard-input-flex:focus {
  outline: none;
  border-color: var(--primary-color);
}

.giftcard-input-flex::placeholder {
  color: var(--text-secondary);
}

.giftcard-btn-nowrap {
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-dark);
  border: none;
  border-radius: 6px;
  font-family: 'Poppins';
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.giftcard-btn-nowrap:hover {
  background: var(--primary-hover-color);
  transform: translateY(-2px);
}

/* Top donator module styles */
.topdonator-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.topdonator-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.topdonator-username {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.topdonator-amount {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.topdonator-amount strong {
  color: var(--text-primary);
}

.topdonator-skin-container {
  position: absolute;
  right: 20px;
  bottom: 0;
  height: 200px;
  pointer-events: none;
}

.topdonator-skin {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.announcement-block {
  background-color: var(--block-color);
  border: 1px solid var(--block-border);
  border-radius: 0.5rem;
  box-shadow: 5px 5px 10px 10px rgb(21 21 21 / 50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  min-height: 300px;
  position: relative;
}

.announcement-image-wrapper {
  flex: 0 0 45%;
  height: 100%;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.announcement-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.announcement-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 40px 40px 0;
}

.announcement-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.announcement-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.announcement-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  text-transform: uppercase;
}

.announcement-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

.announcement-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--primary-color);
  color: var(--text-dark);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.announcement-button:hover {
  background: var(--primary-hover-color);
  transform: translateY(-3px);
  color: var(--text-dark);
}

.announcement-button i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.announcement-button:hover i {
  transform: translateX(5px);
}

@media (max-width: 767px) {
  .grid-row {
    grid-template-columns: 1fr;
  }

  .grid-row>* {
    grid-column: span 12;
  }

  .header .col-8 {
    display: none;
  }

  .header .col-4 {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .header .block-image {
    padding: 20px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: auto;
  }

  .header .block-image img {
    margin: 0 auto;
    max-width: 90%;
  }

  .nav-brand {
    display: none;
  }

  .notice-block {
    flex-direction: column;
    text-align: center;
    padding: 20px 20px 30px 20px;
    min-height: auto;
  }

  .notice-header {
    justify-content: center;
  }

  .notice-icon {
    display: none;
  }

  .vote-flex-list {
    justify-content: center;
  }

  .category-click {
    font-size: 0.9rem;
  }

  .category-block {
    padding-right: 20px;
  }

  .category-image {
    width: 100px;
    height: 100px;
  }

  .category-eclipse {
    display: none;
  }

  .copy-toast {
    bottom: 20px;
    right: 20px;
    left: 20px;
    padding: 12px 16px;
    font-size: 0.85rem;
  }

  .announcement-block {
    flex-direction: column;
    min-height: auto;
    gap: 0;
  }

  .announcement-image-wrapper {
    flex: none;
    width: 100%;
    min-height: 200px;
  }

  .announcement-content {
    padding: 30px 20px;
    text-align: center;
    align-items: center;
  }

  .announcement-title {
    font-size: 1.6rem;
  }

  .announcement-text {
    max-width: 100%;
  }

  /* Giftcard balance module - make form smaller and prevent overflow */
  .giftcard-form-row {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .giftcard-input-flex {
    width: 100% !important;
    max-width: 100%;
  }

  .giftcard-btn-nowrap {
    width: 100%;
    white-space: normal;
  }

  /* Top donator module - center content on mobile like other modules */
  .topdonator-notice {
    align-items: center;
  }

  .topdonator-text {
    text-align: center;
  }

  .topdonator-info {
    align-items: center;
  }

  .topdonator-skin-container {
    position: static;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 150px;
    margin-top: 15px;
  }

  .topdonator-skin {
    height: 150px;
  }

  /* Footer - ensure social buttons appear on mobile */
  .footer-section-middle {
    display: flex !important;
  }

  .footer-socials {
    align-items: center;
  }
}

@media (min-width: 768px) and (max-width: 991px) {

  .packages-grid-container .col-4,
  .rank-mobile-packages .col-4 {
    grid-column: span 6;
  }
}



.container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .container {
    flex-direction: row;
  }
}

.footer {
  background-color: var(--footer-bg);
  padding-top: 40px;
  margin-top: 100px;
  border-top: 1px solid var(--footer-border);
  font-family: 'Poppins';
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  padding: 0 40px;
}

.footer-section-left,
.footer-section-middle,
.footer-section-right {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section-middle,
.footer-section-right {
  align-items: center;
}

.footer-col-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
}

.brand-group {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.brand-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  align-items: flex-start;
}

.footer-favicon {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
}

.btn-copy-ip {
  background: color-mix(in srgb, var(--primary-color) 10%, transparent);
  border: 1px dashed var(--primary-color);
  color: var(--primary-color);
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  font-weight: 600;
  transition: all 0.3s ease;
  width: fit-content;
  gap: 15px;
}

.btn-copy-ip:hover {
  background: color-mix(in srgb, var(--primary-color) 20%, transparent);
  transform: translateY(-2px);
}

.btn-copy-ip.copied {
  background: #27ae60;
  border-color: #27ae60;
  color: white;
}

.footer-legal {
  margin-top: 30px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer-legal p {
  margin: 0;
}

.footer-legal p:first-child {
  font-weight: 700;
  color: var(--text-primary);
}

.mojang-notice {
  font-size: 0.75rem;
  opacity: 0.5;
  margin-top: 2px !important;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 1rem;
}

.footer-socials {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer-socials a {
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.footer-socials a i {
  width: 20px;
  text-align: center;
}

.footer-socials a:hover {
  color: var(--primary-color);
}

.footer-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-description p {
  margin-top: 0;
  margin-bottom: 10px;
}

.footer-bottom {
  background: var(--footer-dark);
  padding: 1.5rem 0;
  margin-top: 2.5rem;
}

.footer-bottom-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(15px, 4vw, 40px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-credits {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
  text-align: center;
}

.footer-credits a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-credits a:hover {
  color: var(--primary-color);
}

.block-promo {
  background: var(--block-color);
  border: 1px solid var(--block-border);
  padding: 25px 40px;
  margin-top: 30px;
  border-radius: 0.5rem;
  box-shadow: 5px 5px 10px 10px rgb(21 21 21 / 50%);
}

.block-promo .grid-row {
  align-items: center;
}

.promo-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sale-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin: 0;
  text-transform: uppercase;
  line-height: 1.2;
}

.sale-desc {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  opacity: 0.85;
  margin: 5px 0 0 0;
}

.promo-timer-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.promo-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.time-grid {
  display: flex;
  gap: 12px;
  width: fit-content;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 75px;
  background-color: var(--block-dark);
  border-radius: 8px;
  padding: 10px 4px;
}

.time-unit strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.time-unit small {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 700;
  opacity: 0.85;
}

@media (max-width: 767px) {
  .footer {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .footer-container {
    padding: 0 25px;
  }

  .footer-section-right {
    display: none;
  }

  .footer [class^="col-"] {
    margin-bottom: 30px;
  }

  .footer-section-left,
  .footer-section-middle {
    align-items: center;
    text-align: center;
  }

  .brand-group {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .brand-details {
    align-items: center;
  }

  .btn-copy-ip {
    width: 100%;
  }

  .footer-section-middle .footer-title {
    display: none;
  }

  .footer-socials {
    flex-direction: row;
    justify-content: center;
    gap: 25px;
    width: 100%;
  }

  .footer-socials a {
    font-size: 0;
  }

  .footer-socials a i {
    font-size: 1.5rem;
    width: auto;
  }

  .footer-bottom {
    padding: 1.25rem 0;
  }

  .footer-credits {
    font-size: 0.85rem;
  }

  .block-promo {
    padding: 25px 20px;
  }

  .promo-details {
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .promo-timer-col {
    justify-content: center;
  }

  .time-grid {
    gap: 8px;
    width: 100%;
    justify-content: center;
  }

  .time-unit {
    flex: 1;
    min-width: 0;
    max-width: 75px;
    padding: 10px 2px;
  }

  .time-unit strong {
    font-size: 1.25rem;
  }

  .time-unit small {
    font-size: 0.6rem;
  }
}

.checkout-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.checkout-header-flex .text-title {
  margin: 0;
}

.checkout-total-price {
  color: #28c569;
}

.block-header-compact {
  min-height: auto;
  margin-top: 30px;
  max-height: none;
}

.checkout-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 20px 0;
  width: 100%;
}

.checkout-package-header {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  width: 100%;
  padding: 0 20px;
}

.checkout-package-label {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-align: center;
}

.checkout-label-package {
  text-align: left;
}

.checkout-package-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  width: 100%;
  background-color: var(--footer-bg);
  padding: 20px;
  border-radius: 6px;
  align-items: center;
  margin-bottom: 10px;
}

.checkout-package-price {
  text-align: center;
}

.checkout-quantity-form {
  display: flex;
  justify-content: center;
  align-items: center;
}

.quantity-field {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #121111;
  border-radius: 4px;
  padding: 4px;
}

.quantity-field .quantity {
  background-color: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 300;
  text-align: center;
  width: 50px;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
}

.quantity-field .quantity::-webkit-outer-spin-button,
.quantity-field .quantity::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-field .btn-tertiary {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
  line-height: 1;
}

.quantity-field .btn-tertiary:hover:not(:disabled) {
  color: var(--primary-color);
}

.quantity-field .btn-tertiary:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.checkout-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.checkout-btn-info {
  background-color: var(--primary-color);
  color: var(--text-primary);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}

.checkout-btn-info:hover {
  background-color: var(--primary-hover-color);
  text-decoration: none;
}

.checkout-btn-remove {
  background-color: rgb(248, 84, 72);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}

.checkout-btn-remove:hover {
  opacity: 0.8;
}

.checkout-footer {
  margin-top: 30px;
  padding-top: 20px;
}

.checkout-agreements {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.checkout-agreement-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.checkout-agreement-item .checkout-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkout-checkmark {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 5px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  margin-top: 1px;
}

.checkout-checkmark::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
  color: var(--icon-primary);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.checkout-agreement-item .checkout-checkbox:checked ~ .checkout-checkmark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkout-agreement-item .checkout-checkbox:checked ~ .checkout-checkmark::after {
  opacity: 1;
}

.checkout-agreement-item:hover .checkout-checkmark {
  border-color: var(--primary-color);
}

.checkout-agreement-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.checkout-agreement-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.checkout-agreement-link:hover {
  color: var(--primary-hover-color);
  text-decoration: underline;
}

.checkout-agreement-error {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 10px 15px;
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: var(--border-radius);
  color: #e74c3c;
  font-size: 0.85rem;
  font-weight: 600;
}

.checkout-agreement-error i {
  font-size: 0.9rem;
}

.checkout-footer-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.checkout-btn-continue {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  color: var(--text-secondary);
  text-decoration: none;
  cursor: pointer;
}

.checkout-btn-continue:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.checkout-btn-checkout {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-hover-color);
  color: var(--text-dark);
  padding: 12px 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.checkout-btn-checkout:hover {
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .checkout-header-flex .text-title {
    font-size: 1.5rem;
  }

  .checkout-package-label {
    font-size: 0.85rem;
  }

  .text-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  .checkout-header-flex {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .checkout-header-flex .text-title {
    font-size: 1.1rem;
  }

  .checkout-package-header {
    display: none;
  }

  .checkout-package-row {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px 15px;
    text-align: center;
  }

  .checkout-package-row .col-3 {
    grid-column: span 12;
  }

  .checkout-package-row .text-desc {
    text-align: center;
  }

  .checkout-package-price {
    text-align: center;
  }

  .checkout-quantity-form {
    justify-content: center;
  }

  .checkout-actions {
    justify-content: center;
  }

  .text-title {
    font-size: 1.3rem;
  }

  .checkout-footer .text-title {
    font-size: 1.1rem;
  }

  .checkout-footer-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .checkout-btn-continue,
  .checkout-btn-checkout {
    width: 100%;
    justify-content: center;
  }
}

.username-toggle-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 15px;
  background-color: var(--block-color);
  border: 1px solid var(--block-border);
  border-radius: 6px;
  margin: 20px 0;
}

.username-toggle-btn {
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.username-toggle-btn.mode-active {
  background-color: var(--primary-color);
  color: var(--text-dark);
}

.username-toggle-btn.mode-inactive {
  background-color: transparent;
  color: var(--text-secondary);
}

.username-toggle-btn.mode-inactive:hover {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.username-form {
  display: grid;
  grid-template-columns: 1fr auto;
  background-color: var(--block-color);
  border: 1px solid var(--block-border);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 20px;
}

.username-input {
  background-color: transparent;
  border: none;
  outline: none;
  padding: 15px 20px;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 300;
}

.username-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
}

.username-submit-btn {
  background-color: var(--primary-color);
  color: var(--text-dark);
  border: none;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.username-submit-btn:hover {
  transform: translateY(-2px);
}

.username-redirect-info {
  text-align: center;
  margin: 20px 0;
}

.username-redirect-info .text-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

.username-redirect-btn {
  background-color: var(--primary-color);
  color: var(--text-dark);
  border: none;
  padding: 15px 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  margin: 20px auto;
  max-width: 300px;
}

.username-redirect-btn:hover {
  transform: translateY(-2px);
  color: var(--text-dark);
}

.username-redirect-btn i {
  font-size: 1.1rem;
}

@media (max-width: 767px) {
  .username-toggle-container {
    gap: 10px;
    padding: 10px;
  }

  .username-toggle-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .username-form {
    grid-template-columns: 1fr;
  }

  .username-input {
    padding: 12px 15px;
  }

  .username-submit-btn {
    padding: 12px 20px;
  }
}

.category-main-container {
  margin-bottom: 30px;
}

.category-header {
  margin-bottom: 30px;
}

.package-block {
  background-color: var(--block-color);
  border: 1px solid var(--block-border);
  border-radius: 0.5rem;
  padding: 24px;
}

.package-img-block {
  background-color: var(--footer-bg);
  border-radius: 6px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.package-img-block img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.package-name {
  margin: 10px 0;
}

.package-price-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 15px 0;
}

.package-price {
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: 700;
}

.package-price-old {
  color: var(--text-secondary);
  font-size: 1rem;
  text-decoration: line-through;
  opacity: 0.6;
}

.package-countdown {
  color: var(--primary-color);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.package-list-item {
  background-color: var(--block-color);
  border: 1px solid var(--block-border);
  border-radius: 0.5rem;
  box-shadow: 5px 5px 10px 10px rgb(21 21 21 / 50%);
  padding: 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 30px;
  margin-bottom: 24px;
}

.package-list-info {
  flex: 1;
}

.package-list-price {
  width: auto;
}

.package-list-price .package-price-row {
  margin: 5px 0 0 0;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.package-list-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.package-btn-cart,
.package-btn-subscribe {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-hover-color);
  color: var(--text-dark);
  padding: 12px 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.package-btn-cart:hover,
.package-btn-subscribe:hover {
  transform: translateY(-2px);
  color: var(--text-dark);
}

.package-btn-info {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  color: var(--text-secondary);
  text-decoration: none;
  cursor: pointer;
}

.package-btn-info:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.package-btn-remove {
  background-color: rgba(248, 84, 72, 0.1);
  border: 1px solid rgba(248, 84, 72, 0.2);
  color: rgb(248, 84, 72);
  padding: 12px 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.package-btn-remove:hover {
  background-color: rgba(248, 84, 72, 0.2);
  transform: translateY(-2px);
}

.package-gift-section {
  margin-top: 15px;
}

.package-list-item+.package-gift-section {
  margin-top: -34px;
  margin-bottom: 24px;
  padding: 0 0 0 24px;
  text-align: left;
  align-items: flex-start;
}

.gift-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.gift-toggle-btn:hover {
  color: var(--text-primary);
}

.gift-form-container {
  margin-top: 10px;
}

.gift-input-group {
  display: flex;
  background-color: var(--block-color);
  border: 1px solid var(--block-border);
  border-radius: 6px;
  overflow: hidden;
}

.gift-input-icon {
  padding: 12px;
  color: var(--text-secondary);
  border-right: 1px solid var(--block-border);
}

.gift-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px;
  color: var(--text-primary);
  outline: none;
}

.gift-submit-btn {
  background-color: var(--primary-color);
  color: var(--text-dark);
  border: none;
  padding: 0 20px;
  font-weight: 700;
  cursor: pointer;
}

.package-grid-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
}

.package-grid-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.package-grid-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.package-grid-actions .package-button-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.package-grid-actions .full-width {
  grid-column: span 2;
}

@media (max-width: 767px) {

  .package-grid-actions .package-btn-cart,
  .package-grid-actions .package-btn-subscribe,
  .package-grid-actions .package-btn-info,
  .package-grid-actions .package-btn-remove {
    padding: 10px 12px;
    font-size: 0.9rem;
    white-space: normal;
    min-width: 0;
  }

  .package-grid-actions .package-btn-cart i,
  .package-grid-actions .package-btn-subscribe i,
  .package-grid-actions .package-btn-info i,
  .package-grid-actions .package-btn-remove i {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {

  .package-grid-actions .package-btn-cart,
  .package-grid-actions .package-btn-subscribe,
  .package-grid-actions .package-btn-info,
  .package-grid-actions .package-btn-remove {
    padding: 8px 10px;
    font-size: 0.85rem;
    gap: 6px;
  }

  .package-grid-actions .package-button-group {
    gap: 6px;
  }
}

@media (max-width: 991px) {
  .package-list-item {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .package-list-price {
    text-align: left;
  }

  .package-list-actions {
    flex-wrap: wrap;
  }

  .package-btn-cart,
  .package-btn-subscribe,
  .package-btn-info,
  .package-btn-remove {
    flex: 1;
    min-width: 140px;
  }
}

.ranktable-block {
  background-color: var(--block-color);
  border: 1px solid var(--block-border);
  width: 100%;
  padding: 30px;
  border-radius: 0.5rem;
  box-shadow: 5px 5px 10px 10px rgb(21 21 21 / 50%);
  overflow-x: auto;
}

.rank-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0 5px;
  background-color: transparent;
  border: none;
}

.rank-table thead th {
  background-color: transparent;
  padding: 35px 20px;
  border: none;
  vertical-align: bottom;
}

.rank-table tbody tr:nth-child(odd) td,
.rank-table tbody tr:nth-child(odd) th {
  background-color: var(--footer-bg);
}

.rank-table tbody tr:nth-child(odd) th:first-child,
.rank-table tbody tr:nth-child(odd) td:first-child {
  border-radius: 8px 0 0 8px;
}

.rank-table tbody tr:nth-child(odd) th:last-child,
.rank-table tbody tr:nth-child(odd) td:last-child {
  border-radius: 0 8px 8px 0;
}

.rank-table tbody tr:nth-child(even) td,
.rank-table tbody tr:nth-child(even) th {
  background-color: transparent;
}

.rank-table tbody td,
.rank-table tbody th {
  border: none;
}

.rank-table tbody th,
.rank-table tbody td {
  padding: 20px;
  text-align: center;
  vertical-align: middle;
}

.rank-table .feature-description {
  text-align: left;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.9rem;
  min-width: 250px;
  transition: color 0.3s;
}

.rank-table .feature-question {
  margin-left: 8px;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.rank-table .feature-question:hover {
  color: var(--primary-color);
}

.rank-table .feature-yes {
  color: #30c66f;
  font-size: 28px;
  transition: color 0.3s;
}

.rank-table .feature-no {
  color: #e84040;
  font-size: 28px;
  transition: color 0.3s;
}

.rank-table .feature-text {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: color 0.3s;
}

.package-img-src {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.rank-table thead th:hover .package-img-src {
  transform: scale(1.1) rotate(3deg);
}

.rank-table .package-new-price {
  color: var(--primary-color);
  font-weight: 800;
  font-size: 1.1rem;
}

.block-header.rank-header {
  min-height: auto;
  margin-top: 30px;
  max-height: none;
}

.rank-table-header-cell {
  width: 250px;
}

.rank-header-content .package-countdown {
  justify-content: center;
  margin-bottom: 15px;
}

.rank-header-content .package-img-wrapper {
  margin-bottom: 15px;
}

.rank-header-content .text-title {
  margin-bottom: 15px !important;
  font-size: 1.2rem !important;
}

.rank-header-content .package-price-row {
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
  display: flex !important;
}

.rank-header-content .package-new-price,
.rank-header-content .package-price {
  font-size: 1rem !important;
}

.rank-header-content .package-new-price {
  margin-left: 10px;
}

.rank-header-content .package-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.rank-header-content .package-btn-info,
.rank-header-content .package-btn-cart,
.rank-header-content .package-btn-remove {
  padding: 10px 15px !important;
}

.mobile-only {
  display: none !important;
}

@media (max-width: 991px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }
}

@media (max-width: 991px) {
  .rank-table thead th {
    min-width: 200px;
  }
}

.package-page-container {
  margin-top: 30px;
}

.package-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 20px;
  flex-wrap: wrap;
}

.package-header-row .text-title:first-child {
  flex: 1;
  min-width: 0;
}

.package-header-row .checkout-total-price {
  white-space: nowrap;
}

.package-description {
  margin-bottom: 30px;
}

.package-actions-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.package-btn-full {
  width: 100%;
  justify-content: center;
  padding: 15px 24px;
  font-size: 1.1rem;
}

.package-btn-gift {
  background-color: var(--secondary-color);
  border: 1px solid color-mix(in srgb, var(--secondary-color) 80%, white);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.package-btn-gift:hover {
  transform: translateY(-2px);
  color: var(--text-primary);
  background-color: color-mix(in srgb, var(--secondary-color) 90%, white);
}

.package-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 40px;
}

.package-image-large {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

@media (max-width: 991px) {
  .package-page-container .grid-row {
    grid-template-columns: 1fr;
  }

  .package-page-container .col-6 {
    grid-column: span 12;
  }

  .package-image-container {
    min-height: 300px;
    padding: 20px;
  }

  .package-image-large {
    max-height: 400px;
  }
}

@media (max-width: 767px) {
  .package-header-row {
    gap: 15px;
  }

  .package-header-row .text-title {
    font-size: 1.3rem;
  }

  .package-header-row .checkout-total-price {
    font-size: 1.2rem;
  }

  .package-btn-full {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .package-header-row {
    gap: 10px;
  }

  .package-header-row .text-title {
    font-size: 1.1rem;
  }

  .package-header-row .checkout-total-price {
    font-size: 1rem;
  }
}

.options-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.options-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.options-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.options-input {
  background-color: var(--block-color);
  border: 1px solid var(--block-border);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.options-input:focus {
  border-color: var(--primary-color);
}

.options-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.options-input:disabled,
.options-input[readonly] {
  opacity: 0.7;
  cursor: not-allowed;
}

.options-input-group {
  display: flex;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
}

.options-input-group .options-input {
  flex: 1;
  border-radius: 6px 0 0 6px;
  border-right: none;
}

.options-input-append {
  background-color: var(--block-color);
  border: 1px solid var(--block-border);
  border-left: none;
  padding: 12px 16px;
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
}

.options-discord-btn {
  background-color: #5865F2;
  border: 1px solid #4752C4;
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.options-discord-btn:hover {
  background-color: #4752C4;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.options-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  gap: 15px;
  flex-wrap: wrap;
}

.options-back-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
}

.options-back-btn:hover {
  color: var(--primary-color);
  text-decoration: none;
}

@media (max-width: 767px) {
  .options-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .options-back-btn {
    order: 2;
    justify-content: center;
  }

  .checkout-btn-checkout {
    order: 1;
    width: 100%;
  }

  .options-input-group {
    flex-direction: column;
  }

  .options-input-group .options-input {
    border-radius: 6px 6px 0 0;
    border-right: 1px solid var(--block-border);
    border-bottom: none;
  }

  .options-input-append {
    border-radius: 0;
    border-left: 1px solid var(--block-border);
    border-top: none;
  }

  .options-discord-btn {
    border-radius: 0 0 6px 6px;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}

.modal.fade {
  transition: opacity 0.15s linear;
}

.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}

.modal.show {
  display: block;
}

.modal.show .modal-dialog {
  transform: none;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 1.75rem auto;
  max-width: 500px;
  pointer-events: none;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-clip: padding-box;
  outline: 0;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
}


.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop.show {
  opacity: 1;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}

.modal-title {
  margin: 0;
  line-height: 1.5;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--primary-color);
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 24px;
}

@media (max-width: 767px) {
  .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }

  .modal-dialog-centered {
    min-height: calc(100% - 1rem);
  }

  .modal-header {
    padding: 16px 20px;
  }

  .modal-body {
    padding: 20px;
  }
}

.gc-selection-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.gc-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  padding: 0.5rem 0;
}

.gc-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 0 auto 3rem auto;
  max-width: 900px;
}

.gc-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  width: 100%;
}

.gc-row-premium {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.gc-amount-btn {
  background-color: var(--footer-bg);
  box-shadow: inset 0 0 0 2px var(--footer-bg);
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1.2rem 1rem;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.gc-amount-btn:hover {
  background-color: var(--block-border);
  box-shadow: inset 0 0 0 2px var(--primary-color);
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--text-primary);
}

.gc-value-sm {
  font-size: 1.4rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.gc-currency-sm {
  font-size: 1rem;
  opacity: 0.8;
}

.gc-card-premium {
  background-color: var(--footer-bg);
  box-shadow: inset 0 0 0 2px var(--footer-bg);
  border-radius: 6px;
  text-align: center;
  color: var(--text-primary);
  font-weight: 700;
  padding: 1.2rem 1rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 160px;
  transition: all 0.3s ease;
  cursor: pointer;
  grid-column: span 1;
  text-decoration: none;
}

.gc-card-premium:hover {
  background-color: var(--block-border);
  box-shadow: inset 0 0 0 2px var(--footer-bg);
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--text-primary);
}

.gc-value-premium {
  font-size: 1.4rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.gc-currency-premium {
  font-size: 1rem;
  opacity: 0.8;
}

.gc-bonus-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  z-index: 2;
  margin-top: 0.5rem;
}

.gc-star-bg {
  display: none;
}

.gc-amount-btn:active,
.gc-card-premium:active {
  transform: scale(0.98);
}

@media (max-width: 991px) {
  .gc-selection-header {
    margin-bottom: 2rem;
  }

  .gc-title {
    font-size: 1.8rem;
  }

  .gc-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .gc-row-premium {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 767px) {
  .gc-selection-header {
    margin-bottom: 1.5rem;
  }

  .gc-title {
    font-size: 1.6rem;
  }

  .gc-row {
    grid-template-columns: 1fr;
  }

  .gc-amount-btn {
    min-height: 70px;
    padding: 1rem;
  }

  .gc-value-sm {
    font-size: 1.3rem;
  }
}

@media (max-width: 767px) {
  .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }

  .modal-dialog-centered {
    min-height: calc(100% - 1rem);
  }

  .modal-header {
    padding: 16px 20px;
  }

  .modal-body {
    padding: 20px;
  }
}

.gc-selection-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.gc-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  padding: 0.5rem 0;
}

.gc-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 0 auto 3rem auto;
  max-width: 900px;
}

.gc-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  width: 100%;
}

.gc-row-premium {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.gc-amount-btn {
  background-color: var(--footer-bg);
  box-shadow: inset 0 0 0 2px #2a2a2a;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1.2rem 1rem;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.gc-amount-btn:hover {
  background-color: var(--block-color);
  box-shadow: inset 0 0 0 2px var(--primary-color);
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--text-primary);
}

.gc-value-sm {
  font-size: 1.4rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.gc-currency-sm {
  font-size: 1rem;
  opacity: 0.8;
}

.gc-card-premium {
  background-color: var(--footer-bg);
  box-shadow: inset 0 0 0 2px var(--footer-bg);
  border-radius: 6px;
  text-align: center;
  color: var(--text-primary);
  font-weight: 700;
  padding: 1.2rem 1rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 160px;
  transition: all 0.3s ease;
  cursor: pointer;
  grid-column: span 1;
  text-decoration: none;
}

.gc-card-premium:hover {
  background-color: var(--block-color);
  box-shadow: inset 0 0 0 2px var(--secondary-color);
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--text-primary);
}

.gc-value-premium {
  font-size: 1.4rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.gc-currency-premium {
  font-size: 1rem;
  opacity: 0.8;
}

.gc-bonus-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  z-index: 2;
  margin-top: 0.5rem;
}

.gc-star-bg {
  display: none;
}

.gc-amount-btn:active,
.gc-card-premium:active {
  transform: scale(0.98);
}

@media (max-width: 991px) {
  .gc-selection-header {
    margin-bottom: 2rem;
  }

  .gc-title {
    font-size: 1.8rem;
  }

  .gc-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .gc-row-premium {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 767px) {
  .gc-selection-header {
    margin-bottom: 1.5rem;
  }

  .gc-title {
    font-size: 1.6rem;
  }

  .gc-row {
    grid-template-columns: 1fr;
  }

  .gc-amount-btn {
    min-height: 70px;
    padding: 1rem;
  }

  .gc-value-sm {
    font-size: 1.3rem;
  }
}

/* Module Grid Utilities */
.notice-grid .grid-row>div:has(.navbar-module-item) {
  display: none !important;
}

.notice-grid .grid-row>.navbar-module-item {
  display: none !important;
}

.notice-grid .col-6 {
  display: flex !important;
  flex-direction: column !important;
}

.notice-grid .notice-block,
.notice-grid .package-block {
  height: 100%;
  width: 100%;
}

/* Giftcard Module Styles */
.giftcard-form-row {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 15px;
}

.giftcard-input-flex {
  flex: 1;
  min-width: 0;
  background-color: var(--block-color);
  border: 1px solid var(--block-border);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.giftcard-input-flex:focus {
  border-color: var(--primary-color);
}

.giftcard-input-flex::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.giftcard-btn-nowrap {
  white-space: nowrap;
  background-color: var(--primary-color);
  border: 1px solid var(--primary-hover-color);
  color: var(--text-dark);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.giftcard-btn-nowrap:hover {
  background-color: var(--primary-hover-color);
  transform: translateY(-2px);
}

/* Server Status Navbar Styles */
.server-status-navbar {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.server-status-count {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 0 10px;
}

.server-status-tooltip {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background-color: var(--block-color);
  border: 1px solid var(--block-border);
  border-radius: 8px;
  padding: 16px;
  min-width: 250px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 1000;
  pointer-events: none;
}

.server-status-navbar:hover .server-status-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.server-status-tooltip .tooltip-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
}

.server-status-tooltip .tooltip-header i {
  font-size: 1.1rem;
}

.server-status-tooltip .tooltip-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.server-status-tooltip .tooltip-text {
  display: block;
  color: var(--text-primary);
}

/* Featured Package Module Styles */
.package-price-row-top {
  margin-top: 15px;
}

.package-grid-actions-bottom {
  margin-top: auto;
  padding-top: 20px;
}

.package-button-group-row {
  width: 100%;
  display: flex;
  gap: 10px;
}

.package-btn-flex {
  flex: 1;
  text-align: center;
}

.package-img-responsive {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.package-name-responsive {
  margin-top: 20px;
  font-size: 1.4rem;
}

.package-countdown-margin {
  margin-top: 10px;
}

/* Payments Module Styles */
.payment-avatars-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.payment-avatar-item {
  position: relative;
  cursor: pointer;
}

.payment-avatar-item img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  transition: transform 0.2s;
  border: 2px solid transparent;
  margin-bottom: 0;
  display: block;
}

.payment-avatar-item:hover img {
  transform: scale(1.1);
  border-color: var(--primary-color);
}

.payment-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--block-color);
  border: 1px solid var(--block-border);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  white-space: nowrap;
  z-index: 100;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
  pointer-events: none;
  min-width: 150px;
  text-align: center;
}

.payment-avatar-item:hover .payment-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.payment-tooltip-arrow {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--block-border) transparent transparent transparent;
}

.payment-tooltip-name {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 2px;
  display: block;
}

.payment-tooltip-meta {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* Top Donator Module Styles */
.topdonator-notice {
  position: relative;
  overflow: hidden;
}

.topdonator-text {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 120px;
}

.topdonator-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}

.topdonator-username {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

.topdonator-amount {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.topdonator-amount strong {
  color: var(--text-primary);
  font-weight: 700;
}

.topdonator-skin-container {
  position: absolute;
  right: 100px;
  bottom: -30px;
  width: 120px;
  height: 260px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.topdonator-skin {
  width: 110%;
  height: auto;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}


/* Mobile Responsive Styles */
@media (max-width: 767px) {
  .notice-header {
    justify-content: center !important;
  }

  .notice-content {
    text-align: center;
    align-items: center;
  }

  .notice-text {
    text-align: center;
  }

  .redirect-flex-list {
    justify-content: center !important;
  }

  .giftcard-form-row {
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
  }

  .giftcard-input-flex {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .giftcard-btn-nowrap {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .payment-avatars-grid {
    justify-content: center !important;
  }

  .package-grid-content {
    text-align: center;
    align-items: center;
  }

  .navbar-modules {
    display: none !important;
  }

  .nav-separator {
    display: none !important;
  }

  .nav-items {
    justify-content: center !important;
    gap: 20px !important;
  }

  .server-status-navbar {
    display: none !important;
  }

  .navbar-module-item {
    display: none !important;
  }

  .topdonator-skin-container {
    display: none !important;
  }

  .topdonator-text {
    min-height: auto;
  }
}

.staff-tier-bar {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  box-shadow: 5px 5px 10px 10px rgb(21 21 21 / 50%);
  padding: 16px 24px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-top: 0.5rem;
}

.staff-tier-owner {
  background: #f08c00;
}

.staff-tier-administrator {
  background: #e63946;
}

.staff-tier-moderator {
  background: #4361ee;
}

.staff-tier-helper {
  background: #2dc653;
}

.staff-tier-media {
  background: #9b5de5;
}

.staff-card {
  background: var(--block-color);
  border: 1px solid var(--block-border);
  border-radius: 0.5rem;
  box-shadow: 5px 5px 10px 10px rgb(21 21 21 / 50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  height: 100%;
}

.staff-image {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0;
}

.staff-image img {
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.staff-image-placeholder {
  font-size: 80px;
  color: var(--text-primary);
  opacity: 0.1;
}

.staff-details {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.staff-player-name {
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .staff-card {
    padding: 1rem;
  }

  .staff-image {
    height: 100px;
  }

  .staff-image img {
    width: 100px;
    height: 100px;
  }

  .staff-player-name {
    font-size: 1.1rem;
  }
}

/* ========================================
   Coin Slider Addon
   ======================================== */

.coin-slider-wrap {
  width: 100%;
  position: relative;
  z-index: 2;
  margin-top: 20px;
  margin-bottom: 4px;
}

.coin-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.coin-slider-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #b9b6b3;
  transition: color 0.2s ease;
  flex: 1;
  text-align: center;
}

.coin-slider-label:first-child {
  text-align: left;
}

.coin-slider-label:last-child {
  text-align: right;
}

.coin-slider-label.active {
  color: var(--primary-color);
}

.coin-stage .package-card-price-row {
  margin-bottom: 16px;
}

.coin-slider-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--block-border);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.coin-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  transition: transform 0.2s ease;
  border: 2px solid var(--block-dark);
}

.coin-slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.coin-slider-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  transition: transform 0.2s ease;
  border: 2px solid var(--block-dark);
  box-sizing: border-box;
}

.coin-slider-input::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.coin-stages {
  width: 100%;
  position: relative;
  z-index: 2;
  margin-top: 16px;
}

.coin-stage {
  display: block;
}

.coin-stage.d-none {
  display: none !important;
}

.coin-stage.active {
  display: block !important;
}

.coin-stage .primary-button {
  width: 100%;
  justify-content: center;
}

/* Gift Modal Styles */

.hyte-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.hyte-modal.show {
    opacity: 1;
    visibility: visible;
    display: flex !important;
}

.hyte-modal-content {
    background: var(--block-color);
    border: 1px solid var(--block-border);
    border-radius: 6px;
    max-width: 500px;
    width: 100%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
}

.hyte-modal.show .hyte-modal-content {
    transform: scale(1);
}

.hyte-modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hyte-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.hyte-modal-body {
    padding: 0 2rem 2rem 2rem;
}

.hyte-modal-actions {
    display: flex;
    gap: 1rem;
}

.hyte-modal-actions .gift-submit-btn,
.hyte-modal-actions .gift-modal-close {
    flex: 1;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: auto;
}

@media (max-width: 768px) {
    .hyte-modal {
        padding: 15px;
    }

    .hyte-modal-content {
        max-width: none;
    }

    .hyte-modal-header {
        padding: 1.5rem;
    }

    .hyte-modal-title {
        font-size: 1.3rem;
    }

    .hyte-modal-body {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .gift-input-group {
        flex-direction: column;
    }

    .hyte-modal-actions {
        flex-direction: column;
    }

    .gift-submit-btn {
        width: 100%;
    }
}

/* Package Info Modal Styles */

.hyte-package-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.hyte-package-modal.show {
    opacity: 1;
    visibility: visible;
    display: flex !important;
}

.hyte-package-modal-content {
    background: var(--block-color);
    border: 1px solid var(--block-border);
    border-radius: 6px;
    max-width: 720px;
    width: 100%;
    max-height: 85vh;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.hyte-package-modal.show .hyte-package-modal-content {
    transform: scale(1);
}

.hyte-package-modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--negative);
    color: var(--negative-text);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s, background-color 0.2s;
    text-decoration: none;
    padding: 0;
    font-size: 0.85rem;
    z-index: 2;
}

.hyte-package-modal-close-btn:hover {
    background-color: var(--negative-hover-color);
}

.hyte-package-modal-close-btn i {
    color: var(--negative-text);
}

.hyte-package-modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 3rem;
}

.hyte-package-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.hyte-package-modal-body {
    padding: 0 2rem 2rem 2rem;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hyte-package-modal-description {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    word-wrap: break-word;
}

.hyte-package-modal-description p,
.hyte-package-modal-description h1,
.hyte-package-modal-description h2,
.hyte-package-modal-description h3,
.hyte-package-modal-description h4,
.hyte-package-modal-description h5,
.hyte-package-modal-description h6,
.hyte-package-modal-description ul,
.hyte-package-modal-description ol,
.hyte-package-modal-description blockquote {
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
}

.hyte-package-modal-description h1,
.hyte-package-modal-description h2,
.hyte-package-modal-description h3,
.hyte-package-modal-description h4,
.hyte-package-modal-description h5,
.hyte-package-modal-description h6 {
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.hyte-package-modal-description a {
    color: var(--primary-color);
    text-decoration: underline;
}

.hyte-package-modal-description img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.hyte-package-modal-description ul,
.hyte-package-modal-description ol {
    padding-left: 1.5rem;
}

.hyte-package-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--block-border);
    padding-top: 1.25rem;
    margin-top: auto;
}

.hyte-package-modal-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hyte-package-modal-pricing .package-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hyte-package-modal-pricing .package-original-price {
    font-size: 1rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    opacity: 0.7;
}

.hyte-package-modal-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hyte-package-modal-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 1rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s, opacity 0.2s;
    font-size: 1rem;
}

.hyte-package-modal-btn-cart,
.hyte-package-modal-btn-gift {
    background-color: var(--primary-color, #27ae60);
    color: var(--text-dark, #fff);
}

.hyte-package-modal-btn-cart:hover,
.hyte-package-modal-btn-gift:hover {
    background-color: var(--primary-hover-color, var(--primary-color, #27ae60));
}

.hyte-package-modal-btn-subscribe {
    background-color: var(--secondary-color, #6c757d);
    color: var(--text-primary, #fff);
}

.hyte-package-modal-btn-subscribe:hover {
    opacity: 0.85;
}

.hyte-package-modal-btn-remove {
    background-color: var(--negative, #dc3545);
    color: var(--negative-text, #fff);
}

.hyte-package-modal-btn-remove:hover {
    background-color: var(--negative-hover-color, #c82333);
}

.hyte-package-modal-btn-cart i,
.hyte-package-modal-btn-gift i,
.hyte-package-modal-btn-subscribe i,
.hyte-package-modal-btn-remove i {
    color: inherit;
}

@media (max-width: 768px) {
    .hyte-package-modal {
        padding: 15px;
    }

    .hyte-package-modal-content {
        max-width: none;
        max-height: 92vh;
    }

    .hyte-package-modal-header {
        padding: 1.5rem 2.5rem;
    }

    .hyte-package-modal-title {
        font-size: 1.25rem;
    }

    .hyte-package-modal-body {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }

    .hyte-package-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .hyte-package-modal-actions {
        justify-content: center;
    }
}



/* Hyte-specific Package Modal overrides (theme palette) */

.hyte-package-modal-close-btn {
    background-color: rgb(248, 84, 72);
    color: #fff;
}

.hyte-package-modal-close-btn:hover {
    background-color: rgb(255, 110, 98);
}

.hyte-package-modal-close-btn i {
    color: #fff;
}

.hyte-package-modal-btn-cart,
.hyte-package-modal-btn-gift {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

.hyte-package-modal-btn-cart:hover,
.hyte-package-modal-btn-gift:hover {
    background-color: var(--primary-hover-color);
    color: var(--text-dark);
}

.hyte-package-modal-btn-cart i,
.hyte-package-modal-btn-gift i {
    color: var(--text-dark);
}

.hyte-package-modal-btn-subscribe {
    background-color: var(--secondary-color);
    color: var(--text-primary);
}

.hyte-package-modal-btn-remove {
    background-color: rgb(248, 84, 72);
    color: #fff;
}

.hyte-package-modal-btn-remove:hover {
    background-color: rgb(255, 110, 98);
}

.hyte-package-modal-btn-remove i {
    color: #fff;
}
