/* Premium Ranks CSS - Enhanced User Experience */

/* Website Brand (Rank 4) - Special Treatment */
.website-brand-logo {
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    border: 3px solid #fbbf24;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
    animation: websiteBrandGlow 3s ease-in-out infinite alternate;
}

@keyframes websiteBrandGlow {
    0% { box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3); }
    100% { box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5), 0 0 20px rgba(251, 191, 36, 0.3); }
}

.website-brand-logo .logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.website-brand-logo .company-logo {
    width: 120px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 8px;
}

.website-brand-logo .official-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.website-brand-logo .verified-badge-premium {
    position: absolute;
    bottom: -8px;
    left: -8px;
    background: #fbbf24;
    color: #1f2937;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

/* Premium Logo (VIP & Company) */
.premium-logo {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
    border: 2px solid #fbbf24;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.3);
}

.premium-logo .logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-logo .company-logo {
    width: 100px;
    height: 70px;
    object-fit: contain;
    border-radius: 6px;
    background: white;
    padding: 6px;
}

.premium-logo .verified-badge-premium {
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: #10b981;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Hover Effects */
.user-logo-container {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.user-logo-container:hover {
    transform: translateY(-2px);
}

.logo-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.user-logo-container:hover .logo-hover-overlay {
    opacity: 1;
}

.logo-hover-overlay i {
    font-size: 24px;
    margin-bottom: 8px;
}

.logo-hover-overlay span {
    font-size: 12px;
    font-weight: bold;
}

/* Premium Rank Cards */
.premium-rank-card.website-brand {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border: 2px solid #fbbf24;
    color: white;
    position: relative;
    overflow: hidden;
}

.premium-rank-card.website-brand::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: websiteBrandShine 3s linear infinite;
}

@keyframes websiteBrandShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.website-brand-badge {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3a8a;
    font-size: 20px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-main {
    font-weight: bold;
    font-size: 14px;
}

.brand-sub {
    font-size: 11px;
    opacity: 0.8;
}

.official-seal {
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 8px;
    margin-top: 8px;
    text-align: center;
}

.seal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.seal-content i {
    font-size: 24px;
    color: #fbbf24;
}

.seal-content span {
    font-weight: bold;
    font-size: 12px;
}

.seal-content small {
    font-size: 10px;
    opacity: 0.8;
}

/* ads Page - Website Brand Profile */
.website-brand-profile {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border: 2px solid #fbbf24;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.website-brand-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: brandProfileShine 4s linear infinite;
}

@keyframes brandProfileShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.brand-logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}

.brand-logo-container .brand-logo {
    width: 80px;
    height: 50px;
    object-fit: contain;
    background: white;
    border-radius: 8px;
    padding: 6px;
}

.brand-logo-container .official-seal {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #10b981;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.brand-info {
    color: white;
}

.brand-name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 4px;
}

.brand-type {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.authenticity-badge {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #10b981;
}

/* Premium Logo Container for ads */
.premium-logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}

.premium-logo-container .premium-logo {
    width: 70px;
    height: 45px;
    object-fit: contain;
    background: white;
    border-radius: 6px;
    padding: 4px;
    border: 2px solid #7c3aed;
}

/* VIP Profile Styling */
.vip-profile {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    border: 2px solid #fbbf24;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    color: white;
}

/* Company Profile Styling */
.company-profile {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border: 2px solid #34d399;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .website-brand-logo .company-logo {
        width: 100px;
        height: 70px;
    }
    
    .premium-logo .company-logo {
        width: 80px;
        height: 60px;
    }
    
    .brand-logo-container .brand-logo {
        width: 70px;
        height: 45px;
    }
}

/* Animation for attention */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.website-brand-logo .official-badge {
    animation: pulse 2s infinite;
}