@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:wght@300;400;500;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

/* Glassmorphic Effects */
.glass-morphic {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.glass-border {
    border: 2px solid rgba(34, 197, 94, 0.3);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

/* Comic Book Style */
.comic-border {
    position: relative;
    border: 3px solid #22c55e;
    border-radius: 8px;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.comic-border::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #22c55e, #16a34a, #22c55e);
    border-radius: 8px;
    z-index: -1;
    animation: comicGlow 3s ease-in-out infinite;
}

@keyframes comicGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Parallax Effects */
.parallax-layer {
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Comic Overlay Pattern */
#comic-overlay {
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(34, 197, 94, 0.03) 35px, rgba(34, 197, 94, 0.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(34, 197, 94, 0.02) 35px, rgba(34, 197, 94, 0.02) 70px);
    pointer-events: none;
}

/* Floating Elements */
.floating-element {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Hover Glow Effects */
.hover-glow {
    transition: all 0.3s ease;
    position: relative;
}

.hover-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(34, 197, 94, 0.3);
    border-color: rgba(34, 197, 94, 0.5);
}

/* Modal Styles */
.modal {
    animation: fadeIn 0.3s ease;
}

.modal-backdrop {
    animation: fadeIn 0.3s ease;
}

.modal-content {
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Product Cards */
.product-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.product-card:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: 0 20px 60px rgba(34, 197, 94, 0.4);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: #22c55e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #16a34a;
}

/* Animations */
.animate-fade-in {
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .comic-border {
        padding: 1rem;
    }
}