/* ===== SHARED GAME PAGE STYLES ===== */

/* Product card for simple game pages (tokens, diamonds, gamepasses) */
.gp-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.gp-product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.gp-product-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-cyan);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 240, 255, 0.12);
}

.gp-product-card .gp-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.gp-product-card .gp-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.gp-product-card .gp-type {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Discount badge */
.gp-product-card .gp-discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff4444, #ff6600);
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    z-index: 1;
}

/* Price container with original + sale price */
.gp-product-card .gp-price-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: var(--space-lg);
}

.gp-product-card .gp-original-price {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.6;
}

.gp-product-card .gp-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-green);
}

.gp-product-card .gp-add-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: white;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.gp-product-card .gp-add-btn svg {
    width: 16px;
    height: 16px;
}

.gp-product-card .gp-add-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

/* Promo code status styling */
.promo-status {
    font-size: 0.85rem;
    margin-top: 8px;
    padding: 6px 0;
}

/* Active game link in dropdown */
.active-game-link {
    background: rgba(0, 240, 255, 0.1) !important;
    color: var(--text-primary) !important;
    border-left: 3px solid var(--accent-cyan);
}

/* Animate targets */
.animate-target {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-target.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Theme-specific button overrides */
.blade-theme .gp-add-btn {
    background: linear-gradient(135deg, #ff4444, #ff6600) !important;
}

.fruits-theme .gp-add-btn {
    background: linear-gradient(135deg, #ff6b35, #ff9500) !important;
}

.nights-theme .gp-add-btn {
    background: linear-gradient(135deg, #7c4dff, #b388ff) !important;
}

.dress-theme .gp-add-btn {
    background: linear-gradient(135deg, #e91e63, #f48fb1) !important;
}

@media (max-width: 768px) {
    .gp-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    .gp-product-card {
        padding: 20px 16px;
    }

    .gp-product-card .gp-icon {
        font-size: 2.2rem;
    }

    .gp-product-card .gp-name {
        font-size: 0.85rem;
    }

    .gp-product-card .gp-price {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .gp-products-grid {
        grid-template-columns: 1fr;
    }
}