@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap') layer(fonts);


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1419;
  --bg-tertiary: #151b26;
  --bg-card: rgba(20, 25, 35, 0.6);
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-primary: #6366f1;
  --accent-hover: #818cf8;
  --accent-secondary: #8b5cf6;
  --accent-tertiary: #ec4899;
  --accent-success: #10b981;
  --accent-warning: #f59e0b;
  --border-color: rgba(148, 163, 184, 0.1);
  --border-bright: rgba(148, 163, 184, 0.2);
  --glass-bg: rgba(15, 20, 25, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body.loading {
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
  border-left: 2px solid var(--border-color);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 0;
  box-shadow:
    0 0 10px rgba(0, 230, 255, 0.6),
    inset 0 0 5px rgba(0, 230, 255, 0.4);
}

::-webkit-scrollbar-thumb:hover {
  background: #33eeff;
  box-shadow:
    0 0 20px rgba(0, 230, 255, 0.9),
    inset 0 0 10px rgba(0, 230, 255, 0.6);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) var(--bg-primary);
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.15), transparent 50%),
              radial-gradient(ellipse at bottom right, rgba(139, 92, 246, 0.15), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  33% { transform: translateY(-20px) translateX(10px); }
  66% { transform: translateY(-10px) translateX(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

body::after {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}


.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
}

.header {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

@media (max-width: 768px) {
  .header-content {
    padding: 0.8rem 0;
  }
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  transition: color 0.3s ease;
}


.logo-link {
  color: var(--text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.3s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-image {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  line-height: 1;
}

.logo-link:hover .logo-image {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .logo-image {
    height: 40px;
  }

  .logo-text {
    font-size: 1.1rem;
  }
}

.nav {
  display: flex;
  gap: 0.5rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.1);
}

.nav-link.active {
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.15);
}

.subcategory-nav {
  background-color: var(--bg-primary);
  border-bottom: none;
  border-top: 1px solid var(--border-color);
  position: sticky;
  top: 70px;
  z-index: 90;
  padding: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  overflow: visible;
}

.product-section {
  scroll-margin-top: 240px;
  padding-top: 3rem;
}

.subcategory-links {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: visible;
  padding: 1.5rem 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) var(--bg-primary);
}

.subcategory-links::-webkit-scrollbar {
  height: 8px;
}

.subcategory-links::-webkit-scrollbar-track {
  background: var(--bg-primary);
  border-radius: 0;
  border: 1px solid var(--border-color);
}

.subcategory-links::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 0;
  box-shadow:
    0 0 10px rgba(0, 230, 255, 0.6),
    inset 0 0 5px rgba(0, 230, 255, 0.4);
}

.subcategory-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.7rem;
  white-space: nowrap;
  transition: all 0.2s ease;
  border: 2px solid var(--border-color);
  box-shadow:
    inset 0 1px 0 rgba(157, 0, 255, 0.1),
    0 0 0 rgba(157, 0, 255, 0);
}

.subcategory-link:hover {
  background-color: var(--bg-secondary);
  color: var(--accent-purple);
  border-color: var(--accent-purple);
  box-shadow:
    var(--glow-purple),
    inset 0 0 10px rgba(157, 0, 255, 0.2);
  transform: translateY(-2px);
}

.subcategory-link:active {
  transform: translateY(0);
  box-shadow:
    inset 0 2px 0 rgba(0, 0, 0, 0.5),
    0 0 5px rgba(157, 0, 255, 0.3);
}

@media (max-width: 768px) {
  .subcategory-nav {
    top: 60px;
    padding: 0.8rem 0;
  }

  .subcategory-link {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }

  .product-section {
    scroll-margin-top: 160px;
  }
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  opacity: 0.7;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 99;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-nav-link {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.875rem 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.mobile-nav-link:hover {
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.1);
}

.hero {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.2), transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}


.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.6;
  max-width: 600px;
}

.discord-notice {
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-bright);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 700px;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  position: relative;
  overflow: hidden;
}


@media (max-width: 768px) {
  .discord-notice {
    padding: 1.2rem;
    margin: 1.5rem auto;
  }
}

.discord-icon {
  width: 40px;
  height: 40px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.discord-notice strong {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

.discord-notice p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #ffffff;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  border: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

@media (max-width: 768px) {
  .discord-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    width: 100%;
    max-width: 320px;
  }
}

.discord-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.payment-methods {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background-color: #2d2d2d;
  border: 4px solid;
  border-color: #555555 #222222 #222222 #555555;
  border-radius: 0;
  max-width: 400px;
  width: fit-content;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.1),
    inset 0 -3px 0 rgba(0, 0, 0, 0.3),
    0 4px 0 rgba(0, 0, 0, 0.4);
}

.payment-label {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.payment-icons {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background-color: #3a3a3a;
  color: var(--text-secondary);
  border-radius: 0;
  font-weight: 600;
  font-size: 0.85rem;
  border: 3px solid;
  border-color: #555555 #333333 #333333 #555555;
  transition: all 0.2s ease;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.1),
    inset 0 -2px 0 rgba(0, 0, 0, 0.3),
    0 3px 0 rgba(0, 0, 0, 0.4);
}

.payment-badge:hover {
  border-color: #666666 #333333 #333333 #666666;
  color: var(--text-primary);
  background-color: #4a4a4a;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.15),
    inset 0 -3px 0 rgba(0, 0, 0, 0.4),
    0 4px 0 rgba(0, 0, 0, 0.5);
}

.icon-inline {
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  display: inline-block;
  margin-right: 0.3rem;
}

.payment-icon {
  width: auto;
  height: 64px;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.payment-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.category-card-icon svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .payment-methods {
    margin-top: 1.2rem;
    gap: 1rem;
  }

  .payment-label {
    font-size: 0.85rem;
  }

  .payment-badge {
    font-size: 0.8rem;
    padding: 0.45rem 0.9rem;
  }
}

.main {
  padding: 3rem 0;
}

@media (max-width: 768px) {
  .main {
    padding: 2rem 0;
  }
}

.category-section {
  margin-bottom: 2rem;
  padding: 3rem 0 1rem 0;
  border-bottom: 2px solid var(--border-color);
}

.category-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  text-align: center;
}

.category-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .category-section {
    padding: 2rem 0 1rem 0;
    margin-bottom: 1.5rem;
  }

  .category-title {
    font-size: 2rem;
  }

  .category-subtitle {
    font-size: 1rem;
  }
}

.product-section {
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .product-section {
    margin-bottom: 3rem;
  }
}

.popular-section {
  margin-bottom: 4rem;
  padding: 2rem 0;
}

.categories-overview {
  margin-top: 4rem;
  padding: 3rem 0;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.category-card {
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.category-card:hover {
  border-color: var(--border-bright);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.category-card-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.category-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.category-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .categories-overview {
    margin-top: 3rem;
    padding: 2rem 0;
  }

  .category-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .category-card {
    padding: 2rem 1.5rem;
  }

  .category-card-icon {
    font-size: 3rem;
  }

  .category-card h3 {
    font-size: 1.5rem;
  }
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.product-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.2);
  transform: translateY(-8px) scale(1.02);
}

.product-card:hover::before {
  opacity: 1;
}

.savings-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--accent-success), #059669);
  color: #ffffff;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.75rem;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.product-image-container {
  position: relative;
  margin-bottom: 1.25rem;
  overflow: hidden;
  border-radius: 0.75rem;
}

.product-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.product-card:hover .product-image-container::after {
  opacity: 1;
}

.product-label {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 10;
  max-width: calc(100% - 1.5rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 4px rgba(0, 0, 0, 0.9);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, filter 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.1);
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.product-image.loading {
  background: linear-gradient(
    90deg,
    rgba(99, 102, 241, 0.05) 0%,
    rgba(99, 102, 241, 0.15) 50%,
    rgba(99, 102, 241, 0.05) 100%
  );
  background-size: 1000px 100%;
  animation: shimmer 2s infinite linear;
  opacity: 1;
}

.product-image[loading="lazy"] {
  opacity: 0;
}

.product-image.loaded {
  opacity: 1;
  filter: none;
  animation: none;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.product-image.loading {
  opacity: 0.5;
  filter: blur(10px);
}

.product-image.error {
  opacity: 0.6;
  filter: grayscale(100%);
}

.product-info {
  text-align: center;
}

.product-amount {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.product-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.original-price {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.buy-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #ffffff;
  border: none;
  padding: 0.875rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.buy-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .buy-btn {
    padding: 1rem;
    font-size: 1.05rem;
    min-height: 48px;
  }
}



.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer p {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-bright);
  border-radius: 1.5rem;
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: modalSlideIn 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  padding: 0.5rem;
  border-radius: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-primary);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

.modal-header .discord-icon {
  width: 48px;
  height: 48px;
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.modal-text {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1rem;
}

@media (max-width: 968px) {
  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.5;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.2rem;
  }

  .discord-notice {
    flex-direction: column;
    text-align: center;
  }

  .main {
    padding: 2rem 0;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
    padding: 0 10px;
  }

  .hero-subtitle {
    font-size: 1rem;
    padding: 0 10px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .modal-content {
    padding: 1.5rem;
    width: 95%;
  }

  .product-card {
    padding: 1.2rem;
  }

  .product-image {
    height: 140px;
  }

  .product-amount {
    font-size: 1.3rem;
  }

  .product-price {
    font-size: 1.5rem;
  }

  .discord-notice strong {
    font-size: 1rem;
  }

  .discord-icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .product-card {
    padding: 1.5rem;
  }

  .mobile-nav-link {
    padding: 1rem;
    font-size: 1.05rem;
  }

  .discord-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .footer {
    padding: 1.5rem 0;
    font-size: 0.9rem;
  }
}

@media print {

  .header,
  .hero,
  .footer,
  .modal,
  .buy-btn {
    display: none;
  }

  body {
    background-color: white;
    color: black;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.2), transparent 70%);
  pointer-events: none;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-content {
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;
  z-index: 1;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pixelPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.loading-logo {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
  animation: pixelPulse 2s ease-in-out infinite;
  position: relative;
}

.loading-logo::before {
  content: '🎮';
  position: absolute;
  left: -3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  animation: spin 3s linear infinite;
}

.loading-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 1rem;
  transition: width 0.3s ease;
  position: relative;
}



.loading-percent {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 1rem;
}

.modded-showcase {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}

.modded-showcase .section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-align: center;
}

.modded-showcase .category-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
}

.modded-showcase-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 600px;
}

.modded-showcase-grid .product-card {
  width: 100%;
  max-width: 500px;
  padding: 3rem 2.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 2px solid var(--accent-primary);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.1);
  transform: scale(1);
  transition: all 0.4s ease;
}

.modded-showcase-grid .product-card:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 30px 80px rgba(99, 102, 241, 0.5), 0 0 0 2px var(--accent-primary);
  border-color: var(--accent-hover);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding: 2rem 0;
}

.pagination-btn {
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.pagination-btn:hover:not(:disabled) {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.pagination-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagination-btn.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.pagination-info {
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: 0 1rem;
}

.modded-showcase-grid .product-image {
  height: 300px;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 2px solid var(--border-bright);
}

.modded-showcase-grid .product-amount {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.modded-showcase-grid .product-price {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modded-showcase-grid .buy-btn {
  font-size: 1.25rem;
  padding: 1.25rem 2rem;
  margin-top: 1rem;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.modded-showcase-grid .buy-btn:hover {
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.6);
}

@media (max-width: 768px) {
  .modded-showcase .section-title {
    font-size: 2rem;
  }

  .modded-showcase .category-subtitle {
    font-size: 1rem;
  }

  .modded-showcase-grid .product-card {
    padding: 2rem 1.5rem;
  }

  .modded-showcase-grid .product-image {
    height: 200px;
  }

  .modded-showcase-grid .product-amount {
    font-size: 1.5rem;
  }

  .modded-showcase-grid .product-price {
    font-size: 2rem;
  }
}


