:root {
  --primary-dark: #1a1a2e;
  --secondary-dark: #16213e;
  --card-dark: #1e1e2a;
  --sidebar-bg: #0f0f1a;
  --accent-green: #2ecc71;
  --accent-purple: #9b59b6;
  --accent-red: #e74c3c;
  --accent-blue: #3498db;
  --accent-orange: #e67e22;
  --text-light: #ecf0f1;
  --text-muted: #95a5a6;
  --border-color: #2c3e50;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --border-radius-lg: 24px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Yekan', sans-serif;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
  color: var(--text-light);
  min-height: 100vh;
  overflow: hidden;
}

.app-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.banner {
  flex-shrink: 0;
  background: linear-gradient(135deg, #0a0a15 0%, #1a1a2e 50%, #0a0a15 100%);
  border-bottom: 3px solid var(--accent-green);
  box-shadow: 0 4px 30px rgba(46, 204, 113, 0.5);
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2ecc71, #3498db, #9b59b6, #e74c3c, #2ecc71);
  background-size: 200% 100%;
  animation: bannerGlow 4s linear infinite;
  box-shadow: 0 0 20px rgba(46, 204, 113, 0.8);
}

@keyframes bannerGlow {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.banner img {
  width: 100%;
  height: auto;
  max-height: 20vh;
  min-height: 120px;
  object-fit: cover;
  object-position: center;
  display: block;
  padding: 0;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.main-content {
  display: flex;
  flex: 1;
  overflow: hidden;
  gap: 0;
}

.sidebar {
  width: 320px;
  background: var(--sidebar-bg);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.category-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 1rem;
}

.category-nav::-webkit-scrollbar {
  width: 8px;
}

.category-nav::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.category-nav::-webkit-scrollbar-thumb {
  background: var(--accent-green);
  border-radius: 10px;
}

.category-nav::-webkit-scrollbar-thumb:hover {
  background: #27ae60;
}

.nav-header {
  padding: 1rem 1.25rem;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.nav-header h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-light);
}

.category-group {
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem;
}

.category-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 1.5rem;
  margin: 0.35rem 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  color: var(--text-light);
  font-family: 'Yekan', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.category-btn .btn-text {
  font-weight: 800;
}

.category-btn .btn-icon {
  font-size: 1.5rem;
  margin-right: 0.75rem;
  opacity: 0.8;
}

.category-btn:hover {
  background: rgba(46, 204, 113, 0.15);
  color: var(--text-light);
  border-color: var(--accent-green);
}

.category-btn.active {
  background: var(--accent-green);
  color: white;
  font-weight: 800;
  border-color: var(--accent-green);
}

.category-btn.active .btn-icon {
  opacity: 1;
}

.btn-icon {
  font-size: 1.5rem;
}

.mobile-category-row-wrapper {
  display: none;
}

.mobile-subcategories {
  display: none;
}

/* Desktop category button - ONLY for desktop */
.desktop-categories .category-group {
  margin-bottom: 1rem;
  background: transparent;
  border-radius: var(--border-radius-sm);
  padding: 0;
}

.desktop-categories .category-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 1.5rem;
  margin: 0.35rem 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  color: var(--text-light);
  font-family: 'Yekan', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.desktop-categories .category-btn .btn-text {
  font-weight: 800;
}

.desktop-categories .category-btn .btn-icon {
  font-size: 1.5rem;
  margin-right: 0.75rem;
  opacity: 0.8;
}

.desktop-categories .category-btn:hover {
  background: rgba(46, 204, 113, 0.15);
  border-color: var(--accent-green);
}

.desktop-categories .category-btn.active {
  background: var(--accent-green);
  color: white;
  border-color: var(--accent-green);
}

.desktop-categories .category-btn.active .btn-icon {
  opacity: 1;
}

.desktop-categories {
  display: block;
}

.category-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.accordion-toggle {
  display: none;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--border-radius-sm);
}

.accordion-header:hover {
  background: rgba(46, 204, 113, 0.15);
}

.accordion-toggle:checked + .accordion-header {
  background: rgba(46, 204, 113, 0.2);
  border-bottom: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
}

.accordion-toggle:checked + .accordion-header .arrow-icon {
  transform: rotate(90deg);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-light);
}

.header-content img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.arrow-icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 0.5rem;
}

.accordion-toggle:checked ~ .accordion-content {
  max-height: 300px;
  padding: 0.5rem;
}

.accordion-content .subcategory-btn {
  width: 100%;
  padding: 0.9rem 1.5rem;
  margin: 0.25rem 0;
  background: transparent;
  border: none;
  border-radius: var(--border-radius-sm);
  color: var(--text-muted);
  font-family: 'Yekan', sans-serif;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: right;
}

.accordion-content .subcategory-btn:hover {
  background: rgba(46, 204, 113, 0.15);
  color: var(--text-light);
}

.accordion-content .subcategory-btn.active {
  background: rgba(46, 204, 113, 0.25);
  color: var(--accent-green);
  border-right: 4px solid var(--accent-green);
}

.mobile-categories {
  display: none;
}

.sidebar-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.donate-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: linear-gradient(135deg, var(--accent-green), #27ae60);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 1.3rem;
  transition: var(--transition);
}

.donate-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--primary-dark);
  position: relative;
}

.content-area::-webkit-scrollbar {
  width: 8px;
}

.content-area::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.content-area::-webkit-scrollbar-thumb {
  background: var(--accent-green);
  border-radius: 10px;
}

.welcome-page {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
}

.welcome-page.hidden {
  display: none;
}

.welcome-content {
  max-width: 1100px;
  width: 100%;
  text-align: center;
  animation: fadeInUp 0.6s ease;
  padding: 1rem 0 2rem 0;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.welcome-icon {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.welcome-icon img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(46, 204, 113, 0.5));
  animation: float 3s ease-in-out infinite;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  padding: 25px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.welcome-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  color: #2ecc71;
  text-shadow: 0 0 10px #2ecc71, 0 0 20px #2ecc71, 0 0 30px #2ecc71, 0 0 40px #27ae60, 0 2px 10px rgba(0, 0, 0, 0.8);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: #2ecc71;
  animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
  0%, 100% { 
    color: #2ecc71;
    text-shadow: 0 0 10px #2ecc71, 0 0 20px #2ecc71, 0 0 30px #2ecc71, 0 2px 10px rgba(0, 0, 0, 0.8);
  }
  50% { 
    color: #27ae60;
    text-shadow: 0 0 15px #2ecc71, 0 0 30px #2ecc71, 0 0 50px #3498db, 0 2px 10px rgba(0, 0, 0, 0.8);
  }
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .welcome-title {
    background: linear-gradient(135deg, #2ecc71, #3498db, #9b59b6, #2ecc71);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
    animation: titleGradient 6s ease infinite;
  }
}

@keyframes titleGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.welcome-description {
  font-size: 1.5rem;
  line-height: 2;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.welcome-cta {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 2.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-family: 'Yekan', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 350px;
  text-align: center;
  box-sizing: border-box;
}

.cta-button.primary,
.cta-button.secondary {
  height: 75px;
}
.cta-button.primary {
  background: linear-gradient(135deg, var(--accent-green), #27ae60);
  color: white;
  box-shadow: 0 4px 20px rgba(46, 204, 113, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.cta-button.primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(46, 204, 113, 0.6);
}

.cta-button.primary img {
  width: 40px;
  height: 40px;
  filter: none;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  padding: 5px;
}


.cta-button.secondary {
  background: linear-gradient(135deg, var(--accent-purple), #8e44ad);
  color: white;
  box-shadow: 0 4px 20px rgba(155, 89, 182, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.cta-button.secondary:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(155, 89, 182, 0.6);
}

.cta-button.secondary span:first-child {
  font-size: 2rem;
}

@media (max-width: 768px) {
  .welcome-cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-button {
    min-width: 100%;
  }
  
  .cta-button.secondary span:first-child {
    font-size: 1.5rem;
  }
}

.welcome-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-height: 200px;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-green);
  box-shadow: 0 8px 30px rgba(46, 204, 113, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.feature-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
}

.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.feature-card p {
  max-width: 250px;
  margin: 0 auto;
}
.welcome-link {
  padding: 2rem;
  background: rgba(46, 204, 113, 0.08);
  border-radius: var(--border-radius);
  border: 2px solid rgba(46, 204, 113, 0.3);
  backdrop-filter: blur(10px);
  margin: 0;
  overflow: hidden;
}

.welcome-link p {
  font-size: 1.4rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.reymit-link {
  font-size: 1.8rem;
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
  display: inline-block;
  padding: 0.75rem 2rem;
  background: rgba(46, 204, 113, 0.1);
  border-radius: 50px;
  max-width: 100%;
  word-break: break-all;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  line-height: 1.4;
}

.reymit-link:hover {
  color: white;
  background: var(--accent-green);
  transform: scale(1.02);
  text-decoration: none;
}

.info-banner {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.15), rgba(52, 152, 219, 0.15));
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}

.info-banner.hidden {
  display: none;
}

.info-content p {
  color: var(--text-light);
  font-size: 1.4rem;
}

.info-content strong {
  color: var(--accent-green);
  font-size: 1.5rem;
}

.instructions-panel {
  display: none;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.instructions-panel.show {
  display: flex;
}

.instruction-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(231, 76, 60, 0.12);
  border: 2px solid rgba(231, 76, 60, 0.3);
  border-radius: var(--border-radius);
  flex: 1;
}

.instruction-icon {
  font-size: 2.2rem;
}

.instruction-item p {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.6;
}

.instruction-item strong {
  color: var(--accent-red);
  font-size: 1.3rem;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 0.5rem 0.5rem 2rem 0.5rem;
  align-content: start;
}

.items-grid.hidden {
  display: none;
}

.item-card {
  background: var(--card-dark);
  border-radius: var(--border-radius);
  padding: 1.25rem 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 260px;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.item-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.item-card.mobs-theme {
  border-color: var(--accent-green);
}

.item-card.mobs-theme:hover {
  box-shadow: 0 12px 40px rgba(46, 204, 113, 0.4);
}

.item-card.potions-theme {
  border-color: var(--accent-purple);
}

.item-card.potions-theme:hover {
  box-shadow: 0 12px 40px rgba(155, 89, 182, 0.4);
}

.item-card.events-theme {
  border-color: var(--accent-red);
}

.item-card.events-theme:hover {
  box-shadow: 0 12px 40px rgba(231, 76, 60, 0.4);
}

.item-card.effects-theme {
  border-color: var(--accent-orange);
}

.item-card.effects-theme:hover {
  box-shadow: 0 12px 40px rgba(230, 126, 34, 0.4);
}

.item-card.meta-theme {
  border-color: var(--accent-blue);
}

.item-card.meta-theme:hover {
  box-shadow: 0 12px 40px rgba(52, 152, 219, 0.4);
}

.item-card.waterspray-theme,
.item-card.flash-theme,
.item-card.horror-theme,
.item-card.other-theme {
  border-color: var(--accent-green);
}

.item-card.waterspray-theme:hover,
.item-card.flash-theme:hover,
.item-card.horror-theme:hover,
.item-card.other-theme:hover {
  box-shadow: 0 12px 40px rgba(46, 204, 113, 0.4);
}

.item-card img {
  width: 100%;
  max-width: 120px;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
  flex-shrink: 0;
  display: block;
}

.item-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-light);
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.4;
}

.item-card.mobs-theme .item-title,
.item-card[data-theme="minecraft"] .item-title {
  font-family: 'Minecraft', monospace;
  font-size: 1rem;
}

.item-card[data-theme="gta"] .item-title {
  font-family: 'GTA', sans-serif;
  font-size: 1rem;
}

.item-amount {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  width: 100%;
  flex-shrink: 0;
  line-height: 1.4;
}

.item-price {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 0.5rem;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  line-height: 1.5;
}

.item-price .amount {
  color: var(--accent-green);
  font-weight: 700;
  font-size: 1.2rem;
  display: inline-block;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  pointer-events: none;
}

.modal-overlay.show {
  display: block;
  pointer-events: auto;
}


.item-modal {
  pointer-events: auto;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 1001;
  width: 90%;
  max-width: 1100px;
  max-height: 90vh;
  background: var(--card-dark);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  overflow: hidden;
}

.item-modal.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.item-modal.mobs-theme {
  border: 3px solid var(--accent-green);
  box-shadow: 0 0 60px rgba(46, 204, 113, 0.4);
}

.item-modal.potions-theme {
  border: 3px solid var(--accent-purple);
  box-shadow: 0 0 60px rgba(155, 89, 182, 0.4);
}

.item-modal.events-theme {
  border: 3px solid var(--accent-red);
  box-shadow: 0 0 60px rgba(231, 76, 60, 0.4);
}
.modal-container::-webkit-scrollbar {
  width: 8px;
}

.modal-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.modal-container::-webkit-scrollbar-thumb {
  background: var(--accent-green);
  border-radius: 10px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
  background: #27ae60; 
}
.modal-close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  background: var(--accent-red);
  transform: rotate(90deg) scale(1.1);
}

.modal-container {
  padding: 2.5rem;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-color);
}

.modal-header h2 {
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
}

.item-modal.mobs-theme .modal-header h2 {
  font-family: 'Minecraft', monospace;
  color: var(--accent-green);
}

.item-modal.effects-theme .modal-header h2 {
  font-family: 'GTA', sans-serif;
  color: var(--accent-orange);
}

.modal-category {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  font-size: 1.2rem;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 1.3rem;
}

.info-row .label {
  color: var(--text-muted);
}

.info-row .value {
  font-weight: 600;
}

.price-value {
  color: var(--accent-green);
  font-size: 1.8rem;
  font-weight: 700;
}

.modal-description {
  padding: 1.5rem 0;
  line-height: 2;
  color: var(--text-light);
  font-size: 1.2rem;
}

.modal-note {
  padding: 1.25rem;
  background: rgba(231, 76, 60, 0.12);
  border-radius: var(--border-radius-sm);
  border-right: 4px solid var(--accent-red);
  font-size: 1.2rem;
  line-height: 1.7;
}

.modal-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  min-height: 380px;
}

.modal-media img,
.modal-media video {
  max-width: 100%;
  max-height: 450px;
  border-radius: var(--border-radius-sm);
}

.modal-media video {
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.modal-donate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--accent-green), #27ae60);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-family: 'Yekan', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(46, 204, 113, 0.4);
}

.modal-donate-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(46, 204, 113, 0.6);
  color: white;
}

.modal-donate-btn .donate-icon {
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .app-container { height: 100vh; overflow: hidden; }
  .banner { flex-shrink: 0; }
  .banner img { max-height: 16vh; min-height: 90px; object-fit: cover; }
  .main-content { flex-direction: column; overflow: hidden; }
  
  .desktop-categories {
    display: none;
  }
  .sidebar {
    width: 100%;
    flex-shrink: 0;
    border-left: none;
    border-bottom: 2px solid var(--border-color);
    overflow: visible;
    background: var(--sidebar-bg);
  }

  .category-nav {
    display: flex;
    flex-direction: column;
    overflow: visible;
    padding: 0.5rem 0.75rem;
    gap: 0.25rem;
  }

  .nav-header { display: none; }
  
  .mobile-category-row-wrapper {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    width: 100%;
  }
  
  
  .mobile-category-row-wrapper .category-group {
    display: flex;
    flex: 1;
    margin: 0;
    padding: 0;
    background: transparent;
  }
  
  .mobile-category-row-wrapper .category-btn {
    flex: 1;
    min-width: auto;
    padding: 0.8rem 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
    margin: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    justify-content: center;
    gap: 0.4rem;
    color: var(--text-light);
  }
  
  
  .mobile-category-row-wrapper .category-btn:hover {
    background: rgba(46, 204, 113, 0.15);
  }

  .mobile-category-row-wrapper .category-btn.active {
    background: var(--accent-green);
    color: white;
    border-color: var(--accent-green);
  }
  
  .mobile-category-row-wrapper .category-btn .btn-icon {
    font-size: 1.1rem;
    margin-right: 0.4rem;
    opacity: 0.8;
  }
  .mobile-category-row-wrapper .category-btn.active .btn-icon {
    opacity: 1;
  }
  .mobile-categories {
    display: flex;
    flex: 2;
  }
  
  .mobile-category-row {
    display: flex;
    gap: 0.5rem;
    flex: 1;
  }
  
  .mobile-cat-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-light);
    font-family: 'Yekan', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
  }
  
  .mobile-cat-btn img {
    width: 18px;
    height: 18px;
  }
  
  .mobile-cat-btn.active {
    background: var(--accent-green);
    color: white;
    border-color: var(--accent-green);
  }
  
  .mobile-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.5rem 0 0.25rem 0;
    width: 100%;
  }
  
  .mobile-subcategories.hidden {
    display: none !important;
  }
  
  .mobile-subcategories .subcategory-btn {
    width: auto;
    min-width: auto;
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.25);
    border-radius: 20px;
    white-space: nowrap;
    color: var(--text-light);
    font-family: 'Yekan', sans-serif;
    font-weight: 400;
  }

  .mobile-subcategories .subcategory-btn:hover {
    background: rgba(46, 204, 113, 0.25);
  }
  
  .mobile-subcategories .subcategory-btn.active {
    background: var(--accent-green);
    color: white;
    border-color: var(--accent-green);
  }

  .sidebar-footer { display: none; }
  
  .content-area { 
    padding: 0.75rem; 
    overflow-y: auto; 
    overflow-x: hidden; 
    flex: 1; 
  }
  
  .welcome-page { padding: 0.5rem 0.25rem; }
  .welcome-content { padding: 0.5rem 0 4rem 0; }
  .welcome-icon img { width: 100px; height: 100px; padding: 10px; }
  .welcome-title { font-size: 1.6rem; margin-bottom: 1rem; }
  .welcome-description { font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.6; }
  .welcome-cta { margin-bottom: 1.5rem; }
  .cta-button { padding: 0.9rem 1.25rem; font-size: 1rem; min-width: 100%; }
  .cta-button.primary img { width: 30px; height: 30px; }
  .welcome-features { gap: 0.75rem; margin-bottom: 1.5rem; }
  .feature-card { padding: 1rem; }
  .feature-icon { font-size: 2rem; margin-bottom: 0.5rem; }
  .feature-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
  .feature-card p { font-size: 0.85rem; }
  .welcome-link { padding: 1rem; margin-bottom: 3rem; }
  .welcome-link p { font-size: 1rem; }
  .reymit-link { font-size: 1rem; padding: 0.5rem 0.75rem; }

  .info-banner { 
    padding: 0.65rem 0.75rem; 
    margin-bottom: 0.65rem; 
  }
  
  .info-content p { 
    font-size: 0.9rem; 
  }
  
  .info-content strong { 
    font-size: 1rem; 
  }
  
  .instructions-panel { 
    flex-direction: column; 
    gap: 0.5rem; 
    margin-bottom: 0.65rem;
  }
  
  .instruction-item { 
    padding: 0.65rem; 
  }
  
  .instruction-icon { 
    font-size: 1.3rem; 
  }
  
  .instruction-item p { 
    font-size: 0.85rem; 
  }
  
  .instruction-item[data-instruction="default"] {
    display: none !important;
  }
  
  .items-grid { 
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    gap: 0.65rem; 
    padding: 0.25rem 0.25rem 8rem 0.25rem;
  }
  
  .item-card { 
    padding: 0.65rem 0.4rem 0.9rem 0.4rem; 
    min-height: 200px;
  }
  .item-card img { max-width: 65px; margin-bottom: 0.4rem; }
  .item-title { font-size: 0.8rem; margin-bottom: 0.2rem; }
  .item-amount { font-size: 0.7rem; margin-bottom: 0.2rem; }
  .item-price { font-size: 0.8rem; padding-top: 0.4rem; }
  .item-price .amount { font-size: 0.95rem; }

  .item-modal { width: 95%; max-height: 95vh; }
  .modal-container { padding: 1rem; }
  .modal-header { margin-bottom: 1rem; padding-bottom: 0.75rem; }
  .modal-header h2 { font-size: 1.4rem; }
  .modal-category { font-size: 0.9rem; padding: 0.25rem 1rem; }
  .modal-body { grid-template-columns: 1fr; gap: 1rem; }
  .modal-media { min-height: 180px; padding: 0.75rem; }
  .modal-media img, .modal-media video { max-height: 250px; }
  .info-row { font-size: 0.95rem; padding: 0.5rem 0; }
  .price-value { font-size: 1.2rem; }
  .modal-description { font-size: 0.9rem; padding: 0.5rem 0; line-height: 1.6; }
  .modal-note { font-size: 0.85rem; padding: 0.65rem; }
  .modal-close { width: 40px; height: 40px; font-size: 1.5rem; top: 0.75rem; left: 0.75rem; }
  
  .modal-donate-btn {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
  }
  
  .modal-donate-btn .donate-icon {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .items-grid { gap: 0.5rem; }
  .item-card { padding: 0.6rem 0.4rem 1rem 0.4rem; min-height: 200px; }
  .item-card img { max-width: 60px; margin-bottom: 0.4rem; }
  .item-title { font-size: 0.75rem; margin-bottom: 0.2rem; }
  .item-amount { font-size: 0.7rem; }
  .item-price { font-size: 0.75rem; padding-top: 0.4rem; }
  .item-price .amount { font-size: 0.9rem; }
  .content-area { padding: 0.5rem; }
  .info-content p { font-size: 0.9rem; }
  .info-content strong { font-size: 1rem; }
  .reymit-link { font-size: 1rem; padding: 0.5rem 0.75rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .sidebar { width: 280px; }
  .welcome-title { font-size: 2.5rem; }
  .welcome-features { gap: 1.25rem; }
  .cta-button { min-width: 250px; padding: 1.25rem 2rem; font-size: 1.2rem; }
  .items-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .item-card { padding: 1rem 0.75rem; min-height: 240px; }
  .item-card img { max-width: 100px; }
  .item-title { font-size: 1rem; }
  .item-amount { font-size: 0.85rem; }
  .item-price { font-size: 0.95rem; }
  .item-price .amount { font-size: 1.1rem; }
}

@media (min-width: 1025px) and (max-width: 1399px) {
  .items-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  .item-card { padding: 1.25rem 0.75rem; min-height: 260px; }
  .item-card img { max-width: 120px; }
  .item-title { font-size: 1.1rem; }
  .item-price .amount { font-size: 1.2rem; }
}

@media (min-width: 1400px) {
  .items-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
  .item-card { padding: 1.5rem 1rem; min-height: 280px; }
  .item-card img { max-width: 140px; }
  .item-title { font-size: 1.3rem; }
  .item-card.mobs-theme .item-title,
  .item-card[data-theme="minecraft"] .item-title,
  .item-card[data-theme="gta"] .item-title { font-size: 1.2rem; }
  .item-amount { font-size: 1rem; }
  .item-price { font-size: 1.1rem; }
  .item-price .amount { font-size: 1.4rem; }
}


.items-grid.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.loading-spinner .spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(46, 204, 113, 0.2);
  border-top-color: var(--accent-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-spinner p {
  color: var(--text-muted);
  font-size: 1.2rem;
  font-family: 'Yekan', sans-serif;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.item-card.skeleton {
  background: var(--card-dark);
  border: 2px solid var(--border-color);
  animation: pulse 1.5s ease-in-out infinite;
}

.item-card.skeleton .skeleton-img {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-sm);
  margin-bottom: 0.75rem;
}

.item-card.skeleton .skeleton-title {
  width: 80%;
  height: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.item-card.skeleton .skeleton-amount {
  width: 60%;
  height: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.item-card.skeleton .skeleton-price {
  width: 70%;
  height: 24px;
  background: rgba(46, 204, 113, 0.1);
  border-radius: 4px;
  margin-top: auto;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

@media (max-width: 768px) {
  .item-card.skeleton .skeleton-img {
    width: 65px;
    height: 65px;
  }
  
  .item-card.skeleton .skeleton-title {
    height: 16px;
  }
  
  .item-card.skeleton .skeleton-price {
    height: 20px;
  }
}

/* UNIVERSE RP AD BANNER */
.urp-ad-banner{
  background:linear-gradient(135deg,#0a0018,#1a0035,#0a0018);
  border:1px solid #8B00FF44;
  border-radius:8px;
  margin:1rem;
  padding:.15rem;
  position:relative;
  overflow:hidden;
}
.urp-ad-link{
  text-decoration:none;
  color:#fff;
  display:block;
  position:relative;
  z-index:1;
}
.urp-ad-glow{
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse at 30% 50%,#8B00FF22,transparent 70%);
  pointer-events:none;
}
.urp-ad-content{
  display:flex;
  align-items:center;
  gap:.8rem;
  padding:.8rem 1.2rem;
}
.urp-ad-logo{
  font-size:2rem;
  animation:float 3s ease-in-out infinite;
}
.urp-ad-text{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:.15rem;
}
.urp-ad-title{
  font-family:'Orbitron',monospace;
  font-weight:900;
  font-size:.95rem;
  letter-spacing:2px;
  color:#CC88FF;
  text-shadow:0 0 10px #8B00FF88;
}
.urp-ad-sub{
  font-size:.7rem;
  color:#AA88CC;
}
.urp-ad-btn{
  background:linear-gradient(135deg,#5500AA,#8B00FF);
  padding:.5rem 1.2rem;
  border-radius:4px;
  font-weight:700;
  font-size:.8rem;
  white-space:nowrap;
  box-shadow:0 0 15px #8B00FF44;
  transition:all .3s;
}
.urp-ad-btn:hover{
  box-shadow:0 0 25px #8B00FF88;
  transform:translateY(-1px);
}

/* SIDEBAR AD */
.urp-sidebar-ad{
  margin:1rem;
  background:linear-gradient(135deg,#0a0018,#1a0035);
  border:1px solid #8B00FF33;
  border-radius:6px;
  overflow:hidden;
  transition:border-color .3s,box-shadow .3s;
}
.urp-sidebar-ad:hover{
  border-color:#8B00FF88;
  box-shadow:0 0 15px #8B00FF33;
}
.urp-sidebar-ad a{
  text-decoration:none;
  color:#fff;
  display:block;
  padding:.7rem .9rem;
}
.urp-sidebar-content{
  display:flex;
  align-items:center;
  gap:.6rem;
}
.urp-sidebar-icon{
  font-size:1.4rem;
}
.urp-sidebar-text{
  display:flex;
  flex-direction:column;
  gap:.1rem;
}
.urp-sidebar-title{
  font-weight:700;
  font-size:.78rem;
  color:#CC88FF;
}
.urp-sidebar-sub{
  font-size:.65rem;
  color:#AA88CC;
}

.urp-cta-btn{
  display:flex;
  align-items:center;
  gap:.8rem;
  padding:.8rem 1.2rem;
  background:linear-gradient(135deg,#0a0018,#1a0035);
  border:1px solid #8B00FF44;
  border-radius:8px;
  text-decoration:none;
  transition:all .3s;
  margin-top:.5rem;
  margin-bottom:1.5rem;
}
.urp-cta-btn:hover{
  border-color:#8B00FF;
  box-shadow:0 0 20px #8B00FF33;
  transform:translateY(-1px);
}
.urp-cta-icon{
  font-size:1.8rem;
  flex-shrink:0;
}
.urp-cta-info{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:.1rem;
}
.urp-cta-title{
  font-weight:700;
  font-size:.9rem;
  color:#CC88FF;
}
.urp-cta-sub{
  font-size:.7rem;
  color:#AA88CC;
}
.urp-cta-arrow{
  font-size:1.2rem;
  opacity:.6;
  transition:opacity .3s;
}
.urp-cta-btn:hover .urp-cta-arrow{
  opacity:1;
}