/* Ultra Modern ve Etkileyici Blog Tasarımı */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

.modern-blog-container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 40px 20px; 
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.modern-blog-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.modern-blog-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 40px; 
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.modern-blog-card { 
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin: 2px; /* Border için alan */
}

/* Dönen Neon Border Efektleri */
.modern-blog-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: conic-gradient(
        from 0deg,
        #ff0080, #ff8000, #80ff00, #00ff80, #0080ff, #8000ff, #ff0080
    );
    border-radius: 26px;
    z-index: -1;
    animation: rotateBorder 3s linear infinite;
    opacity: 0.8;
}

.modern-blog-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 24px;
    z-index: -1;
}

/* Her kart için farklı renk kombinasyonları */
.modern-blog-card:nth-child(1)::before {
    background: conic-gradient(
        from 0deg,
        #ff0080, #ff4080, #ff8000, #ffc040, #ff0080
    );
    animation: rotateBorder 2.5s linear infinite;
}

.modern-blog-card:nth-child(2)::before {
    background: conic-gradient(
        from 0deg,
        #00ff80, #40ffa0, #80ff00, #c0ff40, #00ff80
    );
    animation: rotateBorder 3.2s linear infinite reverse;
}

.modern-blog-card:nth-child(3)::before {
    background: conic-gradient(
        from 0deg,
        #0080ff, #4080ff, #8000ff, #c040ff, #0080ff
    );
    animation: rotateBorder 2.8s linear infinite;
}

.modern-blog-card:nth-child(4)::before {
    background: conic-gradient(
        from 0deg,
        #ff8000, #ffa040, #ff0080, #ff4080, #ff8000
    );
    animation: rotateBorder 3.5s linear infinite reverse;
}

.modern-blog-card:nth-child(5)::before {
    background: conic-gradient(
        from 0deg,
        #80ff00, #a0ff40, #00ff80, #40ffa0, #80ff00
    );
    animation: rotateBorder 2.2s linear infinite;
}

.modern-blog-card:nth-child(6)::before {
    background: conic-gradient(
        from 0deg,
        #8000ff, #a040ff, #0080ff, #4080ff, #8000ff
    );
    animation: rotateBorder 3.8s linear infinite reverse;
}

.modern-blog-card:nth-child(7)::before {
    background: conic-gradient(
        from 0deg,
        #ff4080, #ff60a0, #ff8000, #ffa040, #ff4080
    );
    animation: rotateBorder 2.7s linear infinite;
}

.modern-blog-card:nth-child(8)::before {
    background: conic-gradient(
        from 0deg,
        #40ffa0, #60ffc0, #80ff00, #a0ff40, #40ffa0
    );
    animation: rotateBorder 3.1s linear infinite reverse;
}

.modern-blog-card:nth-child(9)::before {
    background: conic-gradient(
        from 0deg,
        #4080ff, #60a0ff, #8000ff, #a040ff, #4080ff
    );
    animation: rotateBorder 2.9s linear infinite;
}

.modern-blog-card:nth-child(10)::before {
    background: conic-gradient(
        from 0deg,
        #ffa040, #ffc060, #ff4080, #ff60a0, #ffa040
    );
    animation: rotateBorder 3.3s linear infinite reverse;
}

.modern-blog-card:nth-child(11)::before {
    background: conic-gradient(
        from 0deg,
        #a0ff40, #c0ff60, #40ffa0, #60ffc0, #a0ff40
    );
    animation: rotateBorder 2.4s linear infinite;
}

.modern-blog-card:nth-child(12)::before {
    background: conic-gradient(
        from 0deg,
        #a040ff, #c060ff, #4080ff, #60a0ff, #a040ff
    );
    animation: rotateBorder 3.6s linear infinite reverse;
}

/* Dönen border animasyonu */
@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modern-blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 119, 198, 0.1) 0%, 
        rgba(120, 119, 198, 0.1) 50%, 
        rgba(120, 219, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.modern-blog-card:hover::before {
    opacity: 1;
}

.modern-blog-card:hover { 
    transform: translateY(-20px) rotateX(5deg) rotateY(5deg) scale(1.05);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 119, 198, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.modern-blog-card:hover::before {
    opacity: 1;
    animation-duration: 1s; /* Hover'da daha hızlı dönsün */
    filter: brightness(1.5) saturate(1.5);
}

.modern-blog-card-inner { 
    display: flex; 
    flex-direction: column; 
    height: 100%;
    position: relative;
    z-index: 2;
}

.modern-blog-image { 
    position: relative; 
    height: 250px; 
    overflow: hidden;
    background: linear-gradient(135deg, #ff77c6 0%, #7877c6 50%, #78dbff 100%);
}

.modern-blog-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 119, 198, 0.8) 0%, 
        rgba(120, 119, 198, 0.8) 50%, 
        rgba(120, 219, 255, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 2;
}

.modern-blog-card:hover .modern-blog-image::before {
    opacity: 1;
}

.modern-blog-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    filter: brightness(0.9) contrast(1.1);
}

.modern-blog-card:hover .modern-blog-image img { 
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.1) contrast(1.2) saturate(1.3);
}

.modern-blog-no-image { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    height: 100%; 
    color: rgba(255, 255, 255, 0.8); 
    font-size: 4rem;
    background: linear-gradient(135deg, #ff77c6, #7877c6, #78dbff);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.modern-blog-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background: linear-gradient(45deg, 
        rgba(255, 119, 198, 0.9) 0%, 
        rgba(120, 119, 198, 0.9) 50%, 
        rgba(120, 219, 255, 0.9) 100%);
    display: flex; 
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 3;
}

.modern-blog-card:hover .modern-blog-overlay { 
    opacity: 1;
}

.modern-blog-read-more { 
    color: white; 
    font-size: 3rem; 
    text-decoration: none; 
    transform: scale(0) rotate(180deg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.modern-blog-card:hover .modern-blog-read-more { 
    transform: scale(1) rotate(0deg);
}

.modern-blog-content { 
    padding: 30px; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
}

.modern-blog-meta { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
    font-size: 0.9rem;
}

.modern-blog-date, .modern-blog-category { 
    display: flex; 
    align-items: center; 
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.modern-blog-date i, .modern-blog-category i {
    color: #ff77c6;
    text-shadow: 0 0 10px rgba(255, 119, 198, 0.5);
}

.modern-blog-title { 
    margin: 0 0 20px 0; 
    font-size: 1.4rem; 
    font-weight: 700; 
    line-height: 1.3;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modern-blog-title a { 
    color: #ffffff; 
    text-decoration: none; 
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff, #ff77c6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modern-blog-title a:hover { 
    background: linear-gradient(135deg, #ff77c6, #78dbff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 119, 198, 0.5);
}

.modern-blog-excerpt { 
    color: rgba(255, 255, 255, 0.8); 
    line-height: 1.7; 
    margin-bottom: 25px; 
    flex-grow: 1;
    font-size: 1rem;
}

.modern-blog-footer { 
    margin-top: auto;
}

.modern-blog-btn { 
    display: inline-flex; 
    align-items: center; 
    gap: 12px; 
    padding: 16px 32px; 
    background: linear-gradient(135deg, #ff77c6 0%, #7877c6 50%, #78dbff 100%);
    background-size: 200% 200%;
    color: white; 
    text-decoration: none; 
    border-radius: 30px; 
    font-weight: 600; 
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        0 8px 25px rgba(255, 119, 198, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.modern-blog-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.modern-blog-btn:hover::before {
    left: 100%;
}

.modern-blog-btn:hover { 
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(255, 119, 198, 0.4),
        0 0 30px rgba(255, 119, 198, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background-position: 100% 0;
    color: white;
}

.modern-blog-btn i { 
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.modern-blog-btn:hover i { 
    transform: translateX(5px) scale(1.2);
}

/* Load More Button Styles */
.modern-blog-load-more-container { 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    margin-top: 80px;
    position: relative;
    z-index: 2;
    gap: 20px;
}

.modern-blog-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #ff77c6 0%, #7877c6 50%, #78dbff 100%);
    background-size: 200% 200%;
    color: white;
    border: none;
    border-radius: 35px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 
        0 10px 30px rgba(255, 119, 198, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    min-width: 280px;
    justify-content: center;
}

.modern-blog-load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.modern-blog-load-more-btn:hover::before {
    left: 100%;
}

.modern-blog-load-more-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(255, 119, 198, 0.4),
        0 0 30px rgba(255, 119, 198, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background-position: 100% 0;
}

.modern-blog-load-more-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.modern-blog-load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.modern-blog-load-more-btn i {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.modern-blog-load-more-btn:hover i {
    transform: rotate(90deg) scale(1.2);
}

.modern-blog-load-more-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-blog-load-more-info .current-count {
    color: #ff77c6;
    font-weight: 700;
}

.modern-blog-load-more-info .total-count {
    color: #78dbff;
    font-weight: 700;
}

/* Loading Animation */
.modern-blog-load-more-btn .btn-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Animation */
.modern-blog-load-more-btn.success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive Load More */
@media (max-width: 768px) {
    .modern-blog-load-more-btn {
        padding: 16px 32px;
        font-size: 1rem;
        min-width: 250px;
    }
    
    .modern-blog-load-more-container {
        margin-top: 60px;
    }
}

@media (max-width: 480px) {
    .modern-blog-load-more-btn {
        padding: 14px 28px;
        font-size: 0.9rem;
        min-width: 220px;
    }
    
    .modern-blog-load-more-info {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
}

.modern-blog-pagination .page-numbers { 
    display: flex; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    gap: 15px;
}

.modern-blog-pagination .page-numbers li { 
    margin: 0;
}

.modern-blog-pagination .page-numbers a, 
.modern-blog-pagination .page-numbers span { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    padding: 15px 25px; 
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none; 
    border-radius: 30px; 
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modern-blog-pagination .page-numbers a:hover, 
.modern-blog-pagination .page-numbers .current { 
    background: linear-gradient(135deg, #ff77c6 0%, #7877c6 50%, #78dbff 100%);
    color: white; 
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 10px 25px rgba(255, 119, 198, 0.3),
        0 0 20px rgba(255, 119, 198, 0.2);
    border-color: rgba(255, 119, 198, 0.3);
}

.modern-blog-no-posts { 
    text-align: center; 
    padding: 80px 20px; 
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-blog-debug {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 119, 198, 0.3) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 16px !important;
}

/* Particle Effect */
.modern-blog-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 119, 198, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(120, 119, 198, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(120, 219, 255, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 119, 198, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: particleFloat 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes particleFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-200px); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .modern-blog-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 768px) { 
    .modern-blog-grid { grid-template-columns: 1fr; gap: 25px; } 
    .modern-blog-image { height: 220px; } 
    .modern-blog-content { padding: 25px; }
    .modern-blog-container { padding: 20px 15px; }
    .modern-blog-card:hover { transform: translateY(-10px) scale(1.02); }
}

@media (max-width: 480px) {
    .modern-blog-container { padding: 15px 10px; }
    .modern-blog-content { padding: 20px; }
    .modern-blog-image { height: 200px; }
    .modern-blog-title { font-size: 1.2rem; }
    .modern-blog-btn { padding: 14px 28px; font-size: 0.9rem; }
}
