/* ===================================
   OPPORTUNITIES SECTION - MOBILE FIRST
   =================================== */

/* ===================================
   BASE STYLES (MOBILE)
   =================================== */
.live-opportunities {
    padding: 50px 1rem;
    background: var(--bg-secondary);
}

.opportunities-container {
    max-width: 1200px;
    margin: 0 auto;
}

.opportunities-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.section-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   OPPORTUNITIES GRID (MOBILE FIRST)
   =================================== */
.opportunities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.opportunity-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

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

.opportunity-card:active {
    transform: scale(0.98);
}

/* Badge */
.opportunity-badge-top {
    margin-bottom: 1rem;
}

.discount-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

/* Content */
.opportunity-content {
    flex: 1;
}

.opportunity-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.opportunity-subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Specs */
.opportunity-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--bg-secondary);
}

.spec-item {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    font-weight: 600;
    background: var(--bg-secondary);
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
}

/* Price Section */
.opportunity-price-section {
    margin-bottom: 1.25rem;
}

.price-main {
    font-size: 1.625rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.price-savings {
    font-size: 0.875rem;
    color: #10b981;
    font-weight: 600;
}

/* Link Button */
.opportunity-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.opportunity-link-btn:active {
    transform: scale(0.98);
}

.opportunity-link-btn svg {
    width: 18px;
    height: 18px;
}

/* ===================================
   CTA SECTION
   =================================== */
.opportunities-cta {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 20px;
}

.cta-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
}

.btn-cta-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.btn-cta-large:active {
    transform: scale(0.98);
}

.btn-cta-large svg {
    width: 20px;
    height: 20px;
}

/* ===================================
   NO OPPORTUNITIES STATE
   =================================== */
.no-opportunities {
    text-align: center;
    padding: 3rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 20px;
}

.no-opportunities-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-opportunities-icon svg {
    width: 36px;
    height: 36px;
    color: var(--text-tertiary);
    stroke-width: 2;
}

.no-opportunities h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.no-opportunities p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

/* ===================================
   TABLET BREAKPOINT (640px+)
   =================================== */
@media (min-width: 640px) {
    .live-opportunities {
        padding: 60px 1.5rem;
    }

    .opportunities-header {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .section-description {
        font-size: 1rem;
    }

    /* 2 columns on tablet */
    .opportunities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
        margin-bottom: 3rem;
    }

    .opportunity-card {
        padding: 1.75rem;
    }

    .opportunity-card:hover {
        transform: translateY(-6px);
        border-color: var(--color-primary);
        box-shadow: 0 16px 32px rgba(37, 99, 235, 0.12);
    }

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

    .opportunity-title {
        font-size: 1.25rem;
    }

    .price-main {
        font-size: 1.75rem;
    }

    .opportunities-cta {
        padding: 2.5rem 2rem;
    }

    .cta-text {
        font-size: 1.125rem;
    }

    .btn-cta-large:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
    }

    .no-opportunities {
        padding: 4rem 2rem;
    }

    .no-opportunities-icon {
        width: 80px;
        height: 80px;
    }

    .no-opportunities-icon svg {
        width: 40px;
        height: 40px;
    }
}

/* ===================================
   DESKTOP BREAKPOINT (1024px+)
   =================================== */
@media (min-width: 1024px) {
    .live-opportunities {
        padding: 70px 2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-description {
        font-size: 1.0625rem;
    }

    /* 3 columns on desktop */
    .opportunities-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .opportunity-card {
        padding: 2rem;
        border-radius: 24px;
    }

    .opportunity-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    }

    .opportunity-title {
        font-size: 1.375rem;
    }

    .opportunity-subtitle {
        font-size: 1rem;
    }

    .price-main {
        font-size: 2rem;
    }

    .opportunity-link-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    }

    .opportunities-cta {
        padding: 3rem 2.5rem;
        border-radius: 24px;
    }

    .no-opportunities h3 {
        font-size: 1.5rem;
    }
}
