/* GazeteListesi - Birleşik Widget CSS
   Widget PHP dosyalarındaki statik CSS tek dosyada toplanmıştır.
*/

/* =========================================================
   epic_free_games.php
   ========================================================= */
/* =============================================
   EPIC GAMES WIDGET - TEMİZ TASARIM
   ============================================= */

.epic-widget,
.github-widget {
    --bg-white: #ffffff;
    --bg-light: #f5f7fa;
    --text-dark: #1a2332;
    --text-muted: #6c7a8a;
    --border: #e8ecf0;
    --dark-bg-card: #1e293b;
    --dark-bg-secondary: #0f172a;
    --dark-text: #f1f5f9;
    --dark-text-muted: #94a3b8;
    --dark-border: #334155;
}

.epic-widget {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 18px 18px 14px;
    margin-bottom: 25px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.epic-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a3a6b, #00aaff, #2a5a8b, #1a3a6b);
    background-size: 300% 100%;
    animation: gradientMove 6s ease-in-out infinite;
}

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

.epic-widget:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* ★★★ HEADER ★★★ */
.epic-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.epic-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.epic-title .epic-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.epic-title .epic-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.epic-title .epic-logo .logo-light {
    display: block;
}

.epic-title .epic-logo .logo-dark {
    display: none;
}

body.dark-mode .epic-title .epic-logo .logo-light {
    display: none;
}

body.dark-mode .epic-title .epic-logo .logo-dark {
    display: block;
}

.epic-title h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.2px;
}

.epic-title .epic-badge {
    font-size: 8px;
    font-weight: 700;
    color: #00aaff;
    background: rgba(0, 170, 255, 0.08);
    padding: 2px 10px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.epic-time {
    font-size: 9px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.epic-time .live-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #00c853;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* ★★★ TABS ★★★ */
.epic-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
    background: var(--bg-light);
    border-radius: 10px;
    padding: 4px;
}

.epic-tab {
    flex: 1;
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.epic-tab:hover {
    color: var(--text-dark);
    background: rgba(0,0,0,0.03);
}

.epic-tab.active {
    background: var(--bg-white);
    color: #1a3a6b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.epic-tab .tab-count {
    font-size: 9px;
    opacity: 0.6;
    margin-left: 4px;
}

/* ★★★ LISTS ★★★ */
.epic-tab-content {
    display: none;
    flex-direction: column;
    gap: 6px;
    max-height: 380px;
    overflow-y: auto;
}

.epic-tab-content.active {
    display: flex;
}

.epic-tab-content::-webkit-scrollbar {
    width: 4px;
}

.epic-tab-content::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.epic-tab-content::-webkit-scrollbar-thumb {
    background: #1a3a6b;
    border-radius: 4px;
}

/* ★★★ EPIC ITEM - TEMİZ ★★★ */
.epic-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
}

.epic-item:hover {
    background: var(--bg-white);
    border-color: var(--border);
    transform: translateX(4px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.epic-item .game-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-light);
    border: 1px solid var(--border);
}

.epic-item .game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.epic-item .game-image .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #1a3a6b;
    color: white;
    font-size: 16px;
}

.epic-item .info {
    flex: 1;
    min-width: 0;
}

.epic-item .info .title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.epic-item:hover .info .title {
    color: #1a3a6b;
}

/* ★★★ META - TEMİZ ★★★ */
.epic-item .info .meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    flex-wrap: wrap;
}

.epic-item .info .meta .price {
    font-size: 11px;
    font-weight: 700;
    color: #00c853;
}

.epic-item .info .meta .price-old {
    font-size: 10px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.epic-item .info .meta .discount {
    font-size: 10px;
    font-weight: 700;
    color: #ff6b6b;
}

/* ★★★ BADGE'LER - TEMİZ ★★★ */
.epic-item .info .meta .free-badge {
    font-size: 9px;
    font-weight: 700;
    color: #00c853;
}

.epic-item .info .meta .upcoming-badge {
    font-size: 9px;
    font-weight: 700;
    color: #ff9800;
}

/* ★★★ KALAN SÜRE - TEMİZ ★★★ */
.epic-item .info .meta .time-left {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 3px;
}

.epic-item .info .meta .time-left.urgent {
    color: #ff4444;
}

.epic-item .info .meta .seller {
    font-size: 10px;
    color: var(--text-muted);
}

.epic-item .arrow {
    color: var(--text-muted);
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
}

.epic-item:hover .arrow {
    opacity: 1;
    color: #1a3a6b;
}

/* ★★★ SEPERATOR ★★★ */
.epic-item .info .meta .sep {
    color: var(--text-muted);
    opacity: 0.3;
    font-size: 10px;
}

/* =============================================
   DARK MODE
   ============================================= */

body.dark-mode .epic-widget {
    background: var(--dark-bg-card);
    border-color: var(--dark-border);
}

body.dark-mode .epic-title h3 {
    color: var(--dark-text);
}

body.dark-mode .epic-tabs {
    background: var(--dark-bg-secondary);
}

body.dark-mode .epic-tab.active {
    background: var(--dark-bg-card);
    color: #4a8bc2;
}

body.dark-mode .epic-item {
    background: var(--dark-bg-secondary);
}

body.dark-mode .epic-item:hover {
    background: var(--dark-bg-card);
    border-color: var(--dark-border);
}

body.dark-mode .epic-item .info .title {
    color: var(--dark-text);
}

body.dark-mode .epic-item:hover .info .title {
    color: #4a8bc2;
}

body.dark-mode .epic-item .info .meta .discount {
    color: #ff6b6b;
}

body.dark-mode .epic-item .info .meta .time-left {
    color: var(--dark-text-muted);
}

body.dark-mode .epic-item .info .meta .time-left.urgent {
    color: #ff4444;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
    .epic-widget { padding: 14px; }
    .epic-title h3 { font-size: 14px; }
    .epic-item { padding: 6px 8px; gap: 10px; }
    .epic-item .game-image { width: 40px; height: 40px; }
    .epic-item .info .title { font-size: 12px; }
    .epic-tab { font-size: 10px; padding: 6px 8px; }
    .epic-title .epic-logo { width: 30px; height: 30px; }
}

@media (max-width: 480px) {
    .epic-widget { padding: 10px; border-radius: 10px; }
    .epic-title h3 { font-size: 13px; }
    .epic-title .epic-logo { width: 26px; height: 26px; }
    .epic-item { padding: 4px 6px; gap: 8px; }
    .epic-item .game-image { width: 34px; height: 34px; }
    .epic-item .info .title { font-size: 11px; }
    .epic-item .info .meta .price { font-size: 10px; }
    .epic-tab { font-size: 9px; padding: 4px 6px; }
    .epic-item .arrow { display: none; }
    .epic-item .info .meta .sep { display: none; }
}


/* =========================================================
   github-trends.php
   ========================================================= */
/* =============================================
   GITHUB TREND PROJELER - PREMIUM
   ============================================= */

.github-widget {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 18px 18px 14px;
    margin-bottom: 25px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.github-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #24292e, #6e5494, #1b1f23, #24292e);
    background-size: 300% 100%;
    animation: gradientMove 6s ease-in-out infinite;
}

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

.github-widget:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.github-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.github-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ★★★ GERÇEK GITHUB LOGOSU ★★★ */
.github-title .github-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #24292e;
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

.github-title .github-icon svg {
    width: 20px;
    height: 20px;
}

.github-title h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.3px;
}

.github-title .github-badge {
    font-size: 8px;
    font-weight: 700;
    color: #1a3a6b;
    background: rgba(26, 58, 107, 0.08);
    padding: 2px 10px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.github-time {
    font-size: 9px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.github-time .live-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #00c853;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.github-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.github-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
}

.github-item:hover {
    background: var(--bg-white);
    border-color: var(--border);
    transform: translateX(4px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.github-item .rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.github-item .rank.rank-1 {
    background: linear-gradient(135deg, #ffd700, #f0c000);
    color: #fff;
    box-shadow: 0 2px 12px rgba(255, 215, 0, 0.3);
}

.github-item .rank.rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
    color: #fff;
    box-shadow: 0 2px 12px rgba(192, 192, 192, 0.3);
}

.github-item .rank.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #b8722b);
    color: #fff;
    box-shadow: 0 2px 12px rgba(205, 127, 50, 0.3);
}

.github-item .rank.rank-other {
    background: var(--bg-white);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.github-item:hover .rank {
    transform: scale(1.15);
}

.github-item .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-light);
    border: 1px solid var(--border);
}

.github-item .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.github-item .info {
    flex: 1;
    min-width: 0;
}

.github-item .info .name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.github-item:hover .info .name {
    color: #1a3a6b;
}

.github-item .info .desc {
    font-size: 10px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.github-item .info .meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.github-item .info .meta .lang {
    font-size: 9px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.github-item .info .meta .lang .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.github-item .info .meta .stars {
    font-size: 9px;
    font-weight: 600;
    color: #f1c40f;
    display: flex;
    align-items: center;
    gap: 3px;
}

.github-item .arrow {
    color: var(--text-muted);
    font-size: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-4px);
}

.github-item:hover .arrow {
    opacity: 1;
    transform: translateX(0);
    color: #1a3a6b;
}

/* =============================================
   DARK MODE
   ============================================= */

body.dark-mode .github-widget {
    background: var(--dark-bg-card);
    border-color: var(--dark-border);
}

body.dark-mode .github-widget:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

body.dark-mode .github-title h3 {
    color: var(--dark-text);
}

body.dark-mode .github-item {
    background: var(--dark-bg-secondary);
}

body.dark-mode .github-item:hover {
    background: var(--dark-bg-card);
    border-color: var(--dark-border);
}

body.dark-mode .github-item .info .name {
    color: var(--dark-text);
}

body.dark-mode .github-item:hover .info .name {
    color: #4a8bc2;
}

body.dark-mode .github-item .rank.rank-other {
    background: var(--dark-bg-secondary);
    color: var(--dark-text-muted);
    border-color: var(--dark-border);
}

body.dark-mode .github-item .arrow {
    color: var(--dark-text-muted);
}

body.dark-mode .github-item:hover .arrow {
    color: #4a8bc2;
}

/* ★★★ DARK MODE GITHUB LOGOSU ★★★ */
body.dark-mode .github-title .github-icon {
    background: #f0f6fc;
    color: #24292e;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
    .github-widget {
        padding: 14px 14px 12px;
        border-radius: 12px;
    }
    
    .github-title h3 {
        font-size: 15px;
    }
    
    .github-item {
        padding: 6px 8px;
        gap: 10px;
    }
    
    .github-item .avatar {
        width: 28px;
        height: 28px;
    }
    
    .github-item .info .name {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .github-widget {
        padding: 12px 10px 10px;
        border-radius: 10px;
    }
    
    .github-title h3 {
        font-size: 13px;
    }
    
    .github-title .github-icon {
        width: 28px;
        height: 28px;
    }
    
    .github-title .github-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .github-item {
        padding: 4px 6px;
        gap: 8px;
    }
    
    .github-item .avatar {
        width: 24px;
        height: 24px;
    }
    
    .github-item .info .name {
        font-size: 11px;
    }
    
    .github-item .info .desc {
        font-size: 9px;
    }
    
    .github-item .rank {
        width: 20px;
        height: 20px;
        font-size: 9px;
    }
    
    .github-item .arrow {
        display: none;
    }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}


/* =========================================================
   widget-benzer-haberler.php
   ========================================================= */
/* =============================================
   BENZER HABERLER WIDGET - AÇIK MAVİ TON
   ============================================= */
.rwidget {
    --rw-metin: #0f172a;
    --rw-metin-muted: #94a3b8;
    --rw-cizgi: #e2e8f0;
    --rw-kart: #fff;
    --rw-golge: 0 4px 20px rgba(15, 23, 42, 0.06);
    --rw-golge-hover: 0 12px 40px rgba(59, 130, 246, 0.15);
    
    /* AÇIK MAVİ TON */
    --rw-ana: #3b82f6;         /* Ana mavi */
    --rw-ana-koyu: #2563eb;    /* Koyu mavi */
    --rw-vurgu: #93c5fd;       /* Açık mavi */
    --rw-vurgu-soft: rgba(59, 130, 246, 0.06);
    --rw-vurgu-hover: rgba(59, 130, 246, 0.12);
    
    background: var(--rw-kart);
    border: 1px solid var(--rw-cizgi);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--rw-golge);
    transition: all 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body.dark-mode .rwidget {
    --rw-metin: #f1f5f9;
    --rw-metin-muted: #64748b;
    --rw-cizgi: #1e293b;
    --rw-kart: #0f172a;
    --rw-golge: 0 4px 20px rgba(0, 0, 0, 0.3);
    --rw-golge-hover: 0 12px 40px rgba(59, 130, 246, 0.25);
}

.rwidget:hover {
    box-shadow: var(--rw-golge-hover);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Header */
.rwidget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.rwidget-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.rwidget-title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

.rwidget-title i {
    color: #93c5fd;
    font-size: 14px;
    filter: drop-shadow(0 0 6px rgba(147, 197, 253, 0.5));
}

/* Body */
.rwidget-body {
    padding: 8px 0;
}

/* Item */
.rwidget-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--rw-cizgi);
    transition: all 0.25s ease;
    position: relative;
    align-items: center;
}

.rwidget-item:last-child {
    border-bottom: none;
}

.rwidget-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--rw-ana), var(--rw-ana-koyu));
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 3px 3px 0;
}

.rwidget-item:hover {
    background: var(--rw-vurgu-soft);
    padding-left: 20px;
}

body.dark-mode .rwidget-item:hover {
    background: var(--rw-vurgu-hover);
}

.rwidget-item:hover::before {
    transform: scaleY(1);
}

/* SIRA NUMARASI */
.rwidget-rank {
    position: relative;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(147, 197, 253, 0.04));
    border: 1px solid var(--rw-cizgi);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--rw-metin-muted);
    transition: all 0.3s;
}

.rwidget-rank.top {
    background: linear-gradient(135deg, var(--rw-ana), var(--rw-ana-koyu));
    border-color: rgba(59, 130, 246, 0.4);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
    font-size: 13px;
}

.rwidget-rank.top i {
    color: var(--rw-vurgu);
    filter: drop-shadow(0 0 4px rgba(147, 197, 253, 0.6));
}

.rwidget-item:hover .rwidget-rank {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.4);
    color: var(--rw-ana);
}

.rwidget-item:hover .rwidget-rank.top {
    background: linear-gradient(135deg, var(--rw-ana-koyu), var(--rw-ana));
    color: #fff;
    transform: scale(1.08);
}

/* GÖRSEL */
.rwidget-gorsel {
    position: relative;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(147, 197, 253, 0.03));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--rw-cizgi);
    transition: all 0.3s ease;
}

.rwidget-item:hover .rwidget-gorsel {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.12);
}

.rwidget-gorsel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.rwidget-item:hover .rwidget-gorsel img {
    transform: scale(1.08);
}

.rwidget-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(59, 130, 246, 0.35);
    font-size: 22px;
}

/* INFO */
.rwidget-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rwidget-baslik {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--rw-metin);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.rwidget-item:hover .rwidget-baslik {
    color: var(--rw-ana);
}

.rwidget-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    color: var(--rw-metin-muted);
}

.rwidget-tarih {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.rwidget-tarih i {
    font-size: 10px;
    color: var(--rw-ana);
    opacity: 0.75;
}

/* MOBİL */
@media (max-width: 768px) {
    .rwidget-item {
        padding: 12px 14px;
        gap: 10px;
    }
    .rwidget-item:hover {
        padding-left: 16px;
    }
    .rwidget-gorsel {
        width: 54px;
        height: 54px;
        border-radius: 10px;
    }
    .rwidget-baslik {
        font-size: 12px;
    }
    .rwidget-title {
        font-size: 13px;
    }
    .rwidget-rank {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
}


/* =========================================================
   widget-cok-okunan.php
   ========================================================= */
/* =============================================
   EN ÇOK OKUNAN WIDGET - ATEŞ TONU
   ============================================= */
.pwidget {
    --pw-metin: #0f172a;
    --pw-metin-muted: #94a3b8;
    --pw-cizgi: #e2e8f0;
    --pw-kart: #fff;
    --pw-golge: 0 4px 20px rgba(15, 23, 42, 0.06);
    --pw-golge-hover: 0 12px 40px rgba(234, 88, 12, 0.15);
    
    --pw-ana: #ea580c;
    --pw-ana-koyu: #c2410c;
    --pw-vurgu: #fbbf24;
    --pw-vurgu-soft: rgba(234, 88, 12, 0.08);
    --pw-vurgu-hover: rgba(234, 88, 12, 0.15);
    
    background: var(--pw-kart);
    border: 1px solid var(--pw-cizgi);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--pw-golge);
    transition: all 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body.dark-mode .pwidget {
    --pw-metin: #f1f5f9;
    --pw-metin-muted: #64748b;
    --pw-cizgi: #1e293b;
    --pw-kart: #0f172a;
    --pw-golge: 0 4px 20px rgba(0, 0, 0, 0.3);
    --pw-golge-hover: 0 12px 40px rgba(234, 88, 12, 0.25);
}

.pwidget:hover {
    box-shadow: var(--pw-golge-hover);
    border-color: rgba(234, 88, 12, 0.3);
}

.pwidget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.pwidget-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pwidget-title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

.pwidget-title i {
    color: #fb923c;
    font-size: 14px;
    filter: drop-shadow(0 0 6px rgba(251, 146, 60, 0.5));
    animation: pwidgetFireFlicker 2s ease-in-out infinite;
}

@keyframes pwidgetFireFlicker {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.1); }
}

.pwidget-view-all {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
    position: relative;
    z-index: 1;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.pwidget-view-all:hover {
    color: #fff;
    background: rgba(234, 88, 12, 0.3);
    gap: 8px;
}

.pwidget-body {
    padding: 8px 0;
}

.pwidget-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--pw-cizgi);
    transition: all 0.25s ease;
    position: relative;
    align-items: center;
}

.pwidget-item:last-child {
    border-bottom: none;
}

.pwidget-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--pw-ana), var(--pw-ana-koyu));
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 3px 3px 0;
}

.pwidget-item:hover {
    background: var(--pw-vurgu-soft);
    padding-left: 20px;
}

body.dark-mode .pwidget-item:hover {
    background: var(--pw-vurgu-hover);
}

.pwidget-item:hover::before {
    transform: scaleY(1);
}

.pwidget-rank {
    position: relative;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.08), rgba(251, 146, 60, 0.04));
    border: 1px solid var(--pw-cizgi);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--pw-metin-muted);
    transition: all 0.3s;
}

.pwidget-rank.top {
    background: linear-gradient(135deg, var(--pw-ana), var(--pw-ana-koyu));
    border-color: rgba(234, 88, 12, 0.4);
    color: #fff;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
    font-size: 13px;
}

.pwidget-rank.top i {
    color: var(--pw-vurgu);
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.6));
}

.pwidget-item:hover .pwidget-rank {
    background: rgba(234, 88, 12, 0.12);
    border-color: rgba(234, 88, 12, 0.4);
    color: var(--pw-ana);
}

.pwidget-item:hover .pwidget-rank.top {
    background: linear-gradient(135deg, var(--pw-ana-koyu), var(--pw-ana));
    color: #fff;
    transform: scale(1.08);
}

.pwidget-gorsel {
    position: relative;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.06), rgba(251, 146, 60, 0.03));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pw-cizgi);
    transition: all 0.3s ease;
}

.pwidget-item:hover .pwidget-gorsel {
    border-color: rgba(234, 88, 12, 0.35);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.12);
}

.pwidget-gorsel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.pwidget-item:hover .pwidget-gorsel img {
    transform: scale(1.08);
}

.pwidget-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(234, 88, 12, 0.35);
    font-size: 22px;
}

.pwidget-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pwidget-baslik {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--pw-metin);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.pwidget-item:hover .pwidget-baslik {
    color: var(--pw-ana);
}

.pwidget-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    color: var(--pw-metin-muted);
}

.pwidget-kategori {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 10px;
}

.pwidget-kategori i {
    font-size: 9px;
    color: var(--pw-ana);
    opacity: 0.75;
}

@media (max-width: 768px) {
    .pwidget-item {
        padding: 12px 14px;
        gap: 10px;
    }
    .pwidget-item:hover {
        padding-left: 16px;
    }
    .pwidget-gorsel {
        width: 54px;
        height: 54px;
        border-radius: 10px;
    }
    .pwidget-baslik {
        font-size: 12px;
    }
    .pwidget-title {
        font-size: 13px;
    }
    .pwidget-rank {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
}


/* =========================================================
   widget-karsilastirmalar.php
   ========================================================= */
/* =============================================
   KARŞILAŞTIRMA WIDGET - PREMIUM HİBRİT
   ============================================= */
.kwidget:not(.kwidget-telefon){
    --kw-turkuaz: #06b6d4;
    --kw-mavi: #3b82f6;
    --kw-altin: #f59e0b;
    --kw-metin: #0f172a;
    --kw-metin-muted: #94a3b8;
    --kw-cizgi: #e2e8f0;
    --kw-kart: #fff;
    --kw-golge: 0 4px 20px rgba(15, 23, 42, 0.06);
    --kw-golge-hover: 0 12px 40px rgba(6, 182, 212, 0.15);
    
    background: var(--kw-kart);
    border: 1px solid var(--kw-cizgi);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--kw-golge);
    transition: all 0.3s ease;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

body.dark-mode .kwidget:not(.kwidget-telefon){
    --kw-metin: #f1f5f9;
    --kw-metin-muted: #64748b;
    --kw-cizgi: #1e293b;
    --kw-kart: #0f172a;
    --kw-golge: 0 4px 20px rgba(0, 0, 0, 0.3);
    --kw-golge-hover: 0 12px 40px rgba(6, 182, 212, 0.25);
}

.kwidget:not(.kwidget-telefon):hover{
    box-shadow: var(--kw-golge-hover);
    border-color: rgba(6, 182, 212, 0.3);
}

/* Header */
.kwidget:not(.kwidget-telefon) .kwidget-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.kwidget:not(.kwidget-telefon) .kwidget-header::before{
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.kwidget:not(.kwidget-telefon) .kwidget-title{
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

.kwidget:not(.kwidget-telefon) .kwidget-title i{
    color: #67e8f9;
    font-size: 14px;
}

.kwidget:not(.kwidget-telefon) .kwidget-view-all{
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
    position: relative;
    z-index: 1;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.kwidget:not(.kwidget-telefon) .kwidget-view-all:hover{
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    gap: 8px;
}

/* Body */
.kwidget:not(.kwidget-telefon) .kwidget-body{
    padding: 8px 0;
}

/* Item */
.kwidget:not(.kwidget-telefon) .kwidget-item{
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--kw-cizgi);
    transition: all 0.25s ease;
    position: relative;
    align-items: center;
}

.kwidget:not(.kwidget-telefon) .kwidget-item:last-child{
    border-bottom: none;
}

.kwidget:not(.kwidget-telefon) .kwidget-item::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #06b6d4, #3b82f6);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 3px 3px 0;
}

.kwidget:not(.kwidget-telefon) .kwidget-item:hover{
    background: rgba(6, 182, 212, 0.04);
    padding-left: 20px;
}

body.dark-mode .kwidget:not(.kwidget-telefon) .kwidget-item:hover{
    background: rgba(6, 182, 212, 0.08);
}

.kwidget:not(.kwidget-telefon) .kwidget-item:hover::before{
    transform: scaleY(1);
}

/* GÖRSEL ALANI */
.kwidget:not(.kwidget-telefon) .kwidget-gorsel{
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(59, 130, 246, 0.05));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    border: 1px solid var(--kw-cizgi);
}

.kwidget:not(.kwidget-telefon) .kwidget-gorsel.no-image{
    display: flex;
    align-items: center;
    justify-content: center;
}

.kwidget:not(.kwidget-telefon) .kwidget-gorsel img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

/* Tek görsel varsa tam kaplasın */
.kwidget:not(.kwidget-telefon) .kwidget-gorsel img:only-child{
    grid-column: 1 / -1;
}

.kwidget:not(.kwidget-telefon) .kwidget-item:hover .kwidget-gorsel img{
    transform: scale(1.08);
}

.kwidget:not(.kwidget-telefon) .kwidget-vs{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    border: 1.5px solid rgba(103, 232, 249, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #67e8f9;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.kwidget:not(.kwidget-telefon) .kwidget-placeholder{
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(148, 163, 184, 0.4);
    font-size: 28px;
}

.kwidget:not(.kwidget-telefon) .kwidget-kazanan-badge{
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #f59e0b, #eab308);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 9px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.5);
}

/* INFO */
.kwidget:not(.kwidget-telefon) .kwidget-info{
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.kwidget:not(.kwidget-telefon) .kwidget-urunler{
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    font-size: 9.5px;
    color: #06b6d4;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kwidget:not(.kwidget-telefon) .kwidget-urun{
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kwidget:not(.kwidget-telefon) .kwidget-vs-mini{
    font-size: 8px;
    color: var(--kw-metin-muted);
    font-weight: 900;
    padding: 0 2px;
}

.kwidget:not(.kwidget-telefon) .kwidget-baslik{
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--kw-metin);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.kwidget:not(.kwidget-telefon) .kwidget-item:hover .kwidget-baslik{
    color: #06b6d4;
}

/* MOBİL */
@media (max-width: 768px) {
    .kwidget:not(.kwidget-telefon) .kwidget-item{
        padding: 12px 14px;
        gap: 12px;
    }
    .kwidget:not(.kwidget-telefon) .kwidget-item:hover{
        padding-left: 16px;
    }
    .kwidget:not(.kwidget-telefon) .kwidget-gorsel{
        width: 70px;
        height: 70px;
        border-radius: 10px;
    }
    .kwidget:not(.kwidget-telefon) .kwidget-baslik{
        font-size: 12px;
    }
    .kwidget:not(.kwidget-telefon) .kwidget-title{
        font-size: 13px;
    }
}


/* =========================================================
   widget-kategori-populer.php
   ========================================================= */
/* =============================================
   KATEGORİ POPÜLER WIDGET
   Dinamik renk - kategori rengine uyumlu
   ============================================= */
.cwidget {
    --cw-ana: #3b82f6;
    --cw-ana-rgb: 59, 130, 246;
    --cw-ana-koyu: rgb(41, 91, 172);
    --cw-ana-acik: rgb(88, 195, 255);
    
    --cw-metin: #0f172a;
    --cw-metin-muted: #94a3b8;
    --cw-cizgi: #e2e8f0;
    --cw-kart: #fff;
    --cw-golge: 0 4px 20px rgba(15, 23, 42, 0.06);
    --cw-golge-hover: 0 12px 40px rgba(var(--cw-ana-rgb), 0.2);
    
    background: var(--cw-kart);
    border: 1px solid var(--cw-cizgi);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--cw-golge);
    transition: all 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
}

body.dark-mode .cwidget {
    --cw-metin: #f1f5f9;
    --cw-metin-muted: #64748b;
    --cw-cizgi: #1e293b;
    --cw-kart: #0f172a;
    --cw-golge: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cwidget:hover {
    box-shadow: var(--cw-golge-hover);
    border-color: rgba(var(--cw-ana-rgb), 0.3);
}

/* Üst Glow Çizgisi */
.cwidget-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--cw-ana) 20%,
        var(--cw-ana-acik) 50%,
        var(--cw-ana) 80%,
        transparent 100%);
    background-size: 200% 100%;
    animation: cwidgetGlowMove 4s linear infinite;
    z-index: 10;
}

@keyframes cwidgetGlowMove {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* HEADER */
.cwidget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cwidget-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(var(--cw-ana-rgb), 0.45) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cwidget-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.cwidget-logo {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cw-ana-acik);
    flex-shrink: 0;
}

.cwidget-logo i {
    font-size: 16px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(var(--cw-ana-rgb), 0.6));
    animation: cwidgetFireFlicker 2s ease-in-out infinite;
}

@keyframes cwidgetFireFlicker {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.1); }
}

.cwidget-logo-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--cw-ana-rgb), 0.18), transparent);
    border: 1px solid rgba(var(--cw-ana-rgb), 0.35);
    animation: cwidgetLogoPulse 3s ease-in-out infinite;
}

.cwidget-logo-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(var(--cw-ana-rgb), 0.2);
    animation: cwidgetLogoRing 2s ease-out infinite;
}

@keyframes cwidgetLogoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes cwidgetLogoRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.cwidget-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cwidget-name {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.8px;
    text-shadow: 0 0 20px rgba(var(--cw-ana-rgb), 0.3);
}

/* LİSTE */
.cwidget-list {
    padding: 8px 0;
    position: relative;
}

.cwidget-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--cw-cizgi);
    transition: all 0.25s ease;
    position: relative;
    align-items: center;
}

.cwidget-item:last-child {
    border-bottom: none;
}

.cwidget-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--cw-ana), var(--cw-ana-koyu));
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 3px 3px 0;
}

.cwidget-item:hover {
    background: rgba(var(--cw-ana-rgb), 0.06);
    padding-left: 20px;
}

body.dark-mode .cwidget-item:hover {
    background: rgba(var(--cw-ana-rgb), 0.12);
}

.cwidget-item:hover::before {
    transform: scaleY(1);
}

/* SIRA NUMARASI */
.cwidget-rank {
    position: relative;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(var(--cw-ana-rgb), 0.08);
    border: 1px solid var(--cw-cizgi);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--cw-metin-muted);
    transition: all 0.3s;
}

.cwidget-rank.top {
    background: linear-gradient(135deg, var(--cw-ana), var(--cw-ana-koyu));
    border-color: rgba(var(--cw-ana-rgb), 0.4);
    color: #fff;
    box-shadow: 0 4px 12px rgba(var(--cw-ana-rgb), 0.35);
    font-size: 13px;
}

.cwidget-rank.top i {
    color: #fbbf24;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.6));
}

.cwidget-item:hover .cwidget-rank {
    background: rgba(var(--cw-ana-rgb), 0.15);
    border-color: rgba(var(--cw-ana-rgb), 0.4);
    color: var(--cw-ana);
}

.cwidget-item:hover .cwidget-rank.top {
    background: linear-gradient(135deg, var(--cw-ana-koyu), var(--cw-ana));
    color: #fff;
    transform: scale(1.08);
}

/* GÖRSEL */
.cwidget-gorsel {
    position: relative;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(var(--cw-ana-rgb), 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cw-cizgi);
    transition: all 0.3s ease;
}

.cwidget-item:hover .cwidget-gorsel {
    border-color: rgba(var(--cw-ana-rgb), 0.4);
    box-shadow: 0 6px 20px rgba(var(--cw-ana-rgb), 0.15);
}

.cwidget-gorsel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.cwidget-item:hover .cwidget-gorsel img {
    transform: scale(1.08);
}

.cwidget-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(var(--cw-ana-rgb), 0.35);
    font-size: 22px;
}

/* INFO */
.cwidget-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cwidget-baslik {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--cw-metin);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.cwidget-item:hover .cwidget-baslik {
    color: var(--cw-ana);
}

/* MOBİL */
@media (max-width: 768px) {
    .cwidget-item {
        padding: 12px 14px;
        gap: 10px;
    }
    .cwidget-item:hover {
        padding-left: 16px;
    }
    .cwidget-gorsel {
        width: 54px;
        height: 54px;
        border-radius: 10px;
    }
    .cwidget-baslik {
        font-size: 12px;
    }
    .cwidget-name {
        font-size: 12px;
    }
    .cwidget-rank {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
}


/* =========================================================
   widget-telefon.php
   ========================================================= */
/* =============================================
   WIDGET: TELEFON FİYATLARI
   Kurumsal lacivert tema (site ile uyumlu)
   Grid tabanlı, taşma yapmaz
   Light + Dark Mode Tam Uyumlu
   ============================================= */
.kwidget-telefon{
    --kw-cizgi: #e5e7eb;
    --kw-bg: #ffffff;
    --kw-bg-soft: #f8fafc;
    --kw-metin: #0f172a;
    --kw-metin-muted: #64748b;
    --kw-accent: #1d4ed8;      /* Kurumsal lacivert */
    --kw-accent-dark: #1e3a8a;
    --kw-accent-soft: rgba(29,78,216,.08);
    --kw-accent-border: rgba(29,78,216,.2);
    --kw-fiyat: #1d4ed8;       /* Fiyat mavi */
    --kw-fiyat-dark: #1e3a8a;
}

body.dark-mode .kwidget-telefon{
    --kw-cizgi: #334155;
    --kw-bg: #111827;
    --kw-bg-soft: #1e293b;
    --kw-metin: #f1f5f9;
    --kw-metin-muted: #94a3b8;
    --kw-accent: #60a5fa;
    --kw-accent-dark: #93c5fd;
    --kw-accent-soft: rgba(96,165,250,.12);
    --kw-accent-border: rgba(96,165,250,.3);
    --kw-fiyat: #60a5fa;
    --kw-fiyat-dark: #93c5fd;
}

/* ============ WIDGET KONTEYNER ============ */
.kwidget.kwidget-telefon{
    background: var(--kw-bg);
    border: 1px solid var(--kw-cizgi);
    border-radius: 14px;
    overflow: hidden;
    transition: background-color .25s, border-color .25s;
}

/* ============ WIDGET HEADER ============ */
.kwidget-telefon .kwidget-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #0b2545 0%, #1e3a8a 100%);
    color: #fff;
    border-bottom: 1px solid var(--kw-cizgi);
}
body.dark-mode .kwidget-telefon .kwidget-header{
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-bottom-color: #334155;
}

.kwidget-telefon .kwidget-title{
    font-size: 14px;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -.2px;
}
.kwidget-telefon .kwidget-title i{
    color: #fbbf24;
    font-size: 14px;
    filter: drop-shadow(0 0 6px rgba(251,191,36,.5));
    animation: tlGlow 2s ease-in-out infinite;
}
@keyframes tlGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .85; transform: scale(1.08); }
}

.kwidget-telefon .kwidget-view-all{
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.85);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    transition: all .2s;
}
.kwidget-telefon .kwidget-view-all:hover{
    background: rgba(255,255,255,.2);
    color: #fff;
    gap: 8px;
}
.kwidget-telefon .kwidget-view-all i{ font-size: 10px; }

/* ============ WIDGET BODY - GRID ============ */
.kwidget-telefon .kwidget-body{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
}

/* ============ WIDGET ITEM (GRID Kart) ============ */
.kwidget-telefon .kwidget-item{
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    background: var(--kw-bg);
    border: 1px solid var(--kw-cizgi);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, background-color .2s, transform .2s;
    box-sizing: border-box;
}

.kwidget-telefon .kwidget-item:hover{
    border-color: var(--kw-accent);
    background: var(--kw-accent-soft);
    transform: translateX(3px);
}

/* ============ GÖRSEL ============ */
.kwidget-telefon .kwidget-gorsel{
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--kw-bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--kw-cizgi);
    transition: border-color .2s;
    box-sizing: border-box;
    flex-shrink: 0;
}
.kwidget-telefon .kwidget-item:hover .kwidget-gorsel{
    border-color: var(--kw-accent);
}
.kwidget-telefon .kwidget-gorsel img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    display: block;
    transition: transform .3s;
}
.kwidget-telefon .kwidget-item:hover .kwidget-gorsel img{
    transform: scale(1.05);
}

.kwidget-telefon .kwidget-placeholder{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--kw-metin-muted);
    font-size: 24px;
    opacity: .5;
}

/* Mağaza sayısı badge */
.kwidget-telefon .kwidget-count-badge{
    position: absolute;
    bottom: 4px;
    right: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
    color: #fff;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(29,78,216,.4);
    border: 1.5px solid var(--kw-bg);
    z-index: 2;
    white-space: nowrap;
}
.kwidget-telefon .kwidget-count-badge i{ font-size: 8px; }
body.dark-mode .kwidget-telefon .kwidget-count-badge{
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: #0f172a;
    box-shadow: 0 2px 6px rgba(59,130,246,.5);
}

/* ============ BİLGİ ALANI ============ */
.kwidget-telefon .kwidget-info{
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
}

/* Marka etiketi */
.kwidget-telefon .kwidget-marka{
    display: inline-block;
    align-self: flex-start;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--kw-accent-dark);
    background: var(--kw-accent-soft);
    border: 1px solid var(--kw-accent-border);
    padding: 2px 7px;
    border-radius: 4px;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.dark-mode .kwidget-telefon .kwidget-marka{
    color: var(--kw-accent-dark);
}

/* Ürün başlığı */
.kwidget-telefon .kwidget-baslik{
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--kw-metin);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    transition: color .2s;
}
.kwidget-telefon .kwidget-item:hover .kwidget-baslik{
    color: var(--kw-accent-dark);
}

/* Alt satır: fiyat + mağaza */
.kwidget-telefon .kwidget-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
    min-width: 0;
}

/* Fiyat */
.kwidget-telefon .kwidget-price{
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    font-size: 15px;
    font-weight: 900;
    color: var(--kw-fiyat);
    letter-spacing: -.5px;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}
.kwidget-telefon .kwidget-price small{
    font-size: 10px;
    font-weight: 800;
    color: var(--kw-fiyat-dark);
}
body.dark-mode .kwidget-telefon .kwidget-price{
    color: var(--kw-fiyat);
    text-shadow: 0 0 12px rgba(96,165,250,.2);
}

/* Mağaza chip */
.kwidget-telefon .kwidget-store{
    font-size: 10px;
    font-weight: 700;
    color: var(--kw-metin-muted);
    padding: 3px 8px;
    background: var(--kw-bg-soft);
    border: 1px solid var(--kw-cizgi);
    border-radius: 999px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
    line-height: 1.2;
    transition: all .2s;
}
.kwidget-telefon .kwidget-item:hover .kwidget-store{
    background: var(--kw-accent);
    color: #fff;
    border-color: var(--kw-accent);
}
body.dark-mode .kwidget-telefon .kwidget-item:hover .kwidget-store{
    color: #0f172a;
    background: var(--kw-accent);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 480px) {
    .kwidget-telefon .kwidget-item{
        grid-template-columns: 64px 1fr;
        gap: 10px;
        padding: 9px;
    }
    .kwidget-telefon .kwidget-gorsel{
        width: 64px;
        height: 64px;
    }
    .kwidget-telefon .kwidget-baslik{
        font-size: 12.5px;
    }
    .kwidget-telefon .kwidget-price{
        font-size: 14px;
    }
    .kwidget-telefon .kwidget-store{
        max-width: 70px;
        font-size: 9.5px;
    }
}
/* =============================================
   RESPONSIVE - 4 KADEME (Mobil Uyumlu)
   ============================================= */
@media (max-width: 480px) {
    .kwidget-telefon .kwidget-header{ padding: 12px 14px; }
    .kwidget-telefon .kwidget-title{ font-size: 13px; gap: 6px; }
    .kwidget-telefon .kwidget-title i{ font-size: 13px; }
    .kwidget-telefon .kwidget-view-all{ font-size: 11px; padding: 5px 10px; min-height: 30px; display: inline-flex; align-items: center; }
    .kwidget-telefon .kwidget-body{ padding: 10px; gap: 8px; }
    .kwidget-telefon .kwidget-item{ grid-template-columns: 64px 1fr; gap: 10px; padding: 9px; }
    .kwidget-telefon .kwidget-gorsel{ width: 64px; height: 64px; }
    .kwidget-telefon .kwidget-gorsel img{ padding: 5px; }
    .kwidget-telefon .kwidget-count-badge{ font-size: 8.5px; padding: 1.5px 5px; }
    .kwidget-telefon .kwidget-marka{ font-size: 9px; padding: 2px 6px; }
    .kwidget-telefon .kwidget-baslik{ font-size: 12.5px; line-height: 1.28; }
    .kwidget-telefon .kwidget-price{ font-size: 14px; }
    .kwidget-telefon .kwidget-price small{ font-size: 9.5px; }
    .kwidget-telefon .kwidget-store{ font-size: 9.5px; padding: 2px 7px; max-width: 70px; }
}

@media (max-width: 400px) {
    .kwidget-telefon .kwidget-header{ padding: 10px 12px; }
    .kwidget-telefon .kwidget-title{ font-size: 12.5px; }
    .kwidget-telefon .kwidget-view-all{ font-size: 10.5px; padding: 4px 8px; }
    .kwidget-telefon .kwidget-body{ padding: 8px; gap: 7px; }
    .kwidget-telefon .kwidget-item{ grid-template-columns: 58px 1fr; gap: 9px; padding: 8px; }
    .kwidget-telefon .kwidget-gorsel{ width: 58px; height: 58px; }
    .kwidget-telefon .kwidget-baslik{ font-size: 12px; }
    .kwidget-telefon .kwidget-price{ font-size: 13.5px; }
    .kwidget-telefon .kwidget-store{ font-size: 9px; padding: 2px 6px; max-width: 65px; }
}

@media (max-width: 360px) {
    .kwidget-telefon .kwidget-item{ grid-template-columns: 52px 1fr; gap: 8px; padding: 7px; }
    .kwidget-telefon .kwidget-gorsel{ width: 52px; height: 52px; }
    .kwidget-telefon .kwidget-marka{ font-size: 8.5px; padding: 1.5px 5px; }
    .kwidget-telefon .kwidget-baslik{ font-size: 11.5px; -webkit-line-clamp: 2; }
    .kwidget-telefon .kwidget-price{ font-size: 13px; }
    .kwidget-telefon .kwidget-price small{ font-size: 9px; }
    .kwidget-telefon .kwidget-store{ font-size: 8.5px; max-width: 55px; }
    .kwidget-telefon .kwidget-count-badge{ font-size: 8px; padding: 1px 4px; }
}

@media (max-width: 320px) {
    .kwidget-telefon .kwidget-item{ grid-template-columns: 48px 1fr; gap: 7px; }
    .kwidget-telefon .kwidget-gorsel{ width: 48px; height: 48px; }
    .kwidget-telefon .kwidget-baslik{ font-size: 11px; }
    .kwidget-telefon .kwidget-store{ display: none; }  /* Çok küçükse mağaza gizle */
    .kwidget-telefon .kwidget-price{ font-size: 12.5px; }
}


/* =============================================
   CRYPTO TICKER WIDGET
   ============================================= */
/* =============================================
   CRYPTO LIGHT TEMA
   Beyaz kart, mavi accent
   ============================================= */

.crypto-light {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 0;
    margin: 20px 0 28px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 150px;
}

/* DARK MODE */
body.dark-mode .crypto-light {
    background: #111827;
    border-color: #1e293b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Üst Canlı Gradient Çizgi */
.crypto-light-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        #3b82f6 20%,
        #8b5cf6 50%,
        #ec4899 80%,
        transparent 100%);
    background-size: 200% 100%;
    animation: glowMove 4s linear infinite;
    z-index: 10;
}

@keyframes glowMove {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==========================================
   HEADER
   ========================================== */

.crypto-light-header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px 14px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 14px;
}

body.dark-mode .crypto-light-header {
    border-bottom-color: #1e293b;
}

.crypto-light-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.crypto-light-logo {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    flex-shrink: 0;
}

.crypto-light-logo svg {
    width: 22px;
    height: 22px;
    position: relative;
    z-index: 2;
}

.crypto-light-logo-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.2);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.crypto-light-title {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.crypto-light-label {
    font-size: 9px;
    font-weight: 800;
    color: #3b82f6;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: 0.85;
}

.crypto-light-name {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.5px;
}

body.dark-mode .crypto-light-name {
    color: #f1f5f9;
}

/* Meta İstatistikler */
.crypto-light-meta {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.crypto-light-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.crypto-light-stat-label {
    font-size: 9px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.crypto-light-stat-value {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.3px;
}

body.dark-mode .crypto-light-stat-value {
    color: #f1f5f9;
}

.crypto-light-stat-sentiment .crypto-light-stat-sentiment-bar {
    display: flex;
    width: 90px;
    height: 5px;
    border-radius: 5px;
    overflow: hidden;
    background: #f1f5f9;
    margin-top: 4px;
}

body.dark-mode .crypto-light-stat-sentiment .crypto-light-stat-sentiment-bar {
    background: #1e293b;
}

.crypto-sentiment-up {
    background: linear-gradient(90deg, #10b981, #059669);
    height: 100%;
    transition: width 0.5s ease;
}

.crypto-sentiment-down {
    background: linear-gradient(90deg, #ef4444, #dc2626);
    height: 100%;
    transition: width 0.5s ease;
}

/* CANLI İndikatör */
.crypto-light-live {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 20px;
}

body.dark-mode .crypto-light-live {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.25);
}

.crypto-light-live-dot {
    position: relative;
    width: 7px;
    height: 7px;
    background: #ef4444;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.crypto-light-live-dot::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: #ef4444;
    opacity: 0.3;
    animation: liveDot 1.5s ease-out infinite;
}

@keyframes liveDot {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; }
}

.crypto-light-live-text {
    font-size: 9.5px;
    font-weight: 900;
    color: #dc2626;
    letter-spacing: 1px;
}

/* ==========================================
   TICKER
   ========================================== */

.crypto-light-ticker {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 14px 0 16px;
    min-height: 56px;
}

.crypto-light-ticker::before,
.crypto-light-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 5;
    pointer-events: none;
}

.crypto-light-ticker::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.crypto-light-ticker::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

body.dark-mode .crypto-light-ticker::before {
    background: linear-gradient(to right, #111827, transparent);
}

body.dark-mode .crypto-light-ticker::after {
    background: linear-gradient(to left, #111827, transparent);
}

.crypto-light-track {
    display: flex;
    gap: 10px;
    animation: premiumScroll 90s linear infinite;
    width: max-content;
    padding: 0 16px;
}

.crypto-light-track:hover {
    animation-play-state: paused;
}

@keyframes premiumScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================
   COIN KARTLARI
   ========================================== */

.crypto-light-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
}

body.dark-mode .crypto-light-item {
    background: #1e293b;
    border-color: #334155;
}

.crypto-light-item:hover {
    transform: translateY(-2px);
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.15);
}

body.dark-mode .crypto-light-item:hover {
    background: #0f172a;
    border-color: #3b82f6;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.crypto-light-coin-icon {
    position: relative;
    z-index: 2;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.crypto-light-coin-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.crypto-light-coin-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    font-size: 11px;
    font-weight: 800;
}

.crypto-light-coin-data {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 42px;
}

.crypto-light-coin-symbol {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

body.dark-mode .crypto-light-coin-symbol {
    color: #f1f5f9;
}

.crypto-light-coin-name {
    font-size: 8px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.crypto-light-coin-price-data {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.crypto-light-coin-price {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.3px;
    min-width: 60px;
    text-align: right;
}

body.dark-mode .crypto-light-coin-price {
    color: #f1f5f9;
}

.crypto-light-coin-change {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    font-variant-numeric: tabular-nums;
    min-width: 54px;
    justify-content: center;
    letter-spacing: 0.3px;
}

.crypto-light-coin-change.up {
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.crypto-light-coin-change.down {
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

body.dark-mode .crypto-light-coin-change.up {
    color: #4ade80;
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

body.dark-mode .crypto-light-coin-change.down {
    color: #f87171;
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}

.crypto-light-arrow {
    font-size: 8px;
}

.crypto-light-empty {
    padding: 20px;
    color: #94a3b8;
    font-size: 13px;
    text-align: center;
    width: 100%;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 992px) {
    .crypto-light-meta {
        gap: 14px;
    }
    
    .crypto-light-stat-sentiment {
        display: none;
    }
}

@media (max-width: 768px) {
    .crypto-light {
        border-radius: 14px;
        margin: 16px 0 20px;
    }
    
    .crypto-light-header {
        padding: 14px 16px 12px;
        gap: 10px;
    }
    
    .crypto-light-logo {
        width: 32px;
        height: 32px;
    }
    
    .crypto-light-name {
        font-size: 13px;
    }
    
    .crypto-light-meta {
        gap: 10px;
        width: 100%;
        justify-content: space-between;
    }
    
    .crypto-light-stat-value {
        font-size: 11px;
    }
    
    .crypto-light-stat:not(:first-child):not(:last-child) {
        display: none;
    }
    
    .crypto-light-ticker {
        padding: 12px 0 14px;
    }
    
    .crypto-light-item {
        padding: 6px 10px 6px 8px;
        gap: 8px;
    }
    
    .crypto-light-coin-icon {
        width: 22px;
        height: 22px;
    }
    
    .crypto-light-coin-symbol {
        font-size: 11px;
    }
    
    .crypto-light-coin-price {
        font-size: 12px;
        min-width: 55px;
    }
    
    .crypto-light-coin-change {
        font-size: 9px;
        min-width: 48px;
        padding: 2px 6px;
    }
    
    .crypto-light-track {
        animation: premiumScroll 60s linear infinite;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .crypto-light {
        border-radius: 12px;
        margin: 12px 0 16px;
    }
    
    .crypto-light-header {
        padding: 12px 14px 10px;
    }
    
    .crypto-light-logo {
        width: 28px;
        height: 28px;
    }
    
    .crypto-light-label {
        font-size: 8px;
        letter-spacing: 2px;
    }
    
    .crypto-light-name {
        font-size: 12px;
    }
    
    .crypto-light-live {
        padding: 4px 10px 4px 8px;
    }
    
    .crypto-light-live-text {
        font-size: 9px;
    }
    
    .crypto-light-coin-name {
        display: none;
    }
    
    .crypto-light-coin-price {
        font-size: 11px;
        min-width: 48px;
    }
    
    .crypto-light-coin-change {
        font-size: 8px;
        min-width: 42px;
    }
    
    .crypto-light-track {
        animation: premiumScroll 40s linear infinite;
        gap: 6px;
    }
}
