@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.header-bg {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

.news-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff4444;
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dc2626;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.bell-icon {
    transition: all 0.3s ease;
    cursor: pointer;
}

.bell-icon:hover {
    transform: scale(1.1) rotate(10deg);
    color: #fbbf24;
}

.back-btn {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.floating-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-active {
    color: #dc2626;
    transform: scale(1.1);
}

.nav-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover .nav-icon {
    transform: translateY(-2px) scale(1.1);
}

.nav-item {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #dc2626;
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-active::before {
    width: 24px;
}

.nav-item:hover::before {
    width: 20px;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-input {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.news-icon {
    transition: all 0.3s ease;
}

.news-card:hover .news-icon {
    transform: scale(1.1);
}

/* Haber resmi container */
.news-image-container {
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-image-container img {
    transition: transform 0.3s ease;
}

.news-card:hover .news-image-container img {
    transform: scale(1.05);
}

/* Özet metni için 2 satır sınırlaması */
.news-card .line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: 3em;
}

.share-buttons {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.share-buttons:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.share-btn {
    transition: all 0.3s ease;
    cursor: pointer;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.facebook:hover {
    background: #1877f2;
    color: white;
}

.share-btn.twitter:hover {
    background: #1da1f2;
    color: white;
}

.share-btn.whatsapp:hover {
    background: #25d366;
    color: white;
}

.share-btn.telegram:hover {
    background: #0088cc;
    color: white;
}

.share-btn.copy:hover {
    background: #6b7280;
    color: white;
}