/* AGRESIF COVER OVERRIDE - TÜM STILLERI GEÇERSIZ KIL */
.contentCard-top {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.contentCard-top img {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.contentCard-top a {
    display: block !important;
    width: 100% !important;
    height: 200px !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
}

/* Cover ana container */
.course-cover {
    position: relative !important;
    width: 100% !important;
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    box-shadow: none !important;
    transform: translateZ(0) !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1 !important;
}

/* Background katmanları */
.course-cover__bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
}

.course-cover__bgGradient {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: var(--cover-gradient, linear-gradient(135deg, #667eea, #764ba2)) !important;
    z-index: 2 !important;
}

.course-cover__texture {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px) !important;
    background-size: 6px 6px !important;
    mix-blend-mode: overlay !important;
    opacity: .4 !important;
    z-index: 3 !important;
}

.course-cover__vignette {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 50%, rgba(0,0,0,.25) 100%) !important;
    z-index: 4 !important;
}

.course-cover__gloss {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(180deg, rgba(255,255,255,.25) 0%, rgba(255,255,255,0) 40%) !important;
    mix-blend-mode: screen !important;
    z-index: 5 !important;
}

/* Center element */
.course-cover__center {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
    z-index: 10 !important;
}

.course-cover__bubble {
    position: absolute !important;
    width: 700px !important;
    height: 700px !important;
    background: rgba(255,255,255,0.08) !important;
    top: -350px !important;
    left: -250px !important;
    border-radius: 50% !important;
    z-index: 6 !important;
}

.course-cover__centerIcon {
    position: relative !important;
    font-size: 70px !important;
    opacity: .95 !important;
    text-shadow: 0 6px 18px rgba(0,0,0,.3) !important;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)) !important;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji", "EmojiOne Color", "Noto Emoji", "Android Emoji", "EmojiSymbols", sans-serif !important;
    font-variant-emoji: emoji !important;
    z-index: 15 !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Badge element */
.course-cover__badge {
    position: absolute !important;
    right: 8px !important;
    bottom: 8px !important;
    background: rgba(255,255,255,0.9) !important;
    color: #333 !important;
    padding: 4px 8px !important;
    border-radius: 999px !important;
    font-weight: 500 !important;
    font-size: .65rem !important;
    letter-spacing: .05px !important;
    backdrop-filter: blur(2px) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.15) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    border: 1px solid rgba(255,255,255,.4) !important;
    z-index: 20 !important;
    min-width: 80px !important;
    white-space: nowrap !important;
    max-width: 120px !important;
}

.course-cover__badgeIcon {
    font-size: .7rem !important;
    line-height: 1 !important;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)) !important;
}

/* Lesson element */
.course-cover__lesson {
    position: absolute !important;
    left: 8px !important;
    bottom: 8px !important;
    background: rgba(0,0,0,0.8) !important;
    color: #fff !important;
    padding: 3px 6px !important;
    border-radius: 999px !important;
    font-weight: 500 !important;
    font-size: .6rem !important;
    letter-spacing: .05px !important;
    backdrop-filter: blur(2px) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.15) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    z-index: 20 !important;
    min-width: 60px !important;
    white-space: nowrap !important;
    max-width: 100px !important;
}

/* Brand element */
.course-cover__brand {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    background: #ffffff !important;
    color: #111827 !important;
    padding: 3px 6px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    letter-spacing: .1px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.15) !important;
    font-size: .65rem !important;
    border: 1px solid rgba(17,24,39,.08) !important;
    z-index: 25 !important;
    white-space: nowrap !important;
    max-width: 100px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .course-cover {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
    }
    
    .contentCard-top a {
        height: 180px !important;
    }
    
    .course-cover__centerIcon {
        font-size: 50px !important;
    }
    
    .course-cover__badge {
        font-size: .6rem !important;
        padding: 3px 6px !important;
        right: 6px !important;
        bottom: 6px !important;
        min-width: 70px !important;
        max-width: 100px !important;
    }
    
    .course-cover__lesson {
        font-size: .55rem !important;
        padding: 2px 4px !important;
        left: 6px !important;
        bottom: 6px !important;
        min-width: 50px !important;
        max-width: 80px !important;
    }
    
    .course-cover__brand {
        font-size: .6rem !important;
        padding: 2px 4px !important;
        top: 6px !important;
        left: 6px !important;
        max-width: 80px !important;
    }
}

@media (min-width: 992px) {
    .course-cover__centerIcon {
        font-size: 90px !important;
    }
}

/* Gerçek Kurs Resmi Stilleri */
.course-cover--real-image {
    position: relative !important;
    width: 100% !important;
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.course-cover--real-image .course-cover__overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%) !important;
    z-index: 1 !important;
}

.course-cover--real-image .course-cover__brand {
    z-index: 25 !important;
}

.course-cover--real-image .course-cover__badge {
    z-index: 20 !important;
}

.course-cover--real-image .course-cover__lesson {
    z-index: 20 !important;
}

/* Modern Countdown Timer */
.countdown-timer {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 50%, #bd2130 100%) !important;
    color: white !important;
    padding: 5px 10px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    box-shadow: 
        0 4px 15px rgba(220, 53, 69, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
    animation: countdownPulse 2s ease-in-out infinite !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
}

.countdown-timer::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    ) !important;
    animation: countdownShine 3s linear infinite !important;
}

.countdown-timer:hover {
    transform: scale(1.05) !important;
    box-shadow: 
        0 6px 20px rgba(220, 53, 69, 0.5),
        0 3px 10px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.countdown-timer i {
    animation: countdownTick 1s ease-in-out infinite !important;
}

@keyframes countdownPulse {
    0%, 100% {
        box-shadow: 
            0 4px 15px rgba(220, 53, 69, 0.4),
            0 2px 8px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 6px 20px rgba(220, 53, 69, 0.6),
            0 3px 10px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@keyframes countdownShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes countdownTick {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* ========================================
   PREMIUM CONTENT CARD BOTTOM DESIGN
   Modern, Clean & Professional
   ======================================== */

/* Main Container - Glass Morphism Effect */
.contentCard-bottom {
    padding: 12px 8px 8px 8px !important;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfd 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    position: relative !important;
    min-height: auto !important;
    border-radius: 0 0 12px 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
}

/* Elegant Top Border with Gradient */
.contentCard-bottom::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%) !important;
    opacity: 0.8 !important;
    transition: opacity 0.3s ease !important;
}

/* Subtle Background Pattern */
.contentCard-bottom::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: radial-gradient(circle at 1px 1px, rgba(102, 126, 234, 0.03) 1px, transparent 0) !important;
    background-size: 20px 20px !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

/* Hover Effects */
.contentCard:hover .contentCard-bottom {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fd 100%) !important;
    box-shadow: 0 -4px 20px rgba(102, 126, 234, 0.08) !important;
    transform: translateY(-2px) !important;
}

.contentCard:hover .contentCard-bottom::before {
    opacity: 1 !important;
    height: 4px !important;
}

/* Title Section - Premium Typography */
.contentCard-bottom h5 {
    margin: 0 0 8px 0 !important;
    line-height: 1.5 !important;
    font-size: 1rem !important;
    min-height: 48px !important;
    position: relative !important;
    z-index: 1 !important;
}

/* contentCard-more spacing reduction */
.contentCard.contentCard--course .contentCard-more {
    gap: 4px !important;
    margin-top: 10px !important;
    padding-top: 10px !important;
    padding: 10px 6px !important;
}

.contentCard.contentCard--course .contentCard-more > div {
    gap: 2px !important;
    padding: 4px 2px !important;
}

.contentCard-bottom h5 a {
    color: #1e293b !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    letter-spacing: -0.01em !important;
}

/* Premium Underline Animation */
.contentCard-bottom h5 a::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%) !important;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 2px !important;
}

.contentCard-bottom h5 a:hover {
    color: #667eea !important;
    letter-spacing: 0 !important;
}

.contentCard-bottom h5 a:hover::after {
    width: 100% !important;
}

/* Hide User Info */
.contentCard-user {
    display: none !important;
}

/* Old Price - Elegant Strike-through */
.contentCard-bottom del,
.contentCard-bottom .price del {
    display: block !important;
    font-size: 0.875rem !important;
    color: #94a3b8 !important;
    font-weight: 400 !important;
    margin-bottom: 6px !important;
    text-align: left !important;
    position: relative !important;
    z-index: 1 !important;
    opacity: 0.8 !important;
    letter-spacing: 0.01em !important;
}

/* Kurs kartları için global CSS kullanılıyor - app.blade.php'den besleniyor */

/* Price - Premium Display */
.contentCard-bottom .price {
    font-weight: 700 !important;
    font-size: 1.4rem !important;
    color: #1e293b !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    position: relative !important;
    letter-spacing: -0.02em !important;
}

/* Discount Price - Eye-catching Red */
.contentCard-bottom .price .text-danger {
    color: #dc2626 !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    position: relative !important;
    text-shadow: 0 2px 8px rgba(220, 38, 38, 0.15) !important;
}

/* Discount Badge - Premium Design */
.contentCard-bottom .discount-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    box-shadow: 
        0 4px 12px rgba(220, 38, 38, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.01em !important;
}

/* Badge Shine Effect */
.contentCard-bottom .discount-badge::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    ) !important;
    animation: badgeShine 3s infinite !important;
}

@keyframes badgeShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.contentCard:hover .discount-badge {
    transform: scale(1.05) !important;
    box-shadow: 
        0 6px 16px rgba(220, 38, 38, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* Rating Stars */
.contentCard-bottom .rating {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #f59e0b !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Large Desktop */
@media (min-width: 1200px) {
    .contentCard-bottom {
        padding: 12px 8px 8px 8px !important;
        min-height: auto !important;
    }
    
    .contentCard-bottom h5 {
        font-size: 1.05rem !important;
        min-height: 50px !important;
    }
    
    .contentCard-bottom .price {
        font-size: 1.5rem !important;
    }
    
    .contentCard-bottom .price .text-danger {
        font-size: 1.5rem !important;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .contentCard-bottom {
        padding: 10px 6px 6px 6px !important;
        gap: 10px !important;
        min-height: auto !important;
    }
    
    .contentCard-bottom h5 {
        font-size: 0.95rem !important;
        min-height: 44px !important;
    }
    
    .contentCard-bottom del {
        font-size: 0.8rem !important;
    }
    
    .contentCard-bottom .price {
        font-size: 1.3rem !important;
    }
    
    .contentCard-bottom .price .text-danger {
        font-size: 1.3rem !important;
    }
    
    .contentCard-bottom .discount-badge {
        font-size: 0.8rem !important;
        padding: 5px 10px !important;
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    .contentCard-bottom {
        padding: 10px 6px 6px 6px !important;
        gap: 8px !important;
        min-height: auto !important;
        border-radius: 0 0 10px 10px !important;
    }
    
    .contentCard-bottom::before {
        height: 2px !important;
    }
    
    .contentCard-bottom h5 {
        font-size: 0.9rem !important;
        min-height: 40px !important;
        margin-bottom: 6px !important;
    }
    
    
    .contentCard-bottom del {
        font-size: 0.75rem !important;
        margin-bottom: 5px !important;
    }
    
    .contentCard-bottom .price {
        font-size: 1.2rem !important;
    }
    
    .contentCard-bottom .price .text-danger {
        font-size: 1.2rem !important;
    }
    
    .contentCard-bottom .discount-badge {
        font-size: 0.75rem !important;
        padding: 4px 9px !important;
    }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
    .contentCard-bottom {
        padding: 8px 4px 4px 4px !important;
        gap: 7px !important;
        min-height: auto !important;
        border-radius: 0 0 8px 8px !important;
    }
    
    .contentCard-bottom h5 {
        font-size: 0.85rem !important;
        min-height: 38px !important;
    }
    
    
    .contentCard-bottom del {
        font-size: 0.7rem !important;
    }
    
    .contentCard-bottom .price {
        font-size: 1.1rem !important;
    }
    
    .contentCard-bottom .price .text-danger {
        font-size: 1.1rem !important;
    }
    
    .contentCard-bottom .discount-badge {
        font-size: 0.7rem !important;
        padding: 3px 8px !important;
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .contentCard-bottom {
        padding: 8px 4px 4px 4px !important;
        gap: 6px !important;
        min-height: auto !important;
    }
    
    .contentCard-bottom h5 {
        font-size: 0.8rem !important;
        min-height: 36px !important;
    }
    
    .contentCard-bottom .price {
        font-size: 1rem !important;
    }
    
    .contentCard-bottom .price .text-danger {
        font-size: 1rem !important;
    }
    
    .contentCard-bottom .discount-badge {
        font-size: 0.65rem !important;
        padding: 3px 7px !important;
    }
}
