/* Top 10 Memecoins Solana - Style Casino */

.top-memecoins-container {
    background-color: rgba(18, 24, 66, 0.7);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(111, 76, 255, 0.4);
    box-shadow: 0 0 25px rgba(111, 76, 255, 0.2);
}

.top-memecoins-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    text-align: center;
}

.top-memecoins-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    position: relative;
    padding-left: 10px;
}

.top-memecoins-header p {
    font-size: 0.9rem;
    color: #a9b4fc;
    margin: 5px 0 0;
    opacity: 0.9;
}

.memecoin-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.memecoin-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: rgba(28, 33, 75, 0.8);
    border-radius: 8px;
    border-left: 3px solid #6f4cff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.memecoin-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(111, 76, 255, 0.25);
    background-color: rgba(32, 39, 90, 0.9);
}

.memecoin-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(111, 76, 255, 0.05), transparent);
    z-index: 0;
}

.memecoin-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 3;
}

.memecoin-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(18, 24, 66, 0.5);
    box-shadow: 0 0 10px rgba(111, 76, 255, 0.4);
    border: 2px solid rgba(111, 76, 255, 0.6);
}

.memecoin-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.memecoin-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.memecoin-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
}

.coin-type {
    background-color: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    margin-left: 6px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.memecoin-stats {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: #a9b4fc;
}

.memecoin-stats .value {
    font-weight: 600;
    color: #d4d9ff;
}

.memecoin-price-change {
    font-size: 0.95rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    margin: 0 10px;
    min-width: 80px;
    text-align: center;
    flex: 0.8;
}

.memecoin-price-change.positive {
    background-color: rgba(46, 213, 115, 0.15);
    color: #2ed573;
    box-shadow: 0 0 10px rgba(46, 213, 115, 0.1);
    animation: pulsate-green 2s infinite ease-in-out;
}

.memecoin-price-change.negative {
    background-color: rgba(255, 71, 87, 0.15);
    color: #ff4757;
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.1);
}

.memecoin-actions {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
}

.btn-scan, .btn-chart {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.btn-scan {
    background-color: #ffd700;
    color: #1a2050;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.btn-scan:hover {
    background-color: #ffec3b;
    transform: translateY(-2px);
}

.btn-chart {
    background-color: #6f4cff;
    color: white;
    box-shadow: 0 0 10px rgba(111, 76, 255, 0.3);
}

.btn-chart:hover {
    background-color: #8a6dff;
    transform: translateY(-2px);
}

/* Animations */
@keyframes pulsate-green {
    0% {
        box-shadow: 0 0 10px rgba(46, 213, 115, 0.1);
    }
    50% {
        box-shadow: 0 0 15px rgba(46, 213, 115, 0.3);
    }
    100% {
        box-shadow: 0 0 10px rgba(46, 213, 115, 0.1);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .memecoin-card {
        flex-wrap: wrap;
    }
    
    .memecoin-info {
        flex: 1 0 100%;
        margin-bottom: 10px;
    }
    
    .memecoin-price-change {
        flex: 1;
        margin-left: 48px; /* Align with coin name */
    }
    
    .memecoin-actions {
        flex: 1;
        justify-content: flex-end;
    }
}
