/* Store Styles for Warzone Networks */

/* Store Header */
.store-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 60px 0;
    border-bottom: 2px solid #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.store-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.store-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.user-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.user-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-steam {
    background: #000000 !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    font-weight: 600;
    padding: 12px 24px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.btn-steam:hover {
    background: #ffffff !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, #cccccc);
    border-radius: 2px;
}

/* Category Cards */
.category-card {
    background: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.category-icon {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.category-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 15px;
}

.category-description {
    color: #cccccc;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Product Cards */
.product-card {
    background: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #2a2a2a;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3rem;
    color: #666666;
}

.product-info {
    padding: 25px;
}

.product-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.product-description {
    color: #cccccc;
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.9rem;
}

.product-category {
    margin-bottom: 15px;
}

.product-price {
    margin-bottom: 20px;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ff88;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn-buy {
    background: #000000 !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-buy:hover {
    background: #ffffff !important;
    color: #000000 !important;
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 15px;
    border: 2px solid #ffffff;
    margin: 40px 0;
}

.cta-section h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.cta-section p {
    color: #cccccc;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .store-title {
        font-size: 2rem;
    }
    
    .store-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .category-card,
    .product-card {
        margin-bottom: 20px;
    }
    
    .user-info {
        justify-content: center;
        margin-top: 20px;
    }
    
    .store-header .col-md-4.text-end {
        text-align: center !important;
    }
}

/* Feature Cards and Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: var(--accent-color, #1a1a1a);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.feature-card .feature-icon {
    background: var(--primary-color, #000000);
    color: var(--text-primary, #ffffff);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

/* Product card image (scaled and clipped) */
.feature-card .product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius, 10px);
    margin-bottom: 1rem;
    background: var(--accent-color, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-card .product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 576px) {
    .feature-card .product-image {
        aspect-ratio: 4 / 3;
    }
}

.feature-card h3 {
    color: var(--text-primary, #ffffff);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.feature-card p {
    color: var(--text-secondary, #cccccc);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-card .btn {
    width: 100%;
    margin-top: auto;
}

/* Product Meta */
.product-meta {
    margin: 1rem 0;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--success-color, #28a745);
    margin-bottom: 1rem;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
