:root {
    --gradient-fun: linear-gradient(135deg, #60a5fa, #4f46e5);
    --gradient-useless: linear-gradient(135deg, #f472b6, #9333ea);
    --gradient-weird: linear-gradient(135deg, #2dd4bf, #059669);
    --text-primary: #f8fafc;
    --text-secondary: rgba(248, 250, 252, 0.9);
    --text-description: rgba(248, 250, 252, 0.95);
    --card-bg: rgba(255, 255, 255, 0.1);
    --card-border: rgba(255, 255, 255, 0.2);
    --card-hover-border: rgba(255, 255, 255, 0.3);
    --glass-effect: rgba(255, 255, 255, 0.1);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Biski Trial', Merriweather;
    min-height: 100vh;
    background: var(--gradient-fun);
    transition: background 1s ease;
    color: var(--text-primary);
    line-height: 1.6;
  }
  
  body[data-category="useless"] {
    background: var(--gradient-useless);
  }
  
  body[data-category="weird"] {
    background: var(--gradient-weird);
  }
  
  .container {
    max-width: 2000px;
    margin: 0 auto;
    padding: 3rem 1rem;
  }
  
  .header {
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .silly-web-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--glass-effect);
    border: 1px solid var(--card-border);
    border-radius: 9999px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    backdrop-filter: blur(12px);
  }
  
  .silly-web-button:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
  }
  
  .laugh-icon {
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  
  h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
  
  .subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
  }
  
  .category-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
  }
  
  .category-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--glass-effect);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: perspective(1000px) rotateX(5deg);
    transform-origin: bottom;
    backdrop-filter: blur(12px);
  }
  
  .category-button:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-4px);
  }
  
  .category-button.active {
    transform: perspective(1000px) rotateX(0deg) scale(1.05);
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
  }
  
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
  }
  
  .product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .product-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--card-hover-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  }
  
  .product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
  }
  
  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .product-card:hover .product-image img {
    transform: scale(1.15);
  }
  
  .product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
  }
  
  .product-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  
  .product-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.3;
  }
  
  .product-description {
    color: var(--text-description);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .buy-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--glass-effect);
    border: 1px solid var(--card-border);
    border-radius: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .buy-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
  }
  
  .buy-button svg {
    transition: transform 0.3s ease;
  }
  
  .buy-button:hover svg {
    transform: rotate(12deg);
  }
  
  .affiliate-disclosure {
    text-align: center;
    margin-top: 4rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
  }
  
  @media (max-width: 640px) {
    .container {
      padding: 2rem 1rem;
    }
  
    .product-image {
      height: 220px;
    }
  
    .product-content {
      padding: 1.25rem;
    }
  
    .product-title {
      font-size: 1.25rem;
    }
  
    .category-button {
      padding: 0.75rem 1.5rem;
      font-size: 0.875rem;
    }
  }
  
  @media (min-width: 641px) and (max-width: 1024px) {
    .product-image {
      height: 260px;
    }
  }