body {
    background: linear-gradient(120deg, #18191c 0%, #23272f 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        135deg,
        rgba(0,255,136,0.04) 0px,
        rgba(0,255,136,0.04) 2px,
        transparent 2px,
        transparent 40px
    );
    opacity: 0.7;
}
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 10%, #00ff8840 0, transparent 60%),
                radial-gradient(circle at 10% 90%, #ff73fa33 0, transparent 70%);
    z-index: 0;
    pointer-events: none;
}
.game-page, .categories-section, .products-grid {
    position: relative;
    z-index: 1;
}

.categories-section {
    padding: 32px 0 0 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-bottom: 36px;
    justify-items: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.category-card {
    background: rgba(24, 25, 28, 0.98);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,255,136,0.10);
    padding: 22px 12px 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.18s, box-shadow 0.18s;
    border: 2px solid transparent;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 260px;
}
.category-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 32px #00ff8855;
    border-color: #00ff88;
}

.category-image img, .category-icon i {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 12px;
    background: #23272f;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px #00ff8833;
}
.category-icon i {
    font-size: 2.8rem;
    color: #00ff88;
    background: none;
    box-shadow: none;
}

.category-card h3 {
    color: #fff;
    font-size: 1.13rem;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 32px;
    margin-bottom: 32px;
    justify-items: center;
}

.product-card {
    background: rgba(24, 25, 28, 0.98);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,255,136,0.10);
    padding: 18px 14px 16px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.18s, box-shadow 0.18s;
    border: 2px solid transparent;
    min-height: 370px;
    position: relative;
    width: 100%;
    max-width: 340px;
}
.product-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 32px #00ff8855;
    border-color: #00ff88;
    z-index: 2;
}

.product-image {
    width: 140px;
    height: 140px;
    background: #23272f;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s;
}
.product-image:hover img {
    transform: scale(1.08);
}
.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff88;
    font-size: 2.5rem;
    background: #23272f;
}

.product-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    align-items: stretch;
    justify-content: flex-end;
}

.product-description {
    color: #fcfcfc;
    font-size: 0.98rem;
    min-height: 2.2em;
    margin-bottom: 8px;
    background: rgb(32, 32, 32);
}

.price {
    color: #00ff88;
    font-size: 1.18rem;
    font-weight: bold;
    margin-bottom: 6px;
    margin-top: 0;
}

.btn-pix, .btn-buy {
    background: linear-gradient(45deg, #00ff88, #ff73fa);
    color: #18191c;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s;
    box-shadow: 0 2px 8px #00ff8833;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}
.btn-pix {
    border-radius: 7px;
    background: linear-gradient(45deg, #00ff88, #ff73fa);
    color: #18191c;
    border: 2px solid #fff;
    padding: 10px 0;
    font-weight: 700;
    font-size: 1.08rem;
    box-shadow: 0 2px 12px #00ff8855;
    transition: background 0.18s, box-shadow 0.18s, border-color 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    width: 100%;
}
.btn-pix:hover {
    background: linear-gradient(45deg, #ff73fa, #00ff88);
    border-color: #ff73fa;
    box-shadow: 0 4px 16px #ff73fa55;
}

.btn-pix img {
    background: #fff;
    border-radius: 5px;
    padding: 2px;
    height: 20px !important;
    width: 20px !important;
    box-shadow: 0 2px 8px #00ff8855;
    margin-right: 8px;
    vertical-align: middle;
    transition: box-shadow 0.2s;
}
.btn-pix:hover img {
    box-shadow: 0 4px 16px #ff73fa88;
}

.btn-buy {
    border-radius: 7px !important;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 2px solid #23272f;
    padding: 10px 0;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: none;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    width: 100%; 
}
.btn-buy:hover {
    background: rgba(0,255,136,0.10);
    color: #00ff88;
    border-color: #00ff88;
}

.close-products {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #ff73fa;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 3;
}

@media (max-width: 900px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 18px;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 18px;
    }
    .product-card {
        min-height: 320px;
        padding: 12px 6px 12px 6px;
    }
    .category-card {
        min-height: 140px;
        padding: 12px 6px 10px 6px;
    }
    .product-image {
        width: 80px;
        height: 80px;
    }
    .category-image img, .category-icon i {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 600px) {
    .categories-section {
        padding: 16px 0 0 0;
    }
    .products-grid {
        gap: 10px;
    }
    .categories-grid {
        gap: 10px;
    }
}