/* Mid-Range Cards Universal Styling - Blue Theme Design System */
/* CARDS ONLY - Mid-Range Section Header handled by camera-mid-range-section.css */

/* Mid-Range Section Container */
.mid-range-section,
.mid-range-cards-section {
    background: linear-gradient(135deg,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 50%,
        rgba(51, 65, 85, 0.95) 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0 80px 0;
    min-height: 100vh;
}

.mid-range-section::before,
.mid-range-cards-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 75% 75%, rgba(29, 78, 216, 0.06) 0%, transparent 60%),
        linear-gradient(135deg, rgba(30, 58, 138, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Mid-Range Product Card */
.mid-range-card,
.mid-range-product-card {
    background: linear-gradient(145deg, 
        rgba(30, 41, 59, 0.8) 0%,
        rgba(51, 65, 85, 0.85) 50%,
        rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(59, 130, 246, 0.1);
    transform-style: preserve-3d;
}

.mid-range-card::before,
.mid-range-product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.05) 0%,
        rgba(29, 78, 216, 0.03) 50%,
        rgba(30, 58, 138, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 24px;
}

.mid-range-card:hover,
.mid-range-product-card:hover {
    transform: translateY(-16px) rotateX(2deg);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(59, 130, 246, 0.15);
}

.mid-range-card:hover::before,
.mid-range-product-card:hover::before {
    opacity: 1;
}

/* Mid-Range Badges System */
.mid-range-brand-badge {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.mid-range-new-badge {
    background: linear-gradient(135deg, #1e40af, #3730a3);
    color: #bfdbfe;
    border: 1px solid rgba(30, 64, 175, 0.4);
}

/* Color-coded specification boxes - Blue Theme */
.mid-range-resolution-box {
    border-left: 3px solid #3b82f6;
}

.mid-range-resolution-box:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.mid-range-resolution-box .spec-main-value {
    color: #60a5fa;
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.4);
}

/* IBIS Specification Box */
.mid-range-ibis-box {
    border-left: 3px solid #2563eb;
}

.mid-range-ibis-box:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
}

.mid-range-ibis-box .spec-main-value {
    color: #3b82f6;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

/* AF Points Specification Box */
.mid-range-af-box {
    border-left: 3px solid #1e40af;
}

.mid-range-af-box:hover {
    border-color: #1e40af;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.2);
}

.mid-range-af-box .spec-main-value {
    color: #60a5fa;
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.4);
}

/* Battery Specification Box */
.mid-range-battery-box {
    border-left: 3px solid #1d4ed8;
}

.mid-range-battery-box:hover {
    border-color: #1d4ed8;
    box-shadow: 0 8px 25px rgba(29, 78, 216, 0.2);
}

.mid-range-battery-box .spec-main-value {
    color: #3b82f6;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

/* Burst Specification Box */
.mid-range-burst-box {
    border-left: 3px solid #2563eb;
}

.mid-range-burst-box:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
}

.mid-range-burst-box .spec-main-value {
    color: #60a5fa;
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.4);
}

/* Weight Specification Box */
.mid-range-weight-box {
    border-left: 3px solid #1e40af;
}

.mid-range-weight-box:hover {
    border-color: #1e40af;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.2);
}

.mid-range-weight-box .spec-main-value {
    color: #3b82f6;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

/* Film Sims Specification Box */
.mid-range-film-sims-box {
    border-left: 3px solid #1d4ed8;
}

.mid-range-film-sims-box:hover {
    border-color: #1d4ed8;
    box-shadow: 0 8px 25px rgba(29, 78, 216, 0.2);
}

.mid-range-film-sims-box .spec-main-value {
    color: #60a5fa;
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.4);
}

.mid-range-video-box {
    border-left: 3px solid #1d4ed8;
}

.mid-range-video-box:hover {
    border-color: #1d4ed8;
    box-shadow: 0 8px 25px rgba(29, 78, 216, 0.2);
}

.mid-range-video-box .spec-main-value {
    color: #3b82f6;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.mid-range-price-box {
    border-left: 3px solid #1e40af;
}

.mid-range-price-box:hover {
    border-color: #1e40af;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.2);
}

.mid-range-price-box .spec-main-value {
    color: #60a5fa;
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.4);
    font-size: 1.3rem;
}

/* Enhanced Rating Section - Blue Theme */
.mid-range-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.12) 0%,
        rgba(29, 78, 216, 0.08) 100%);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    margin-bottom: 18px;
    backdrop-filter: blur(15px);
    box-shadow: 
        inset 0 1px 0 rgba(59, 130, 246, 0.1),
        0 3px 12px rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.mid-range-rating::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, 
        rgba(59, 130, 246, 0.1) 0%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mid-range-rating:hover::before {
    opacity: 1;
}

.mid-range-rating .rating-score {
    font-size: 1.1rem;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    position: relative;
    z-index: 2;
}

/* Mid-Range Buttons - Blue Theme */
.mid-range-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.mid-range-btn-primary::before {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
}

.mid-range-btn-primary:hover {
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.mid-range-amazon-btn {
    background: linear-gradient(135deg, #1e40af, #3730a3);
    color: #bfdbfe;
    border: 1px solid rgba(30, 64, 175, 0.3);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.2);
}

.mid-range-amazon-btn:hover {
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.3);
    color: #bfdbfe;
}

/* Amazon Button Styles */
.amazon-btn {
    cursor: pointer; /* Hand cursor on hover */
}

.amazon-btn:hover {
    cursor: pointer; /* Ensure hand cursor on hover */
}

/* Animation Keyframes - Blue Theme */
@keyframes midRangeCardGlow {
    0%, 100% { 
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                    0 0 60px rgba(59, 130, 246, 0.1);
    }
    50% { 
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
                    0 0 80px rgba(59, 130, 246, 0.2);
    }
}

.mid-range-card.featured {
    animation: midRangeCardGlow 3s ease-in-out infinite;
}

@keyframes midRangeSpecGlow {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
    }
    50% { 
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
    }
}

.mid-range-card.featured .spec-box {
    animation: midRangeSpecGlow 3s ease-in-out infinite;
}
