body {
    background: #111;
    color: white;
    font-family: Arial;
    text-align: center;
}


header {
    padding: 20px;
}


h1 {
    color: #ffcc00;
}


.shop {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
}


.item {
    background: #222;
    border-radius: 15px;
    padding: 15px;
}


.item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}


.godly {
    color: #ff55ff;
    font-weight: bold;
}


button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: #ffcc00;
}
.item {
    background: #1b1b1b;
    border: 1px solid #333;
    transition: 0.3s;
}

.item:hover {
    transform: translateY(-5px);
    border-color: #ffcc00;
}

.item p:nth-of-type(2) {
    color: #00ff88;
    font-size: 18px;
    font-weight: bold;
}

button {
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    transform: scale(1.05);
}
header {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 20px;
    margin: 15px;
}

header p {
    color: #aaa;
}
.stock {
    color: #00ff88;
    font-weight: bold;
}

.price {
    color: #ffcc00;
    font-size: 18px;
    font-weight: bold;
}
button {
    background: #ffcc00;
    color: black;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: white;
    transform: scale(1.05);
}

.item a {
    text-decoration: none;
}
.categories {
    margin: 20px 10px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.categories button {
    min-width: 100px;
}
.light {
    background: #f5f5f5;
    color: black;
}

.light .item {
    background: white;
    border-color: #ddd;
}

.light header {
    background: white;
}

.light header p {
    color: #555;
}
.cart {
    background: #222;
    margin: 20px;
    padding: 20px;
    border-radius: 15px;
}

.cart h2 {
    color: #ffcc00;
}
#cartBtn {
    width: 150px;
    margin: 15px;
    background: #ffcc00;
    color: black;
    font-weight: bold;
}
.cart {
    background: #222;
    margin: 20px;
    padding: 20px;
    border-radius: 15px;
}
/* Анимация карточек */
.item {
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

.item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.25);
}

/* Плавное появление карточек */
.item {
    animation: showItem 0.5s ease;
}

@keyframes showItem {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Картинка немного увеличивается */
.item img {
    transition: 0.3s ease;
}

.item:hover img {
    transform: scale(1.1);
}
/* Свечение Godly карточек */
.item:has(.godly) {
    border: 1px solid #ff55ff;
    box-shadow: 0 0 15px rgba(255, 85, 255, 0.25);
}

.item:has(.godly):hover {
    box-shadow: 
        0 0 20px rgba(255, 85, 255, 0.5),
        0 0 40px rgba(255, 204, 0, 0.3);
}

/* Красивое свечение текста Godly */
.godly {
    text-shadow: 0 0 10px #ff55ff;
}
/* Перелив Godly */
.item:has(.godly) {
    position: relative;
    overflow: hidden;
}

.item:has(.godly)::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.35),
        transparent
    );
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}


@keyframes shine {

    0% {
        left: -100%;
    }

    50%, 100% {
        left: 150%;
    }

}