/**
 * Home Page Styles
 * Mobile-First Responsive Design
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --neon-red: #ff2d55;
    --neon-orange: #ff9500;
    --neon-yellow: #ffcc00;
    --neon-green: #30d158;
    --neon-blue: #0a84ff;
    --neon-purple: #bf5af2;
    --neon-pink: #ff375f;
    --dark-bg: #0d0d0d;
    --dark-card: #1a1a1a;
    --dark-card-hover: #252525;
}

/* ============================================
   Base Reset
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--dark-bg);
    font-family: 'Space Mono', 'Segoe UI', Arial, sans-serif;
    color: #fff;
    line-height: 1.5;
}

/* ============================================
   Hero Section - Mobile First
   ============================================ */
.home-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 16px 60px;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 70%, rgba(255, 45, 85, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(10, 132, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.home-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.home-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255, 45, 85, 0.4);
    border-radius: 50px;
    padding: 6px 14px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.6rem;
    font-weight: 600;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.home-badge-dot {
    width: 5px;
    height: 5px;
    background: var(--neon-red);
    border-radius: 50%;
    animation: home-pulse 2s ease-in-out infinite;
}

@keyframes home-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.home-hero-title {
    font-family: 'Space Mono', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 16px 0;
    letter-spacing: -1px;
}

.home-hero-accent {
    color: var(--neon-red);
    display: block;
}

.home-hero-subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 auto 24px;
    max-width: 90%;
}

.home-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 28px;
    font-family: 'Space Mono', monospace;
}

.home-stat-number {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.home-stat-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.home-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Space Mono', monospace;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 90%;
    max-width: 240px;
}

.home-btn-primary {
    background: var(--neon-red);
    color: #fff;
    border: none;
}

.home-btn-primary:hover {
    background: #e6264d;
    transform: translateY(-2px);
}

.home-btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.home-btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   Section Headers
   ============================================ */
.home-section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 8px;
}

.home-section-tag {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--neon-red);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.home-section-title {
    font-family: 'Space Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
}

/* ============================================
   Categories Section
   ============================================ */
.home-categories {
    padding: 40px 16px;
    background: var(--dark-bg);
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 100%;
    margin: 0 auto;
}

.home-category-card {
    position: relative;
    background: linear-gradient(145deg, var(--dark-card) 0%, #141414 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70px;
}

.home-category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 45, 85, 0.35);
}

.home-category-name {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Featured Products Section
   ============================================ */
.home-featured {
    padding: 40px 16px;
    background: var(--dark-bg);
}

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 100%;
    margin: 0 auto;
}

.home-product-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
}

.home-product-card:hover {
    border-color: rgba(255, 45, 85, 0.3);
    transform: translateY(-3px);
}

.home-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #151515;
}

.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--neon-red);
    color: #fff;
    font-family: 'Space Mono', monospace;
    font-size: 0.5rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

.home-product-info {
    padding: 10px;
    text-align: center;
}

.home-product-name {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-product-price {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--neon-red);
}

/* ============================================
   Tablet (768px and up)
   ============================================ */
@media (min-width: 768px) {
    .home-hero {
        padding: 100px 40px 80px;
    }

    .home-hero-badge {
        font-size: 0.7rem;
        padding: 8px 18px;
        margin-bottom: 28px;
    }

    .home-hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .home-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
        max-width: 520px;
    }

    .home-hero-stats {
        gap: 10px;
        margin-bottom: 36px;
    }

    .home-stat-number {
        font-size: 1.3rem;
    }

    .home-stat-label {
        font-size: 0.8rem;
    }

    .home-hero-actions {
        flex-direction: row;
        gap: 16px;
        justify-content: center;
    }

    .home-btn {
        width: auto;
        padding: 14px 28px;
        font-size: 0.8rem;
    }

    .home-categories,
    .home-featured {
        padding: 60px 32px;
    }

    .home-section-header {
        margin-bottom: 28px;
    }

    .home-section-tag {
        font-size: 0.65rem;
        letter-spacing: 4px;
        margin-bottom: 10px;
    }

    .home-section-title {
        font-size: 1.5rem;
    }

    .home-category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .home-category-card {
        padding: 32px 20px;
        min-height: 100px;
    }

    .home-category-name {
        font-size: 0.85rem;
    }

    .home-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .home-product-info {
        padding: 14px;
    }

    .home-product-name {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .home-product-price {
        font-size: 1rem;
    }
}

/* ============================================
   Desktop (1024px and up)
   ============================================ */
@media (min-width: 1024px) {
    .home-hero {
        padding: 120px 40px 80px;
    }

    .home-hero-title {
        font-size: 3.5rem;
        letter-spacing: -2px;
    }

    .home-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    .home-hero-stats {
        margin-bottom: 48px;
    }

    .home-stat-number {
        font-size: 1.5rem;
    }

    .home-categories,
    .home-featured {
        padding: 80px 40px;
    }

    .home-category-grid {
        gap: 24px;
    }

    .home-category-card {
        padding: 40px 24px;
        min-height: 120px;
    }

    .home-products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .home-product-badge {
        top: 12px;
        left: 12px;
        font-size: 0.6rem;
        padding: 4px 10px;
    }
}

/* ============================================
   Large Desktop (1300px and up)
   ============================================ */
@media (min-width: 1300px) {
    .home-hero-title {
        font-size: 4.5rem;
    }

    .home-category-grid,
    .home-products-grid {
        max-width: 1400px;
    }
}