* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: #333;
}

/* HEADER */
.header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header h1 {
    font-size: 3em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2em;
    color: #7f8c8d;
}

/* GRID */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* CARD */
.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* 🔥 UPDATED IMAGE FOR 1500 x 2100 */
.card-image {
    width: 100%;
    aspect-ratio: 5 / 7; /* 1500 : 2100 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

/* IMAGE ANIMATIONS */
.card1 .card-image:hover { animation: shake 0.5s ease-in-out; }
.card2 .card-image:hover { animation: rotate 0.5s ease-in-out; }
.card3 .card-image:hover { animation: bounce 0.5s ease-in-out; }
.card4 .card-image:hover { animation: flip 0.5s ease-in-out; }
.card5 .card-image:hover { animation: pulse 0.5s ease-in-out; }
.card6 .card-image:hover { animation: slide 0.5s ease-in-out; }
.card7 .card-image:hover { animation: zoom 0.5s ease-in-out; }
.card8 .card-image:hover { animation: wiggle 0.5s ease-in-out; }
.card9 .card-image:hover { animation: glow 0.5s ease-in-out; }
.card10 .card-image:hover { animation: tilt 0.5s ease-in-out; }

/* KEYFRAMES */
@keyframes shake {
    0%, 100% { transform: scale(1.05) translateX(0); }
    25% { transform: scale(1.05) translateX(-5px); }
    50% { transform: scale(1.05) translateX(5px); }
    75% { transform: scale(1.05) translateX(-5px); }
}

@keyframes rotate {
    0% { transform: scale(1.05) rotate(0deg); }
    100% { transform: scale(1.05) rotate(10deg); }
}

@keyframes bounce {
    0%, 100% { transform: scale(1.05) translateY(0); }
    50% { transform: scale(1.05) translateY(-10px); }
}

@keyframes flip {
    0% { transform: scale(1.05) rotateY(0deg); }
    100% { transform: scale(1.05) rotateY(180deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes slide {
    0% { transform: scale(1.05) translateX(0); }
    100% { transform: scale(1.05) translateX(10px); }
}

@keyframes zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

@keyframes wiggle {
    0%, 100% { transform: scale(1.05) rotate(0deg); }
    25% { transform: scale(1.05) rotate(-5deg); }
    75% { transform: scale(1.05) rotate(5deg); }
}

@keyframes glow {
    0% { transform: scale(1.05); filter: brightness(1); }
    100% { transform: scale(1.05); filter: brightness(1.2); }
}

@keyframes tilt {
    0% { transform: scale(1.05) rotateX(0deg); }
    100% { transform: scale(1.05) rotateX(15deg); }
}

/* CONTENT */
.card-content {
    padding: 25px;
    text-align: center;
}

.card-category {
    font-size: 0.9em;
    color: #3498db;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.card-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.card-rating {
    color: #f39c12;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.card-rating span {
    color: #95a5a6;
    font-size: 0.8em;
}

.card-price {
    font-size: 1.4em;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 20px;
}

.card-price .old-price {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 0.9em;
    margin-right: 10px;
}

/* BUTTON */
.card-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #151450 0%, #23228a 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.card:hover .card-btn {
    opacity: 1;
    transform: translateY(0);
}

.card-btn:hover {
    background: linear-gradient(45deg, #2980b9, #21618c);
    transform: scale(1.05);
}

/* BADGES */
.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    z-index: 2;
}

.card-wishlist {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #e74c3c;
    font-size: 1.5em;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.card-wishlist:hover {
    transform: scale(1.2);
}

/* FOOTER */
.footer {
    padding: 20px;
    background: linear-gradient(135deg, #151450 0%, #23228a 100%);
    color: #fff;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

/* MOBILE */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .header h1 {
        font-size: 2em;
    }
}
