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;
}

/* Melting/Dripping Letters */
.melting-text {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: #ff00ff; /* Neon for ladies */
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
    animation: melt 2s infinite;
}

.melting-text.mens {
    font-family: 'UniqueFont', sans-serif; /* Custom font for mens/boys */
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
}

@keyframes melt {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.1) skewX(5deg); }
}

/* Magical Electricity Flow */
.product-item {
    position: relative;
    overflow: hidden;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 0, 255, 0.1), transparent);
    animation: electricity 3s infinite;
    pointer-events: none;
}

@keyframes electricity {
    0%, 100% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 1; transform: translateX(100%); }
}
}

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 */
#products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    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);
    max-width: 200px;
}

.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);
}

input:focus {
    outline: 2px solid #fff;
}

nav a:focus {
    outline: 2px solid #fff;
}

/* Supreme Mobile-Responsive Design & PWA Styles */

/* Mobile-First Approach */
@media (max-width: 480px) {
    body {
        font-size: 14px;
        line-height: 1.4;
    }

    header {
        flex-direction: column;
        padding: 15px;
        position: relative;
    }

    .logo img {
        height: 40px;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        margin-top: 15px;
    }

    nav a {
        font-size: 16px;
        padding: 8px 16px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    nav a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }

    main {
        padding: 15px;
    }

    .product-item {
        max-width: 100%;
        margin: 10px 0;
        padding: 15px;
    }

    .product-item img {
        max-width: 120px;
        height: auto;
    }

    .product-item button {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        margin-top: 10px;
    }

    /* Touch-friendly buttons */
    button, .btn, input[type="submit"] {
        min-height: 44px;
        min-width: 44px;
    }

    /* Chat interface mobile */
    .chat-messages {
        max-height: 300px;
    }

    .chat-input input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px;
    }

    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav a {
        font-size: 14px;
        padding: 6px 12px;
    }

    .product-item {
        max-width: calc(50% - 20px);
        margin: 10px;
    }

    /* Grid layouts for tablets */
    #products {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (min-width: 769px) {
    /* Desktop enhancements */
    .product-item:hover {
        transform: translateY(-5px) scale(1.02);
        transition: all 0.3s ease;
    }

    nav a:hover {
        text-shadow: 0 0 10px #00ffff;
    }
}

/* PWA Specific Styles */
#pwa-install-btn {
    display: none;
}

@media (max-width: 768px) {
    #pwa-install-btn {
        display: block;
    }
}

/* Offline indicator */
.offline-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ff4444;
    color: white;
    text-align: center;
    padding: 10px;
    z-index: 1000;
    display: none;
}

.offline-indicator.show {
    display: block;
}

/* Touch gestures support */
.touch-scroll {
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background: #000;
        color: #fff;
    }

    .product-item {
        border: 2px solid #fff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #000000, #0a0a0a, #1a1a1a, #2a2a2a);
    }
}

/* Print styles for PWA */
@media print {
    body {
        background: white !important;
        color: black !important;
    }

    .product-item {
        break-inside: avoid;
        border: 1px solid #000;
    }
}/* 3D Lightning Bolt Effects */
.product-item {
    position: relative;
    overflow: hidden;
}

.product-item:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(0, 255, 255, 0.1) 50%, 
        rgba(255, 105, 180, 0.1) 70%, 
        rgba(255, 215, 0, 0.1) 100%);
    animation: lightning 2s infinite;
    pointer-events: none;
}

@keyframes lightning {
    0%, 100% { opacity: 0; }
    10%, 90% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Blue, Pink, Green Lightning Variations */
.lightning-blue::before { background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 255, 0.2) 50%, transparent 70%); }
.lightning-pink::before { background: linear-gradient(45deg, transparent 30%, rgba(255, 105, 180, 0.2) 50%, transparent 70%); }
.lightning-green::before { background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 0, 0.2) 50%, transparent 70%); }
