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

      body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background: linear-gradient(135deg, #87CEEB, #98FB98, #F0E68C, #FFB6C1);
        background-size: 400% 400%;
        animation: gradientShift 20s ease infinite;
        color: #333;
        min-height: 100vh;
      }

      @keyframes gradientShift {
        0% {
          background-position: 0% 50%;
        }

        25% {
          background-position: 100% 0%;
        }

        50% {
          background-position: 100% 100%;
        }

        75% {
          background-position: 0% 100%;
        }

        100% {
          background-position: 0% 50%;
        }
      }

      header {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 1.5rem;
        position: sticky;
        top: 0;
        z-index: 100;
      }

      .header-content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
      }

      .site-title {
        font-size: 2.2rem;
        font-weight: bold;
        color: white;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }

      .pokeball-icon {
        width: 60px;
        height: 60px;
        background: white;
        border: 4px solid #333;
        border-radius: 50%;
        position: relative;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
        overflow: hidden;
        animation: bounce 2s infinite;
      }

      /* Top red half */
      .pokeball-icon::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 50%;
        background: linear-gradient(to bottom, #ff1c1c, #cc0000);
      }

      /* Black horizontal line */
      .pokeball-icon::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 6px;
        background: #333;
        transform: translateY(-50%);
        z-index: 1;
      }

      /* Center white button */
      .pokeball-button {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 16px;
        height: 16px;
        background: white;
        border: 3px solid #333;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.4);
      }

      /* Bounce animation */
      @keyframes bounce {

        0%,
        100% {
          transform: translateY(0);
        }

        50% {
          transform: translateY(-10px);
        }
      }

      .social-section {
        display: flex;
        align-items: center;
        gap: 1rem;
      }

      .discord-invite, .reddit-link {
        color: white;
        padding: 0.75rem 1.5rem;
        border-radius: 25px;
        text-decoration: none;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
      }

      .discord-invite {
        background: linear-gradient(45deg, #5865f2, #7289da);
        box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
      }

      .discord-invite:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
      }

      .reddit-link {
        background: linear-gradient(45deg, #ff4500, #ff6a1a);
        box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
      }

      .reddit-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
      }

      .social-icon {
        width: 20px;
        height: 20px;
      }

      .pokemon-town-icon {
        width: 60px;
        height: 60px;
        background-image: url('img/logo.png');
        /* Make sure the path matches your setup */
        background-size: cover;
        background-position: center;
        border-radius: 12px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        animation: bounce 2s infinite;
      }

      main {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 30px;
        max-width: 1200px;
        margin: 2rem auto;
        padding: 3rem;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.2);
      }

      .section-title {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 3rem;
        background: linear-gradient(45deg, #2E8B57, #228B22, #32CD32);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: bold;
      }

      .stats-bar {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 3rem;
        flex-wrap: wrap;
      }

      .stat-item {
        background: linear-gradient(45deg, #ff6b6b, #ee5a24);
        color: white;
        padding: 1rem 2rem;
        border-radius: 20px;
        text-align: center;
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
        animation: float 3s ease-in-out infinite;
      }

      .stat-item:nth-child(2) {
        background: linear-gradient(45deg, #4ecdc4, #44a08d);
        animation-delay: -1s;
      }

      .stat-item:nth-child(3) {
        background: linear-gradient(45deg, #a8edea, #fed6e3);
        color: #333;
        animation-delay: -2s;
      }

      .stat-number {
        font-size: 1.8rem;
        font-weight: bold;
        display: block;
      }

      .stat-label {
        font-size: 0.9rem;
        opacity: 0.9;
      }

      @keyframes float {

        0%,
        100% {
          transform: translateY(0px);
        }

        50% {
          transform: translateY(-10px);
        }
      }

      .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 2.5rem;
      }

      .product-card {
        background: linear-gradient(145deg, #ffffff, #f8f9fa);
        border-radius: 25px;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
        position: relative;
        border: 1px solid rgba(255, 255, 255, 0.8);
        display: flex;
        flex-direction: column;
        height: 100%;
      }

      .product-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(145deg, transparent, rgba(255, 255, 255, 0.1));
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
      }

      .product-card:hover {
        transform: translateY(-8px) rotate(1deg);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
      }

      .product-card:hover::before {
        opacity: 1;
      }

      .product-image-container {
        position: relative;
        height: 220px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #E6F3FF, #F0F8E6);
        overflow: hidden;
        flex-shrink: 0;
      }

      .product-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        transition: transform 0.3s ease;
        background: linear-gradient(to bottom, #F8FCFF, #F4F9F4);
        padding: 0.5rem;
      }

      .product-card:hover .product-image {
        transform: scale(1.05);
      }

      .countdown-overlay {
        position: absolute;
        top: 15px;
        right: 15px;
        background: linear-gradient(45deg, #ff4757, #ff6b7a);
        color: white;
        padding: 8px 16px;
        border-radius: 25px;
        font-size: 0.85rem;
        font-weight: bold;
        box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
      }

      .countdown-overlay.urgent {
        background: linear-gradient(45deg, #ffa502, #ff7675);
        animation: urgentPulse 2s infinite;
        box-shadow: 0 4px 15px rgba(255, 165, 2, 0.4);
      }

      .countdown-overlay.tbd {
        background: linear-gradient(45deg, #7f8c8d, #95a5a6);
        font-style: italic;
        box-shadow: 0 4px 15px rgba(127, 140, 141, 0.4);
      }

      @keyframes urgentPulse {
        0% {
          transform: scale(1) rotate(0deg);
        }

        50% {
          transform: scale(1.1) rotate(2deg);
        }

        100% {
          transform: scale(1) rotate(0deg);
        }
      }

      .product-info {
        padding: 1.5rem 2rem 2rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
      }

      .product-title {
        font-size: 1.3rem;
        font-weight: bold;
        margin-bottom: 0.75rem;
        color: #2c3e50;
        line-height: 1.4;
        min-height: 3.5rem;
        display: flex;
        align-items: flex-start;
      }

      .product-date {
        font-size: 1rem;
        color: #7f8c8d;
        margin-bottom: auto;
        font-weight: 500;
        padding-bottom: 1rem;
      }

      .product-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: auto;
      }

      .product-type,
      .product-price {
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 0.85rem;
        color: white;
        font-weight: 600;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      }

      .product-type {
        background: linear-gradient(45deg, #667eea, #764ba2);
      }

      .product-price {
        background: linear-gradient(45deg, #ff6b6b, #ee5a24);
      }

      .product-price.tba {
        background: linear-gradient(45deg, #95a5a6, #7f8c8d);
      }

      .notification-bar {
        background: linear-gradient(90deg, #667eea, #764ba2);
        color: white;
        padding: 1.2rem 2rem;
        text-align: center;
        margin: 2rem 0 0 0;
        border-radius: 25px;
        font-weight: 500;
        line-height: 1.5;
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
      }

      footer {
        text-align: center;
        padding: 3rem 0;
        color: white;
        font-size: 1rem;
        opacity: 0.9;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
      }

      @media (max-width: 768px) {
        .header-content {
          justify-content: center;
          text-align: center;
        }

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

        .social-section {
          justify-content: center;
          width: 100%;
          flex-wrap: wrap;
        }

        .discord-invite, .reddit-link {
          padding: 0.6rem 1.2rem;
          font-size: 0.9rem;
        }

        main {
          margin: 1rem;
          padding: 2rem 1.5rem;
        }

        .section-title {
          font-size: 2rem;
        }

        .stats-bar {
          gap: 1rem;
          margin-bottom: 2rem;
        }

        .stat-item {
          padding: 0.75rem 1rem;
          flex: 1;
          min-width: 100px;
        }

        .stat-number {
          font-size: 1.5rem;
        }

        .products-grid {
          grid-template-columns: 1fr;
          gap: 1.5rem;
        }

        .product-card {
          margin: 0 auto;
          max-width: 100%;
        }

        .product-image-container {
          height: 200px;
        }

        .product-info {
          padding: 1.25rem 1.5rem 1.75rem;
        }

        .product-title {
          font-size: 1.1rem;
          line-height: 1.4;
          min-height: 3rem;
        }

        .product-tags {
          gap: 8px;
        }

        .product-type,
        .product-price {
          padding: 6px 12px;
          font-size: 0.8rem;
        }

        .notification-bar {
          margin: 2rem 0 0 0;
          padding: 1rem 1.5rem;
          font-size: 0.9rem;
          border-radius: 20px;
        }
      }

      @media (max-width: 480px) {
        .site-title {
          font-size: 1.5rem;
        }

        .social-section {
          gap: 0.5rem;
        }

        .discord-invite, .reddit-link {
          padding: 0.5rem 1rem;
          font-size: 0.8rem;
          flex: 1;
        }

        main {
          padding: 1.5rem 1rem;
        }

        .section-title {
          font-size: 1.8rem;
          margin-bottom: 2rem;
        }

        .stats-bar {
          flex-direction: row;
          gap: 0.5rem;
        }

        .stat-item {
          padding: 0.5rem 0.75rem;
          min-width: 80px;
        }

        .stat-number {
          font-size: 1.3rem;
        }

        .stat-label {
          font-size: 0.75rem;
        }

        .product-image-container {
          height: 180px;
        }

        .product-info {
          padding: 1rem 1.25rem 1.5rem;
        }

        .product-title {
          font-size: 1rem;
          margin-bottom: 0.5rem;
          min-height: 2.5rem;
        }

        .product-date {
          font-size: 0.9rem;
          margin-bottom: 1rem;
        }

        .product-tags {
          flex-direction: column;
          gap: 6px;
        }

        .countdown-overlay {
          top: 10px;
          right: 10px;
          padding: 6px 12px;
          font-size: 0.8rem;
        }

        .notification-bar {
          padding: 0.9rem 1rem;
          font-size: 0.85rem;
          border-radius: 15px;
        }
      }

      .tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tab-button {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.tab-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.tab-button.active {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.past-releases-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.past-releases-controls label {
  font-weight: bold;
  color: #333;
  font-size: 1.1rem;
}

.custom-dropdown {
  position: relative;
  min-width: 160px;
}

.dropdown-selected {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
  transition: all 0.3s ease;
  
  backdrop-filter: blur(10px);
}

.dropdown-selected:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
  background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

.dropdown-selected.open {
  border-radius: 25px 25px 12px 12px;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
  background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

.dropdown-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  opacity: 0.8;
}

.dropdown-selected.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-radius: 12px 12px 25px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1000;
  overflow: hidden;
  margin-top: -2px;
}

.custom-dropdown.open .dropdown-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-option {
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: #333;
  transition: all 0.2s ease;
  position: relative;
}

.dropdown-option:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  color: #5a67d8;
  transform: translateX(4px);
}

.dropdown-option.active {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
  color: #5a67d8;
  font-weight: 600;
}

.dropdown-option.active::after {
  content: '✓';
  position: absolute;
  right: 1rem;
  color: #5a67d8;
  font-weight: bold;
}

.option-icon {
  font-size: 1.1rem;
}

.past-group {
  margin-bottom: 2rem;
}

.past-group h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #2E8B57, #228B22);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.past-group .products-grid {
  margin-top: 1rem;
}

/* Mobile responsive for custom dropdown */
@media (max-width: 768px) {
  .past-releases-controls {
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1.25rem 1.5rem;
  }
  
  .custom-dropdown {
    min-width: 140px;
  }
  
  .dropdown-selected {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .dropdown-option {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .past-releases-controls {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .custom-dropdown {
    width: 100%;
    max-width: 200px;
  }
}