/* ===================================
   Designer Credit Styling
   ================================== */

.designer-credit {
    background: linear-gradient(135deg, #001f3f, #0a74da);
    padding: 1rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.designer-credit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 234, 255, 0.1), transparent);
    animation: designerShimmer 3s infinite;
}

@keyframes designerShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.designer-credit-content {
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
    color: black;
    font-weight: 400;
}

.designer-name {
    display: inline-block;
    color: #00eaff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: rgba(0, 234, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 234, 255, 0.3);
    margin: 0 0.25rem;
}

.designer-name::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00eaff, #00ffb3);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.designer-name:hover::before {
    opacity: 1;
}

.designer-name:hover {
    color: #001f3f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 234, 255, 0.4);
    text-decoration: none;
}

.designer-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #00eaff, #00ffb3);
    transition: width 0.3s ease;
}

.designer-name:hover::after {
    width: 100%;
}

.designer-icon {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 1rem;
    animation: designerPulse 2s infinite;
}

@keyframes designerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.designer-heart {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin: 0 0.25rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

/* Alternative Styles */
.designer-credit.style-2 {
    background: transparent;
    border-top: 2px solid var(--accent-color);
    padding: 0.75rem 0;
}

.designer-credit.style-2 .designer-name {
    background: linear-gradient(135deg, #00eaff, #00ffb3);
    color: #001f3f;
    border: none;
    font-weight: 700;
}

.designer-credit.style-2 .designer-name:hover {
    background: linear-gradient(135deg, #001f3f, #0a74da);
    color: #00eaff;
    transform: scale(1.05);
}

/* Minimal Style */
.designer-credit.style-minimal {
    background: rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.designer-credit.style-minimal .designer-credit-content {
    color: #666;
    font-size: 0.85rem;
}

.designer-credit.style-minimal .designer-name {
    color: var(--primary-bg);
    background: transparent;
    border: none;
    font-weight: 500;
    padding: 0.1rem 0.5rem;
}

.designer-credit.style-minimal .designer-name:hover {
    color: var(--accent-color);
    background: rgba(0, 234, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .designer-credit {
        padding: 0.75rem 0;
    }
    
    .designer-credit-content {
        font-size: 0.8rem;
        padding: 0 1rem;
    }
    
    .designer-name {
        padding: 0.2rem 0.6rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .designer-credit-content {
        font-size: 0.75rem;
    }
    
    .designer-name {
        display: block;
        margin: 0.25rem auto;
        width: fit-content;
    }
}

/* Dark Mode Compatibility */
.dark-mode .designer-credit.style-minimal {
    background: rgba(255, 255, 255, 0.05);
    border-top-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .designer-credit.style-minimal .designer-credit-content {
    color: #ccc;
}

/* Print Styles */
@media print {
    .designer-credit {
        background: white !important;
        color: black !important;
        border-top: 1px solid #ccc !important;
    }
    
    .designer-name {
        color: black !important;
        background: transparent !important;
        border: 1px solid #ccc !important;
    }
}