/* =============================================
   ETİKET SAYFASI - MODERN TEKNOLOJİK TASARIM
   ============================================= */

/* ===== ETİKET HERO ===== */
.etiket-hero {
    position: relative;
    padding: 45px 30px 50px;
    margin-bottom: 35px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 50%, #f5f0ff 100%);
    border: 1px solid var(--border);
}

body.dark-mode .etiket-hero {
    background: linear-gradient(135deg, #0a0a1a 0%, #111128 50%, #0a0a1a 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

.etiket-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatLight 8s ease-in-out infinite;
    pointer-events: none;
}

.etiket-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(106, 17, 203, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatLight 10s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes floatLight {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
}

.etiket-hero-inner {
    position: relative;
    z-index: 2;
}

.etiket-baslik-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.etiket-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1a73e8, #6a11cb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 10px 40px rgba(26, 115, 232, 0.35);
    flex-shrink: 0;
    position: relative;
}

.etiket-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 26px;
    border: 2px solid rgba(26, 115, 232, 0.25);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.5; }
}

.etiket-text {
    flex: 1;
    min-width: 200px;
}

.etiket-text h1 {
    font-size: 38px;
    font-weight: 900;
    color: #0a0a1a;
    margin: 0 0 10px;
    letter-spacing: -1px;
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

body.dark-mode .etiket-text h1 {
    color: #ffffff;
}

.etiket-text h1 .etiket-hash {
    color: #1a73e8;
    font-weight: 900;
}

body.dark-mode .etiket-text h1 .etiket-hash {
    color: #4a9eff;
}

.etiket-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.etiket-sayisi {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #1a73e8;
    background: rgba(26, 115, 232, 0.1);
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid rgba(26, 115, 232, 0.2);
}

body.dark-mode .etiket-sayisi {
    color: #4a9eff;
    background: rgba(74, 158, 255, 0.15);
    border-color: rgba(74, 158, 255, 0.3);
}

.etiket-aciklama {
    font-size: 15px;
    color: #5a5a7a;
    margin: 15px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.6;
}

body.dark-mode .etiket-aciklama {
    color: rgba(255, 255, 255, 0.6);
}

.etiket-aciklama i {
    color: #1a73e8;
}

body.dark-mode .etiket-aciklama i {
    color: #4a9eff;
}

/* ===== ETİKET GRİD ===== */
.etiket-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.etiket-haber-item {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark-mode .etiket-haber-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.etiket-haber-item:hover {
    box-shadow: 0 20px 50px rgba(26, 115, 232, 0.15);
    transform: translateY(-5px);
    border-color: rgba(26, 115, 232, 0.2);
}

body.dark-mode .etiket-haber-item:hover {
    box-shadow: 0 20px 50px rgba(74, 158, 255, 0.2);
    border-color: rgba(74, 158, 255, 0.3);
}

.etiket-haber-link {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    text-decoration: none;
    color: inherit;
    min-height: 160px;
}

.etiket-haber-image {
    position: relative;
    overflow: hidden;
    background: #f0f4ff;
    flex-shrink: 0;
}

body.dark-mode .etiket-haber-image {
    background: rgba(0, 0, 0, 0.3);
}

.etiket-haber-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.etiket-haber-item:hover .etiket-haber-image img {
    transform: scale(1.08);
}

.etiket-haber-image .haber-kategori {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #1a73e8, #6a11cb);
    color: white;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.4);
    z-index: 2;
}

.etiket-haber-body {
    padding: 22px 26px 22px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.etiket-haber-body h3 {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #0a0a1a;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.3px;
}

body.dark-mode .etiket-haber-body h3 {
    color: #ffffff;
}

.etiket-haber-item:hover .etiket-haber-body h3 {
    color: #1a73e8;
}

body.dark-mode .etiket-haber-item:hover .etiket-haber-body h3 {
    color: #4a9eff;
}

.etiket-haber-body p {
    font-size: 14px;
    color: #5a5a7a;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
}

body.dark-mode .etiket-haber-body p {
    color: rgba(255, 255, 255, 0.6);
}

.etiket-haber-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 12px;
    color: #8a8aaa;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark-mode .etiket-haber-meta {
    color: rgba(255, 255, 255, 0.5);
    border-top-color: rgba(255, 255, 255, 0.06);
}

.etiket-haber-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.etiket-haber-meta i {
    color: #1a73e8;
}

body.dark-mode .etiket-haber-meta i {
    color: #4a9eff;
}

.etiket-haber-meta .yazar {
    color: #0a0a1a;
    font-weight: 600;
}

body.dark-mode .etiket-haber-meta .yazar {
    color: #ffffff;
}

/* ===== BENZER ETİKETLER ===== */
.benzer-etiketler {
    margin-top: 40px;
    padding: 28px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

body.dark-mode .benzer-etiketler {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.benzer-baslik {
    font-size: 18px;
    font-weight: 800;
    color: #0a0a1a;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
}

body.dark-mode .benzer-baslik {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.benzer-baslik i {
    color: #1a73e8;
    font-size: 20px;
}

body.dark-mode .benzer-baslik i {
    color: #4a9eff;
}

.benzer-etiket-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.benzer-etiket-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 18px;
    background: #ffffff;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #0a0a1a;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.dark-mode .benzer-etiket-item {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.benzer-etiket-item .etiket-hash {
    color: #1a73e8;
    font-weight: 800;
}

body.dark-mode .benzer-etiket-item .etiket-hash {
    color: #4a9eff;
}

.benzer-etiket-item:hover {
    background: linear-gradient(135deg, #1a73e8, #6a11cb);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.3);
}

.benzer-etiket-item:hover .etiket-hash {
    color: white;
}

/* ===== HABER YOK ===== */
.haber-yok {
    text-align: center;
    padding: 70px 30px;
    background: #ffffff;
    border-radius: 24px;
    border: 2px dashed rgba(0, 0, 0, 0.08);
}

body.dark-mode .haber-yok {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.haber-yok i {
    font-size: 64px;
    color: #1a73e8;
    margin-bottom: 20px;
    display: block;
    opacity: 0.3;
}

body.dark-mode .haber-yok i {
    color: #4a9eff;
}

.haber-yok h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0a0a1a;
    margin-bottom: 10px;
}

body.dark-mode .haber-yok h3 {
    color: #ffffff;
}

.haber-yok p {
    font-size: 15px;
    color: #5a5a7a;
    margin: 0;
}

body.dark-mode .haber-yok p {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== INFINITE SCROLL ===== */
.infinity-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.infinity-item .etiket-haber-item {
    margin-bottom: 0;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.infinity-loader {
    text-align: center;
    padding: 40px 0;
    display: none;
}

.infinity-loader.active {
    display: block;
}

.infinity-loader .spinner {
    display: inline-block;
    width: 48px;
    height: 48px;
    border: 4px solid rgba(0, 0, 0, 0.06);
    border-top-color: #1a73e8;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

body.dark-mode .infinity-loader .spinner {
    border-color: rgba(255, 255, 255, 0.08);
    border-top-color: #4a9eff;
}

.infinity-loader p {
    margin-top: 16px;
    color: #8a8aaa;
    font-size: 14px;
    font-weight: 600;
}

body.dark-mode .infinity-loader p {
    color: rgba(255, 255, 255, 0.5);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .etiket-hero {
        padding: 30px 20px 35px;
        border-radius: 18px;
    }
    
    .etiket-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        border-radius: 16px;
    }
    
    .etiket-text h1 {
        font-size: 26px;
    }
    
    .etiket-aciklama {
        font-size: 14px;
    }
    
    .etiket-haber-link {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .etiket-haber-image {
        height: 220px;
    }
    
    .etiket-haber-body {
        padding: 18px 20px;
    }
    
    .etiket-haber-body h3 {
        font-size: 17px;
    }
    
    .etiket-haber-meta {
        gap: 14px;
        flex-wrap: wrap;
    }
    
    .benzer-etiketler {
        padding: 20px;
    }
    
    .benzer-baslik {
        font-size: 16px;
    }
    
    .benzer-etiket-item {
        padding: 6px 14px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .etiket-hero {
        padding: 24px 16px 28px;
    }
    
    .etiket-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        border-radius: 14px;
    }
    
    .etiket-text h1 {
        font-size: 22px;
    }
    
    .etiket-haber-image {
        height: 180px;
    }
    
    .etiket-haber-body h3 {
        font-size: 16px;
    }
    
    .etiket-haber-body p {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    
    .etiket-haber-meta {
        font-size: 11px;
        gap: 10px;
    }
    
    .benzer-etiket-item {
        padding: 5px 12px;
        font-size: 11px;
    }
}
