* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

body::before,
body::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle closest-side, transparent 0%, rgba(226, 43, 43, 0.4) 70%, transparent 100%);
    animation: glow 50s linear infinite;
    z-index: 1;
}

body::after {
    top: auto;
    bottom: -50%;
    left: auto;
    right: -50%;
}

@keyframes glow {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(2);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

.big-title {
    font-size: 36px;
    margin-bottom: 20px;
    z-index: 2; 
}

.product-box {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 2; 
}

.product-box:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    transform: scale(1.05);
}

.bg {
    width: 100%;
    height: 50%;
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.item-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
}

.item-info {
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.item-name {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ffffff;
}

.buy-btn {
    position: relative;
    background-color: transparent;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid #ffffff;
    border-radius: 4px;
    text-transform: uppercase;
    outline: none;
    overflow: hidden;
    z-index: 2; 
    transition: color 0.3s ease;
}

.buy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, transparent, rgba(139, 11, 11, 0.8));
    transition: left 0.3s ease;
    z-index: -1;
}

.buy-btn:hover::before {
    left: 0;
    color: #1a1a1a;
}