/* ============================================
   SuperIPTV Brand Logo Styles
   Matches index.html footer logo exactly
   ============================================ */

:root {
    --logo-primary: #e50914;
    --logo-primary-dark: #b20710;
}

/* Logo Container - matches .logo in index.html footer */
.logo-area,
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Logo Icon Box - matches .logo-icon in index.html footer */
.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--logo-primary, #e50914);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    transition: all 0.3s ease;
}

.logo-icon i {
    color: white;
}

/* Logo Text Container */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

/* Brand Name with Super + IPTV styling */
.logo-text .brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.logo-text .brand .super {
    color: #ffffff;
}

.logo-text .brand .iptv {
    color: #e50914;
    font-weight: 800;
}

/* Alternative: Single brand name without split */
.logo-text .brand:not(:has(.super)) {
    background: linear-gradient(90deg, #e50914 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Tagline */
.logo-text .tagline {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Hover Effects */
.logo-area:hover .logo-icon,
.logo:hover .logo-icon {
    transform: scale(1.05);
    background: #f40612;
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
}

/* Sidebar Logo Variant */
.sidebar-logo {
    width: 48px;
    height: 48px;
    background: var(--logo-primary, #e50914);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sidebar-logo i {
    font-size: 1.4rem;
    color: white;
}

.sidebar-logo:hover {
    transform: scale(1.05);
    background: #f40612;
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
}

/* Header Logo with full text - for pages with horizontal header */
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-logo .logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.3);
    position: relative;
    overflow: hidden;
}

.header-logo .logo-icon::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: logoShine 3s infinite;
}

@keyframes logoShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.header-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.header-logo .logo-text .brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e50914 0%, #fff 50%, #b20710 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-logo .logo-text .tagline {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header-logo:hover .logo-icon {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(229, 9, 20, 0.4);
}

/* Size Variants */
.logo-area.logo-sm .logo-icon,
.logo.logo-sm .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    border-radius: 6px;
}

.logo-area.logo-sm .logo-text .brand,
.logo.logo-sm .logo-text .brand {
    font-size: 1.2rem;
}

.logo-area.logo-lg .logo-icon,
.logo.logo-lg .logo-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    border-radius: 10px;
}

.logo-area.logo-lg .logo-text .brand,
.logo.logo-lg .logo-text .brand {
    font-size: 1.8rem;
}

/* Responsive */
@media (max-width: 480px) {
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        border-radius: 6px;
    }
    
    .logo-text .brand {
        font-size: 1.2rem;
    }
    
    .logo-text .tagline {
        font-size: 0.55rem;
        letter-spacing: 1px;
    }
    
    .header-logo .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .header-logo .logo-text .brand {
        font-size: 1.25rem;
    }
}

/* Footer Logo */
.footer-logo .logo-area,
.footer-logo .logo {
    margin-bottom: 20px;
}

.footer-logo .logo-text .tagline {
    color: rgba(255, 255, 255, 0.4);
}
