/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', monospace;
    background: #000;
    color: #00ff00;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #000;
    border-bottom: 2px solid #00ff00;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff00;
}

.nav-brand i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: #00ff00;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
}

.nav-menu a:hover {
    border: 1px solid #00ff00;
    background: rgba(0, 255, 0, 0.1);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #000 0%, #001100 100%);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 2px solid #00ff00;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #00aa00;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

/* Categories */
.categories {
    padding: 3rem 0;
    background: #000;
    border-bottom: 1px solid #00ff00;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #00ff00;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.category-card {
    background: #000;
    border: 1px solid #00ff00;
    padding: 1rem 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    background: rgba(0, 255, 0, 0.1);
    transform: translateY(-2px);
}

.category-card i {
    font-size: 1.5rem;
    color: #00ff00;
    margin-bottom: 0.25rem;
    display: block;
}

.category-card span {
    font-weight: 600;
    color: #00ff00;
    font-size: 0.75rem;
}

/* Sale Category Styles */
.sale-category {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: #fff;
    position: relative;
    overflow: hidden;
    animation: salePulse 2s infinite;
}

.sale-category:hover {
    background: linear-gradient(135deg, #ff5252, #ff7979);
    transform: scale(1.05);
}

.sale-category i {
    color: #fff !important;
}

.sale-category span {
    color: #fff !important;
}

.sale-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff0000;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.4rem;
    border-radius: 50%;
    animation: saleBadgePulse 1.5s infinite;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

@keyframes salePulse {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 107, 107, 0.3); }
    50% { box-shadow: 0 0 20px rgba(255, 107, 107, 0.6); }
}

@keyframes saleBadgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Products */
.products {
    padding: 3rem 0;
    background: #000;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #000;
    border: 1px solid #00ff00;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.product-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    border: 1px solid;
}

.product-badge.best-seller {
    background: #00ff00;
    color: #000;
    border-color: #00ff00;
}

.product-badge.new {
    background: #0000ff;
    color: #fff;
    border-color: #0000ff;
}

.product-badge.hot {
    background: #ff0000;
    color: #fff;
    border-color: #ff0000;
}

.product-badge.premium {
    background: #ff00ff;
    color: #fff;
    border-color: #ff00ff;
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #00ff00;
}

.product-description {
    color: #00aa00;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}


.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #00ff00;
    margin-bottom: 1rem;
    text-align: center;
    background: rgba(0, 255, 0, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    letter-spacing: 1px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.btn-buy {
    background: #00ff00;
    color: #000;
    border: 1px solid #00ff00;
    padding: 0.5rem 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-buy:hover {
    background: #000;
    color: #00ff00;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 255, 0, 0.3);
}

/* About */
.about {
    padding: 3rem 0;
    background: #000;
    border-top: 1px solid #00ff00;
}

.about-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.125rem;
    color: #00aa00;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid #00ff00;
    background: rgba(0, 255, 0, 0.05);
}

.feature i {
    font-size: 1.5rem;
    color: #00ff00;
}

.feature span {
    font-weight: 600;
    color: #00ff00;
}

/* Contacts */
.contacts {
    margin-top: 3rem;
    text-align: center;
}

.contacts h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff00;
    margin-bottom: 1.5rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    color: #00ff00;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 250px;
    justify-content: center;
}

.contact-link:hover {
    background: #00ff00;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

.contact-link i {
    font-size: 1.25rem;
}

/* Footer */
.footer {
    background: #000;
    border-top: 2px solid #00ff00;
    padding: 2rem 0;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #00ff00;
    margin-bottom: 1rem;
}

.footer-brand i {
    font-size: 1.5rem;
}

.footer-content p {
    color: #00aa00;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .features {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-link {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Terminal cursor effect */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-title::after {
    content: '_';
    animation: blink 1s infinite;
}