/* Glory Games Shop Styles */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0f;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(132, 255, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(132, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(132, 255, 0, 0.05) 0%, transparent 50%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 80px; /* Account for fixed header */
}

.main-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(132, 255, 0, 0.1), rgba(132, 255, 0, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(132, 255, 0, 0.2);
    border-radius: 24px;
    margin-bottom: 4rem;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(132, 255, 0, 0.03) 50%, transparent 70%),
        radial-gradient(circle at 50% 50%, rgba(132, 255, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    position: relative;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #84ff00 0%, #ffffff 50%, #84ff00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    z-index: 2;
}

.hero-subtitle {
    position: relative;
    font-size: 1.4rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    z-index: 2;
}

.hero-description {
    position: relative;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    z-index: 2;
}

/* Featured Products Section */
.featured-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #84ff00, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(132, 255, 0, 0.15);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(132, 255, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-card:hover::before {
    opacity: 1;
}

.featured-card:hover {
    transform: translateY(-8px);
    border-color: rgba(132, 255, 0, 0.3);
    box-shadow: 0 20px 40px rgba(132, 255, 0, 0.15);
}

.featured-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #84ff00, #a3ff33);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #000;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(132, 255, 0, 0.3);
}

.featured-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.featured-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.featured-price {
    font-size: 2rem;
    font-weight: 800;
    color: #84ff00;
    margin-bottom: 2rem;
}

.featured-btn {
    background: linear-gradient(135deg, #84ff00, #a3ff33);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(132, 255, 0, 0.4);
}

/* Categories Section */
.categories-section {
    margin-bottom: 4rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(132, 255, 0, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(132, 255, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(132, 255, 0, 0.25);
    box-shadow: 0 16px 32px rgba(132, 255, 0, 0.1);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #84ff00, #a3ff33);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(132, 255, 0, 0.25);
}

.category-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.category-count {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Products Grid */
.products-section {
    margin-bottom: 4rem;
}

.filters-bar {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(132, 255, 0, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.filter-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(132, 255, 0, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    color: #ffffff;
    font-size: 0.9rem;
    min-width: 120px;
}

.filter-select:focus {
    outline: none;
    border-color: rgba(132, 255, 0, 0.4);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(132, 255, 0, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(132, 255, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(132, 255, 0, 0.25);
    box-shadow: 0 16px 32px rgba(132, 255, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(132, 255, 0, 0.1), rgba(132, 255, 0, 0.05));
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #84ff00;
    position: relative;
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #84ff00;
    color: #000;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.product-category {
    font-size: 0.8rem;
    color: #84ff00;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 500;
}

.product-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #84ff00;
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.product-btn {
    flex: 1;
    background: rgba(132, 255, 0, 0.1);
    border: 1px solid rgba(132, 255, 0, 0.3);
    color: #84ff00;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.product-btn:hover {
    background: rgba(132, 255, 0, 0.2);
    border-color: rgba(132, 255, 0, 0.5);
}

.product-btn.primary {
    background: linear-gradient(135deg, #84ff00, #a3ff33);
    color: #000;
    border: none;
}

.product-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(132, 255, 0, 0.3);
}

/* Mini Cart */
.mini-cart {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 350px;
    max-height: 500px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(132, 255, 0, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    z-index: 1000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.mini-cart.active {
    transform: translateX(0);
    opacity: 1;
}

.mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(132, 255, 0, 0.2);
}

.mini-cart-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

.mini-cart-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
}

.mini-cart-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.mini-cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-cart-item:last-child {
    border-bottom: none;
}

.mini-cart-item-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(132, 255, 0, 0.1), rgba(132, 255, 0, 0.05));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #84ff00;
}

.mini-cart-item-details {
    flex: 1;
}

.mini-cart-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.mini-cart-item-price {
    font-size: 0.8rem;
    color: #84ff00;
    font-weight: 600;
}

.mini-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(132, 255, 0, 0.2);
    margin-bottom: 1rem;
}

.mini-cart-total-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.mini-cart-total-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: #84ff00;
}

.mini-cart-actions {
    display: flex;
    gap: 0.5rem;
}

.mini-cart-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-cart-btn.secondary {
    background: rgba(132, 255, 0, 0.1);
    border: 1px solid rgba(132, 255, 0, 0.3);
    color: #84ff00;
}

.mini-cart-btn.primary {
    background: linear-gradient(135deg, #84ff00, #a3ff33);
    color: #000;
    border: none;
}

/* Cart Icon in Header */
.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.cart-icon:hover {
    background: rgba(132, 255, 0, 0.1);
}

.cart-icon i {
    font-size: 18px;
    color: #84ff00;
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    background: #84ff00;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    padding: 0 4px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .main-container {
        padding: 1rem;
    }

    .mini-cart {
        width: calc(100vw - 40px);
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 4rem 1.5rem;
    }

    .featured-card {
        padding: 2rem;
    }
}
