/* Crypto Analysis Poster Styles */
.crypto-analysis-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.crypto-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 15px;
}

.crypto-header h3 {
    margin: 0;
    color: white;
    font-size: 1.4em;
    font-weight: 600;
}

.price-change {
    font-weight: bold;
    font-size: 1.1em;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.price-change.positive {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.2);
}

.price-change.negative {
    color: #f87171;
    background: rgba(248, 113, 113, 0.2);
}

.crypto-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.metric {
    background: rgba(255,255,255,0.1);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease;
}

.metric:hover {
    transform: translateY(-2px);
}

.metric .label {
    display: block;
    font-size: 0.85em;
    opacity: 0.8;
    margin-bottom: 5px;
    font-weight: 500;
}

.metric .value {
    display: block;
    font-weight: bold;
    font-size: 1.1em;
}

.metric .value.positive {
    color: #4ade80;
}

.metric .value.negative {
    color: #f87171;
}

.analysis-content {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    border-left: 4px solid rgba(255,255,255,0.3);
    line-height: 1.6;
}

.analysis-content p {
    margin: 0;
    line-height: 1.6;
}

.crypto-footer {
    text-align: center;
    opacity: 0.7;
    font-size: 0.9em;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.trading-view {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    color: #334155;
}

.trading-view h4 {
    margin: 0 0 10px 0;
    color: #1e293b;
    font-size: 1.1em;
}

.trading-view p {
    margin: 0;
    font-size: 0.9em;
}

.crypto-analysis-grid {
    display: grid;
    gap: 25px;
}

.crypto-post-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    background: white;
}

.crypto-post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.post-meta {
    background: #f8fafc;
    padding: 10px 15px;
    text-align: right;
    font-size: 0.85em;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
}

.crypto-analysis-message {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .crypto-metrics {
        grid-template-columns: 1fr 1fr;
    }
    
    .crypto-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .crypto-analysis-card {
        padding: 16px;
        margin: 15px 0;
    }
    
    .analysis-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .crypto-metrics {
        grid-template-columns: 1fr;
    }
    
    .crypto-analysis-card {
        padding: 12px;
    }
}