body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0c0c0c, #1a1a2e, #16213e, #0f3460);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
    color: #fff;
    overflow-x: hidden;
    perspective: 1000px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
}

.logo img {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
}

main {
    padding: 20px;
}

section {
    margin-bottom: 40px;
    transform-style: preserve-3d;
    animation: float3D 6s ease-in-out infinite;
}

/* Galaxy theme elements */
.hourglass {
    position: absolute;
    width: 50px;
    height: 80px;
    background: url('hourglass.png') no-repeat center;
    opacity: 0.3;
}

.rose-petal {
    position: absolute;
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #ff69b4, #9370db, #00bfff);
    border-radius: 50%;
    opacity: 0.5;
    animation: drip 5s infinite;
}

@keyframes drip {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float3D {
    0%, 100% { transform: translateY(0) rotateX(0deg); }
    50% { transform: translateY(-10px) rotateX(5deg); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 69, 184, 0.5); }
    50% { box-shadow: 0 0 40px rgba(255, 69, 184, 0.8); }
}

/* Add multiple elements via JS */

/* Product Styles */
.product-item {
    display: inline-block;
    margin: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    animation: pulseGlow 3s ease-in-out infinite;
    transform: translateZ(20px);
}

.product-item img {
    max-width: 150px;
    border-radius: 5px;
}

.product-item button {
    background: linear-gradient(45deg, #ff69b4, #9370db);
    border: none;
    padding: 5px 10px;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s;
}

.product-item button:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
}