/* ================================================================
   GamePC GPU Pages - Premium Frontend Styles
   Updated with Kant-en-Klare Product Cards
   ================================================================ */

/* GPU Hero Section */
.gpcd-gpu-hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(180deg, rgba(255, 0, 0, 0.05) 0%, #0a0a0a 100%);
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
    margin-bottom: 40px;
}

/* Breadcrumbs */
.gpcd-breadcrumbs {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 20px;
}

.gpcd-breadcrumbs a {
    color: #ccc !important;
    text-decoration: none;
}

.gpcd-breadcrumbs a:hover {
    color: #ff0000 !important;
}

.gpcd-breadcrumbs .sep {
    margin: 0 10px;
    opacity: 0.5;
}

/* GPU Hero Title */
.gpcd-gpu-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #ff0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* GPU Meta Info */
.gpcd-gpu-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.gpcd-meta-item {
    color: #999;
    font-size: 1rem;
}

.gpcd-meta-item strong {
    color: #ff0000;
    font-size: 1.2rem;
}

/* Intro Text */
.gpcd-intro-text {
    max-width: 800px;
    margin: 0 auto;
    color: #cccccc;
    line-height: 1.8;
    font-size: 1.05rem;
}

.gpcd-intro-text p {
    margin-bottom: 15px;
}

/* ================================================================
   PREMIUM PRODUCT CARDS (From Kant-en-Klare)
   ================================================================ */

/* Products Grid */
.gpcd-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 20px;
}

@media (min-width: 769px) {
    .gpcd-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .gpcd-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Product Card */
.gpcd-product-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    position: relative;
}

.gpcd-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 0, 0, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.gpcd-product-card:hover {
    border-color: #ff0000;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 0, 0, 0.3),
                0 0 40px rgba(255, 0, 0, 0.1);
}

/* Product Image */
.gpcd-product-image-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.15), rgba(255, 0, 0, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(255, 0, 0, 0.1);
}

.gpcd-product-image-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
}

.gpcd-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gpcd-product-card:hover .gpcd-product-image {
    transform: scale(1.1) rotate(2deg);
}

.gpcd-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 0, 0.1);
    color: #666;
    font-size: 0.9rem;
}

/* Product Badge (Sale/New) */
.gpcd-product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: #fff;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

/* Product Body */
.gpcd-product-body {
    padding: 1.5rem;
}

/* Product Name */
.gpcd-product-name {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.gpcd-product-name a {
    color: #fff !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gpcd-product-name a:hover {
    color: #ff0000 !important;
}

/* Product Specs */
.gpcd-product-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.gpcd-spec-item {
    font-size: 0.9rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.gpcd-spec-item:hover {
    color: #ffffff;
}

.gpcd-spec-icon {
    color: #ff0000;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.gpcd-spec-value {
    flex: 1;
}

/* FPS Display */
.gpcd-fps-display {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: rgba(255, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.gpcd-fps-item {
    flex: 1;
    text-align: center;
}

.gpcd-fps-value {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.gpcd-fps-label {
    font-size: 0.7rem;
    color: #999;
    display: block;
    margin-top: 0.25rem;
}

.gpcd-fps-game {
    font-size: 0.8rem;
    color: #ff0000;
    display: block;
    margin-top: 0.3rem;
    font-weight: 600;
}

/* Product Badges (Performance Tags) */
.gpcd-product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.gpcd-badge {
    background: rgba(255, 0, 0, 0.15);
    color: #ff0000;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

/* Product Footer */
.gpcd-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
}

/* Product Price */
.gpcd-product-price {
    font-size: 1.75rem;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.gpcd-product-price .price {
    color: transparent !important;
}

.gpcd-product-price .woocommerce-Price-amount {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Product Button */
.gpcd-btn {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.gpcd-btn-primary {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0000 !important;
    border: 1px solid #ff0000;
}

.gpcd-btn-primary:hover {
    background: #ff0000;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

/* No Products State */
.gpcd-no-products {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 16px;
    margin: 40px auto;
    max-width: 600px;
}

.gpcd-no-products p {
    color: #999;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.gpcd-no-products .button {
    background: #ff0000;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gpcd-no-products .button:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .gpcd-gpu-hero {
        padding: 30px 15px;
    }
    
    .gpcd-gpu-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .gpcd-products-grid {
        padding: 0 15px;
    }
    
    .gpcd-product-card {
        max-width: 100%;
    }
    
    .gpcd-fps-display {
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .gpcd-fps-value {
        font-size: 1.2rem;
    }
}
