/* 
* Tiger TV - Devices Section
* Modern Simplified Design
* Version: 1.0
*/

/* ============================================
   DEVICES SECTION
   ============================================ */

.devices {
    padding: 4rem 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F0 100%);
}

.devices .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.devices .section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 1rem;
}

.devices .section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.devices .section-decoration {
    display: none;
}

/* Devices Grid - Unified */
.devices-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hide category headers */
.device-category {
    display: contents;
}

.category-header {
    display: none;
}

.devices-grid {
    display: contents;
}

/* Device Card */
.device-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.device-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B35, #FFA500);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.device-card:hover::before {
    opacity: 1;
}

.device-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.2);
}

/* Hide device visuals */
.device-visual {
    display: none;
}

/* Device Info */
.device-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.device-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Device Specs */
.device-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.device-specs li {
    font-size: 0.95rem;
    color: #444;
    padding: 0.75rem 0;
    padding-right: 2rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: right;
}

.device-specs li:last-child {
    border-bottom: none;
}

.device-specs li i {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #FF6B35;
    font-size: 1.1rem;
}

/* Download Options */
.download-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-btn.ios {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
}

.download-btn.ios:hover {
    background: linear-gradient(135deg, #333333, #000000);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.download-btn.android {
    background: linear-gradient(135deg, #3DDC84, #34C759);
    color: white;
}

.download-btn.android:hover {
    background: linear-gradient(135deg, #34C759, #3DDC84);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(61, 220, 132, 0.3);
}

/* Setup Info */
.setup-info {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 12px;
    text-align: center;
}

.setup-info p {
    margin: 0 0 0.75rem 0;
    font-size: 0.9rem;
    color: #444;
}

.setup-info .code {
    display: inline-block;
    background: #FF6B35;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.setup-guide {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #FF6B35;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.setup-guide:hover {
    color: #CC5500;
    gap: 0.75rem;
}

/* Specific Device Styles */
.device-card.mobile {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, white 100%);
}

.device-card.tablet {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.05) 0%, white 100%);
}

.device-card.smart-tv {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, white 100%);
}

.device-card.streaming-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, white 100%);
}

.device-card.desktop {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, white 100%);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

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

    .device-card {
        padding: 1.75rem;
    }

    .device-info h4 {
        font-size: 1.35rem;
    }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
    .devices {
        padding: 3rem 0;
    }

    .devices .section-header h2 {
        font-size: 2rem;
    }

    .devices .section-subtitle {
        font-size: 1rem;
    }

    .devices-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .device-card {
        padding: 1.5rem;
    }

    .device-info {
        gap: 1.25rem;
    }

    .device-info h4 {
        font-size: 1.25rem;
    }

    .device-specs li {
        font-size: 0.9rem;
        padding: 0.6rem 0;
        padding-right: 1.75rem;
    }

    .download-options {
        gap: 0.6rem;
    }

    .download-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
    .device-card {
        padding: 1.25rem;
    }

    .device-info h4 {
        font-size: 1.15rem;
    }

    .device-specs li {
        font-size: 0.85rem;
    }
}
