:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #0ea5e9;
    --background: #0f172a;
    --surface: #1e293b;
    --surface-light: #334155;
    --text: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --success: #22c55e;
    --error: #ef4444;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --spacing-lg: 3rem;
    --spacing-md: 2rem;
    --spacing-sm: 1rem;
    --card-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --card-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --card-shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --card-shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.2);
    --text-high-contrast: #ffffff;
    --text-medium-contrast: rgba(255, 255, 255, 0.95);
    --text-low-contrast: rgba(255, 255, 255, 0.8);
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --bg-primary: #131722;
    --bg-secondary: #1e222d;
    --text-primary: #f1f5f9;
    --text-secondary: #e2e8f0;
    --text-muted: #cbd5e1;
    --border-color: #2a2e39;
    --success: #26a69a;
    --error: #ef5350;
    --card-bg: rgba(30, 34, 45, 0.95);
    --neon-glow: 0 0 10px rgba(0, 255, 157, 0.5);
    --error-glow: 0 0 10px rgba(255, 51, 102, 0.5);
    --accent-color: #2962ff;
    --hover-bg: rgba(41, 98, 255, 0.05);
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    --hover-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(41, 98, 255, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(38, 166, 154, 0.03) 0%, transparent 20%);
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow-x: hidden;
    color: var(--text);
    line-height: 1.6;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 157, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 51, 102, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    position: relative;
    z-index: 1;
    text-align: center;
}

header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(45deg, var(--success), #00ffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: titleGlow 2s ease-in-out infinite;
    font-weight: 700;
    letter-spacing: -0.02em;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(0, 255, 157, 0.5)); }
    50% { filter: drop-shadow(0 0 15px rgba(0, 255, 157, 0.8)); }
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
}

.price-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.price-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: var(--transition-normal);
    padding: 1rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform-style: preserve-3d;
    min-width: 200px;
}

.price-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
    border-color: var(--accent-color);
}

.price-card .icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease;
    padding: 8px;
}

.price-card.btc .icon {
    background: rgba(247, 147, 26, 0.15);
}

.price-card.eth .icon {
    background: rgba(98, 126, 234, 0.15);
}

.price-card .icon .coin-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    transition: all 0.3s var(--transition-bounce);
}

.price-card:hover .icon {
    transform: scale(1.1);
}

.price-card:hover .icon .coin-logo {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
}

/* Yükleme durumu için iskelet animasyonu */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse {
    0% {
        opacity: 0.4;
        transform: scale(0.98);
    }
    50% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0.4;
        transform: scale(0.98);
    }
}

.price-card .icon.loading {
    position: relative;
    overflow: hidden;
    animation: pulse 1.5s ease-in-out infinite;
}

.price-card .icon.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--surface-light);
    border-radius: 50%;
}

.price-card .icon.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.08),
        transparent
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 50%;
}

.price-card .info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.price-card .symbol {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.price-card .price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.price-card .change {
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    justify-content: center;
}

.price-card .change.up {
    color: var(--success);
}

.price-card .change.down {
    color: var(--error);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: var(--transition-normal);
    padding: var(--spacing-lg);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.stat-card:hover::after {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
}

.stat-card h3 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    width: 100%;
}

.stat-card h3 i {
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.9;
}

.stat-card .value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.75rem;
    text-align: center;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.stat-card .trend {
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.stat-card .trend:hover {
    transform: scale(1.1);
}

.liquidations-table {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.table-header {
    padding: var(--spacing-md);
    background: var(--surface-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.table-header h2 {
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 600;
}

.table-header i {
    color: var(--primary);
    font-size: 1.5rem;
}

.last-update {
    margin-left: auto;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.last-update .dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.time-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.time-cell i {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.time-cell > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.time-ago {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.updating {
    animation: rotate 2s linear infinite;
}

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

.liquidations-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.liquidations-table th,
.liquidations-table td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    border: none;
    position: relative;
    text-align: center;
}

.liquidations-table tbody tr {
    transition: all 0.5s var(--transition-smooth);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.liquidations-table tbody tr:last-child {
    border-bottom: none;
}

/* Sütunlar arası ayırıcı çizgi yerine hafif bir boşluk */
.liquidations-table td:not(:last-child),
.liquidations-table th:not(:last-child) {
    position: relative;
}

.liquidations-table td:not(:last-child)::after,
.liquidations-table th:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: var(--border-color);
    opacity: 0.2;
}

.liquidations-table th {
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.875rem;
    text-align: center;
    padding: 1rem;
}

.liquidations-table tbody tr:hover {
    transform: scale(1.001) translateX(1px);
}

.long {
    color: var(--success);
    font-weight: 600;
}

.short {
    color: var(--error);
    font-weight: 600;
}

.badge {
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.badge i {
    font-size: 0.8rem;
}

/* Base badge styles */
.badge {
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

/* Basic animations */
@keyframes basePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Long/Short base styles */
.badge.long {
    background: rgba(38, 166, 154, 0.15);
    color: #4db6ac;
    border: 1px solid rgba(38, 166, 154, 0.3);
    animation: basePulse 2s infinite;
}

.badge.short {
    background: rgba(239, 83, 80, 0.15);
    color: #ff5252;
    border: 1px solid rgba(239, 83, 80, 0.3);
    animation: basePulse 2s infinite;
}

/* Tier-specific styles - Higher specificity */
.badge.long[class*="-tier"],
.badge.short[class*="-tier"] {
    animation: none; /* Reset base animation */
}

/* Long tier styles - Daha belirgin farklar */
.badge.long-tier0 {
    background: linear-gradient(45deg, rgba(38, 166, 154, 0.03), rgba(38, 166, 154, 0.08));
    color: #4db6ac;
    border: 1px solid rgba(38, 166, 154, 0.15);
    box-shadow: 0 0 5px rgba(38, 166, 154, 0.05);
    animation: longTier0Pulse 2.5s infinite !important;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    opacity: 0.85;
}

.badge.long-tier1 {
    background: linear-gradient(45deg, rgba(38, 166, 154, 0.15), rgba(38, 166, 154, 0.25));
    color: #26a69a;
    border: 1px solid rgba(38, 166, 154, 0.4);
    box-shadow: 0 0 15px rgba(38, 166, 154, 0.2);
    animation: longTier1Pulse 1.8s infinite !important;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

.badge.long-tier2 {
    background: linear-gradient(45deg, rgba(38, 166, 154, 0.25), rgba(38, 166, 154, 0.4));
    color: #26a69a;
    border: 2px solid rgba(38, 166, 154, 0.5);
    box-shadow: 0 0 20px rgba(38, 166, 154, 0.3);
    animation: longTier2Pulse 1.6s infinite !important;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.badge.long-tier3 {
    background: linear-gradient(45deg, rgba(38, 166, 154, 0.35), rgba(38, 166, 154, 0.5));
    color: #ffffff;
    border: 2px solid rgba(38, 166, 154, 0.6);
    box-shadow: 0 0 25px rgba(38, 166, 154, 0.4);
    animation: longTier3Pulse 1.4s infinite !important;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.badge.long-tier4 {
    background: linear-gradient(45deg, #26a69a, #00897b);
    color: #ffffff;
    border: 2px solid rgba(38, 166, 154, 0.7);
    box-shadow: 0 0 30px rgba(38, 166, 154, 0.5);
    animation: longTier4Pulse 1.2s infinite !important;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 0.4rem 0.8rem;
}

.badge.long-tier5 {
    background: linear-gradient(45deg, #00897b, #00695c);
    color: #ffffff;
    border: 3px solid rgba(38, 166, 154, 0.8);
    box-shadow: 0 0 35px rgba(38, 166, 154, 0.6);
    animation: longTier5Pulse 1s infinite !important;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    padding: 0.45rem 0.85rem;
}

/* Long tier animations */
@keyframes longTier0Pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(38, 166, 154, 0.1);
    }
    50% { 
        transform: scale(1.01);
        box-shadow: 0 0 5px rgba(38, 166, 154, 0.2);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(38, 166, 154, 0.1);
    }
}

@keyframes longTier1Pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(38, 166, 154, 0.3);
    }
    50% { 
        transform: scale(1.03);
        box-shadow: 0 0 15px rgba(38, 166, 154, 0.4);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(38, 166, 154, 0.3);
    }
}

@keyframes longTier2Pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(38, 166, 154, 0.4);
    }
    50% { 
        transform: scale(1.04);
        box-shadow: 0 0 20px rgba(38, 166, 154, 0.5);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(38, 166, 154, 0.4);
    }
}

@keyframes longTier3Pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(38, 166, 154, 0.5);
    }
    50% { 
    transform: scale(1.05);
        box-shadow: 0 0 25px rgba(38, 166, 154, 0.6);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(38, 166, 154, 0.5);
    }
}

@keyframes longTier4Pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 15px rgba(38, 166, 154, 0.6);
    }
    50% { 
        transform: scale(1.06);
        box-shadow: 0 0 30px rgba(38, 166, 154, 0.8);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 15px rgba(38, 166, 154, 0.6);
    }
}

@keyframes longTier5Pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 20px rgba(38, 166, 154, 0.7);
    }
    50% { 
        transform: scale(1.08);
        box-shadow: 0 0 35px rgba(38, 166, 154, 0.9);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 20px rgba(38, 166, 154, 0.7);
    }
}

/* Hover efektleri */
.badge:hover {
    transform: translateY(-2px);
}

.badge.long:hover {
    box-shadow: 0 4px 12px rgba(38, 166, 154, 0.3);
}

.badge.short:hover {
    box-shadow: 0 4px 15px rgba(239, 83, 80, 0.3);
}

/* Tier-specific hover efektleri */
.badge.short-tier0:hover {
    box-shadow: 0 4px 12px rgba(239, 83, 80, 0.3);
}

.badge.short-tier1:hover {
    box-shadow: 0 4px 15px rgba(239, 83, 80, 0.4);
}

.badge.short-tier2:hover {
    box-shadow: 0 4px 18px rgba(239, 83, 80, 0.5);
}

.badge.short-tier3:hover {
    box-shadow: 0 4px 20px rgba(239, 83, 80, 0.6);
}

.badge.short-tier4:hover,
.badge.short-tier5:hover {
    box-shadow: 0 4px 25px rgba(239, 83, 80, 0.7);
    transform: translateY(-3px) scale(1.03);
}

#notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem;
    border-radius: 8px;
    display: none;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--hover-shadow);
    max-width: 350px;
    z-index: 1000;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    animation: slideInRight 0.5s ease forwards;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

#notification.show {
    opacity: 1;
    transform: translateX(0);
}

#notification.hide {
    opacity: 0;
    transform: translateX(20px);
}

#notification.long {
    box-shadow: 
        0 0 10px rgba(34, 197, 94, 0.3),
        0 0 20px rgba(34, 197, 94, 0.2);
}

#notification.short {
    box-shadow: 
        0 0 10px rgba(239, 68, 68, 0.3),
        0 0 20px rgba(239, 68, 68, 0.2);
}

@keyframes slideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 768px) {
    .container {
        padding: 0.75rem;
    }

    .table-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0.75rem;
    }

    .last-update {
        margin: 0.5rem 0;
        width: 100%;
        justify-content: center;
        text-align: center;
        font-size: 0.85rem;
    }

    .price-cards {
        flex-direction: column;
        align-items: center;
    }

    .price-card {
        width: 100%;
        max-width: 300px;
    }

    .liquidations-table {
        margin: 0 -0.75rem;
        width: calc(100% + 1.5rem);
        overflow-x: auto;
    }

    /* Hide price and amount columns on mobile */
    .liquidations-table th:nth-child(3),
    .liquidations-table td:nth-child(3),
    .liquidations-table th:nth-child(4),
    .liquidations-table td:nth-child(4) {
        display: none;
    }

    .liquidations-table th,
    .liquidations-table td {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    .time-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        font-size: 0.8rem;
    }

    .symbol-with-logo strong {
        font-size: 0.8rem;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .flag-icon {
        width: 14px;
        height: 11px;
    }

    .language-switcher {
        top: 8px;
        left: 8px;
        gap: 6px;
    }

    .language-buttons {
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .liquidations-table th,
    .liquidations-table td {
        padding: 0.4rem 0.5rem;
        font-size: 0.85rem;
    }

    .symbol-with-logo img.coin-logo-small {
        width: 16px;
        height: 16px;
    }

    .symbol-with-logo img.exchange-logo {
        width: 12px;
        height: 12px;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    .flag-icon {
        width: 12px;
        height: 9px;
    }

    .badge {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
        gap: 0.25rem;
    }

    .time-ago {
        font-size: 0.7rem;
    }
}

.settings-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 auto var(--spacing-lg);
    max-width: 500px;
    width: 100%;
    transition: transform 0.3s ease;
}

.settings-card:hover {
    transform: translateY(-5px);
}

.settings-card .header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.settings-card .header i {
    font-size: 1.25rem;
    color: var(--primary);
}

.settings-card h3 {
    font-size: 1.25rem;
    color: var(--text);
    font-weight: 600;
    margin: 0;
}

.settings-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.settings-info i {
    color: var(--text-muted);
    cursor: help;
}

.slider-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.slider-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

.slider-value {
    font-weight: 600;
    color: var(--text);
    background: var(--surface-light);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    min-width: 100px;
    text-align: center;
}

input[type="range"] {
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), var(--success));
    border-radius: 2px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--text-primary);
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 5px rgba(41, 98, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: var(--neon-glow);
}

input[type="range"]:active::-webkit-slider-thumb {
    cursor: grabbing;
}

.liquidations-table tbody tr {
    transition: all 0.5s var(--transition-smooth);
    position: relative;
    border-left: 3px solid transparent;
    transform-origin: center;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    background-position: 100% 0;
}

/* Long pozisyonlar için yeşil border ve glow */
.liquidations-table tr.long-position {
    border-left: 3px solid rgba(0, 255, 0, 0.2);
    background: linear-gradient(90deg,
        rgba(0, 255, 0, 0.03) 0%,
        rgba(0, 255, 0, 0.01) 50%,
        transparent 100%
    );
}

.liquidations-table tr.long-position:hover {
    border-left: 3px solid rgba(0, 255, 0, 0.5);
    background-position: 0 0;
    transform: scale(1.01) translateX(5px);
    box-shadow: 
        -8px 0 15px -5px rgba(0, 255, 0, 0.2),
        0 0 20px rgba(0, 255, 0, 0.1);
}

/* Short pozisyonlar için kırmızı border ve glow */
.liquidations-table tr.short-position {
    border-left: 3px solid rgba(255, 0, 0, 0.2);
    background: linear-gradient(90deg,
        rgba(255, 0, 0, 0.03) 0%,
        rgba(255, 0, 0, 0.01) 50%,
        transparent 100%
    );
}

.liquidations-table tr.short-position:hover {
    border-left: 3px solid rgba(255, 0, 0, 0.5);
    background-position: 0 0;
    transform: scale(1.01) translateX(5px);
    box-shadow: 
        -8px 0 15px -5px rgba(255, 0, 0, 0.2),
        0 0 20px rgba(255, 0, 0, 0.1);
}

/* Hücre içi animasyonlar */
.liquidations-table td {
    transition: all 0.3s ease;
}

/* Fiyat, miktar ve değer hücreleri için hover efekti */
.liquidations-table td.number-cell {
    position: relative;
    overflow: hidden;
}

.liquidations-table td.number-cell::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.liquidations-table tr:hover td.number-cell::after {
    transform: translateX(100%);
}

/* Sembol hücresi için hover efekti */
.liquidations-table .symbol-with-logo {
    transition: all 0.3s var(--transition-bounce);
}

.liquidations-table tr:hover .symbol-with-logo {
    transform: scale(1.1);
}

.liquidations-table tr:hover .symbol-with-logo img {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

/* Zaman hücresi için hover efekti */
.liquidations-table .time-cell {
    transition: all 0.3s ease;
}

.liquidations-table tr:hover .time-cell {
    transform: scale(1.05);
    color: var(--text-high-contrast);
}

/* Badge hover efekti güçlendirme */
.liquidations-table tr:hover .badge {
    transform: scale(1.1) translateY(-2px);
    filter: brightness(1.2);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
    min-width: 180px;  /* Add fixed minimum width */
    justify-content: flex-end;
}

.language-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-width: 80px;  /* Add fixed minimum width */
    justify-content: center;
    white-space: nowrap;
}

.lang-btn:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.lang-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.flag-icon {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
}

@media (max-width: 570px) {
    .language-switcher {
        min-width: auto;
    }
    
    .lang-btn {
        padding: 0.4rem 0.8rem;
        min-width: 70px;
        font-size: 0.85rem;
    }
    
    .flag-icon {
        width: 16px;
        height: 16px;
    }
}

/* Performans İyileştirmeleri */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Will-change optimizations */
.liquidations-table tbody tr {
    will-change: transform;
}

.total-value {
    will-change: transform, opacity;
}

.badge {
    will-change: transform;
}

.symbol-with-logo {
    will-change: transform;
}

/* Ses Kontrolleri */
.sound-controls {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.sound-settings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.sound-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.sound-toggle input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 3rem;
    height: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sound-toggle input[type="checkbox"]::before {
    content: '';
    position: absolute;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: var(--text-secondary);
    top: 50%;
    left: 0.2rem;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.sound-toggle input[type="checkbox"]:checked {
    background: var(--accent-color);
}

.sound-toggle input[type="checkbox"]:checked::before {
    background: white;
    left: 1.6rem;
}

.volume-control {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#volume-slider {
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), var(--success));
}

#volume-value {
    color: var(--text-primary);
    font-weight: 500;
}

/* Ses simgesi animasyonu */
@keyframes soundWave {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.sound-controls .fa-volume-up {
    animation: soundWave 2s infinite;
    color: var(--accent-color);
}

/* Tablo sütun hizalamaları */
/* Sembol sütunu (1. sütun) */
.liquidations-table th:nth-child(1),
.liquidations-table td:nth-child(1) {
    text-align: center;
    width: 120px;
}

/* Yön sütunu (2. sütun) */
.liquidations-table th:nth-child(2),
.liquidations-table td:nth-child(2) {
    text-align: center;
    width: 120px;
}

/* Fiyat sütunu (3. sütun) */
.liquidations-table th:nth-child(3),
.liquidations-table td:nth-child(3) {
    text-align: center;
    width: 150px;
}

/* Miktar sütunu (4. sütun) */
.liquidations-table th:nth-child(4),
.liquidations-table td:nth-child(4) {
    text-align: center;
    width: 150px;
}

/* Toplam Değer sütunu (5. sütun) */
.liquidations-table th:nth-child(5),
.liquidations-table td:nth-child(5) {
    text-align: center;
    width: 150px;
}

/* Zaman sütunu (6. sütun) */
.liquidations-table th:nth-child(6),
.liquidations-table td:nth-child(6) {
    text-align: center;
    width: 150px;
}

/* Sayısal değer hücreleri için genel stil */
.number-cell {
    font-family: 'Inter', monospace;
    font-variant-numeric: tabular-nums;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--card-bg);
    border-radius: 8px;
    padding: 12px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    max-width: 400px;
    border-left: 4px solid var(--primary);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    border-left-color: var(--success);
}

.toast-error {
    border-left-color: var(--error);
}

.toast-warning {
    border-left-color: var(--warning);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-icon {
    font-size: 1.2em;
    font-weight: bold;
}

.toast-message {
    color: var(--text-primary);
    font-size: 0.9em;
}

/* Connection Status */
.last-update {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-text {
    font-size: 0.9em;
    font-weight: 500;
    transition: color 0.3s ease;
}

.dot {
    transition: background-color 0.3s ease;
}

/* Settings Feedback */
.settings-feedback {
    font-size: 0.9em;
    margin-top: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--card-bg);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.settings-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

.settings-feedback.success {
    color: var(--success);
    border-left: 3px solid var(--success);
}

.settings-feedback.error {
    color: var(--error);
    border-left: 3px solid var(--error);
}

/* Add responsive styles for language switcher */
@media (max-width: 570px) {
    .language-switcher {
        top: 10px;
        left: 10px;
    }

    .lang-btn, .telegram-button {
        padding: 6px 12px;
        font-size: 12px;
    }

    .flag-icon {
        width: 16px;
        height: 12px;
    }

    .telegram-button .telegram-icon {
        width: 16px;
        height: 16px;
    }
}

/* Short tier styles - Daha belirgin farklar */
.badge.short-tier0 {
    background: linear-gradient(45deg, rgba(239, 83, 80, 0.03), rgba(239, 83, 80, 0.08));
    color: #ff7676;
    border: 1px solid rgba(239, 83, 80, 0.15);
    box-shadow: 0 0 5px rgba(239, 83, 80, 0.05);
    animation: shortTier0Pulse 2.5s infinite !important;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    opacity: 0.85;
}

.badge.short-tier1 {
    background: linear-gradient(45deg, rgba(239, 83, 80, 0.15), rgba(239, 83, 80, 0.25));
    color: #ff5252;
    border: 1px solid rgba(239, 83, 80, 0.4);
    box-shadow: 0 0 15px rgba(239, 83, 80, 0.2);
    animation: shortTier1Pulse 1.8s infinite !important;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

.badge.short-tier2 {
    background: linear-gradient(45deg, rgba(239, 83, 80, 0.25), rgba(239, 83, 80, 0.4));
    color: #ff5252;
    border: 2px solid rgba(239, 83, 80, 0.5);
    box-shadow: 0 0 20px rgba(239, 83, 80, 0.3);
    animation: shortTier2Pulse 1.6s infinite !important;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.badge.short-tier3 {
    background: linear-gradient(45deg, rgba(239, 83, 80, 0.35), rgba(239, 83, 80, 0.5));
    color: #ffffff;
    border: 2px solid rgba(239, 83, 80, 0.6);
    box-shadow: 0 0 25px rgba(239, 83, 80, 0.4);
    animation: shortTier3Pulse 1.4s infinite !important;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.badge.short-tier4 {
    background: linear-gradient(45deg, #ff5252, #ff3b3b);
    color: #ffffff;
    border: 2px solid rgba(239, 83, 80, 0.7);
    box-shadow: 0 0 30px rgba(239, 83, 80, 0.5);
    animation: shortTier4Pulse 1.2s infinite !important;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 0.4rem 0.8rem;
}

.badge.short-tier5 {
    background: linear-gradient(45deg, #ff3b3b, #ff2424);
    color: #ffffff;
    border: 3px solid rgba(239, 83, 80, 0.8);
    box-shadow: 0 0 35px rgba(239, 83, 80, 0.6);
    animation: shortTier5Pulse 1s infinite !important;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    padding: 0.45rem 0.85rem;
}

/* Short tier animations */
@keyframes shortTier0Pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 83, 80, 0.1);
    }
    50% { 
        transform: scale(1.01);
        box-shadow: 0 0 5px rgba(239, 83, 80, 0.2);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 83, 80, 0.1);
    }
}

@keyframes shortTier1Pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 83, 80, 0.3);
    }
    50% { 
        transform: scale(1.03);
        box-shadow: 0 0 15px rgba(239, 83, 80, 0.4);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 83, 80, 0.3);
    }
}

@keyframes shortTier2Pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 83, 80, 0.4);
    }
    50% { 
        transform: scale(1.04);
        box-shadow: 0 0 20px rgba(239, 83, 80, 0.5);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 83, 80, 0.4);
    }
}

@keyframes shortTier3Pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 83, 80, 0.5);
    }
    50% { 
    transform: scale(1.05);
        box-shadow: 0 0 25px rgba(239, 83, 80, 0.6);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 83, 80, 0.5);
    }
}

@keyframes shortTier4Pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 15px rgba(239, 83, 80, 0.6);
    }
    50% { 
        transform: scale(1.06);
        box-shadow: 0 0 30px rgba(239, 83, 80, 0.8);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 15px rgba(239, 83, 80, 0.6);
    }
}

@keyframes shortTier5Pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 20px rgba(239, 83, 80, 0.7);
    }
    50% { 
        transform: scale(1.08);
        box-shadow: 0 0 35px rgba(239, 83, 80, 0.9);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 20px rgba(239, 83, 80, 0.7);
    }
}

/* Hover effects */
.badge.short-tier0:hover {
    box-shadow: 0 4px 12px rgba(239, 83, 80, 0.3);
    transform: translateY(-2px);
}

.badge.short-tier1:hover {
    box-shadow: 0 4px 15px rgba(239, 83, 80, 0.4);
    transform: translateY(-2px);
}

.badge.short-tier2:hover {
    box-shadow: 0 4px 18px rgba(239, 83, 80, 0.5);
    transform: translateY(-2px) scale(1.01);
}

.badge.short-tier3:hover {
    box-shadow: 0 4px 20px rgba(239, 83, 80, 0.6);
    transform: translateY(-2px) scale(1.02);
}

.badge.short-tier4:hover,
.badge.short-tier5:hover {
    box-shadow: 0 4px 25px rgba(239, 83, 80, 0.7);
    transform: translateY(-3px) scale(1.03);
}

.time-cell {
    display: flex;
    align-items: center;
    justify-content: center; /* Merkeze hizalama */
    gap: 0.5rem;
    margin: 0 auto; /* Otomatik kenar boşluğu */
    width: fit-content; /* İçeriğe göre genişlik */
}

.time-cell i {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0; /* Simgenin küçülmesini engelle */
}

.time-cell > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* İçeriği merkeze hizala */
    line-height: 1.2;
    text-align: center; /* Metni merkeze hizala */
}

.time-ago {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
    text-align: center; /* Metni merkeze hizala */
}

/* Sembol ve logo container'ı */
.symbol-with-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.25rem;
    margin: -0.25rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.symbol-with-logo img.coin-logo-small {
    width: 20px;  /* 24px'ten 20px'e düşürüldü */
    height: 20px; /* 24px'ten 20px'e düşürüldü */
    object-fit: cover;
    border-radius: 4px;
}

.symbol-with-logo img.exchange-logo {
    width: 14px;  /* 16px'ten 14px'e düşürüldü */
    height: 14px; /* 16px'ten 14px'e düşürüldü */
    margin-right: 6px; /* 8px'ten 6px'e düşürüldü */
}

.symbol-with-logo strong {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

/* Yeni satır animasyonu */
@keyframes rowEntrance {
    from {
    opacity: 0;
        transform: translateX(-100%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.liquidations-table tbody tr.new-row {
    animation: rowEntrance 0.5s var(--transition-bounce);
}

/* Değer değişim animasyonları */
@keyframes numberChangeUp {
    0% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes numberChangeDown {
    0% { transform: translateY(-100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes valuePulseUp {
    0% { background: rgba(38, 166, 154, 0); }
    50% { background: rgba(38, 166, 154, 0.1); }
    100% { background: rgba(38, 166, 154, 0); }
}

@keyframes valuePulseDown {
    0% { background: rgba(239, 83, 80, 0); }
    50% { background: rgba(239, 83, 80, 0.1); }
    100% { background: rgba(239, 83, 80, 0); }
}

.number-cell.value-changed-up {
    animation: numberChangeUp 0.3s ease-out, valuePulseUp 0.5s ease-out;
}

.number-cell.value-changed-down {
    animation: numberChangeDown 0.3s ease-out, valuePulseDown 0.5s ease-out;
}

/* Gelişmiş hover efektleri */
.liquidations-table tbody tr {
    transition: all 0.5s var(--transition-smooth);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.liquidations-table tbody tr:hover {
    transform: scale(1.001) translateX(1px);
}

/* Logo glow efekti */
.symbol-with-logo img.coin-logo-small {
    transition: all 0.3s ease;
}

.liquidations-table tr:hover .symbol-with-logo img.coin-logo-small {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    transform: scale(1.1) rotate(3deg);
}

/* Gradient dalga efekti */
@keyframes gradientWave {
    0% {
        background-position: 200% 0;
    }
    100% { 
        background-position: -200% 0;
    }
}

.liquidations-table tbody tr:hover {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0.05) 75%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: gradientWave 3s linear infinite;
}

/* Hücre içi parıltı efekti */
.liquidations-table td {
    position: relative;
    overflow: hidden;
}

.liquidations-table td::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    transform: scale(0);
    transition: transform 0.5s ease-out;
    pointer-events: none;
}

.liquidations-table tr:hover td::after {
        transform: scale(1);
}

/* Zaman hücresi için özel animasyon */
.time-cell {
    transition: all 0.3s ease;
}

.liquidations-table tr:hover .time-cell {
    transform: scale(1.05);
}

.liquidations-table tr:hover .time-cell i {
    animation: clockRotate 2s linear infinite;
}

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

/* Total Value hücreleri için tier-bazlı stiller */
/* Long pozisyonlar için */
.liquidations-table tr.long-position.tier-0 .total-value {
    color: rgba(38, 166, 154, 0.7);
    font-size: 0.9rem;
    font-weight: 400;
}

.liquidations-table tr.long-position.tier-1 .total-value {
    color: rgba(38, 166, 154, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(38, 166, 154, 0.2);
}

.liquidations-table tr.long-position.tier-2 .total-value {
    color: rgba(38, 166, 154, 0.9);
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(38, 166, 154, 0.3);
}

.liquidations-table tr.long-position.tier-3 .total-value {
    color: rgb(38, 166, 154);
    font-size: 1.05rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(38, 166, 154, 0.4);
}

.liquidations-table tr.long-position.tier-4 .total-value {
    color: rgb(38, 166, 154);
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 0 12px rgba(38, 166, 154, 0.5);
    letter-spacing: 0.02em;
}

.liquidations-table tr.long-position.tier-5 .total-value {
    color: rgb(38, 166, 154);
    font-size: 1.15rem;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(38, 166, 154, 0.6);
    letter-spacing: 0.03em;
}

/* Short pozisyonlar için */
.liquidations-table tr.short-position.tier-0 .total-value {
    color: rgba(239, 83, 80, 0.7);
    font-size: 0.9rem;
    font-weight: 400;
}

.liquidations-table tr.short-position.tier-1 .total-value {
    color: rgba(239, 83, 80, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(239, 83, 80, 0.2);
}

.liquidations-table tr.short-position.tier-2 .total-value {
    color: rgba(239, 83, 80, 0.9);
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(239, 83, 80, 0.3);
}

.liquidations-table tr.short-position.tier-3 .total-value {
    color: rgb(239, 83, 80);
    font-size: 1.05rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(239, 83, 80, 0.4);
}

.liquidations-table tr.short-position.tier-4 .total-value {
    color: rgb(239, 83, 80);
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 0 12px rgba(239, 83, 80, 0.5);
    letter-spacing: 0.02em;
}

.liquidations-table tr.short-position.tier-5 .total-value {
    color: rgb(239, 83, 80);
    font-size: 1.15rem;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(239, 83, 80, 0.6);
    letter-spacing: 0.03em;
}

/* Hover efektleri */
.liquidations-table tr:hover .total-value {
        transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Değer değişim animasyonu */
@keyframes valueHighlight {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.total-value.highlight {
    animation: valueHighlight 0.5s ease-out;
}

/* Parıltı efekti */
.total-value {
    position: relative;
    transition: all 0.3s ease;
}

.total-value::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transform: translateX(-100%);
}

.liquidations-table tr:hover .total-value::after {
    transform: translateX(100%);
    transition: transform 0.5s ease;
}

.telegram-button {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(0, 136, 204, 0.3);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 14px;
}

.telegram-button:hover {
    background: rgba(0, 136, 204, 0.4);
    transform: translateY(-2px);
    border-color: rgba(0, 136, 204, 0.5);
    box-shadow: 0 6px 12px rgba(0, 136, 204, 0.2);
}

.telegram-button .telegram-icon {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .telegram-button {
        top: 10px;
        bottom: 20px;
        right: 20px;
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Symbol loading state */
.symbol-with-logo.loading {
    position: relative;
    overflow: hidden;
    animation: pulse 1.5s ease-in-out infinite;
}

.symbol-with-logo.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--surface-light);
    border-radius: 4px;
}

.symbol-with-logo.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.08),
        transparent
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

/* Mobile Table Swipe Functionality */
@media (max-width: 768px) {
    .liquidations-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
        scroll-snap-type: x mandatory; /* Enable snap points */
        scroll-behavior: smooth;
        -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
        scrollbar-width: none; /* Hide scrollbar for Firefox */
        cursor: grab;
        position: relative;
        padding-bottom: 10px; /* Space for scroll indicator */
    }

    .liquidations-table::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome/Safari */
    }

    .liquidations-table:active {
        cursor: grabbing;
    }

    /* Scroll Indicator */
    .liquidations-table::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--surface-light);
        border-radius: 1px;
    }

    .liquidations-table::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 33.33%; /* Initial width */
        height: 2px;
        background: var(--accent-color);
        border-radius: 1px;
        transition: transform 0.3s ease;
        z-index: 1;
    }

    /* Column snap points */
    .liquidations-table td,
    .liquidations-table th {
        scroll-snap-align: start;
        min-width: 120px; /* Minimum column width */
        padding: 0.5rem;
    }

    /* Visual feedback for active swipe */
    .liquidations-table.swiping::before {
        transform: scaleY(2);
        background: linear-gradient(90deg, var(--accent-color), var(--success));
    }

    /* Swipe hint animation */
    @keyframes swipeHint {
        0% { transform: translateX(0); opacity: 0.8; }
        50% { transform: translateX(20px); opacity: 1; }
        100% { transform: translateX(0); opacity: 0.8; }
    }

    /* First time user hint */
    .liquidations-table.first-visit::after {
        content: '←  Swipe  →';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: var(--text-muted);
        font-size: 0.9rem;
        animation: swipeHint 1.5s ease-in-out infinite;
        pointer-events: none;
        z-index: 2;
        background: rgba(30, 41, 59, 0.9);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        backdrop-filter: blur(4px);
    }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
    .liquidations-table td,
    .liquidations-table th {
        min-width: 100px;
        font-size: 0.85rem;
    }

    .liquidations-table .symbol-with-logo {
        gap: 0.25rem;
    }

    .liquidations-table .time-cell {
        flex-direction: row;
        gap: 0.25rem;
    }

    .liquidations-table .badge {
        padding: 0.15rem 0.35rem;
        font-size: 0.75rem;
    }
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--surface-light);
    border-radius: 0.5rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.back-button i {
    font-size: 1rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.price-ticker {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin: 0 1rem;
    flex: 1;
    justify-content: center;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0.5rem;
    }

    .nav-left, .nav-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .price-ticker {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
        margin: 0.5rem 0;
    }

    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .telegram-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}
