* {
  scrollbar-width: thin;
  scrollbar-color: rgba(205, 228, 225, 0.4) rgba(0, 0, 0, 0.1);
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4a8c5a, #2d5a3d);
  border-radius: 6px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #5aa76a, #3d6a4d);
  border: 2px solid rgba(205, 228, 225, 0.2);
}

*::-webkit-scrollbar-corner {
  background: rgba(0, 0, 0, 0.1);
}

.gallery-scroll::-webkit-scrollbar {
  height: 8px;
}

.gallery-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #4a8c5a, #5aa76a);
  border-radius: 4px;
  border: 1px solid rgba(205, 228, 225, 0.3);
  position: relative;
}

.gallery-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #5aa76a, #6ab77a);
  box-shadow: 0 0 8px rgba(205, 228, 225, 0.4);
}

.store-header {
  text-align: center;
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.store-header .header-content {
  max-width: 800px;
  margin: 0 auto;
}

.store-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(205, 228, 225, 0.1);
  border: 1px solid rgba(205, 228, 225, 0.2);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #cde4e1;
  margin-bottom: 1rem;
}

.store-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #cde4e1;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.store-header .subtitle {
  font-size: 1.25rem;
  color: #a0c4c7;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.store-header .description {
  font-size: 1.125rem;
  color: #8fa8ab;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.server-selection {
  margin-bottom: 4rem;
}

.server-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.server-tab {
  background: rgba(16, 74, 64, 0.8);
  border: 2px solid rgba(79, 209, 199, 0.3);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  color: #cde4e1;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
  position: relative;
}

.server-tab:hover:not(.disabled) {
  border-color: #4fd1c7;
  background: rgba(79, 209, 199, 0.1);
  transform: translateY(-2px);
}

.server-tab.active {
  border-color: #4fd1c7;
  background: rgba(79, 209, 199, 0.15);
  box-shadow: 0 0 20px rgba(79, 209, 199, 0.3);
}

.server-tab.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(16, 74, 64, 0.4);
}

.server-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.server-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #a0c4c7;
}

.coming-soon {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #f39c12;
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-weight: 500;
}

.server-details {
  text-align: center;
  background: rgba(16, 74, 64, 0.7);
  border: 1px solid rgba(79, 209, 199, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.server-details h3 {
  color: #cde4e1;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.server-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  color: #a0c4c7;
  font-size: 0.875rem;
}

.status-active {
  color: #4fd1c7 !important;
  font-weight: 500;
}

.status-inactive {
  color: #f39c12 !important;
  font-weight: 500;
}

.vip-ranks-section {
  margin-bottom: 4rem;
}

.ranks-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  justify-content: center;
  align-items: stretch;
}

.ranks-grid.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.ranks-grid.cards-3 {
  display: flex;
  align-items: stretch;
}

.ranks-grid.cards-2 {
  display: flex;
  align-items: stretch;
}

.ranks-grid.cards-1 {
  display: flex;
  align-items: stretch;
}

.ranks-grid .rank-card {
  flex: 0 1 320px;
  max-width: 380px;
  min-width: 280px;
}

.ranks-grid.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ranks-grid.cards-4 .rank-card {
  flex: none;
  max-width: none;
  min-width: auto;
}

.ranks-grid.cards-3 {
  justify-content: center;
  max-width: 1200px;
}

.ranks-grid.cards-2 {
  justify-content: center;
  max-width: 800px;
}

.ranks-grid.cards-1 {
  justify-content: center;
  max-width: 400px;
}

.ranks-grid.cards-3,
.ranks-grid.cards-2,
.ranks-grid.cards-1 {
  padding: 1rem 0;
}

.ranks-grid.cards-3 .rank-card:nth-child(2) {
  animation-delay: 0.1s;
}

.ranks-grid.cards-3 .rank-card:nth-child(3) {
  animation-delay: 0.2s;
}

.ranks-grid.cards-2 .rank-card:nth-child(2) {
  animation-delay: 0.1s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rank-card {
  animation: fadeInUp 0.5s ease-out forwards;
}

.rank-card {
  background: rgba(16, 74, 64, 0.8);
  border: 2px solid rgba(79, 209, 199, 0.3);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 750px;
  height: 100%;
}

.rank-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(79, 209, 199, 0.2);
  border-color: rgba(79, 209, 199, 0.5);
}

.rank-card.popular {
  border-color: var(--rank-color, #4fd1c7);
  box-shadow: 0 0 30px rgba(79, 209, 199, 0.2);
}

.rank-card.coming-soon {
  opacity: 0.7;
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rank-color, #4fd1c7);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 2;
}

.coming-soon-badge {
  position: absolute;
  top: -12px;
  right: 1rem;
  background: #f39c12;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 2;
}

.discount-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: linear-gradient(135deg, #ff6b6b, #feca57);
  color: #2c2c2c;
  font-size: 0.65rem;
  font-weight: 800;
  z-index: 3;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: bounceDiscount 3s infinite;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  transform: rotate(0deg);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.discount-badge::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #ff6b6b, #feca57);
  z-index: -1;
  filter: blur(8px);
  opacity: 0.4;
}

@keyframes bounceDiscount {
  0%,
  100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.05);
  }
  50% {
    transform: scale(1.02);
  }
  75% {
    transform: scale(1.03);
  }
}

.rank-header {
  margin-bottom: 1.5rem;
}

.rank-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.rank-name-section {
  flex: 1;
  text-align: left;
}

.rank-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--rank-color, #cde4e1);
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}

.rank-tagline {
  color: #a0c4c7;
  font-size: 0.875rem;
  margin: 0;
  font-style: italic;
}

.rank-price-section {
  text-align: right;
  flex-shrink: 0;
}

.original-price {
  font-size: 1.2rem;
  color: #8fa8ab;
  text-decoration: none;
  margin-bottom: 0.3rem;
  font-weight: 500;
  opacity: 0.8;
  position: relative;
  display: inline-block;
  height: 1.2rem;
  line-height: 1.2rem;
}

.original-price::after {
  content: "";
  position: absolute;
  left: -2px;
  top: -2px;
  right: 10px;
  bottom: -2px;
  background: linear-gradient(
    135deg,
    transparent 45%,
    #8fa8ab 48%,
    #8fa8ab 52%,
    transparent 55%
  );
  pointer-events: none;
}

.rank-price {
  font-size: 2rem;
  font-weight: 700;
  color: #cde4e1;
  margin: 0;
  white-space: nowrap;
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: #a0c4c7;
  font-weight: 400;
}

.rank-text-containers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.rank-description-container {
  background: rgba(79, 209, 199, 0.05);
  border: 1px solid rgba(79, 209, 199, 0.1);
  border-radius: 8px;
  padding: 1.25rem;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-description {
  color: #a0c4c7;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.4;
  font-weight: 500;
  margin: 0;
}

.rank-explanation-container {
  background: rgba(79, 209, 199, 0.08);
  border: 1px solid rgba(79, 209, 199, 0.15);
  border-radius: 8px;
  padding: 1.25rem;
  min-height: 100px;
  display: flex;
  align-items: center;
}

.rank-explanation {
  color: #8fa8ab;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
  width: 100%;
}

.rank-perks {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 2rem;
  min-height: 300px;
}

.perk-category {
  margin-bottom: 1.5rem;
}

.category-title {
  color: var(--rank-color, #cde4e1);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(205, 228, 225, 0.1);
}

.perk-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.perk-list li {
  color: #a0c4c7;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
  line-height: 1.4;
}

.perk-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--rank-color, #4fd1c7);
  font-weight: bold;
}

.purchase-btn {
  background: var(--rank-color, #4fd1c7);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 1.25rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: auto;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.purchase-btn:hover:not(.disabled) {
  background: var(--rank-color, #45b7b8);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(79, 209, 199, 0.4);
}

.purchase-btn.disabled {
  background: #666;
  cursor: not-allowed;
  opacity: 0.6;
}

.global-features-section {
  margin-bottom: 4rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #cde4e1;
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card:nth-child(1),
.feature-card:nth-child(2),
.feature-card:nth-child(3),
.feature-card:nth-child(4) {
  grid-row: 1;
}

.feature-card:nth-child(5) {
  grid-row: 2;
  grid-column: 2;
}

.feature-card:nth-child(6) {
  grid-row: 2;
  grid-column: 3;
}

.feature-card {
  background: rgba(16, 74, 64, 0.7);
  border: 1px solid rgba(79, 209, 199, 0.3);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  height: 100%;
}

.feature-card:hover {
  border-color: #4fd1c7;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(79, 209, 199, 0.3);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #4fd1c7;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: rgba(79, 209, 199, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.feature-icon i {
  font-size: 2.5rem;
}

.feature-card:hover .feature-icon {
  background: rgba(79, 209, 199, 0.2);
  color: #5ae1d7;
  transform: scale(1.05);
}

.feature-title {
  color: #cde4e1;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-description {
  color: #a0c4c7;
  font-size: 0.875rem;
  line-height: 1.5;
}

.faq-section {
  margin-bottom: 4rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(79, 209, 199, 0.3);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: rgba(16, 74, 64, 0.3);
}

.faq-question {
  width: 100%;
  background: rgba(16, 74, 64, 0.7);
  border: none;
  padding: 1.5rem;
  text-align: left;
  color: #cde4e1;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(79, 209, 199, 0.1);
}

.faq-toggle {
  font-size: 1.5rem;
  color: #4fd1c7;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(16, 74, 64, 0.9);
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 1.5rem;
  color: #a0c4c7;
  margin: 0;
  line-height: 1.6;
}

.notices-section {
  margin-bottom: 4rem;
}

.notices-list {
  max-width: 800px;
  margin: 0 auto;
}

.notice {
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid;
}

.notice-info {
  background: rgba(79, 209, 199, 0.1);
  border-left-color: #4fd1c7;
  color: #cde4e1;
}

.notice-warning {
  background: rgba(243, 156, 18, 0.1);
  border-left-color: #f39c12;
  color: #cde4e1;
}

.notice-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.notice-content {
  color: #a0c4c7;
  font-size: 0.875rem;
  line-height: 1.5;
}

.purchase-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  overflow-y: auto;
  backdrop-filter: blur(5px);
}

.purchase-dialog {
  background: rgba(16, 74, 64, 0.98);
  border: 2px solid rgba(79, 209, 199, 0.4);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  margin: auto;
  position: relative;
}

.dialog-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(79, 209, 199, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dialog-header h3 {
  color: #cde4e1;
  margin: 0;
  font-size: 1.25rem;
}

.dialog-close {
  background: none;
  border: none;
  color: #a0c4c7;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.dialog-close:hover {
  background: rgba(205, 228, 225, 0.1);
  color: #cde4e1;
}

.dialog-content {
  padding: 1.5rem;
}

.purchase-summary {
  margin-bottom: 2rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(79, 209, 199, 0.2);
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item .label {
  color: #a0c4c7;
  font-weight: 500;
}

.summary-item .value {
  color: #cde4e1;
  font-weight: 600;
}

.summary-item .price {
  color: #4fd1c7;
  font-size: 1.125rem;
}

.rank-preview h4 {
  color: #cde4e1;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.perks-preview {
  background: rgba(79, 209, 199, 0.08);
  border: 1px solid rgba(79, 209, 199, 0.15);
  border-radius: 8px;
  padding: 1.5rem;
}

.perk-category-preview {
  margin-bottom: 1rem;
}

.perk-category-preview:last-child {
  margin-bottom: 0;
}

.perk-category-preview strong {
  color: #4fd1c7;
  font-size: 0.875rem;
}

.perk-category-preview ul {
  margin: 0.5rem 0 0 1rem;
  padding: 0;
  list-style: none;
}

.perk-category-preview li {
  color: #a0c4c7;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  position: relative;
  padding-left: 1rem;
}

.perk-category-preview li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #4fd1c7;
}

.dialog-actions {
  padding: 1.5rem;
  border-top: 1px solid rgba(79, 209, 199, 0.3);
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary {
  background: rgba(79, 209, 199, 0.1);
  color: #cde4e1;
  border: 1px solid rgba(79, 209, 199, 0.3);
}

.btn-secondary:hover {
  background: rgba(79, 209, 199, 0.2);
  border-color: rgba(79, 209, 199, 0.5);
}

.btn-primary {
  background: #4fd1c7;
  color: white;
}

.btn-primary:hover {
  background: #45b7b8;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(79, 209, 199, 0.4);
}

.loading-container {
  text-align: center;
  padding: 4rem 2rem;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(205, 228, 225, 0.2);
  border-top: 4px solid #4fd1c7;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.error-container {
  text-align: center;
  padding: 4rem 2rem;
}

.error-message h3 {
  color: #e74c3c;
  margin-bottom: 1rem;
}

.error-message p {
  color: #a0c4c7;
  margin-bottom: 2rem;
}

.retry-btn {
  background: #4fd1c7;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.retry-btn:hover {
  background: #45b7b8;
  transform: translateY(-2px);
}

.notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  z-index: 1001;
  animation: slideIn 0.3s ease;
  max-width: 300px;
}

.notification-success {
  background: #27ae60;
}

.notification-error {
  background: #e74c3c;
}

.notification-info {
  background: #4fd1c7;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .feature-card:nth-child(1),
  .feature-card:nth-child(2) {
    grid-row: 1;
  }

  .feature-card:nth-child(3),
  .feature-card:nth-child(4) {
    grid-row: 2;
  }

  .feature-card:nth-child(5),
  .feature-card:nth-child(6) {
    grid-row: 3;
  }

  .feature-card:nth-child(5),
  .feature-card:nth-child(6) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .store-header h1 {
    font-size: 2rem;
  }

  .store-header .subtitle {
    font-size: 1.125rem;
  }

  .server-tabs {
    flex-direction: column;
    align-items: center;
  }

  .server-tab {
    width: 100%;
    max-width: 300px;
  }

  .ranks-grid,
  .ranks-grid.cards-1,
  .ranks-grid.cards-2,
  .ranks-grid.cards-3,
  .ranks-grid.cards-4 {
    display: flex !important;
    flex-direction: column;
    gap: 1.5rem;
    max-width: none;
  }

  .ranks-grid .rank-card {
    flex: none;
    max-width: none;
    min-width: auto;
  }

  .rank-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .rank-name-section {
    text-align: center;
  }

  .rank-price-section {
    text-align: center;
  }

  .rank-name {
    text-align: center;
  }

  .rank-price {
    text-align: center;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .feature-card:nth-child(1),
  .feature-card:nth-child(2),
  .feature-card:nth-child(3),
  .feature-card:nth-child(4),
  .feature-card:nth-child(5),
  .feature-card:nth-child(6) {
    grid-row: auto !important;
    grid-column: auto !important;
  }

  .server-stats {
    flex-direction: column;
    gap: 0.5rem;
  }

  .dialog-actions {
    flex-direction: column;
  }

  .purchase-dialog {
    margin: 1rem;
    max-width: none;
    max-height: 90vh;
  }
}

.rank-gallery {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(205, 228, 225, 0.2);
}

.rank-gallery h4 {
  color: #cde4e1;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.gallery-container {
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(205, 228, 225, 0.15);
}

.gallery-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
}

.gallery-item {
  position: relative;
  min-width: 120px;
  width: 120px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
  background: rgba(0, 0, 0, 0.4);
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #cde4e1;
  font-weight: 600;
  font-size: 0.9rem;
}

.gallery-item:hover .image-overlay {
  opacity: 1;
}

.scroll-buttons {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0.5rem;
  right: 0.5rem;
  display: none;
  justify-content: space-between;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.scroll-btn {
  background: rgba(0, 0, 0, 0.7);
  color: #cde4e1;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  pointer-events: auto;
}

.scroll-btn:hover {
  background: rgba(205, 228, 225, 0.2);
  transform: scale(1.1);
}

.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 2rem;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.modal-image {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.modal-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 79, 72, 0.9);
  color: #9cc9c4;
  border: 2px solid rgba(156, 201, 196, 0.3);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 2.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10001;
}

.modal-nav:hover {
  background: rgba(20, 79, 72, 1);
  border-color: #9cc9c4;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 4px 20px rgba(156, 201, 196, 0.4);
}

.modal-nav-prev {
  left: 2rem;
}

.modal-nav-next {
  right: 2rem;
}

.modal-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.image-counter {
  color: #cde4e1;
  font-weight: 600;
  font-size: 0.9rem;
}

.modal-close {
  background: rgba(255, 255, 255, 0.1);
  color: #cde4e1;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.loading-placeholder,
.no-images,
.error-message {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  color: rgba(205, 228, 225, 0.6);
  font-style: italic;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px dashed rgba(205, 228, 225, 0.2);
}

.loading-placeholder {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.error-message {
  color: rgba(231, 76, 60, 0.8);
  border-color: rgba(231, 76, 60, 0.3);
}

@media (max-width: 768px) {
  .gallery-item {
    min-width: 100px;
    width: 100px;
    height: 67px;
  }

  .gallery-modal {
    padding: 1rem;
  }

  .modal-controls {
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.4rem 0.8rem;
  }
}
