/* Main Styles */
:root {
    --primary: #007bff;
    --secondary: #6c757d;
    --accent: #ff6b6b;
    --dark: #343a40;
    --light: #f8f9fa;
}

/* Hero Section with Neon Animation */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(45deg, #000428, #004e92);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-pattern.png');
    opacity: 0.1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(0,123,255,0.5),
                 0 0 20px rgba(0,123,255,0.3),
                 0 0 30px rgba(0,123,255,0.2);
    animation: neon-glow 2s ease-in-out infinite alternate;
}

@keyframes neon-glow {
    from {
        text-shadow: 0 0 10px var(--primary),
                     0 0 20px var(--primary),
                     0 0 30px var(--primary),
                     0 0 40px var(--accent);
    }
    to {
        text-shadow: 0 0 5px var(--primary),
                     0 0 10px var(--primary),
                     0 0 15px var(--primary),
                     0 0 20px var(--accent);
    }
}

/* Collection Grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    grid-gap: 20px;
    grid-auto-flow: dense;
}

.grid-item-small { grid-row-end: span 1; }
.grid-item-medium { grid-row-end: span 2; }
.grid-item-large { grid-row-end: span 3; }
.grid-item-xlarge { grid-row-end: span 4; }

.product-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-card:hover .product-overlay {
    transform: translateY(0);
}

/* Floating Support */
.floating-support {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

.support-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.support-btn:hover {
    transform: scale(1.1);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Type 1 Animation */
.animation-type1 {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Type 2 Animation */
.animation-type2 {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px rgba(255,107,107,0.5); }
    to { box-shadow: 0 0 20px rgba(255,107,107,0.8); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}