/* Hero Banner Styles */
.hero-banner {
    animation: fadeInDown 0.8s ease-out;
}

.featured-topic {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.featured-topic:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,123,255,0.1);
}

.expert-mini-badges .badge {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.expert-mini-badges .badge:hover {
    transform: scale(1.05);
}

/* Cluster Cards Advanced Styles */
.cluster-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.cluster-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
    border-color: #007bff;
}

.cluster-image {
    position: relative;
    overflow: hidden;
}

.cluster-image img {
    transition: transform 0.4s ease;
}

.cluster-card:hover .cluster-image img {
    transform: scale(1.08);
}

.expert-count-overlay .badge {
    backdrop-filter: blur(10px);
    background-color: rgba(0,0,0,0.8) !important;
    border: 1px solid rgba(255,255,255,0.2);
}

.expert-item {
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 8px;
}

.expert-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.expert-avatar {
    position: relative;
    transition: transform 0.3s ease;
}

.expert-avatar-img {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.expert-item:hover .expert-avatar-img {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

.fallback-icon {
    border: 2px solid #e9ecef;
}

.expert-item:hover .expert-avatar {
    transform: scale(1.1);
}

.expert-list {
    max-height: 160px;
    overflow-y: auto;
}

.expert-list::-webkit-scrollbar {
    width: 3px;
}

.expert-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.expert-list::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 2px;
}

.cluster-stats {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 12px;
}

.stat-number {
    font-size: 18px;
    line-height: 1;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popular-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.load-more-clusters {
    transition: all 0.3s ease;
    border-width: 2px;
}

.load-more-clusters:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,123,255,0.2);
}

.no-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.line-height-sm {
    line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cluster-card:hover {
        transform: translateY(-4px);
    }
    
    .expert-list {
        max-height: 140px;
    }
    
    .cluster-image img,
    .no-image {
        height: 180px !important;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mevcut arama kutusu stilleri korunacak */
.search-container .input-group {
    transition: all 0.3s ease;
}

.search-container .input-group:hover {
    box-shadow: 0 8px 25px rgba(0,123,255,0.15) !important;
    transform: translateY(-2px);
}

.badge-light-primary {
    background-color: rgba(0,123,255,0.1);
    color: #007bff;
    border: 1px solid rgba(0,123,255,0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.badge-light-primary:hover {
    background-color: #007bff;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Şanslı Buton */
.btn-lucky {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffc107 100%);
    color: #2d3748 !important;
    font-weight: 700;
    border: none;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    letter-spacing: 0.5px;
}

.btn-lucky:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
    color: #2d3748 !important;
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 50%, #ffb300 100%);
}

.btn-lucky:active {
    transform: translateY(-1px);
}

/* Şanslı Bölüm */
.lucky-section {
    position: relative;
    z-index: 100;
}

.lucky-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

/* Loading Animasyonu */
.lucky-loading {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.rotating {
    animation: luckyRotate 2s linear infinite;
}

@keyframes luckyRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.dice-container {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

/* Badge'ler */
.badge-golden {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #2d3748 !important;
    font-weight: 600;
    font-size: 14px;
}

.badge-premium-gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    color: #2d3748 !important;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Premium Küme Kartı */
.lucky-cluster-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
}

.premium-cluster-container {
    min-height: 400px;
    border-radius: 15px;
}

.premium-bg {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.05) 0%, 
        rgba(255, 193, 7, 0.08) 50%, 
        rgba(255, 152, 0, 0.05) 100%);
}

/* Premium Görsel */
.lucky-image-container {
    height: 100%;
    min-height: 350px;
}

.premium-image-frame {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.lucky-main-image {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.premium-image-frame:hover .lucky-main-image {
    transform: scale(1.1);
}

.image-overlay-premium {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.15) 0%, 
        rgba(255, 193, 7, 0.1) 50%, 
        transparent 100%);
}

.premium-badge-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
}

.premium-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    height: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* İçerik Alanı */
.lucky-content-area {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lucky-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-badge {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    color: #2d3748;
}

/* Premium Uzmanlar */
.expert-avatar-premium {
    width: 50px;
    height: 50px;
    position: relative;
}

.premium-avatar {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 3px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.premium-avatar-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.expert-item-premium {
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.expert-item-premium:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(5px);
    border-color: rgba(255, 215, 0, 0.3);
}

/* Premium Butonlar */
.btn-premium-gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    color: #2d3748 !important;
    font-weight: 700;
    border: none;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

.btn-premium-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.4);
    color: #2d3748 !important;
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
}

/* Aksiyon Butonları */
.lucky-actions {
    padding: 1.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .lucky-title {
        font-size: 1.8rem;
    }
    
    .lucky-cluster-card {
        padding: 1.5rem;
    }
    
    .premium-image-frame,
    .premium-placeholder {
        min-height: 250px;
    }
    
    .lucky-main-image {
        min-height: 250px;
    }
    
    .btn-lucky {
        font-size: 14px;
        padding: 10px 25px;
    }
}

/* Animasyonlar */
.lucky-section {
    animation: slideInFromTop 0.6s ease-out;
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lucky-cluster-card {
    animation: fadeInScale 0.8s ease-out 0.3s both;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}