/* Device Logos Section - Ultra IPTV */

.devices-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.device-card {
    background: linear-gradient(145deg, rgba(30, 23, 24, 0.9) 0%, rgba(15, 10, 11, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.device-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.device-card:hover {
    transform: translateY(-10px);
    border-color: rgba(201, 14, 14, 0.4);
    box-shadow: 0 0 40px rgba(201, 14, 14, 0.2);
}

.device-card:hover::before {
    transform: scaleX(1);
}

.device-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.device-card:hover .device-logo {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.device-logo svg {
    width: 48px;
    height: 48px;
    fill: currentColor;
    color: #fff;
    transition: all 0.4s ease;
}

.device-card:hover .device-logo svg {
    color: var(--primary);
}

/* Brand-specific colors on hover */
.device-card.lg:hover .device-logo svg { color: #A50034; }
.device-card.samsung:hover .device-logo svg { color: #1428A0; }
.device-card.android-tv:hover .device-logo svg { color: #3DDC84; }
.device-card.fire-tv:hover .device-logo svg { color: #FF9900; }
.device-card.apple-tv:hover .device-logo svg { color: #A3AAAE; }
.device-card.android:hover .device-logo svg { color: #3DDC84; }
.device-card.ios:hover .device-logo svg { color: #007AFF; }
.device-card.web:hover .device-logo svg { color: #4285F4; }

.device-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.device-card .platform {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.device-card .status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(106, 156, 137, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--secondary);
}

.device-card .status.coming-soon {
    background: rgba(255, 153, 0, 0.2);
    color: #FF9900;
}

.device-card .status i {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .devices-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .devices-showcase {
        grid-template-columns: 1fr;
    }
}

/* Animated gradient border effect */
.device-card.featured {
    background: linear-gradient(145deg, rgba(201, 14, 14, 0.15) 0%, rgba(15, 10, 11, 0.95) 100%);
    border-color: rgba(201, 14, 14, 0.3);
}

.device-card.featured::after {
    content: 'AVAILABLE';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    letter-spacing: 1px;
}
