/* ============================================================
   WILDBALL BRAND GUIDELINES CSS
   Brand Colors: Black, Pink, Orange
   Girls Collection: Space Purple / Galaxy Theme
   ============================================================ */

/* =====================================================
   BRAND COLOR UTILITIES
   ===================================================== */

/* Background Colors */
.wb-bg-black { background-color: var(--wb-black) !important; }
.wb-bg-pink { background-color: var(--wb-pink) !important; }
.wb-bg-orange { background-color: var(--wb-orange) !important; }
.wb-bg-purple { background-color: var(--wb-space-purple) !important; }
.wb-bg-galaxy { background: var(--wb-gradient-galaxy) !important; }

/* Text Colors */
.wb-text-pink { color: var(--wb-pink) !important; }
.wb-text-orange { color: var(--wb-orange) !important; }
.wb-text-purple { color: var(--wb-space-purple) !important; }
.wb-text-glow { color: var(--wb-galaxy-glow) !important; }

/* Gradient Text */
.wb-gradient-text {
    background: var(--wb-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wb-gradient-text-galaxy {
    background: var(--wb-gradient-galaxy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wb-gradient-text-girls {
    background: var(--wb-gradient-girls);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================================
   BRAND BUTTONS
   ===================================================== */

/* Primary Button - Orange */
.wb-btn-primary {
    background: var(--wb-gradient-fire);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.4);
}

.wb-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.6);
}

/* Pink Button - Girls Collection */
.wb-btn-pink {
    background: var(--wb-gradient-girls);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 105, 180, 0.4);
}

.wb-btn-pink:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.6);
}

/* Galaxy Button - Space Theme */
.wb-btn-galaxy {
    background: var(--wb-gradient-galaxy);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
    position: relative;
    overflow: hidden;
}

.wb-btn-galaxy::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: galaxy-shimmer 3s infinite linear;
}

@keyframes galaxy-shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wb-btn-galaxy:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.6);
}

/* =====================================================
   GIRLS BASKETBALL COLLECTION - GALAXY THEME
   ===================================================== */

.girls-collection-section {
    background: linear-gradient(180deg, 
        var(--wb-space-purple-dark) 0%, 
        #1a0a2e 50%, 
        var(--wb-black) 100%
    );
    position: relative;
    overflow: hidden;
}

/* Animated Stars Background */
.girls-collection-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 160px 120px, white, transparent),
        radial-gradient(2px 2px at 200px 50px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 250px 90px, white, transparent),
        radial-gradient(2px 2px at 300px 60px, rgba(255,255,255,0.5), transparent);
    background-repeat: repeat;
    background-size: 350px 200px;
    animation: stars-twinkle 4s infinite ease-in-out;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes stars-twinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

/* Nebula Glow Effect */
.girls-collection-section::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236,72,153,0.3) 0%, transparent 70%);
    filter: blur(60px);
    animation: nebula-float 8s infinite ease-in-out;
    pointer-events: none;
}

@keyframes nebula-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.2); }
}

/* Galaxy Card Style */
.wb-card-galaxy {
    background: linear-gradient(145deg, 
        rgba(107, 63, 160, 0.3) 0%, 
        rgba(26, 10, 46, 0.8) 100%
    );
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.wb-card-galaxy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--wb-galaxy-glow), 
        var(--wb-nebula-pink), 
        transparent
    );
}

.wb-card-galaxy:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(107, 63, 160, 0.4),
        0 0 60px rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
}

/* =====================================================
   LIP GLOSS COLLECTION STYLES
   ===================================================== */

.lip-gloss-section {
    background: linear-gradient(180deg, 
        #fff5f8 0%, 
        #ffe4ec 100%
    );
}

[data-theme="dark"] .lip-gloss-section {
    background: linear-gradient(180deg, 
        #2d1f24 0%, 
        #1a1215 100%
    );
}

.wb-card-gloss {
    background: linear-gradient(145deg, 
        rgba(255, 182, 193, 0.2) 0%, 
        rgba(255, 105, 180, 0.1) 100%
    );
    border: 1px solid rgba(255, 105, 180, 0.3);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.wb-card-gloss::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 60%
    );
    animation: gloss-shine 3s infinite;
}

@keyframes gloss-shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.wb-card-gloss:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(255, 105, 180, 0.3),
        0 0 40px rgba(255, 182, 193, 0.2);
}

/* =====================================================
   SPORTY ENERGY ELEMENTS
   ===================================================== */

/* Basketball Pattern Background */
.wb-basketball-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff8c00' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Fire Effect for Orange Theme */
.wb-fire-glow {
    position: relative;
}

.wb-fire-glow::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 30px;
    background: radial-gradient(ellipse, rgba(255, 140, 0, 0.4) 0%, transparent 70%);
    filter: blur(15px);
}

/* Energy Pulse Animation */
.wb-pulse {
    animation: energy-pulse 2s infinite;
}

@keyframes energy-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255, 140, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0); }
}

.wb-pulse-pink {
    animation: energy-pulse-pink 2s infinite;
}

@keyframes energy-pulse-pink {
    0% { box-shadow: 0 0 0 0 rgba(255, 105, 180, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255, 105, 180, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 105, 180, 0); }
}

/* =====================================================
   PRODUCT BADGES
   ===================================================== */

.wb-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wb-badge-sale {
    background: var(--wb-gradient-fire);
    color: #fff;
}

.wb-badge-new {
    background: var(--wb-gradient-girls);
    color: #fff;
}

.wb-badge-girls {
    background: var(--wb-gradient-galaxy);
    color: #fff;
}

.wb-badge-bestseller {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
}

/* =====================================================
   CATEGORY HEADERS
   ===================================================== */

.category-header-girls {
    background: var(--wb-gradient-galaxy);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-header-girls h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-shadow: 0 0 40px rgba(168, 85, 247, 0.5);
    position: relative;
    z-index: 2;
}

.category-header-girls p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-top: 10px;
    position: relative;
    z-index: 2;
}

.category-header-lipgloss {
    background: var(--wb-gradient-girls);
    padding: 60px 20px;
    text-align: center;
}

.category-header-lipgloss h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
}

/* =====================================================
   EMPOWERMENT MESSAGE STYLES
   ===================================================== */

.wb-empowerment-banner {
    background: linear-gradient(135deg, 
        var(--wb-space-purple) 0%, 
        var(--wb-nebula-pink) 100%
    );
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.wb-empowerment-banner h2 {
    color: #fff;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 10px;
}

.wb-empowerment-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* Confidence. Empowerment. Representation. */
.wb-values {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.wb-value-item {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding: 0 15px;
}

.wb-value-item::after {
    content: '★';
    position: absolute;
    right: -20px;
    color: var(--wb-orange);
}

.wb-value-item:last-child::after {
    display: none;
}

/* =====================================================
   WOOCOMMERCE INTEGRATION
   ===================================================== */

/* Product Category: Girls Basketball */
.term-girls-basketball-collection .products,
.tax-product_cat.term-girls-basketball-collection {
    background: linear-gradient(180deg, 
        var(--wb-space-purple-dark) 0%, 
        var(--body-bg) 100%
    );
}

.term-girls-basketball-collection .woocommerce-loop-product__title {
    color: var(--wb-star-white);
}

/* Product Category: Lip Gloss */
.term-lip-gloss-collection .products {
    background: linear-gradient(180deg, 
        rgba(255, 182, 193, 0.1) 0%, 
        var(--body-bg) 100%
    );
}

/* Sale Badge Override */
.woocommerce span.onsale {
    background: var(--wb-gradient-fire) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 8px 16px !important;
    font-weight: 700 !important;
}

/* Add to Cart Button */
.woocommerce .button.add_to_cart_button,
.woocommerce .single_add_to_cart_button {
    background: var(--wb-gradient-fire) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 30px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

.woocommerce .button.add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.5) !important;
}

/* Girls Collection Product Cards */
.term-girls-basketball-collection .product {
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.term-girls-basketball-collection .product:hover {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 20px 40px rgba(107, 63, 160, 0.3);
}
